sway
sway copied to clipboard
Flicker with called Sway Menus from Wofi / Swayr
Please read the following before submitting:
https://user-images.githubusercontent.com/24463722/187961933-280de52f-0a7d-494b-82a5-d97947e7e41d.mp4
Please fill out the following:
-
Sway Version:1.7
-
Debug Log:
- https://termbin.com/q833
-
Configuration File:
-
https://termbin.com/qxvm
-
Stack Trace:
-
not applicable
-
Description:
- Sway flickers on one of my monitor when swayrd calling its native menu/s.
Video:
No idea what could be the cause, but it doesn't happen on my end with sway 1.7 and wofi. Did you try with a different wofi config file?
I found the solution and the issue. Wofi is incapable of setting height and width with two monitors that are 1920x1080, but one is in portrait mode. The solution? Supply height and width extra. Like
Control+e exec wofi -H 800 -W 800 --show drun
Swayr uses wofi without height and width, I guess~!
That aint a wofi problem, but probably the issue is that appropriate dimensions are not given by default. I think it auto generates 'fitting' dimensions if they are left out, but then re-sizes when it finds out it wouldnt fit or so ?
Altering the monitors absolute position can move the issue to the left monitor. It works without values for whatever monitor has pos 0 0
What I do not yet know, how can I pass width and height to swayr? Cause I want the window-switcher to not flicker cause of a issue with sway menus! Is that a limitation? Anyhow, I see a issue with swaywm here. Isnt it?
I added a issue on swayr, perhaps they can issue a bugfix for something that isnt even their fault. https://todo.sr.ht/~tsdh/swayr/28
Turns out we have to configure to have fixed width and height. But why does it flicker in the first place. no clue!
Here is the related wofi bug: https://todo.sr.ht/~scoopta/wofi/183. Shouldn't this issue here be re-opened? At least the wofi developer thinks this might be a sway bug.
Here is the related wofi bug: https://todo.sr.ht/~scoopta/wofi/183. Shouldn't this issue here be re-opened? At least the wofi developer thinks this might be a sway bug.
Alright. I re-opened the issue.
I have the same problem! The current workaround is setting a fixed height/width when calling wofi then?
I have the same problem! The current workaround is setting a fixed height/width when calling wofi then?
precisely. Think it was -H 800 -W 800 or so in my config for 1920x1080
This issue can be closed, or? this is not a sway bug then.