Summary: | Anonymous file selection impossible when automatic extension active | ||
---|---|---|---|
Product: | [Applications] kmymoney | Reporter: | Jean-Marie Beck <jmb3321> |
Component: | general | Assignee: | KMyMoney Devel Mailing List <kmymoney-devel> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | onet.cristian, ostroffjh |
Priority: | NOR | Keywords: | junior-jobs |
Version: | 4.6.1 | ||
Target Milestone: | --- | ||
Platform: | Unlisted Binaries | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/kmymoney/41e6c3d24412ba7b1999ae0ac1b5a39ac4958400 | Version Fixed In: | 5.0.0 |
Description
Jean-Marie Beck
2012-01-22 14:47:57 UTC
I'm using 4.6.1, and there is clearly something funny going on. First, when I open the save as dialog, the filename is pre-populated with a recent name I have saved as, but not the name of the currently open file. On subsequent tries, it uses a different name. With Auto Extension off, if I change the Filter to Anonymous files, the file name does not change, and it saves as a plain kmy file. If I make any change to the file name, it resets the filter to all files. The only way I can find to actually save an anonymous file is to turn off auto extension, blank out the file name, filter on all files, type the file name (no extension,) filter on anonymous files, then turn auto extension on. In addition, even though it does save an anonymous file, the app is still displaying my kmy file, not the anonymous version it just saved. Jack can you reproduce this with the current version? The problem is still present with git master. (Discovered saving an anonymous file to test a different bug.) Based on comment #3. Git commit 41e6c3d24412ba7b1999ae0ac1b5a39ac4958400 by Łukasz Wojniłowicz. Committed on 14/05/2017 at 04:40. Pushed by wojnilowicz into branch 'master'. Port KMyMoneyApp::slotFileSaveAs() to KF5 It seems that okToWriteFile isn't needed, because native QFileDialog prompts in case of overwriting file and is able to point remote location. FIXED-IN:5.0 Differential Revision: https://phabricator.kde.org/D5688 M +46 -78 kmymoney/kmymoney.cpp https://commits.kde.org/kmymoney/41e6c3d24412ba7b1999ae0ac1b5a39ac4958400 |