I don't find the 'open recent files on startup' helpful to me. I suggest adding an option to disable this feature.
Steps to Reproduce:
1. Open Lokalize
2. Open a few gettext files.
3. Close Lokalize.
4. Reopen it.
The recent files are opened and there is no option to disable this feautre
An option that allows to disable this feature.
what's your use case?
my guess is that you start lokalize not directly, but clickng on a .po or .xliff file in dolphin?
Right. In my actual case I used Nautilus on GNOME, but there shouldn't be any difference on Dolphin.
When I open a .po file from dolphin, I just want this file opened in Lokalize and that‘s it. It wasn‘t so bad having recent files open if Lokalize
1. didn‘t open another window anyway, so you have like 10 windows opened and each with the history of the previous one
2. and the most annoying thing: it doesn‘t reliably focus the file opened, for example I have bluedevil.po open and then I open knetworkmanager.po, the file gets opened but is the first item in the tab list (rather than the last one) and doesn‘t get focus, there‘s some flickering and then I am back at the bluedevil.po
3 years after the last comment... I'd still like to note that this "feature" is extremely annoying. My "use case" is also opening files from Dolphin. This is especially necessary because Lokalize doesn't have proper KIO support. And the only way to reupload the file to the server is: 1) Open the file 2) Edit 3) Close Lokalize.
Git commit 7ac63b015e77717cc75c02ae804779887084b231 by Simon Depiets.
Committed on 26/09/2018 at 07:57.
Pushed by sdepiets into branch 'master'.
Make opening recent files on startup optional
Created a new category General in Lokalize Settings and added an option to not open the recent files on startup.
M +1 -0 src/CMakeLists.txt
M +2 -1 src/lokalizemainwindow.cpp
M +8 -3 src/prefs/lokalize.kcfg
M +7 -0 src/prefs/prefs.cpp
M +0 -34 src/prefs/prefs_editor.ui
A +78 -0 src/prefs/prefs_general.ui