-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
fix: prevent unnecessary redraws during window minimize/restore #3955
Conversation
This fixes the window flickering issue when minimizing/restoring by: 1. Adding isMinimizing flag to track window state 2. Adding SetPadding filter to prevent redundant redraws 3. Properly handling minimize/restore window states Fixes wailsapp#3951
WalkthroughThe changes focus on enhancing the handling of window resizing and minimizing behavior in the Windows frontend implementation. A new Changes
Assessment against linked issues
Possibly related PRs
Suggested reviewers
Poem
Tip CodeRabbit's docstrings feature is now available as part of our Early Access Program! Simply use the command 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (3)
👮 Files not reviewed due to content moderation or server errors (3)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Thanks so much for this🙏 Please could you add an entry to the changelog located at |
- Add detailed comments about frameless window fix - Update changelog to clarify this is a frameless window issue - Add bilingual comments for better understanding Fixes wailsapp#3951
I've updated the PR with:
|
Description
This PR fixes the window flickering issue when minimizing/restoring windows applications.
The issue was caused by unnecessary redraws during the minimize/restore process. This fix:
Related Issue
Fixes #3951
Testing
Tested on Windows 10/11 with:
Additional Notes
The fix minimizes code changes while effectively preventing the flickering issue.
Summary by CodeRabbit
New Features
Bug Fixes
Documentation