Bug 472683

Summary: showFoto ignores icons scale configured for Digikam when launched outside it
Product: [Applications] digikam Reporter: Rafael Linux User <rafael.linux.user>
Component: Showfoto-SetupAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: caulier.gilles, metzpinguin, rafael.linux.user
Priority: NOR    
Version First Reported In: 8.0.0   
Target Milestone: ---   
Platform: openSUSE   
OS: Linux   
Latest Commit: Version Fixed/Implemented In: 8.2.0
Sentry Crash Report:
Attachments: icons scale ignored

Description Rafael Linux User 2023-07-26 21:44:03 UTC
Created attachment 160554 [details]
icons scale ignored

SUMMARY
I use a 4K screen. I have Digikam configured to display the largest icons, just like ShowFoto.

However, if I open ShowFoto independently, the icons are very small, not respecting the settings assigned for my HiDPI display.

STEPS TO REPRODUCE
1.  Select a image in Dolphin
2. Click with right mouse button
3. Select "Open with" 
4. Choose "shoFoto"

OBSERVED RESULT
Icons are so small that can't use them

EXPECTED RESULT
To show same scale for icons than Digikam

SOFTWARE/OS VERSIONS
Operating System: openSUSE Tumbleweed 20230718
KDE Plasma Version: 5.27.6
KDE Frameworks Version: 5.108.0
Qt Version: 5.15.10
Kernel Version: 6.4.3-1-default (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-6600K CPU @ 3.50GHz
Memory: 31.3 GiB of RAM
Graphics Processor: NVIDIA GeForce GTX 1050 Ti/PCIe/SSE2

ADDITIONAL INFORMATION
Comment 1 caulier.gilles 2023-07-27 05:12:50 UTC
Showfoto is a stand alone application compared to digiKam. Showfoto don't knows the digiKam settings and has an own configuration.

In other words, got to Showfoto Setup dialog and turn on right options to support 4K screens.

Gilles Caulier
Comment 2 Maik Qualmann 2023-07-27 05:49:41 UTC
Another word here about openSUSE Tumbleweed, which I also use. With my digiKam developer version, the settings for screen factor scaling and HiDPI icons no longer have any effect here. It looks like openSUSE has patched the Qt packages accordingly, as going forward with Qt6 these options will always be enabled. I can't reproduce the problem, when I start Showfoto from Gwenview, the icons are scaled correctly.

Maik
Comment 3 Rafael Linux User 2023-07-27 21:00:37 UTC
I always thought that ShowFoto was integrated in DK and that they shared their configuration, especially when it happens, as I said, that it only respects the size of the icons when launched from Digikam (F4 key).

As you suggested, I enabled in showFoto "Preferences, Other, System" HiDPI parameter and it's working.

Thank you for clarifying how the detail that showFoto is independent of DigiKam.
Comment 4 Maik Qualmann 2023-07-27 21:18:10 UTC
Git commit 6cdc43a9b37b0cff403126cfc2339f49f9387caa by Maik Qualmann.
Committed on 27/07/2023 at 23:17.
Pushed by mqualmann into branch 'master'.

move system settings in showFoto to the last tab

M  +6    -6    core/showfoto/setup/showfotosetupmisc.cpp
M  +2    -2    core/showfoto/setup/showfotosetupmisc.h

https://invent.kde.org/graphics/digikam/-/commit/6cdc43a9b37b0cff403126cfc2339f49f9387caa