Bug 512296

Summary: Double blank line in the Album Properties - Category combo box
Product: [Applications] digikam Reporter: Peter <benedekppeter>
Component: Albums-SortAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version First Reported In: 8.8.0   
Target Milestone: ---   
Platform: Other   
OS: All   
Latest Commit: Version Fixed/Implemented In: 9.0.0
Sentry Crash Report:
Attachments: One blank line in the digiKam -- Configure window
Double blank line in the Album -- Properties -- Category

Description Peter 2025-11-18 14:20:10 UTC
***
Notice it: Settings -- Configure digiKam -- Views -- Categories is contain a blank line.
Right click an Album -- Properties -- Category
In the Combo Box is double blank line.
It seems that digiKam adds an extra blank line to the combo box.
Comment 1 Peter 2025-11-18 14:21:12 UTC
Created attachment 186922 [details]
One blank line in the digiKam -- Configure window
Comment 2 Peter 2025-11-18 14:21:55 UTC
Created attachment 186923 [details]
Double blank line in the Album -- Properties -- Category
Comment 3 Maik Qualmann 2025-11-18 14:53:33 UTC
An empty line is intentional, allowing for the creation of an empty category. I cannot reproduce a double empty line.

Maik
Comment 4 Maik Qualmann 2025-11-18 14:57:42 UTC
I believe the issue with the duplicate category and incorrect translation has already been fixed. However, this requires that the entry in the digikamrc file be deleted and recreated by a current digikam version.

Maik
Comment 5 Maik Qualmann 2025-11-18 21:17:59 UTC
Git commit fe1fdcd07777d45eefb4e3e9ba484121050cd4b5 by Maik Qualmann.
Committed on 18/11/2025 at 21:17.
Pushed by mqualmann into branch 'master'.

fix empty lines in the Category combo box
Add a clear button to the Category combo box.
FIXED-IN: 8.9.0

M  +1    -1    NEWS
M  +11   -6    core/libs/album/widgets/albumpropsedit.cpp

https://invent.kde.org/graphics/digikam/-/commit/fe1fdcd07777d45eefb4e3e9ba484121050cd4b5