Unexpected jump back to watch face when button pressed
評価
- 難易度
- 4/5
- 見積もり時間
- 3〜5日
- 初心者へのやさしさ
- 50/100
- issue の種類
- バグ
- 明瞭さ
- おおむね明確
- 活発さ
- 静か
- 技術スタック
- cpp
- 領域
- embedded-iot
調査の方向性
Settings または Notifications を通じて、スリープと復帰が繰り返されるシーケンスを再現し、その画面でディスプレイがスリープしたときに appStack がどのように処理されるかを追跡します。ボタンを押したときに、複数の画面をさかのぼったり文字盤に到達したりせず、直前に表示されていた画面に戻るようになれば修正完了です。
索引モデルが issue の本文から書いたものです。
説明
Verification
- I searched for similar bug reports (including closed issues) and found none was relevant.
What happened?
Irrespective of where you are in the menu system, pressing the button takes you back to the watch face
What should happen instead?
Irrespective of where you are in the menu system, pressing the button takes you back to the screen you were previously on
Reproduction steps
Set display timeout to 5 seconds or the below will take a while to run through.
Now navigate to a screen deep in the menu (eg About). Press the button and the screen jumps back to the previous, list of settings you can change.
Loop 10 times:
Turn the watch on by pressing the button
Watch face appears
Swipe to the Settings screen
Wait for the watch to turn the display off
/ Loop
Now navigate to a screen deep in the menu (eg About). Press the button and the screen jumps back to your watch face.
Note that I also got to this state by Swiping to the Notifications screen and letting the watch turn the display off.
It looks like on the 8th loop, you jump back two screens and the 9th loop you jump back to the watch face. 10 loops it to make sure you get to the "bad" state.
More details?
the appStack is getting filled up because the previous screen is not popped off the appStack if the display goes to sleep when you are on the settings or navigation screens.
Version
V1.16.1
Companion app
Gadegetbridge 0.89.1
- 主要言語
- C
- スター
- 3.4k
- フォーク
- 1.1k
- 平均マージ
- 23時間 18分
- マージ済み PR(30日)
- 1
環境構築
このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。
- Dockerfile・Docker Compose ファイルなし
- プルリクエストのテンプレートなし
- コントリビューションガイドを読む
はじめの一歩
- issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
- 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
- リポジトリをフォークし、ブランチを切って変更します。
- issue 番号を参照したプルリクエストを送ります。
InfiniTimeOrg/InfiniTime のほかの issue
-
BLE handlers use length fields from the packet without checking how much data arrived対応中かも @DustinHab が 36 日前に担当しました。 オープン
難易度 4/5 3〜5日 初心者へのやさしさ 56/100
InfiniTimeOrg/InfiniTime#2485 ·
-
Screen doesn't go to sleep after reset countdown app対応中かも @SteveAmor が 77 日前に担当しました。 オープンbug
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
InfiniTimeOrg/InfiniTime#2419 · コメント 4 件 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 25/100
InfiniTimeOrg/InfiniTime#2410 ·
-
難易度 4/5 3〜5日 初心者へのやさしさ 45/100
InfiniTimeOrg/InfiniTime#2407 · コメント 4 件 ·
-
enhancement UI/UX
難易度 3/5 1〜2日 初心者へのやさしさ 45/100
InfiniTimeOrg/InfiniTime#2405 · コメント 2 件 · リアクション 1 件 ·
InfiniTimeOrg/InfiniTime の issue をすべて見る
似ている issue
-
難易度 2/5 1〜3時間 初心者へのやさしさ 82/100
FujiNetWIFI/fujinet-lib#204 ·
メンテナーはふだん 1 日以内に返信
-
os:linux
難易度 2/5 1〜3時間 初心者へのやさしさ 66/100
mpv-player/mpv#18649 ·
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 85/100
facebookincubator/muse-gadget-sdk#249 ·
メンテナーはふだん 1 日以内に返信
-
docs: nng_dial / nng_dialer_start can return NNG_ECONNSHUT and NNG_ECRYPTO, which are not documentedオープン
難易度 1/5 1〜3時間 初心者へのやさしさ 89/100
メンテナーはふだん 1 日以内に返信
-
難易度 2/5 1〜3時間 初心者へのやさしさ 78/100
micropython/micropython#19786 ·
メンテナーはふだん 1 日以内に返信