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

Fix crash when application is unfocused during saves #8520

Merged
merged 2 commits into from
Oct 15, 2022

Conversation

droidmonkey
Copy link
Member

@droidmonkey droidmonkey commented Sep 30, 2022

Also Fix Focus Traps!

  • Fix focus issues with new PasswordWidget
  • Fix focus wrapping when DatabaseTabWidget is not showing the tab bar
  • Fix focus wrapping in EditWidget views to move between category list and contents. This is not a perfect fix, but Qt has a mind of its own with these complex widgets. This will be fixed in future Ui improvements that move away from the category widget.

Screenshots

Testing strategy

Type of change

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

@droidmonkey droidmonkey added PRE-RELEASE BUG crash 💥 pr: backport pending Pull request yet to be backported to a previous release labels Sep 30, 2022
@droidmonkey droidmonkey added this to the v2.7.2 milestone Sep 30, 2022
@codecov-commenter
Copy link

codecov-commenter commented Sep 30, 2022

Codecov Report

Base: 64.41% // Head: 64.44% // Increases project coverage by +0.03% 🎉

Coverage data is based on head (26fa71c) compared to base (eaa363d).
Patch coverage: 87.50% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff             @@
##           develop    #8520      +/-   ##
===========================================
+ Coverage    64.41%   64.44%   +0.03%     
===========================================
  Files          339      339              
  Lines        43953    43957       +4     
===========================================
+ Hits         28309    28326      +17     
+ Misses       15644    15631      -13     
Impacted Files Coverage Δ
src/gui/DatabaseWidget.cpp 61.20% <80.00%> (+0.04%) ⬆️
src/gui/DatabaseOpenWidget.cpp 57.27% <100.00%> (+0.62%) ⬆️
src/gui/DatabaseTabWidget.cpp 64.61% <100.00%> (+0.15%) ⬆️
src/fdosecrets/dbus/DBusMgr.cpp 53.67% <0.00%> (+1.47%) ⬆️
...rc/fdosecrets/widgets/SettingsWidgetFdoSecrets.cpp 59.09% <0.00%> (+3.03%) ⬆️

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

* Fix focus issues with new PasswordWidget
* Fix focus wrapping when DatabaseTabWidget is not showing the tab bar
* Fix focus wrapping in EditWidget views to move between category list and contents. This is not a perfect fix, but Qt has a mind of its own with these complex widgets. This will be fixed in future Ui improvements that move away from the category widget.
@droidmonkey droidmonkey merged commit affff20 into develop Oct 15, 2022
@droidmonkey droidmonkey deleted the hotfix/focus-crash branch October 15, 2022 21:33
@droidmonkey droidmonkey added pr: backported Pull request backported to previous release and removed pr: backport pending Pull request yet to be backported to a previous release labels Oct 15, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
crash 💥 pr: backported Pull request backported to previous release PRE-RELEASE BUG
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Crash when there is no focused widget and the database is modified
3 participants