Cancel full-screen detection for the Niri window
Description
The current fullscreen-detection method causes Noctalia to exit its floating state after a restart. I think since we already have an IPC command to hide the bar, users can simply write a script to achieve this, or just use Niri’s fullscreen-window command to go fullscreen directly.
I also discovered that canceling the bar's float state causes outer corners to automatically activate.
Expected Behavior
I want the software to retain the float setting I made when I restart it.
Environment
- Distro: NixOS
- Compositor: Niri
- Noctalia-shell Version: 3.5.0-git
The automatic activation of outer corner fillets has been fixed. #957
Description
The current fullscreen-detection method causes Noctalia to exit its floating state after a restart. I think since we already have an IPC command to hide the bar, users can simply write a script to achieve this, or just use Niri’s
fullscreen-windowcommand to go fullscreen directly.I also discovered that canceling the bar's float state causes outer corners to automatically activate.
Expected Behavior
I want the software to retain the float setting I made when I restart it.
Environment
* Distro: NixOS * Compositor: Niri * Noctalia-shell Version: 3.5.0-git
Well the reason we added that check for fullscreen is because it behaves oddly with the new maximize-window-to-edges stuff. See: https://github.com/noctalia-dev/noctalia-shell/issues/926
If you got any better idea though I'm all for it.
Well the reason we added that check for fullscreen is because it behaves oddly with the new
maximize-window-to-edgesstuff. See: #926 If you got any better idea though I'm all for it.
for example:Mod+Shift+F { spawn-sh "niri msg action maximize-window-to-edges && qs -c noctalia-loner ipc call bar toggle"; }
https://github.com/user-attachments/assets/9a521d4d-e8d9-4d6d-8468-2939e80cf519
I guess that could be a solution for sure. If you feel like it you can open a PR to remove it :).
I guess that could be a solution for sure. If you feel like it you can open a PR to remove it :).
I've found it more complicated than I imagined, but it's certain that our current implementation is somewhat inadequate. Perhaps we should wait for Niri to add more event streams.
Yeah you're probably right. So what's the plan, do we keep it or do we revert it?
I guess that could be a solution for sure. If you feel like it you can open a PR to remove it :).
I've found it more complicated than I imagined, but it's certain that our current implementation is somewhat inadequate. Perhaps we should wait for Niri to add more event streams.