Skip to content

Fix dock state saving during minimize#206

Merged
vaibhavpandeyvpz merged 1 commit into
masterfrom
VPZ/fix-dockon-minimise
Dec 5, 2025
Merged

Fix dock state saving during minimize#206
vaibhavpandeyvpz merged 1 commit into
masterfrom
VPZ/fix-dockon-minimise

Conversation

@vaibhavpandeyvpz
Copy link
Copy Markdown
Owner

Fix Dock Widgets Disappearing on Minimize/Restore

Summary

Fixes an issue where dock widgets (Project, Files, Console) would disappear after minimizing and restoring the main window.

Changes

  • Prevent menu action checked states from updating when window is minimized
  • This preserves the dock visibility state during minimize/restore cycle

Technical Details

When the window is minimized, Qt hides the dock widgets, which triggers visibilityChanged signals. These signals were updating the menu actions to unchecked, so when the window was restored, the docks remained hidden. The fix prevents menu action updates when the window is minimized, preserving their checked state.

@vaibhavpandeyvpz
Copy link
Copy Markdown
Owner Author

This should fix #165

@vaibhavpandeyvpz vaibhavpandeyvpz merged commit 57e87b4 into master Dec 5, 2025
3 checks passed
@vaibhavpandeyvpz vaibhavpandeyvpz deleted the VPZ/fix-dockon-minimise branch December 5, 2025 17:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant