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

Unexpected jump back to watch face when button pressed

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

@SteveAmor がすでに取り組んでいます。

2026年7月31日 から。

  • #2460 @SteveAmor による — オープン

評価

難易度
4/5
見積もり時間
3〜5日
初心者へのやさしさ
50/100
issue の種類
バグ
明瞭さ
おおむね明確
活発さ
静か
技術スタック
cpp
領域
embedded-iot

調査の方向性

Settings または Notifications を通じて、スリープと復帰が繰り返されるシーケンスを再現し、その画面でディスプレイがスリープしたときに appStack がどのように処理されるかを追跡します。ボタンを押したときに、複数の画面をさかのぼったり文字盤に到達したりせず、直前に表示されていた画面に戻るようになれば修正完了です。

索引モデルが issue の本文から書いたものです。

説明

bug
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

環境構築

Codespaces で開く

このプロジェクトの開発コンテナを、あなたの GitHub アカウントでブラウザ上に起動します。

はじめの一歩

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

InfiniTimeOrg/InfiniTime のほかの issue

InfiniTimeOrg/InfiniTime の issue をすべて見る

似ている issue

C の issue をもっと見る

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

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