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

New windows are only notified, not raised #2

Open
madx opened this issue Jul 6, 2013 · 2 comments
Open

New windows are only notified, not raised #2

madx opened this issue Jul 6, 2013 · 2 comments

Comments

@madx
Copy link
Contributor

madx commented Jul 6, 2013

I'm not sure if it's the right place to report this, but if I launch a new taterm window while I'm focused on another window, it gets placed behind the focused window and I've got a notification that the app is ready.

I'm using Gnome Shell, and I know you're using a tiling WM so you certainly aren't annoyed by this issue, but it's a real pain for me since I've got to either alt-tab or click the notification bubble to raise the window.

I'm pretty sure it has to do with the fact that it's using GtkApplication and only spawning new windows, not apps, and the behaviour of not showing the window is intended (i.e. not configurable) in Gnome.

I do not know if there is a way to force new windows to bypass this restriction, so I'm asking it to you :)

@t-8ch
Copy link
Owner

t-8ch commented Jul 6, 2013

Does this help:

diff --git a/taterm.vala b/taterm.vala
index 853f544..4f1cddc 100644
--- a/taterm.vala
+++ b/taterm.vala
@@ -148,6 +148,7 @@ class Taterm : Gtk.Application

            add(term);
            show_all();
+           present();
        } // Window()
    } // class Window

@madx
Copy link
Contributor Author

madx commented Jul 6, 2013

That's exactly what I've tried just now, but it does not seem to work, I'm investigating further

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants