The UI rewrite in master branch has the following regression. Steps to reproduce: - select "Import XML..." menu item - click Cancel on file dialog Actual results: - the file dialog appears again for a second time Expected results: - it should not appear again This is caused by KWalletEditor::showEvent() calling connectActions(), then later KWalletEditor::setWallet() calling connectActions() again (confirmed by removing the code in showEvent). The other issue is that disconnectActions() is only called in hideEvent(), but not in setWallet() when connecting to a different wallet. Steps to reproduce: - open two wallets - switch between them - Select "New Folder" in context menu once Actual results: - the "Enter folder name" dialog appears multiple times - folders are created in both wallets
I also noticed this and planned to correct it asap.
Git commit 3c982e8aae7260ae86a15185809de23ff276aa64 by Valentin Rusu. Committed on 01/05/2013 at 15:46. Pushed by vrusu into branch 'master'. Fix misbehavior due to multiple action connections M +3 -2 src/manager/kwalleteditor.cpp http://commits.kde.org/kwallet/3c982e8aae7260ae86a15185809de23ff276aa64