https://bugs.kde.org/show_bug.cgi?id=417164

--- Comment #5 from Thomas Fischer <fisc...@unix-ag.uni-kl.de> ---
Git commit 85b14d2c74cd68cfca922dc8afa11ad7cd0ff234 by Thomas Fischer.
Committed on 06/02/2020 at 20:59.
Pushed by thomasfischer into branch 'master'.

File URLs passed by command line preceed over LRU

At program start, bibliography files may be opened either because their
filenames/URLs were passed as command line arguments or because they
were open in the previous session.
Until now, the actual file being shown to the user was one of the
previously opened files as the list of recently opened files was read
with a small delay (got referred for unrelated reasons).

However, if a user invokes KBibTeX with a file name or URLs as argument,
it is reasonable to assume that this file should be shown directly
instead of any previously opened files (which still may get opened in
the background).

This commit also fixes the minor usability issue that if only previously
opened files are to be restored (and no command line argument was
given), the most recently used/opened bibliography file should be
preferrably shown instead of an arbitary one.

Forward-port of commit f56c52e9baad7f6e5 from branch 'kbibtex/0.10'
which in its turn is a forward-port of commit ce455dfd2ebb01b5685fb
from branch 'kbibtex/0.9'.

M  +1    -0    ChangeLog
M  +37   -10   src/program/openfileinfo.cpp
M  +1    -1    src/program/openfileinfo.h

https://commits.kde.org/kbibtex/85b14d2c74cd68cfca922dc8afa11ad7cd0ff234

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to