Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

Expose swipe-disable (physics) on TabBarView

オープン
#6,746 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る

メンテナーはふだん 1 日以内に返信

まだ誰も着手していません。

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
55/100
issue の種類
機能追加
明瞭さ
おおむね明確
活発さ
静か
技術スタック
flutter, python
領域
desktop, frontend

調査の方向性

まず、スワイプジェスチャーを無効にする際の参照として 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

環境構築

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

flet-dev/flet のほかの issue

flet-dev/flet の issue をすべて見る

似ている issue

Python の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。