Window size resets to a fixed value when restoring from minimized

21 views
Skip to first unread message

HW Jia

unread,
Sep 16, 2026, 10:33:39 AM (3 days ago) Sep 16
to OneCommander
Hi,
I'd like to report a window-geometry bug in OneCommander V4 beta, Windows 11 OS.
When the main window is minimized and then restored, the window position is preserved but the size is reset to a fixed about 1024x1232 instead of the size it had before minimizing.

Expected
The window restores at the same size it had before minimizing.
Actual
The position is restored correctly, but the size becomes 1024x1232 every time.
Suggestion
When restoring from the minimized/tray state, read the width/height from the saved rcNormalPosition (or the live window rect) rather than applying a constant default size.

Thanks!

HW

OneCommander Support

unread,
Sep 16, 2026, 10:42:28 AM (3 days ago) Sep 16
to OneCommander
The regular minimize with titlebar button and the restore from taskbar? That is completely managed by Windows, OC doesn't manually modify  rcNormalPosition so it should work like any other Windows program. The only situation where OC intervenes is when creating a window to coordinates that don't exist on any display and then it does the same as if you pressed Shift+F1, but it doesn't sound like that situation because both position and size would be set to default main-display centering. Did you change any OC settings related to window behavior? Do you have any 3rd party window managers installed? Do you launch OC with any special parameters?
Reply all
Reply to author
Forward
0 new messages