Bug 399673

Summary: importer file selector does not show QIF files and does not remember last import directory
Product: [Applications] kmymoney Reporter: rustonm2005
Component: importerAssignee: KMyMoney Devel Mailing List <kmymoney-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 5.0.0   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In: 5.0.2

Description rustonm2005 2018-10-11 17:55:13 UTC
SUMMARY
When selecting a file to import the file selection screen defaults to "Import Files" and does not show ".QIF" files. It does show ".qif" files....lower case.
As a result, user has to switch to "All Files" view,

In addition, when navigating to the directory location of the file to import.....when importing another file.....the previous location is not remembered. User has to navigate to the location again.

STEPS TO REPRODUCE
1. Select "File" -> "Import" -> "QIF"
2. Select "Browse"
3. Navigate to location of ".QIF" file

OBSERVED RESULT
4. File is not shown


EXPECTED RESULT
4. File should be shown


SOFTWARE VERSIONS
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION
Comment 1 Thomas Baumgart 2018-10-12 14:28:30 UTC
Git commit 9561996cdb0188bd7d8eba176ea45f1d7fac91cd by Thomas Baumgart.
Committed on 12/10/2018 at 14:28.
Pushed by tbaumgart into branch '5.0'.

Fix QIF import file selection dialog

When selecting a file to import the file selection screen defaults to
"Import Files" and does not show ".QIF" files. It does show ".qif"
files....lower case. As a result, user has to switch to "All Files"
view.

In addition, when navigating to the directory location of the file to
import.....when importing another file.....the previous location is not
remembered. User has to navigate to the location again.

This change fixes the above mentioned problems. For existing user
defined profiles, the filter may be amended to contain "*.qif *.QIF" to
show lower and uppercase filenames using the QIF import plugin settings
dialog.

M  +1    -1    kmymoney/plugins/qif/config/mymoneyqifprofile.cpp
M  +8    -10   kmymoney/plugins/qif/import/kimportdlg.cpp

https://commits.kde.org/kmymoney/9561996cdb0188bd7d8eba176ea45f1d7fac91cd
Comment 2 rustonm2005 2018-10-12 22:22:13 UTC
checked out compiled and tested. looks good. many thanks!.