[ オリジナルレポート ]

BugID: #09252

カテゴリ 重要度 ステータス 解決状況 登録日時 最終更新
DIP/入力解決済み修正済み2025-09-05 21:222025-09-05 22:34
 
テスターhap担当者hapソース
バージョン0.280発生バージョン修正バージョン0.281GIT
修正コミット fdce096プルリク
フラグ
セット
セット詳細
 
概 要重なるクリック可能領域で、クリックしたまま別な領域に移動するとフォーカスを失う。
詳 細Artwork: held input is released after crossing overlapping clickable zone edge of same input field.

What this means is, you have 2 or more clickable zones overlapping eachother, each having the same input field. If you hold down the input (hold mouse button) and hover the cursor over the edge to the next clickable zone, the input loses focus. It activates the input on zone A and then releases the held input status on zone B, and since it's the same input field, the input ends up being released.

This will happen with .lay files that have multiple clickable zones per button, eg. non-square shaped buttons.
The source code for updating input state at clickable zone edges is in render.cpp update_pointer_fields.
再現手順See example simon.zip containing simon.lay. Place simon.zip in artwork folder and run simon.
Hold mouse button and hover to/from green and red, and see that held input is released when crossing the edge.
The blue and yellow parts are separate inputs, it works fine there.
追加情報 
 
添付ファイルpng file0000.png (2025-09-05 21:23)
zip filesimon.zip (2025-09-05 21:24)