wf-shell icon indicating copy to clipboard operation
wf-shell copied to clipboard

LG monitor hotplug on DPMS wake causes several apps to either crash or lose their windows on output recovery

Open kode54 opened this issue 1 year ago • 6 comments

Describe the bug Several applications annoyingly don't recover on the output recovery cycle. Notably, wf-panel and sfwbar both randomly either get stuck at scale 1.0 on my scale 2.0 monitor when recovered, or sometimes even lose their status bars on the hotplugged output altogether.

To Reproduce Steps to reproduce the behavior:

  1. Enable output recovery
  2. DPMS cycle the monitors, causing LG 24UD58-B to disconnect for just a moment on DPMS "on" setting.
  3. sfwbar or wf-panel are lost from the restored display.

Expected behavior The status bars should recover more readily onto the restored display.

Screenshots or stacktrace Supplying logs of sfwbar and wf-panel reacting to output power states: sfwbar_output_wldebug.log.txt wfpanel_output_wldebug.log.txt

Wayfire version wayfire-git 0.8.1.r302.g5b4f9b94-1

kode54 avatar May 23 '24 04:05 kode54