Skip to content

refactor: Fullscreen handling#619

Open
fhscey wants to merge 1 commit intoTeamFlos:mainfrom
fhscey:main
Open

refactor: Fullscreen handling#619
fhscey wants to merge 1 commit intoTeamFlos:mainfrom
fhscey:main

Conversation

@fhscey
Copy link
Contributor

@fhscey fhscey commented Nov 17, 2025

This commit refactors fullscreen mode activation to be triggered only once upon user request and extends fullscreen support to Linux.

This commit refactors fullscreen mode activation to be triggered only once upon user request and extends fullscreen support to Linux.
Copy link
Member

@liquidhelium liquidhelium left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tested on windows. It worked fine.

@YuevUwU
Copy link
Contributor

YuevUwU commented Dec 31, 2025

Consider to add translation for en-US (for macro fallback_langid), or this message waterfall will be still existing (in both Linux and Windows)

2025-12-31T11:05:20.261179200Z  WARN prpr_l10n::local: no translation found for item-fullscreen, returning key
2025-12-31T11:05:20.261522300Z  WARN prpr_l10n::local: no translation found for item-fullscreen-sub, returning key

@YuevUwU
Copy link
Contributor

YuevUwU commented Dec 31, 2025

[BUG]
The Linux build can't expectedly cancel the fullscreen mode.
Disable fullscreen_mode will flash and still in fullscreen mode.
Tested on VirtualBox VM with these OS:

  • Linux Mint 22.1 x86_64 + Xfce4 4.18 + Xfwm4 (X11)
  • Fedora Linux 43 (Workstation Edition) x86_64 + GNOME 49.2 + Mutter (Wayland)

Current Behaviour of Implementation on Windows (Record-only, not bug or expected behaviour)

  • Game does not enter fullscreen based on current config.fullscreen_mode setting
    • Reproduction: Exit fullscreen mode using Alt-F4, then re-enter the game
  • If make window maximize, and enable fullscreen, and disable fullscreen, it will go back to window mode but not maximized

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

Successfully merging this pull request may close these issues.

3 participants