Bug 434152 - Widget style 'Windows' does not use native Windows buttons and widgets
Summary: Widget style 'Windows' does not use native Windows buttons and widgets
Status: RESOLVED FIXED
Alias: None
Product: digikam
Classification: Applications
Component: Usability-Ergonomy (show other bugs)
Version: 7.2.0
Platform: Microsoft Windows Microsoft Windows
: NOR normal
Target Milestone: ---
Assignee: Digikam Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-08 17:43 UTC by Martin P.
Modified: 2022-01-13 07:48 UTC (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin P. 2021-03-08 17:43:56 UTC
SUMMARY
If you select the QT widget style 'Windows' on Windows 10 you get the horrible Windows Classic GUI. According to the QT documentation this style should adapt to the current GUI on Windows.

STEPS TO REPRODUCE
1. Start digiKam
2. Open 'configure digiKam'
3. Switch to 'Miscelleanous'
4. Switch to 'Appearence'
5. Select the widget style 'Windows'

OBSERVED RESULT
Windows Classic GUI

EXPECTED RESULT
Windows 10 style widget and buttons


SOFTWARE/OS VERSIONS
Windows: Windows 10 Home 20H2

ADDITIONAL INFORMATION
This applies to all digiKam versions I have tested: 7.1 final, 7.2 beta 2 and 7.2 rc
Comment 1 Maik Qualmann 2021-03-08 17:49:36 UTC
Well, we can only provide the styles that Qt provides. You can set the Fusion Style in digiKam Setup, which looks more modern. Otherwise there is a Windows Vista style that we have deactivated that has problems with color schemes. Otherwise a bug report on Qt according to the wish for a modern widget style. 

Maik
Comment 2 Martin P. 2021-03-08 18:03:30 UTC
Okay, thanks for the info. Since I usually do not use the color schemes: Is there a way to add the qtwindowsvistastyle manually?
Comment 3 Maik Qualmann 2021-03-08 18:04:14 UTC
Here are the styles that are currently possible:

https://doc.qt.io/qt-5.12/gallery.html

Maik
Comment 4 Martin P. 2021-03-08 18:05:20 UTC
I see there is the corresponding dll in plugins/styles. Is there a hidden switch or something like that?
Comment 5 Maik Qualmann 2021-03-08 18:08:58 UTC
We can also allow the Windows Vista style, just setting a color scheme doesn't look good in some places. Otherwise change this entry in digiKamrc, but you need a text editor that can handle the Unix line end.

[General Settings]
Application Style=windowsvista

Maik
Comment 6 Martin P. 2021-03-08 18:16:55 UTC
That worked. Looks much more like a native Windows application now. Thanks!
Comment 7 Maik Qualmann 2021-03-08 18:32:08 UTC
Git commit 6bc2491f108f1a954c4e0cf439e8ad3c8e054be6 by Maik Qualmann.
Committed on 08/03/2021 at 18:30.
Pushed by mqualmann into branch 'master'.

allow setting of Windows Vista style

M  +1    -8    core/libs/settings/applicationsettings.cpp
M  +2    -5    core/showfoto/setup/showfotosetupmisc.cpp
M  +2    -5    core/utilities/setup/setupmisc.cpp

https://invent.kde.org/graphics/digikam/commit/6bc2491f108f1a954c4e0cf439e8ad3c8e054be6
Comment 8 caulier.gilles 2021-05-05 10:17:01 UTC
Maik, 

I think this file can be closed now...

Gilles