Bug 396598

Summary: bibliography system options contains duplicates
Product: [Applications] KBibTeX Reporter: Erik Quaeghebeur <bugs.kde.org>
Component: User interfaceAssignee: Thomas Fischer <fischer>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: 0.8.1   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In: 0.8.2
Attachments: Remove loading unused configuration key BibTeXStyles

Description Erik Quaeghebeur 2018-07-17 09:32:00 UTC
In the user interface settings, the bibliography selection option dropdown box lists four options:

BibTeX
BibLaTeX
BibTeX
biblatex

The duplication is confusing. It is unclear whether there is any difference between the first set of two and the second.

(I was not able to make a screenshot of this)
Comment 1 Thomas Fischer 2018-07-18 20:15:50 UTC
Created attachment 114007 [details]
Remove loading unused configuration key BibTeXStyles

I cannot confirm this bug on my end. However, I had a closer look at the code filling this combobox. There seems to be some old code that may cause this trouble. Please test this attachment if it solves this problem, i.e. afterwards, there should only be "BibTeX" and "BibLaTeX" as your only two choices.
Comment 2 Erik Quaeghebeur 2018-07-19 11:06:43 UTC
(In reply to Thomas Fischer from comment #1)
> […] Please test this attachment if it solves this problem, i.e.
> afterwards, there should only be "BibTeX" and "BibLaTeX" as your only two
> choices.
Yes, this patch works; after applying it (long live Gentoo user patches), I get the behavior you describe.
Comment 3 Thomas Fischer 2018-08-11 18:04:18 UTC
Git commit 7936644c957d4df64f6624b8b5fecfe3a695118a by Thomas Fischer.
Committed on 01/08/2018 at 19:02.
Pushed by thomasfischer into branch 'kbibtex/0.8'.

Removing code that added duplicate values to a setting's combobox
FIXED-IN: 0.8.2

M  +2    -9    src/gui/preferences/settingsuserinterfacewidget.cpp

https://commits.kde.org/kbibtex/7936644c957d4df64f6624b8b5fecfe3a695118a
Comment 4 Thomas Fischer 2018-08-18 17:55:09 UTC
Git commit e1b375d7e7561be27d995a46615369949c241f2a by Thomas Fischer.
Committed on 18/08/2018 at 10:41.
Pushed by thomasfischer into branch 'master'.

Removing code that added duplicate values to a setting's combobox

M  +2    -9    src/gui/preferences/settingsuserinterfacewidget.cpp

https://commits.kde.org/kbibtex/e1b375d7e7561be27d995a46615369949c241f2a