Bug 506335 - Left sidebar is too wide
Summary: Left sidebar is too wide
Status: REPORTED
Alias: None
Product: digikam
Classification: Applications
Component: Usability-Ergonomy (other bugs)
Version First Reported In: 8.6.0
Platform: Gentoo Packages Linux
: NOR minor
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords: regression
: 506551 (view as bug list)
Depends on:
Blocks:
 
Reported: 2025-06-29 07:45 UTC by pochini
Modified: 2025-07-10 06:59 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments
Make some italian strings shorter (1.69 KB, patch)
2025-07-06 20:58 UTC, pochini
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pochini 2025-06-29 07:45:40 UTC
This is not a bug. I'd call it a regression.
In v8.6.0 the minimum width of the left sidebar in the main window is way too large. I cannot make is smaller than approx 500px wide anymore.

Qt Version: 6.8.3/x11
Comment 1 caulier.gilles 2025-06-29 08:06:20 UTC
This have been reported already.

It's due to translation strings using excessive length. We mark all relevant string with annotation for translators for optimizations planed at 8.7.0 release.

Try the 8.7.0 pre-release AppImage here :

https://files.kde.org/digikam/

Best

Gilles Caulier
Comment 2 Maik Qualmann 2025-06-29 08:21:53 UTC
Alternatively, you can collapse the new widgets in the Labels tab, Tags tab, and People tab. This will further reduce the size of the left sidebar.

See Bug 501545

Maik
Comment 3 Maik Qualmann 2025-07-03 19:31:51 UTC
*** Bug 506551 has been marked as a duplicate of this bug. ***
Comment 4 pochini 2025-07-06 20:58:01 UTC
Created attachment 183019 [details]
Make some italian strings shorter
Comment 5 pochini 2025-07-06 20:58:38 UTC
(In reply to caulier.gilles from comment #1)
> This have been reported already.
> 
> It's due to translation strings using excessive length. We mark all relevant
> string with annotation for translators for optimizations planed at 8.7.0
> release.

Thanks. I failed to find the bug report #501545, sorry.
I had hard time to find the offending labels because they are hidden in the auto-tag tool which is greyed out when the IA model is not present (and I didn't download it). I attached a patch than makes some of them shorter. It is a nice improvement, but it still doesn't allow the panel to be as small as is could in 8.5.0. Some strings (ie.: "Assign Low Quality to Rejected Label") are not easy to make shorter.
Comment 6 caulier.gilles 2025-07-07 05:43:50 UTC
Hi Pochini,

First, the translations patch must be send to the Italian team for future integration to the i18n packages. We don't manage it at all.

Second, I review again the code and i find more place where some optimized widget in size can be used (Digikam::SqueezedComboBox instead Qt::QComboBox). So strings can be shorten more as full descriptions are available as ToolTips, and online documentation do the rest.

I will patch code in git asap.

Best regards

Gilles Caulier
Comment 7 caulier.gilles 2025-07-07 05:58:00 UTC
Git commit 830a0956128583ea9d554a25e82bbb45df06ee67 by Gilles Caulier.
Committed on 07/07/2025 at 05:54.
Pushed by cgilles into branch 'master'.

More optimizations about minimal Left sidebar width:
- Shortness strings as possible with more description in tootips.
- Use SqueezedComboBox instead QComboBox
- Add comments in translations where tralators must take care about to write shortness string in native languages.
Here, in English, the left sidebar is really small as possible now...
Related: bug 506551

M  +3    -3    core/libs/facesengine/widgets/facescanwidget.cpp
M  +16   -16   core/libs/imgqsort/imagequalitywidget.cpp
M  +2    -1    core/libs/imgqsort/imagequalitywidget_p.h
M  +13   -13   core/libs/tags/autoassignment/autotagsscanwidget.cpp
M  +3    -3    core/libs/tags/autoassignment/autotagsscanwidget_p.h
M  +1    -1    core/utilities/queuemanager/views/queuesettingsview.cpp

https://invent.kde.org/graphics/digikam/-/commit/830a0956128583ea9d554a25e82bbb45df06ee67
Comment 8 Maik Qualmann 2025-07-07 18:16:04 UTC
Git commit b2e68171d7d3d7f9d9fd5eb83d04cbf9d393f8d6 by Maik Qualmann.
Committed on 07/07/2025 at 18:15.
Pushed by mqualmann into branch 'master'.

this also needs to be translated more shorter
Related: bug 506551

M  +2    -2    core/app/views/sidebar/peoplesidebarwidget.cpp

https://invent.kde.org/graphics/digikam/-/commit/b2e68171d7d3d7f9d9fd5eb83d04cbf9d393f8d6
Comment 9 caulier.gilles 2025-07-10 06:59:18 UTC
@Pochini,

Can you test if the problem still reproducible using 8.8.0 AppImage daily build available here:

https://files.kde.org/digikam/

Thanks in advance

Gilles Caulier