Summary: | Multiple OK buttons after importing key | ||
---|---|---|---|
Product: | [Applications] kleopatra | Reporter: | chrstphrchvz <chrischavez> |
Component: | general | Assignee: | Andre Heinecke <aheinecke> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | kdepim-bugs, mutz |
Priority: | NOR | ||
Version: | 3.0.1 | ||
Target Milestone: | --- | ||
Platform: | Microsoft Windows | ||
OS: | Microsoft Windows | ||
Latest Commit: | https://commits.kde.org/kleopatra/668ea9b703dbfb97443c641a2be46f49e68a2804 | Version Fixed In: | |
Sentry Crash Report: | |||
Attachments: |
2 OK buttons after importing 1 key
3 OK buttons after importing 2 keys |
Description
chrstphrchvz
2018-03-09 03:40:18 UTC
Created attachment 111272 [details]
3 OK buttons after importing 2 keys
Thanks! Several people reported to my already that they "Sometimes" saw multiple Ok buttons but could never tell me how to reproduce this. I'll look into it. Git commit 668ea9b703dbfb97443c641a2be46f49e68a2804 by Andre Heinecke. Committed on 09/03/2018 at 06:24. Pushed by aheinecke into branch 'master'. Reset OK / Close Buttons when tasks are restarted When we import a key in decryptverifyfilesdialog the task collection is restarted. In that case the Button Box needs a close button again instead of an OK button. This also fixes the case that multiple OK buttons would be added when restarting. M +6 -0 src/crypto/gui/decryptverifyfilesdialog.cpp https://commits.kde.org/kleopatra/668ea9b703dbfb97443c641a2be46f49e68a2804 There was a logic error that the buttons were not reset on restart after importing. The Ok button should have been exchanged for a close button and then readded as OK button once the operation is complete again. Will be fixed in the next 3.1.0 beta. |