-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Hi,
since upgrading to Bookworm and current git i have the issue that when starting a new roxterm the new terminal windows opens in background and inactive.
Debian/Bookworm Cinnamon X11
flo@p5:~/projects/roxterm/roxterm$ git describe --long
3.14.2-0-g92b3bc7
Its not in 100% of the cases but most of the time
win rox - enter
-> first roxterm opens
-> make it fullscreen with left-win up up
win rox - enter
-> new window opens inactive in background
I am a bit puzzled and tried to unterstand - So what i read gtk_windows_present is bringing the windows to front and activates it. So in case the new roxterm starts this should be done via DBUS and calls launch_roxterm which runs
^f3709af (Tony Houghton 2010-08-24 19:18:02 +0100 4224) multi_tab_new(win, roxterm);
37bb4015 (Tony Houghton 2011-12-29 13:56:04 +0000 4225) if (gtk_widget_get_visible(gwin))
25ee207f (Tony Houghton 2011-12-29 15:42:43 +0000 4226) gtk_window_present(GTK_WINDOW(gwin));
^f3709af (Tony Houghton 2010-08-24 19:18:02 +0100 4227) }
Is my understanding correct? This code hasnt changed for a decade so something externally must have changed. My guess is that gtk_widget_get_visible returns false - some race condition?!?
I'd be happy to debug further
Flo