Skip to content
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

Modal windows can get lost when switching focus in KDE #62

Closed
bentoogood opened this issue Mar 28, 2013 · 4 comments
Closed

Modal windows can get lost when switching focus in KDE #62

bentoogood opened this issue Mar 28, 2013 · 4 comments
Labels
bug Issues representing bugs core Issues with core Gaffer functionality

Comments

@bentoogood
Copy link
Contributor

KDE only:

Switching focus to another application then switching back to gaffer when a modal window (file open dialog for example) is open results in the child window not being re-displayed. Only the parent window is visible, but as control is still with the child no interaction with the parent window is possible (even attempting to close the application).
I have to kill the process and relaunch gaffer.

@ghost ghost assigned johnhaddon Mar 28, 2013
@bentoogood
Copy link
Contributor Author

It's possible my KDE window management configuration has some influence on this, so we should find other KDE users test.

@johnhaddon
Copy link
Member

I spent some time looking into this with Paulo. We're flagging the dialogue's as Tool windows in order to keep them on top of the window they belong to - otherwise they disappear behind which is very frustrating, especially in full screen mode. When switching apps, KDE closes all the tool windows on the inactive app. On Mac they do the same, but not if the window is currently modal. On GNOME everything works OK too.

There is a setting in the KDE window manager which controls whether or not tool windows are hidden when switching to another app, and turning that off provides a workaround. Maybe we need to catch the hide event when we're modal and immediately reshow ourselves...

@bentoogood
Copy link
Contributor Author

We will recommend gnome for now and let kde users know about work around.

johnhaddon added a commit to johnhaddon/gaffer that referenced this issue Nov 1, 2013
Fixes GafferHQ#220. Fixes GafferHQ#642. I suspect this could also sort out GafferHQ#62, but that needs to be verified by a KDE user.
@andrewkaufman
Copy link
Contributor

Confirmed that #644 fixed the KDE issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Issues representing bugs core Issues with core Gaffer functionality
Projects
None yet
Development

No branches or pull requests

3 participants