-
Notifications
You must be signed in to change notification settings - Fork 642
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
[GUI] Tray icon doesn't bring the window up if minimized or hidden behind another window #3667
Comments
For some more context, it seems GTK cannot reliably guarantee that a window is brought to front and is given focus: https://discourse.gnome.org/t/how-to-raise-a-window-in-gtk3-i-e-unminimize-it-bring-it-on-top-of-other-windows-and-focus-it/17100 The |
Interesting. Are we calling I just tried with another application that has a tray icon. It indeed does not bring the window up, but I get a notification, when I try to bring up the window from the tray, saying " is ready". Clicking on the notification then brings the window up for me. I think that is the most we could aim for in Gnome. |
No, but I tried it and it still didn't work... |
I can also confirm that adding windowManager.focus() doesn't change anything After tracing through the discussion on the GNOME discourse and the associated github issues, it seems we could try building our own version of the Otherwise it seems that there are no other potential solutions to this behavior with the current build of |
I see, thanks for clarifying @levkropp. Do you want to give that forked |
I think I am having success with calling In my testing, this has made it so "Open in Multipass" for an instance either opens the Multipass window (if keyboard focus is not stolen) or shows the " is ready" dialog if typing focus is on another app 100% of the time. Please let me know if adding |
@levkropp I can confirm that |
Describe the bug
When the GUI is running but the windows is hidden behind other windows, or minimized, clicking the tray icon does not bring it up front.
Additional info
multipass version
: 1.14The text was updated successfully, but these errors were encountered: