-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Behaviour of resizable is different across platforms #2242
Copy link
Copy link
Closed
Labels
C - needs investigationIssue must be confirmed and researchedIssue must be confirmed and researchedDS - appkitAffects the AppKit/macOS backendAffects the AppKit/macOS backendDS - waylandAffects the Wayland backend, or generally free Unix platformsAffects the Wayland backend, or generally free Unix platformsDS - win32Affects the Win32/Windows backendAffects the Win32/Windows backendDS - x11Affects the X11 backend, or generally free Unix platformsAffects the X11 backend, or generally free Unix platformsS - platform parityUnintended platform differencesUnintended platform differences
Metadata
Metadata
Assignees
Labels
C - needs investigationIssue must be confirmed and researchedIssue must be confirmed and researchedDS - appkitAffects the AppKit/macOS backendAffects the AppKit/macOS backendDS - waylandAffects the Wayland backend, or generally free Unix platformsAffects the Wayland backend, or generally free Unix platformsDS - win32Affects the Win32/Windows backendAffects the Win32/Windows backendDS - x11Affects the X11 backend, or generally free Unix platformsAffects the X11 backend, or generally free Unix platformsS - platform parityUnintended platform differencesUnintended platform differences
When setting
window.set_resizable(false)the window is still resizable viawindow.set_inner_size()on macOS and Windows, but not on Linux. I would expect thatwindow.set_resizable(false)just disables the manual handles for the mouse on all platforms but keep it possible to change the size from the application itself.