Skip to content

Fix GUI overflow on smaller and scaled displays - #93

Merged
AaronL725 merged 6 commits into
mainfrom
feature/fix-gui-layout-92
Sep 18, 2026
Merged

AaronL725 merged 6 commits into
mainfrom
feature/fix-gui-layout-92

Conversation

@AaronL725

Copy link
Copy Markdown
Owner

Summary

Fix the desktop GUI overflow reported in #92 without changing registration, mailbox, proxy, or output behavior.

Layout

  • Put the 23-row configuration form inside a dedicated vertically scrollable viewport.
  • Keep Start/Stop/Clear, status, statistics, and logs outside the scroll region so they remain visible.
  • Add Windows/macOS/Linux mouse-wheel support scoped to the configuration viewport.
  • Preserve CLI import behavior when Tkinter is unavailable.

Window sizing

  • Replace the fixed 1120x900 / 960x700 assumptions with screen-aware initial and minimum sizes.
  • Keep the GUI usable on shorter displays while retaining the existing large-screen size.

Regression coverage

  • Add real Tk layout tests for 960x700 windows.
  • Cover 100%, 125%, 150%, and 200% Tk scaling.
  • Verify the Outlook mailbox controls remain reachable by scrolling.
  • Verify mouse-wheel events do not hijack scrolling outside the configuration area.
  • Run the GUI suite under Xvfb in CI on Python 3.9 and 3.13.

Fixes #92

Copilot AI lite review requested due to automatic review settings September 18, 2026 15:15

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Copilot was unable to review this pull request because the user who requested the review has reached their quota limit.

@AaronL725
AaronL725 merged commit 7bb92ce into main Sep 18, 2026
2 checks passed
@AaronL725
AaronL725 deleted the feature/fix-gui-layout-92 branch September 18, 2026 16:02
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.

gui显示异常

2 participants