Let Back close the presets menu instead of the application

The presets menu at the foot of the tool rail is a PopupWindow, and
showing a popup takes focus off the develop view until it closes. The
menu held nothing focusable, so Android's Back gesture, pressed to
dismiss it, found no focus item, went unanswered, and the platform
closed the application. Slint closes a popup on Escape by itself but
not on Back.

The menu now holds a key scope, as the film list does, that closes it
on Back or Escape. The next Back leaves develop for the grid.
This commit is contained in:
2026-09-30 22:11:51 -04:00
parent 6f33517b35
commit 36556729f1
3 changed files with 100 additions and 6 deletions
File diff suppressed because one or more lines are too long