! 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 !
--drop-down mode sometimes opens new windows rather than showing/hiding exist...
Status:
RESOLVED: MOVED
Product:
Xfce4-terminal
Component:
General

Comments

Description Bharadwaj Raju 2019-01-14 18:31:19 CET
Description
---------------

I have set the command "xfce4-terminal --drop-down" bound the Ctrl+` key to "xfce4-terminal --drop-down".

For the most part it works out: I press the shortcut and the correct instance of the terminal drops down.

However, when I by mistake press the shortcut multiple times, it fails to detect the existing instance and instead opens a fresh drop-down terminal. At that point I have to start a normal terminal and kill the new xfce4-terminal --drop-down process.



Steps to Reproduce
-------------------------

  1. Make sure an xfce4-terminal --drop-down process is already running, and maybe type something into it to identify this instance.

  2. Press the shortcut multiple times quickly.

  3. You will find that there are now 2 instances of xfce4-terminal --drop-down. Verify by:

          $ for i in $(pgrep xfce4-terminal); do ps -fp "$i"; done


Software Versions
-----------------------

OS: Arch Linux
Version: xfce4-terminal 0.8.7.4 (Xfce 4.12)
Comment 1 Igor editbugs 2019-01-14 18:38:35 CET
Hi, I have never seen multiple drop-down windows (unless you use the "--disable-server" parameter...)

Could you please record a video showing a single terminal process at first and how a new process it started? Thanks!
Comment 2 Bharadwaj Raju 2019-01-20 06:07:52 CET
I've been trying to record the bug but so far haven't been able to get it while screen recording. Will keep trying though.
Comment 3 Bharadwaj Raju 2019-01-27 06:55:48 CET
Managed to get a screenshot showing multiple processes, but can't get a screen recording

https://i.imgur.com/KUVNwAf.png
Comment 4 Bharadwaj Raju 2019-01-28 15:09:38 CET
Hey Igor, finally managed to get a screen recording

https://i.imgur.com/RecjaYR.gif
Comment 5 Igor editbugs 2019-02-09 22:49:37 CET
(In reply to Bharadwaj Raju from comment #4)
> Hey Igor, finally managed to get a screen recording
> 
> https://i.imgur.com/RecjaYR.gif
Hi Bharadwaj, what WM/desktop are you using?
I cannot reproduce it here in the Xfce environment, no matter how fast I press the hotkey.
Comment 6 Bharadwaj Raju 2019-02-17 20:06:49 CET
WM is xfwm4, desktop is xfce

It doesn't happen only on fast hotkey presses, it also happens when my system is under heavy load (firefox...) and I press the hotkey just once. Guess you need a slow system to reproduce it? Mine is 2GB RAM, 2GHz CPU, old hard disk.

And another screenshot, this time 3 simultaneous instances: https://i.imgur.com/Dw4nDDY.png
Comment 7 Bharadwaj Raju 2019-02-22 20:13:01 CET
After testing a few times, confirmed: I can't get the bug *only* by pressing multiple times. Heavy load is essential.

But the bug appears *every time* I haven't pressed the shortcut in an hour or so, and in the meanwhile did heavy work (firefox...)


You can try to simulate a slow system like mine to get the bug to appear:

https://stackoverflow.com/questions/13484016/setting-limit-to-total-physical-memory-available-in-linux
https://serverfault.com/questions/351352/limit-hard-drive-write-speed-by-user-in-linux
https://superuser.com/questions/1170519/limiting-cpu-usage-uniformly
Comment 8 Git Bot editbugs 2020-05-24 23:44:22 CEST
-- GitLab Migration Automatic Message --

This bug has been migrated to xfce.org's GitLab instance and has been closed from further activity.

You can subscribe and participate further through the new bug through this link to our GitLab instance: https://gitlab.xfce.org/apps/xfce4-terminal/-/issues/30.

Please create an account or use an existing account on one of our supported OAuth providers. 

If you want to fork to submit patches and merge requests please continue reading here: https://docs.xfce.org/contribute/dev/git/start#gitlab_forks_and_merge_requests

Also feel free to reach out to us on the mailing list https://mail.xfce.org/mailman/listinfo/xfce4-dev

Bug #15040

Reported by:
Bharadwaj Raju
Reported on: 2019-01-14
Last modified on: 2020-05-24

People

CC List:
1 user

Version

Version:
0.8.7.4

Attachments

Additional information