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

wf-dock crashes when no output present

Open jamdox opened this issue 5 years ago • 1 comments

wf-dock (0.6 via AUR) regularly crashes when the output is removed. Sometimes this brings down the whole shell, punting me back to GDM. This use case occurs when the monitor (a "smart TV") is set to use a different input than the computer, leaving the shell with no outputs. I believe this no-output condition is sufficient to replicate the problem. Thanks

jamdox avatar Dec 29 '20 03:12 jamdox

Also wf-background gets in a screwy state if you turn the monitor off and back on. I'm assuming a common problem with wf-shell programs.

running the latest git versions of wayfire, wf-shell and wlroots.

I put in some debug statements, and when the monitor goes off it recognizes a new output, but then tries to write to the new output (which doesn't physically exist) generating lots of gdk write errors and the only way to get control of the system is to ssh and kill the running wayfire process.

DPMS turn off works fine, the monitor turns back on, no problem. But when turned off, the monitor never comes back, blinks as if in standby mode and no keys work including normal shutdown keys.

Dpms does not generate a new output event, even though the monitor goes blank, but if you power the monitor off it does generate a new output event. And then the problems with writing to the "output" start and never end.

droc12345 avatar Apr 19 '21 16:04 droc12345