SUMMARY I observed that whenever I open "Save As" dialog I have always the same, default value of file type, which is saved in configuration file (~/.config/spectaclerc) in field: "defaultSaveImageFormat". In configuration there is no any option which forcing this, so why Spectacle doesn't remember recently used file type to save? This really annoying for me. I prefer one type and Spectacle forces different and every time I need to change it. STEPS TO REPRODUCE 1. make any screen shot 2. invoke "Save as" and select different file type 3. click "Save" 4. make another screen shot 5. invoke "Save as" and look at "File type" OBSERVED RESULT always the same default file type, set in configuration file EXPECTED RESULT recently used file type, alternatively switched by option in configuration and by default set as "recently used file type". SOFTWARE/OS VERSIONS Linux/KDE Plasma: (available in About System) KDE Plasma Version: 5.22.4 KDE Frameworks Version: 5.85 Qt Version: 5.15.2 with kde patches ADDITIONAL INFORMATION
It's because there is already an option to choose the default file type in the settings window. If the save dialog remembered the last-used choice, then these would conflict ("two sources of truth" problem) and we would need to remove the option in the settings window for which file type to use by default. Why can't you just change the value in the settings window to the file type you want to use more often?
(In reply to Nate Graham from comment #1) > It's because there is already an option to choose the default file type in > the settings window. I reported this because wasn't able to find this option, but now I found (here:: Configure -> Save -> Filename:"). > If the save dialog remembered the last-used choice, > then these would conflict ("two sources of truth" problem) and we would need > to remove the option in the settings window for which file type to use by > default. Why can't you just change the value in the settings window to the > file type you want to use more often? Yes,.You are right would be conflict unless would be added new option to combobox (in configuration window) calling for example 'last used;. At the very first use of "Save As" would be selected for example "PNG". And now if the user would changed it then new one would be suggested in "Save As" dialog.
Glad you found where the option lives. I think the current state is okay. :)