Skip to content

Conversation

timon-schelling
Copy link
Member

@timon-schelling timon-schelling commented Sep 22, 2025

Part of #3191

We should discuss if this closes it.

On small issue remaining, due to using a custom window frame winit::Window::is_maximized always returns false on win32 and we cant update the icon correctly because maximizing looks like resizing to winit. Mostly a issue on vms without GPU.

There are workarounds, but my preferred solution would be to introduce a WindowHandle type that holds both the window and native window handle and would have working implementations on all platforms for things like is_maximized (could depending on platform use native window handle or window to determine maximized state etc.).

That will need some work though and I would prefer merging this PR before the event on the 26th.

@timon-schelling timon-schelling force-pushed the desktop-fix-window-extending-outside-the-screen-windows branch from f94ed99 to 5cea64e Compare September 24, 2025 01:09
@Keavon Keavon changed the title Desktop: Fix window extending outside the screen on window when maximized on windows Desktop: Fix maximized window extending outside the screen on Windows Sep 24, 2025
@TrueDoctor
Copy link
Member

I don't think I'm the best person to test this but I guess the code looks fine

@timon-schelling
Copy link
Member Author

I don't think I'm the best person to test this but I guess the code looks fine

It was tested on Windows by keavon.

@timon-schelling timon-schelling merged commit d595089 into master Sep 25, 2025
3 of 4 checks passed
@timon-schelling timon-schelling deleted the desktop-fix-window-extending-outside-the-screen-windows branch September 25, 2025 13:22
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.

2 participants