lxqt / qterminal

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

Preferences window opens below qterminal -d under wayland #1133

Open stefonarch opened 6 months ago

stefonarch commented 6 months ago

A side effect of layershell overlay.

Expected Behavior

The window should be accessibile

Current Behavior

It's not, the best thing to do is to press again the hotkey

Possible Solution

Emit a "hide " signal when preferences window opens under wayland in dropdown modeor use also layershell for the preferences window in dropdown mode under wayland.

tsujan commented 6 months ago

Being a Wayland issue, this isn't limited to the Preferences window. For example, the paste prompt dialog is also opened behind the window (at least under LabWC), and we shouldn't hide the window on showing it.

tsujan commented 6 months ago

IMO, this problem should to be addressed by Wayland compositors: they must show a child dialog in front of its parent window, and it should make no difference on which layer the latter is. So, we may want to report it to some Wayland WMs, especially LabWC and Wayfire.