Expose swipe-disable (physics) on TabBarView
メンテナーはふだん 1 日以内に返信
まだ誰も着手していません。
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 55/100
調査の方向性
まず、スワイプジェスチャーを無効にする際の参照として NeverScrollableScrollPhysics() を使用し、flet の TabBarView API を Flutter TabBarView の動作まで追跡します。TabBar をタップしてタブを切り替えられること、また要求されたオプションによって Linux のタッチスクリーンで説明されているポインターゲーティングの失敗が防止されることを確認します。
索引モデルが issue の本文から書いたものです。
説明
Use case
On Linux desktop touchscreens, a GNOME three-finger workspace-switch gesture performed over the app window permanently wedges the TabBarView subtree's pointer input. The compositor steals the touch sequence mid-drag, the drag-time ignorePointer gate that Flutter engages over TabBarView/PageView content (see flutter/flutter#148318 for the gating mechanism) is never released, and from then on every control inside the tab content is unclickable until app restart — in our case a clinical app's primary action button. Controls outside the subtree (including the TabBar itself) keep working, which is how we isolated it with tap probes inside vs outside the subtree.
We're preparing a minimal-Dart-repro report against flutter/flutter for the underlying bug and will cross-link it here.
Request
Flutter's escape hatch is TabBarView(physics: NeverScrollableScrollPhysics()): with no drag recognizer, the subtree never engages the pointer gate and this failure class disappears entirely. flet 0.86 exposes no physics (or other swipe toggle) on TabBarView.
Could a physics property — or a simpler swipeable: bool — be added to TabBarView? Tabs would then switch via TabBar taps only, which survive the gesture fine. For touch-first desktop deployments this is also a robustness win independent of the upstream bug (accidental horizontal drags can no longer half-switch pages).
Environment
flet / flet-charts / flet-desktop 0.86.4 (Flutter 3.44.8), Linux (GNOME on Wayland, app under Xwayland), touchscreen hardware. Happy to provide the probe event logs.
- 主要言語
- Python
- スター
- 17.4k
- フォーク
- 737
- 平均マージ
- 1日 8時間
- マージ済み PR(30日)
- 46
環境構築
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートあり
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
flet-dev/flet のほかの issue
-
feature request
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
flet-dev/flet#6985 · コメント 2 件 · リアクション 1 件 ·
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
flet build: common [tool.flet.deep_linking] is ignored on Android and iOS対応中かも このイシューにリンクされたプルリクエストがオープン中、またはマージ済みです。 オープンbug packaging platform: mobile
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
bug
難易度 2/5 1〜3時間 初心者へのやさしさ 72/100
メンテナーはふだん 1 日以内に返信
-
greeting_app.py.オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 25/100
メンテナーはふだん 1 日以内に返信
似ている issue
-
ci enhancement testing
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
メンテナーはふだん 1 日以内に返信
-
area/config comp/tools P2 platform/telegram type/bug
難易度 2/5 1〜3時間 初心者へのやさしさ 74/100
NousResearch/hermes-agent#145412 ·
メンテナーはふだん 1 日以内に返信
-
[oblt-aw][autodoc] Update docs for security org scaffolding and Docs AI menu permission changes対応中かも @github-actions が今日担当しました。 オープン
難易度 2/5 1〜3時間 初心者へのやさしさ 75/100
メンテナーはふだん 1 日以内に返信
-
curriculum documentation quality
難易度 2/5 1〜3時間 初心者へのやさしさ 76/100
githubnext/gh-aw-workshop#5039 ·
メンテナーはふだん 1 日以内に返信
-
Community project: hosted MOSS-Image studio with a visual JSON layout builder (no ComfyUI needed)オープン
難易度 1/5 1〜3時間 初心者へのやさしさ 65/100
OpenMOSS/MOSS-Image#27 · コメント 1 件 ·
メンテナーはふだん 1 日以内に返信