Skip to content
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

Reset splitter sizes on database unlock #11014

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

droidmonkey
Copy link
Member

@droidmonkey droidmonkey commented Jul 1, 2024

Testing strategy

Manual testing is pending...

Type of change

  • ✅ Bug fix (non-breaking change that fixes an issue)

Copy link

codecov bot commented Jul 1, 2024

Codecov Report

Attention: Patch coverage is 91.66667% with 3 lines in your changes missing coverage. Please review.

Project coverage is 63.07%. Comparing base (ac6654c) to head (cb39275).

Files Patch % Lines
src/gui/DatabaseWidgetStateSync.cpp 91.18% 3 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##           develop   #11014      +/-   ##
===========================================
+ Coverage    63.03%   63.07%   +0.04%     
===========================================
  Files          362      362              
  Lines        37741    37757      +16     
===========================================
+ Hits         23788    23813      +25     
+ Misses       13953    13944       -9     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

* Attempt to avoid issue with splitters not being appropriately calculated because the main window isn't sized yet. This can happen if the main window is hidden when the database is loaded and the splitter sizes are not recorded in the config file.
@droidmonkey
Copy link
Member Author

I want to write unit tests for this before I merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Database view splitters are hidden if MinimizeOnStartup is enabled and no splitter sizes are configured
2 participants