lxqt / qterminal

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

Use layershell for dropdown terminal under wayland #1111

Closed stefonarch closed 4 months ago

stefonarch commented 5 months ago

Use layershell for positioning and layer, similar to lxqt-runner and lxqt-leave dialog windows.

Expected Behavior

Dropdown settings for size are working under wayland and do not show it in taskbars.

Current Behavior
Possible Solution

Use similar code as we do in runner already: https://github.com/lxqt/lxqt-runner/blob/3deaf15726c59c90f4a53c2d4678799d79889e26/dialog.cpp#L206

Context

Should be among wayland improvements in LXQt 2.1
Related issues are https://github.com/lxqt/qterminal/issues/1028 and https://github.com/lxqt/qterminal/issues/1059.

With a working single mode qterminal -d can be used to reopen the existing dropdown QTerminal.

System Information
marcusbritanicus commented 4 months ago

@stefonarch I think this issue can be closed, now that #1113 is merged.