Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fullscreen working every other time on gnome #989

Open
Eliyaan opened this issue Feb 10, 2024 · 1 comment
Open

fullscreen working every other time on gnome #989

Eliyaan opened this issue Feb 10, 2024 · 1 comment

Comments

@Eliyaan
Copy link

Eliyaan commented Feb 10, 2024

Hi,
The fullscreen parameter is working unreliably on gnome. Sometimes the window shows up in fullscreen but sometimes it does not.
(reproduced it in triangle-sapp.c by adding .fullscreen = true, at line 84)

adding this in void frame(void) {

    if( sapp_frame_count() % 60 == 0 ){
       sapp_toggle_fullscreen();
       slog_func("debug", 1, sapp_is_fullscreen(), "after toggling", __LINE__, __FILE__, 0);
    }

makes the app trigger between fullscreen and window mode, even if initially it is not fullscreen reliably (the app thinks that it is on fullscreen on launch but it is not)

Have a great day!

Environment:
Fedora 39
Gnome 45.3 (Wayland)

@floooh
Copy link
Owner

floooh commented Feb 10, 2024

Yeah, I can reproduce in a GNOME (Wayland) session but not in a KDE (Wayland) session.

I guess GNOME needs to fix this on their side, since it works correctly in KDE.

I'll keep the ticket open in case somebody else wants to investigate.

PS: it definitely worked in older GNOME versions because I only recently switched from GNOME to KDE (after upgrading to Ubuntu 23.10, because tbh I couldn't suffer GNOME's descent into UX madness anymore)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants