Bug 497264

Summary: Digikam dock icon changes and becomes pixelated after running app
Product: [Applications] digikam Reporter: scarps-lullaby-0q
Component: Bundle-MacOSAssignee: Digikam Developers <digikam-bugs-null>
Status: RESOLVED FIXED    
Severity: minor CC: caulier.gilles, metzpinguin, michael_miller
Priority: NOR    
Version: 8.5.0   
Target Milestone: ---   
Platform: macOS (DMG)   
OS: macOS   
Latest Commit: Version Fixed In: 8.6.0
Sentry Crash Report:
Attachments: Digikam open, unfamiliar pixelated dock icon
Digikam closed, original hi-res dock icon

Description scarps-lullaby-0q 2024-12-10 07:19:02 UTC
Created attachment 176484 [details]
Digikam open, unfamiliar pixelated dock icon

SUMMARY
Digikam dock icon changes from original, high-quality logo to a different, pixelated logo after running app

STEPS TO REPRODUCE
1. Start with Digikam closed
2. Run Digikam

OBSERVED RESULT
Digikam dock icon changes from original hi-res lens icon to a pixelated blue lens icon upon running the app

EXPECTED RESULT
Dock icon remains the same whether Digikam is closed or open; icon is not pixelated 

SOFTWARE/OS VERSIONS
macOS 15.1.1

ADDITIONAL INFORMATION
First observed after updating to Digikam 8.5.0
Comment 1 scarps-lullaby-0q 2024-12-10 07:19:40 UTC
Created attachment 176485 [details]
Digikam closed, original hi-res dock icon
Comment 2 Michael Miller 2024-12-13 19:18:44 UTC
(In reply to scarps-lullaby-0q from comment #1)
> Created attachment 176485 [details]
> Digikam closed, original hi-res dock icon

I can confirm the same behavior for me, too.  We'll take a look.

Cheers,
Mike
Comment 3 Maik Qualmann 2024-12-13 20:03:40 UTC
This may be relevant:

https://doc.qt.io/qt-6/appicon.html#setting-the-application-icon-on-macos

Maik
Comment 4 Michael Miller 2024-12-13 21:52:13 UTC
(In reply to Maik Qualmann from comment #3)
> This may be relevant:
> 
> https://doc.qt.io/qt-6/appicon.html#setting-the-application-icon-on-macos
> 
> Maik

Awesome.  Thanks Maik.  I'll check it this evening.
Comment 5 Bug Janitor Service 2024-12-13 23:25:03 UTC
A possibly relevant merge request was started @ https://invent.kde.org/graphics/digikam/-/merge_requests/325
Comment 6 Michael Miller 2024-12-14 12:05:31 UTC
Git commit 257d3bc8efefa99f1baa7dd16a24328fc004bba9 by Michael Miller.
Committed on 14/12/2024 at 12:05.
Pushed by michmill into branch 'master'.

Fix macOS app icon

Fix macOS app icon
FIXED-IN: 8.6.0

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

https://invent.kde.org/graphics/digikam/-/commit/257d3bc8efefa99f1baa7dd16a24328fc004bba9
Comment 7 caulier.gilles 2024-12-14 14:27:25 UTC
Hi Micheal,

We list in NEWS files all report closed for the current release :

https://invent.kde.org/graphics/digikam/-/commit/104fddaf7cc8266145f36890b1c041bc90743010

This allow to the end users to see quickly the work in progress.

Best

Gilles