QubesOS / qubes-issues

The Qubes OS Project issue tracker
https://www.qubes-os.org/doc/issue-tracking/
533 stars 46 forks source link

Focus / Popup bug prevents use of SweetHome #3386

Closed goulou closed 6 years ago

goulou commented 6 years ago

Qubes OS version:

R3.2

Affected TemplateVMs:

debian-9 (stretch)


Steps to reproduce the behavior:

-Install sweethome3D in vm or templatevm -start it -try to create a wall

Expected behavior:

-a tooltip opens showing the size/orientation of the wall, and gets updated while you drag the mouse to create it -once you release the mouse button, the wall gets created and the tooltip closed

Actual behavior:

-the tooltip appears and closes immediately (even though you don't release the mouse button), wall editing is canceled, you cannot create the wall

General notes:

This is certainly due to a focus problem between the main windows and the tooltip : the tooltip gains the focus, and the main window thinks the editing is cancelled. In the expected behaviour, the tooltip should appear in front of the window, but without gaining focus.


Related issues:

andrewdavidwong commented 6 years ago

Does changing your window focus settings (in dom0) have any effect?

goulou commented 6 years ago

Indeed, disabling the option "Automatically give focus to newly created windows" in Menu/System Tools/Window Manager/Focus did the trick! I'm not sure what the default should be though, and if I should expect the default mode to work nevertheless : as far as I understand it, this option is a "user-experience option", not a bugfixing one... :-) I let you close the bug if you think this "bugfix" is acceptable.

Goulou.

andrewdavidwong commented 6 years ago

It sounds like the problem is specific to a small class of programs of which SweetHome is a member, so I'll close this as resolved.

As for the default window focus setting, that's driven primarily by balancing security concerns with user expectations, and we have other issues to address this, such as #3267.