Open tronical opened 1 year ago
One thing to note here is that in wayland/sway where focus can change by just moving the mouse, this bug has even bigger implications. Just moving the mouse over to another app/windows while a popup is out will close it without any way of getting a notification to the effect. This means that there's no good way "around" the issue so that user interaction loops can be "closed".
@almindor does it also happen when close-on-click is set to false?
@almindor does it also happen when close-on-click is set to false?
Yes
Following up on #1143 and related slightly to #2899 :
Suppose a PopupWindow declares a bunch of buttons:
When this popup is down what should happen is:
1) The underlying window that created the popup does not show activate focus anymore 2) Focus is transferred to the popup and consequently to the yes/ok button. 3) Tab-focus should allow transferring focus between the buttons.
With Qt this almost works, except that the initial focus isn't shown.
With winit, which currently embeds the popup inline, none of the three points work.