Bug 472640

Summary: Batch Queue Manager Cannot see resize pixel size when Macintosh Widgets are selected
Product: [Applications] digikam Reporter: Geoff King <gsking1>
Component: Usability-ThemesAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version: 8.2.0   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed In: 8.2.0
Sentry Crash Report:
Attachments: screenshot showing Widget Style Macintosh. Sliders missing numbers like other styles.

Description Geoff King 2023-07-26 02:04:32 UTC
On Mac.  I had Widget Style to Macintosh. 
When using Batch Queue Manager, Resize tool.  The slider that contains pixels or percent does not contain any numbers making this tool very hard to use.  Just a slider with no numbers is visible.

If I switch the Widget Style to Fusion, Breeze, or Windows, then I can see the number of pixels or percentage to resize.  

SOFTWARE/OS VERSIONS
macOS: 13.5. 
KDE Frameworks Version:  5.106.0
Qt Version: 5.15.10
Comment 1 Maik Qualmann 2023-07-26 05:54:14 UTC
But this can not only occur in the BQM tool? This should then occur in all tools, including the image editor, in which we use this slider type.

Maik
Comment 2 caulier.gilles 2023-07-26 06:02:23 UTC
yes Maik must be right. This must appears everywhere in digiKam where this kind of widget is used.

Just to be sure, can you take a screenshot of the problem please ?

Gilles Caulier
Comment 3 Maik Qualmann 2023-07-26 06:16:21 UTC
Yes, a screenshot would be good, and have you tried making the tool settings window wider? The tool settings can be resized like sidebars.

Maik
Comment 4 Geoff King 2023-07-26 19:02:43 UTC
Created attachment 160551 [details]
screenshot showing Widget Style Macintosh. Sliders missing numbers like other styles.
Comment 5 Geoff King 2023-07-26 19:05:25 UTC
It does affect other tools, not just BQM, like Editor, and export dialogs. 
Resizing the windows does not affect it.
Comment 6 Maik Qualmann 2023-07-26 19:56:21 UTC
Git commit 200643a62d25cd0ee12cd8d976c45e90b81994e4 by Maik Qualmann.
Committed on 26/07/2023 at 21:55.
Pushed by mqualmann into branch 'master'.

try adjusting the input sliders to Macintosh style

M  +12   -11   core/libs/widgets/range/dsliderspinbox.cpp

https://invent.kde.org/graphics/digikam/-/commit/200643a62d25cd0ee12cd8d976c45e90b81994e4
Comment 7 caulier.gilles 2023-07-27 05:14:17 UTC
Geoff,

The digiKam 8.2.0 pre-release PKG installer for MAcOS is updated with the last Maik changes. PKG is here :

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

Gilles Caulier
Comment 8 caulier.gilles 2023-07-27 15:19:06 UTC
https://i.imgur.com/dgiAdZQ.png

Always reproducible with your last commit Maik...

Gilles
Comment 9 Maik Qualmann 2023-07-27 16:49:48 UTC
Is the Qt style name "macintosh"? Because the "slider bars" should have been wider now.

Maik
Comment 10 caulier.gilles 2023-10-12 14:54:21 UTC
@Geoff,


What's about this file using current 8.2.0 MacOS PKG bundle ? It's
reproducible ?

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

Note: bundle is now based on Qt 5.15.11 and KDE framework 5.110.

Thanks in advance

Gilles Caulier
Comment 11 Geoff King 2023-10-20 22:43:36 UTC
Hi.  I tried the latest, 8.2.0 prerelease, Build date: 10/19/23 on MacBook M2 with 13.6 (22G120). 
This issue persists.  I see no changes.
Comment 12 caulier.gilles 2023-10-22 04:00:22 UTC
As said already in the online documentation, Breeze is the best widget style for all desktop:

https://docs.digikam.org/en/setup_application/miscs_settings.html#appearance-settings

See the comments from bug 475572. 

Gilles Caulier
Comment 13 caulier.gilles 2023-10-22 04:42:42 UTC
Git commit 9bf49772fd371a58839756d3d2ea6a0c1d30ad28 by Gilles Caulier.
Committed on 22/10/2023 at 06:39.
Pushed by cgilles into branch 'master'.

Drop Macintosh widget style under MacOS, as this style introduce plenty of bugs.
Promote Breeze widget style instead.
Related: bug 475572
FIXED-IN: 8.2.0

M  +2    -2    NEWS
M  +10   -3    core/libs/settings/applicationsettings.cpp
M  +1    -1    core/libs/settings/applicationsettings.h
M  +1    -1    core/libs/settings/applicationsettings_albums.cpp
M  +1    -1    core/libs/settings/applicationsettings_database.cpp
M  +1    -1    core/libs/settings/applicationsettings_iconview.cpp
M  +1    -1    core/libs/settings/applicationsettings_mime.cpp
M  +1    -1    core/libs/settings/applicationsettings_miscs.cpp
M  +1    -1    core/libs/settings/applicationsettings_p.cpp
M  +1    -1    core/libs/settings/applicationsettings_p.h
M  +1    -1    core/libs/settings/applicationsettings_tooltips.cpp
M  +10   -3    core/showfoto/main/showfotosettings.cpp
M  +1    -1    core/showfoto/main/showfotosettings.h
M  +6    -2    core/showfoto/setup/showfotosetupmisc.cpp
M  +1    -1    core/showfoto/setup/showfotosetupmisc.h
M  +6    -2    core/utilities/setup/misc/setupmisc.cpp
M  +1    -1    core/utilities/setup/misc/setupmisc.h
M  +1    -1    core/utilities/setup/misc/setupmisc_p.h

https://invent.kde.org/graphics/digikam/-/commit/9bf49772fd371a58839756d3d2ea6a0c1d30ad28