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

            Bug ID: 417164
           Summary: when a .bib file is passed to KBibTex on startup, that
                    file isn't selected in Open Files
           Product: KBibTeX
           Version: 0.9.1
          Platform: Gentoo Packages
                OS: Linux
            Status: REPORTED
          Severity: minor
          Priority: NOR
         Component: Loading/saving files
          Assignee: fisc...@unix-ag.uni-kl.de
          Reporter: glyphi...@gmail.com
  Target Milestone: ---

SUMMARY

When KBibTex has previously had multiple "open" .bib files, starting KBibTex on
1 particular .bib file (whether by passing as command line argument or
double-clicking a .bib file in e.g. Dolphin) doesn't result in that file's
entries being displayed. Instead, the displayed entries are from the file which
happens to be listed first in Open Files. The user has to select his desired
.bib file in the Open Files tab.

STEPS TO REPRODUCE
1. Open KBibTex. Close any .bib files listed in Open Files. Then open test1.bib
and test2.bib. Open Files lists those 2 files, in that order.
2. Close KBibTex.
3. Double-click on test2.bib in Dolphin, or run "kbibtex test2.bib".

OBSERVED RESULT

test1.bib's entries are displayed. In Open Files, test1.bib is selected. The
user must select test2.bib to view its entries.

EXPECTED RESULT

test2.bib's entries are displayed. In Open Files, test2.bib is selected.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 5.17.4
KDE Frameworks Version: 5.64.0
Qt Version: 5.13.2

ADDITIONAL INFORMATION

I think I understand KBibTeX's terminology w/r/t "open" vs. "closed" files --
"open" files are the ones that KBibTex automatically loads when the program
starts. The 1st opened file, the one at the top of the Open Files tab, is the
one that's displayed by default. But when I start KBibTex by clicking on a
particular .bib file, I'd like that .bib file to be displayed, not whichever
file happens to be listed first in Open Files. Minor point, but saves me an
extra click.

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

Reply via email to