Bug 461734

Summary: macOS GUI improvements
Product: [Applications] digikam Reporter: M-Rick <m.rick.mac>
Component: Bundle-MacOSAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: normal CC: caulier.gilles, metzpinguin
Priority: NOR    
Version: 7.8.0   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed In: 8.0.0
Attachments: Icons in macOS menus
Underscores in menu an on buttons

Description M-Rick 2022-11-12 16:42:19 UTC
Created attachment 153690 [details]
Icons in macOS menus

On macOS, the GUI guideline do not recommend the use of icons in menus.
Plus, when using a dark them, the white icons aren't visible on a light theme.

And, is there a way to remove all the underscores appearing everywhere over the buttons or windows?
They are completely useless because macOS behaviour is different.
Comment 1 M-Rick 2022-11-12 16:43:04 UTC
Created attachment 153691 [details]
Underscores in menu an on buttons
Comment 2 Maik Qualmann 2022-11-12 19:54:37 UTC
The compiler flag for Qt to disable underscrored shortcuts is probably QT_NO_ACTION.
The issue of the icons (I think icons should be present in macOS as well), as well as the uninherited color theme for the menus, is more a matter for the underlying KXMLGui component.

Maik
Comment 3 caulier.gilles 2023-04-09 05:46:26 UTC
>The compiler flag for Qt to disable underscrored shortcuts is probably QT_NO_ACTION.

Under MacOS, Qt is compiled with macports rules. We will not touch this kind of configuration. Also disabing QT_NO_ACTION will have certainly side-effects.

I checked Krita 5 under MacOS, and underscrored shortcuts are presents in GUI.

About icons in menu, Krita do not show the icons at all. There is certainly an option to turn on/off quickly in KF5 API to disable this feature.

Gilles Caulier
Comment 4 caulier.gilles 2023-04-09 05:50:06 UTC
Menu icon solution with Qt API: https://forum.qt.io/topic/24960/solved-osx-menu-icons
Comment 5 caulier.gilles 2023-04-09 06:05:35 UTC
Git commit bf659a6a8d28b721d2852644839a98c358257ef5 by Gilles Caulier.
Committed on 09/04/2023 at 06:04.
Pushed by cgilles into branch 'master'.

disable menu icons under MacOS

M  +7    -0    core/app/main/main.cpp
M  +7    -0    core/showfoto/main/main.cpp

https://invent.kde.org/graphics/digikam/commit/bf659a6a8d28b721d2852644839a98c358257ef5
Comment 6 caulier.gilles 2023-04-09 06:47:54 UTC
Fixed : https://i.imgur.com/sDPt8Ra.png