lxqt-runner icon indicating copy to clipboard operation
lxqt-runner copied to clipboard

Setting runner width under wayland is unusable/impossible

Open stefonarch opened this issue 7 months ago • 0 comments

Or better: any temptation to do so produces visual artefacts and ends up with garbage value like width=174263 which results in a shown width which is the width of the smaller monitor (1280px here). An attempt on the smaller monitor to resize:

https://github.com/user-attachments/assets/49b7ead0-a481-47e1-94b1-0185f2fcc586

Modifying with one monitor only:

https://github.com/user-attachments/assets/50e34ec6-989f-4b2a-bf1d-94392f6a85b5

The only way to get normal size and not 1280px is to

  • stop the runner module
  • edit or remove width setting in ~/.config/lxqt/lxqt-runner
  • needs even relogin eventually, especially with 2 monitors.

This is slightly different on different compositors, like on kwin the runner window can expand over both monitors when resizing, and on wayfire it can be be bigger than the monitor where it's shown.

Expected Behavior

Runner width can be configured under wayland.

Current Behavior

It's impossible and will result with runner taking the size of the smaller monitor.

Possible Solution

Fix the resize cursor movement effect which multiplicates apparently? This is the main cause.

Adding a limit for any width (only under wayland)? Default is 300px which can look to small on recent screens. Limit width to a third or a fifth of monitor size or to ?

Steps to Reproduce (for bugs)
  1. Try to resize runner window under wayland
System Information
  • Distribution & Version: arch, LXQt 2.*
  • Qt Version: 6.7.2

stefonarch avatar Jul 21 '24 09:07 stefonarch