[Bug]: Main Window Lanches outside screen space #26
Labels
No labels
Kind/Bug
Kind/Feature
Priority/High
Priority/Medium
Reviewed/Confirmed
Compat/Breaking
Kind/Bug
Kind/Documentation
Kind/Enhancement
Kind/Feature
Kind/Security
Kind/Testing
Priority
Critical
Priority
High
Priority
Low
Priority
Medium
Reviewed
Confirmed
Reviewed
Duplicate
Reviewed
Invalid
Reviewed
Won't Fix
Status
Abandoned
Status
Blocked
Status
Need More Info
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
ai-collab/bulk-image-organizer#26
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
App version
0.1.1
Platform
Windows
Steps to reproduce
Expected behavior
The main application window is fully visible on the monitor and/or or opened in full screen mode.
Actual behavior
The main window is opened at the resolution of the main monitor but shifted up, off the screen, to no overlap the Windows taskbar. The window title and OS minimize/restore/close buttons are unreachable.
Additional context
This is not present on the Linux build.
Fix implemented on
0.1.25/issue-26-window-offscreenRoot cause: Session restore saved
frameGeometry()but applied it throughsetGeometry(). On Windows, those APIs disagree about client vs. frame size, so a fullscreen-sized rect could place the title bar above the visible desktop when the app tried to avoid the taskbar.Changes in
session_state.py:saveGeometry()(qt_geometry) plus targetscreenname for platform-correct restore.setGeometry; the window re-enters fullscreen on the saved monitor viawindowHandle().setScreen()+showFullScreen().availableGeometry.Verification:
tests/test_pr13_config.pyextended with qt-geometry round-trip, fullscreen restore, and legacy off-screen rect cases (25 tests passing on Linux CI path).Manual check requested: Please confirm on Windows with the reproduce steps (fullscreen → close → reopen). One normal exit after upgrading writes the new
qt_geometrypayload; even older saved sessions should clamp safely on the legacy path.Resolved in PR #69 (
0.1.25/issue-26-window-offscreen→main, release 0.1.26).Validated on Linux CI path (qt-geometry round-trip, fullscreen re-entry, legacy off-screen rect clamp). Windows manual confirmation of fullscreen → close → reopen is still welcome after merge.