lxqt / lxqt-config

Tools to configure LXQt and the underlying operating system
https://lxqt.github.io
GNU Lesser General Public License v2.1
79 stars 60 forks source link

lxqt-config-monitor not restoring multi-display configuration #980

Open fenugrec opened 4 months ago

fenugrec commented 4 months ago

I'm having possibly a few issues with multi-display configs, possibly same root cause.

Expected Behavior

After display blanking and waking up, multi-display config should be restored as it was.

Current Behavior

On wakeup :

Steps to Reproduce (for bugs)
  1. configure two monitors with one primary (HDMI) and one that "extends another display"
  2. let computer idle and turn off displays
  3. wake up by moving mouse
Context

This used to work fine with a slightly different monitor setup (same DVI monitor , but the other one was DP) , so the problem is probably not just a regression.

I realize this may be difficult to reproduce, but I'm not sure what type of debugging info would be useful to provide.

System Information

abridged xrandr output :

Screen 0: minimum 320 x 200, current 2944 x 1200, maximum 16384 x 16384
DisplayPort-0 disconnected (normal left inverted right x axis y axis)
DisplayPort-1 disconnected (normal left inverted right x axis y axis)
HDMI-A-0 disconnected (normal left inverted right x axis y axis)
HDMI-A-1 connected primary 1920x1200+0+0 (normal left inverted right x axis y axis) 546mm x 352mm
   1920x1200     59.95*+
.....
DVI-D-0 connected 1024x768+1920+109 (normal left inverted right x axis y axis) 480mm x 270mm
   1920x1080     60.00 +
.....

   1024x768      75.03    60.00* 
fenugrec commented 4 months ago

slight update - connecting the HDMI monitor into HDMI-A-0 instead of HDMI-A-1 , almost same behaviour regarding window placement (everything is moved to the DVI monitor), but at least now both monitors are set to the correct resolution. Happens both with openbox and icewm as WM.