New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Focus / Popup bug prevents use of SweetHome #3386

Closed
goulou opened this Issue Dec 10, 2017 · 3 comments

Comments

Projects
None yet
2 participants
@goulou

goulou commented Dec 10, 2017

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

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Dec 10, 2017

Member

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

Member

andrewdavidwong commented Dec 10, 2017

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

@goulou

This comment has been minimized.

Show comment
Hide comment
@goulou

goulou Dec 10, 2017

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.

goulou commented Dec 10, 2017

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

This comment has been minimized.

Show comment
Hide comment
@andrewdavidwong

andrewdavidwong Dec 10, 2017

Member

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.

Member

andrewdavidwong commented Dec 10, 2017

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment