GNOME Bugzilla – Bug 779574
other favourite apps settings not saved
Last modified: 2017-03-06 23:25:02 UTC
Trying to add programs via: Settings - options - programs - other favourite apps If you do *not* set a pattern or icon, so that the .gnome-commander/fav-apps file does not contain: ... icon=/usr/share/icons/hicolor/scalable/apps/file-roller-symbolic.svg ... pattern=* The settings are saved, but they are not loaded, because the corresponding key will be missing. And hence the added programs do not show up. Solution: - make icon setting an obligation - If you set the pattern to * and only afterwards change 'Show for' to e.g. 'all files', then the file keeps on containing pattern=* and hence loading goes OK
I can confirm this bug in Gnome-commander 1.6.2 running on CentOS 7.3 + X Windows system + Mate desktop. I also noted that a space between patterns e.g. "*.jpg;*.jpeg; *.gif" will cause issues. In this case .gif files are not offered the favorite application. Ken Taylor
Thank you very much for taking the time to report this bug. I could also reproduce it and fixed it in commit 8c5711bb. The problem was a char pointer pointing to null when storing fav-apps after no icon was chosen in the options dialogue. The fix will go into the next bugfix release of Gnome Commander. @Ken: Regarding "*.jpg;*.jpeg; *.gif": This is desired behaviour as this pattern results in only affecting those gif-files with a space-character as the first character in their file name.
Thanks Uwe, Looks like regular expressions strike again :-( I tend to be somewhat irregular :-) Ken
Thanks for fixing Uwe!