Bug 1403624 - Terminator windows not focused when started via shortcut in gnome
Summary: Terminator windows not focused when started via shortcut in gnome
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: terminator
Version: 25
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Dominic Hopf
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
: 1426336 (view as bug list)
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-12 00:59 UTC by Peter Hutterer
Modified: 2017-03-20 07:46 UTC (History)
6 users (show)

Fixed In Version: terminator-1.91-2.fc25.noarch
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-20 07:46:26 UTC
Type: Bug


Attachments (Terms of Use)

Description Peter Hutterer 2016-12-12 00:59:24 UTC
Description of problem:
I have a keyboard shortcut ctrl+alt+T to start terminator, configured in the gnome keyboard settings panel (under custom shortcuts). Until including 
terminator-0.98-4.fc25.noarch, a terminator window would be in the foreground and focused when started. With the recent update to 1.90-5.fc25.noarch, the windows are all now in the background and need additional an alt-tab switch to be focused.

Version-Release number of selected component (if applicable):
1.90-5.fc25.noarch

How reproducible:
Set up a shortcut to launch terminator or run "sleep 3; terminator &" and quickly switch to another window, like Firefox. Terminator will launch in the background.

Additional info:
gnome-terminal doesn't have this issue so if it is to do with the focus-stealing-prevention there seems to be a way to avoid it.

Comment 1 Jakub Heger 2016-12-14 09:24:17 UTC
I experience the same issue as Peter + I noticed different odd behaviour.

When I have open terminator on one workspace and I try to open different instance of terminator on second workspace the active workspace is switched to the one with terminator already running and when I go back to the workspace I've tried to open new terminator from there is new shell.

Comment 2 Jakub Heger 2017-02-15 11:37:13 UTC
There is a number of workarounds according to https://bugs.launchpad.net/terminator/+bug/1508531

1) adding this:

[global_config]
  dbus = False

to your config file (~/.config/terminator/config)

2) Adding -u option to your shortcut launcher (this may apparently increase resource consumption)

3) Downgrading to version 0.98

I've tried 1 and 2 and both seem to work.

Comment 3 Dominic Hopf 2017-03-19 14:01:45 UTC
Can you confirm this issue has been fixed with the latest update to 1.91?

Comment 4 Dominic Hopf 2017-03-19 14:05:04 UTC
*** Bug 1426336 has been marked as a duplicate of this bug. ***

Comment 5 Peter Hutterer 2017-03-20 00:23:09 UTC
yep, fixed in terminator-1.91-2.fc25.noarch, thanks


Note You need to log in before you can comment on or make changes to this bug.