Using "File -> Export as XML..." with kwalletmanager-16.08.0-1-x86_64 always results in an empty file being exported. A downgrade to kwalletmanager-16.04.3-1-x86_64 solves this issue. No valuable debug information on command line output. Reproducible: Always
I can reproduce with opensuse tumbleweed, kwalletmanager5-16.08.1-1.2.x86_64.
I can reproduce on NixOS Unstable. Frameworks 5.26.0, Apps 16.08.1, Qt 5.6.1
Confirmed. Adding Martin in CC, according to git blame the only commit that changed this code is e6f52caa71116b4a3b9c921748e977d43312621a (although I can't see what's wrong there).
Actually this seems to be a bug in KIO, see https://git.reviewboard.kde.org/r/129275/
Moving back, turns out the bug is in kwalletmanager indeed.
Git commit 956552dcb5beea41238a858cbe77570b21076b15 by Elvis Angelaccio. Committed on 30/10/2016 at 12:00. Pushed by elvisangelaccio into branch 'Applications/16.08'. Fix XML export regression StoredTransferJob reads data from the current position of the QIODevice passed to it. Since a QTemporaryFile is always open in ReadWrite mode, and we write to the file, the current position is the end of the file. So we need to rewind the QIODevice's position before passing it to the job. FIXED-IN: 16.08.3 M +3 -0 src/manager/kwalleteditor.cpp http://commits.kde.org/kwallet/956552dcb5beea41238a858cbe77570b21076b15
*** Bug 371882 has been marked as a duplicate of this bug. ***