lxqt / qterminal

A lightweight Qt-based terminal emulator
https://lxqt.github.io
GNU General Public License v2.0
611 stars 153 forks source link

QTerminal dropdown occasionally opens in a minimized state #1066

Open isf63 opened 1 year ago

isf63 commented 1 year ago
Expected Behavior

Activating dropdown QTerminal with a hotkey should never open it minimized.

Current Behavior

Pressing a hotkey to open QTerminal opens it in a minimized state once or twice randomly throughout the day.

Possible Solution
Steps to Reproduce (for bugs)
  1. Press the hotkey to open QTerminal, then minimize it from the taskbar. Upon pressing the hotkey to open it opens in a minimized state.
  2. Press the hotkey to open QTerminal, then press the Show Desktop panel button. 50% of the time upon pressing the hotkey to reopen it opens in a minimized state.
System Information

.config/qterminal.org/qterminal.ini DropMode section:

[DropMode]
Height=45
KeepOpen=false
ShortCut=F12
ShowOnStart=false
Width=70
tsujan commented 1 year ago

Not reproducible with KWin. What's your WM?

isf63 commented 1 year ago

My WM is Xfwm4; tested on Openbox and it's the same behavior as Xfwm4.

tsujan commented 1 year ago

Openbox doesn't count because it isn't developed, but Xfwm4 does. Perhaps we need to add a small trick to prevent Xfwm4 from doing so.

stefonarch commented 6 months ago

Press the hotkey to open QTerminal, then minimize it from the taskbar.

The dropdown terminal shouldn't be show in the taskbar no? Maybe I'm biased now by wayland where it isn't shown, but there is no need to have it in the taskbar.

isf63 commented 6 months ago

@stefonarch, in this bug of Xfwm4 it's helpful that you can refocus it by clicking the task item, but I have no preference for it being in the taskbar or not. I've gotten used to it being in the taskbar so I'm slightly biased in the opposite direction.

tsujan commented 3 weeks ago

it's helpful that you can refocus it by clicking the task item

Oh, if that's so, Xfwm4 has a serious problem, because the dropdown terminal should hide on losing its focus.