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 deleting items in recycle bin while searching #8117

Merged
merged 2 commits into from
Sep 22, 2022

Conversation

droidmonkey
Copy link
Member

Testing strategy

Tested that this fixes the bug and causes no regressions.

Type of change

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

* Fix #8099
* Clean up code that connects groups to the entry view. Instead of connecting ALL groups from ALL databases, we only need to connect the groups that entries actually belong to. This solves the bug and also reduces overhead.
@droidmonkey droidmonkey added crash 💥 pr: backport pending Pull request yet to be backported to a previous release labels Jun 6, 2022
@droidmonkey droidmonkey added this to the v2.7.2 milestone Jun 6, 2022
@droidmonkey droidmonkey requested a review from phoerious June 6, 2022 01:26
@codecov-commenter
Copy link

codecov-commenter commented Jun 6, 2022

Codecov Report

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

Coverage data is based on head (2906db5) compared to base (d181f80).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff            @@
##           develop    #8117   +/-   ##
========================================
  Coverage    64.41%   64.41%           
========================================
  Files          339      339           
  Lines        43963    43953   -10     
========================================
- Hits         28316    28310    -6     
+ Misses       15647    15643    -4     
Impacted Files Coverage Δ
src/gui/entry/EntryModel.cpp 59.81% <100.00%> (-0.71%) ⬇️
src/core/Entry.cpp 82.75% <0.00%> (+0.20%) ⬆️
src/core/FileWatcher.cpp 86.75% <0.00%> (+1.20%) ⬆️

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.

@droidmonkey droidmonkey merged commit eaa363d into develop Sep 22, 2022
@droidmonkey droidmonkey deleted the fix/search-delete-crash branch September 22, 2022 12:40
pull bot pushed a commit to tigerwill90/keepassxc that referenced this pull request Sep 22, 2022
…xreboot#8117)

* Fix keepassxreboot#8099
* Clean up code that connects groups to the entry view. Instead of connecting ALL groups from ALL databases, we only need to connect the groups that entries actually belong to. This solves the bug and also reduces overhead.
pull bot pushed a commit to annihilatorrrr/keepassxc that referenced this pull request Sep 22, 2022
…xreboot#8117)

* Fix keepassxreboot#8099
* Clean up code that connects groups to the entry view. Instead of connecting ALL groups from ALL databases, we only need to connect the groups that entries actually belong to. This solves the bug and also reduces overhead.
droidmonkey added a commit that referenced this pull request Sep 23, 2022
* Fix #8099
* Clean up code that connects groups to the entry view. Instead of connecting ALL groups from ALL databases, we only need to connect the groups that entries actually belong to. This solves the bug and also reduces overhead.
@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 5, 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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Deleting items from Recycle Bin via search causes segfault
3 participants