Remove full screen refresh after a hold-select that selects nothing

オープン 初心者向け
#396 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

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

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

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
70/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
android, kotlin

調査の方向性

EpdRefreshArbiter.kt の 86 行目付近から始め、acquire("gesture") / release の経路をたどって、hold-select が選択なしで終わる箇所を確認します。選択矩形の bounds を把握している gesture handler を見つけ、選択なしの終了を clearTransientUpdate(false) に変更し、その領域だけを refresh します。完了の条件は、空の hold-select 後に全画面フラッシュが起きないこと、および BOOX デバイスで確認したときにゴースティングがないことです。

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

説明

A hold-select that selects nothing ends with a full-screen refresh (flash) -- it could be removed.

### Cause The gesture holds the fast animation refresh mode (`EpdRefreshArbiter.acquire("gesture")`) and releases it 500 ms after lift. With no selection to keep the mode on, it is the last release, so `EpdController.clearTransientUpdate(true)` runs (`EpdRefreshArbiter.kt:86`), which does a full clean refresh. A real selection gets the same flash later, when it is dismissed.
Possible fix

When the mode ends after a gesture with no selection, use clearTransientUpdate(false) and refresh only the area the selection rectangle covered. Check on a device that this leaves no ghosting.
</details?

主要言語
Kotlin
スター
269
フォーク
44
平均マージ
1日 17時間
マージ済み PR(30日)
22

環境構築

このプロジェクトには開発コンテナ、Dockerfile、コントリビューションガイドがありません。まず README を読み、一般的な手順ははじめてのコントリビューションガイドを参照してください。

はじめの一歩

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

Ethran/notable のほかの issue

Ethran/notable の issue をすべて見る

似ている issue

Kotlin の issue をもっと見る

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

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