dwl icon indicating copy to clipboard operation
dwl copied to clipboard

Turning off and on monitor (using on monitor controller) makes floating all windows

Open mortezadadgar opened this issue 2 years ago • 12 comments

Info

dwl version: dwl v0.4-45-g3c9742a-dirty wlroots version: wlroots-0.16.2-r1

Description

I don't think there is anything left to add to this bug report I tried to get stacktrace of dwl using ssh but it doesn't seem to be related Edit: doing the same using wlr-randr doesn't freezes the output

mortezadadgar avatar Sep 01 '23 08:09 mortezadadgar

I was able to catch a stacktrace gdb.txt

mortezadadgar avatar Sep 03 '23 06:09 mortezadadgar

Can you check #474?

sevz17 avatar Sep 03 '23 17:09 sevz17

@sevz17 it doesn't freeze or crash anymore though there's another bug that turns all tiling windows into floating after turning on the monitor

mortezadadgar avatar Sep 03 '23 18:09 mortezadadgar

You are using just one monitor, right?

sevz17 avatar Sep 03 '23 18:09 sevz17

yes

mortezadadgar avatar Sep 03 '23 18:09 mortezadadgar

Can you check again? but with the two lines I added below wlr_scene_node_reparent

sevz17 avatar Sep 03 '23 18:09 sevz17

moving two lines changes you made below wlr_scene_node_reparent made no difference

mortezadadgar avatar Sep 03 '23 18:09 mortezadadgar

I see, I'm a bit busy rn. I'll check in more detail asap.

sevz17 avatar Sep 03 '23 18:09 sevz17

@mortezadadgar, can you try #474 again?

sevz17 avatar Sep 04 '23 03:09 sevz17

same

mortezadadgar avatar Sep 04 '23 07:09 mortezadadgar

I merged #474, as you said it does not fix the problem about the floating windows (but it's better than a segfault). This remains open until I figure out how to solve the problem.

sevz17 avatar Sep 07 '23 04:09 sevz17

more observations on toggle monitor:

  • kills all windows from other tags and move the last tag windows to tag 1 and make it floating
  • stops lockscreen client from receiving any keyboard events (tested with waylock and swaylock)

mortezadadgar avatar Sep 11 '23 08:09 mortezadadgar