Skip to content
This repository has been archived by the owner on Jan 26, 2024. It is now read-only.

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

Open
mortezadadgar opened this issue Sep 1, 2023 · 12 comments
Labels
A: bug Something isn't working

Comments

@mortezadadgar
Copy link

mortezadadgar commented Sep 1, 2023

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 mortezadadgar added the A: bug Something isn't working label Sep 1, 2023
@mortezadadgar
Copy link
Author

I was able to catch a stacktrace
gdb.txt

@sevz17
Copy link
Collaborator

sevz17 commented Sep 3, 2023

Can you check #474?

@mortezadadgar
Copy link
Author

@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

@sevz17
Copy link
Collaborator

sevz17 commented Sep 3, 2023

You are using just one monitor, right?

@mortezadadgar
Copy link
Author

yes

@sevz17
Copy link
Collaborator

sevz17 commented Sep 3, 2023

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

@mortezadadgar
Copy link
Author

moving two lines changes you made below wlr_scene_node_reparent made no difference

@sevz17
Copy link
Collaborator

sevz17 commented Sep 3, 2023

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

@sevz17
Copy link
Collaborator

sevz17 commented Sep 4, 2023

@mortezadadgar, can you try #474 again?

@mortezadadgar
Copy link
Author

same

sevz17 added a commit to sevz17/dwl that referenced this issue Sep 7, 2023
there is still a bug, but for now this prevents a segfault

Bug: djpohly#472
@sevz17
Copy link
Collaborator

sevz17 commented Sep 7, 2023

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 sevz17 changed the title Turning off and on monitor (using on monitor controller) freezes output Turning off and on monitor (using on monitor controller) makes floating all windows Sep 7, 2023
@mortezadadgar
Copy link
Author

mortezadadgar commented Sep 11, 2023

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)

mobygit pushed a commit to mobygit/dwl that referenced this issue Oct 10, 2023
there is still a bug, but for now this prevents a segfault

Bug: djpohly/dwl#472
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
A: bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants