! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
--dropdown doesn't work when the terminal is not focused
Status:
RESOLVED: FIXED
Product:
Xfce4-terminal
Component:
General

Comments

Description Lara Maia 2016-10-03 16:03:12 CEST
How to reproduce:

1) Open a normal xfce4-terminal
2) Run xfce4-terminal --dropdown inside the first terminal
3) On dropdown terminal, go into the settings and check the option "always on top"
3) Run xfce4-terminal --dropdown again inside the first terminal

At this point the dropdown terminal should hide, but nothing happens.
Same if you put the command in a keyboard shortcut and the dropdown terminal is unfocused.
Comment 1 Igor editbugs 2016-10-04 15:15:05 CEST
Thank you for the report! It revealed a number of issues in drop-down window code.

Your issue should be resolved by recent git commits (https://git.xfce.org/apps/xfce4-terminal/commit/?id=7e32c03baa3d274eeeadbe5396393f6a687d3a8e is the latest).
Now, if the drop-down window is inactive (unfocused), running `xfce4-terminal --drop-down` or pressing the shortcut will make it active; and running the command again while the window is active (focused) will hide the window.
This behavior depends on the "use shortcut to focus window" setting - if it's disabled, the shortcut will hide the window instead of focusing it.

Bug #12878

Reported by:
Lara Maia
Reported on: 2016-10-03
Last modified on: 2016-10-04

People

CC List:
1 user

Version

Version:
0.6.92

Attachments

Additional information