Closed ghost closed 2 years ago
The provided video seems to be corrupted
But my initial guess would be that Wayfire handles their layers differently than sway but I'll need a look at the video to be sure
i can play the video here. recorded again just in case ....
This is what I see on Firefox:
The Github app displays a broken video and chromium freezes while displaying the initial thumbnail??? Strange
strange indeed i recorded with wf-recorder earlier. This one is recorded with OBS
The video works if I download it and run it through Clapper. The latest works though. Strange...
i have no idea, sorry for the issue
Nw! So my uneducated guess would be that Wayfire adds the newest layered windows above the older ones while Sway does the opposite. You can test this by running sleep 5; notify-send "test" "test"
and locking the screen. Sway won't show the notification while I'm guessing that Wayfire will?
Yes, notifications appear over swaylock on wayfire
What I can do is to expose the click to close as a option in the settings but that is only a half baked solution to this issue
or maybe allow the user to choose layer ? or is it possible for the BlankWindow and ControlCenter Window to be in same window ?
Hmmm. The issue with that would be if the user wants to blur the control center but not the translucent clickable background. I'll have to think about this one 🤔
https://github.com/ErikReider/SwayNotificationCenter/blob/01a35a05c2f416fc2796476e2461233d7b59597a/src/controlCenter/controlCenter.vala#L149 replacing GtkLayerShell.Layer.TOP
with GtkLayerShell.Layer.OVERLAY
i can interact with the control-center and click to close works as well.
sway works fine with it as well.
One more thing i have noticed now that the BlankWindow also covers waybar even if i have set it to top(not in sway) which i think can be fixed with css styling
.
So, i think allowing the user to choose layer would solve the issue.
After using OVERLAY Layer for control center
Wayfire:
Sway:
The only reason why the control center isn't using that layer by default is due to it appearing above the lockscreen on sway. Seems like that won't be the case on Wayfire and hyprland. The layer shell protocol is unstable atm so adding it as a config option isn't ideal if they change the spec in the future.
What would be ideal would be if the lockscreen had its own layer above everything else...
I'm cooking up a solution for this. Should be a PR that you can test soon :)
Does #139 fix the issue?
Yes, everything is working fine now. Thank You
Same issue on hyprland now
Same issue on hyprland now
Are you using the latest changes? (Not the release version)
Same issue on hyprland now
Are you using the latest changes? (Not the release version)
I am using the version from AUR 0.6.3-1
I am using the version from AUR 0.6.3-1
Use the -git version
Sorry for late answer. I checked with git version in aur, that contains master version of swaync, and all works correctly.
https://user-images.githubusercontent.com/80580574/175807336-f4550a28-bb6d-441a-8078-bfd59e44909c.mp4
After the recent updates about
BlankWindow
control center controls are no longer clickable and intractable. Cannot reproduce on sway.