Open JinShil opened 9 months ago
@tobybroberts I think you also ran into this at some point - do you remember what the fix was?
Experiencing exactly the same right now on the latest official RaspiOS release. What fixed it for me right now (just as I typed the first sentence and after tinkering for 5hrs, LOL) was: --start-maximized and --start-fullscreen
I can confirm that --start-maximized
alone, without --start-fullscreen
works around the issue.
But why is this necessary, and why does it work fine without those arguments when launching from and SSH terminal session?
I can confirm that
--start-maximized
alone, without--start-fullscreen
works around the issue.But why is this necessary, and why does it work fine without those arguments when launching from and SSH terminal session?
Wayland/Wayfire are super restrictive when it comes to SSH commands changing apps state. No idea what mechanism intercepts the correct maximized window behaviour, however I do start these from an autostart.sh now anyways which always runs them from the Pi itself.
I am puzzled on why it even works for you through SSH as most commands result in "$DISPLAY not found" or similar error messages because the command is being run from your main machine and not the PI itself. Thinking about it now.. maybe it works because your main machine is having a correct setup that runs the --start-maximized under the hood already and when ran on your Pi directly, its missing and you need to state it explicitly.. Just a thought though.
I've heard this issue is resolved with 0.8.0 release of wayfire. (Although the bump introduces new issues, so may not appear imminently).
As of today, with the latest updates to Bookworm, this is still an issue.
As of today Bookworm V12 still has this issue!
I've tested:
chromium-browser --kiosk https://raspberrypi.com
On pi5 bookworm with labwc enabled (this is planned as a default update "soon").
The browser opened fullscreen just fine. So I suspect this issue will be resolved in a coming update.
On Pi4 64bit OD release 2024-03-15 still an issue.
Can confirm the same behaviour still on the latest updates today. Adding --start-maximised was the workaround.
I can also confirm as of July 2, 2024 , "chromium-browser --start-maximized --start-fullscreen" fixes the issue on wayland as a workaround
--start-fullscreen alone fails to render chromium properly in wayland/wayfire mode, but works alrite on X11 mode
Step to reproduce:
chromium-browser --kiosk https://raspberrypi.com
Interestingly running the same command from an SSH terminal session works fine.