Bug 463043 - Poor quality icon on Android
Summary: Poor quality icon on Android
Status: RESOLVED FIXED
Alias: None
Product: krita
Classification: Applications
Component: * Unknown (show other bugs)
Version: 5.1.3
Platform: Android Android 12.x
: NOR minor
Target Milestone: ---
Assignee: sh_zam
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-12-14 16:50 UTC by Störm Poorun
Modified: 2024-05-29 10:52 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments
Poor Krita icon in Android (49.86 KB, image/jpeg)
2022-12-14 16:51 UTC, Störm Poorun
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Störm Poorun 2022-12-14 16:50:46 UTC
SUMMARY

On Android devices, the icon for Krita is (ironically) very poor - something is up with either the edges (which are showing) or the adaptive icon configuration...

To reproduce:

Open Krita on Android

View the Krita icon a) In the app drawer, b) when multi-tasking between apps

Observet at:

The Krita icon is cut off at the corners, which looks neither here nor there.
There are visible white and black areas around the corner edges of the icon.

Resolution:

Either:
A) Reduce image size to ensure the entire paint palette and the entire brush fills the adaptive icon area
Or
B) Increase the image size to ensure that the paint palette fills the entire adaptive icon area, so that there are no white or grey areas visible around it
Comment 1 Störm Poorun 2022-12-14 16:51:23 UTC
Created attachment 154583 [details]
Poor Krita icon in Android
Comment 2 Halla Rempt 2022-12-14 16:52:49 UTC
Yeah, Android applies that mask to all icons. It doesn't bother me, though...
Comment 3 Halla Rempt 2022-12-14 16:53:32 UTC
Probably because my android app drawer background is dark.
Comment 4 Dmitry Kazakov 2024-05-29 10:51:58 UTC
Git commit ecd11625214cead874ef842c4e7a59f784a68f0a by Dmitry Kazakov, on behalf of Jesse 205.
Committed on 29/05/2024 at 10:51.
Pushed by dkazakov into branch 'master'.

Improving the quality of icons for Android

Reference Android documentation:

https://developer.android.com/studio/write/create-app-icons
https://developer.android.com/distribute/google-play/resources/icon-design-specifications

M  +1    -0    packaging/android/apk/AndroidManifest.xml
M  +2    -1    packaging/android/apk/flavors/next/AndroidManifest.xml
A  +-    --    packaging/android/apk/ic_launcher-playstore.png
A  +-    --    packaging/android/apk/ic_launcher_next-playstore.png
D  +0    -1    packaging/android/apk/res-src/NOTES
A  +38   -0    packaging/android/apk/res-src/NOTES.md
A  +251  -0    packaging/android/apk/res-src/Next/adaptive.svg
A  +203  -0    packaging/android/apk/res-src/Next/background.svg
A  +210  -0    packaging/android/apk/res-src/Next/foreground.svg
A  +237  -0    packaging/android/apk/res-src/Next/legacy.svg
C  +150  -108  packaging/android/apk/res-src/default/adaptive.svg [from: packaging/android/apk/res-src/krita-android-circle.svg - 057% similarity]
A  +207  -0    packaging/android/apk/res-src/default/background.svg
R  +91   -119  packaging/android/apk/res-src/default/foreground.svg [from: packaging/android/apk/res-src/krita-android-circle.svg - 056% similarity]
R  +97   -72   packaging/android/apk/res-src/default/legacy.svg [from: packaging/android/apk/res-src/krita-android-square.svg - 071% similarity]
A  +53   -0    packaging/android/apk/res-src/strip-webp-files.sh
A  +62   -0    packaging/android/apk/res/drawable/ic_launcher_background.xml
A  +65   -0    packaging/android/apk/res/drawable/ic_launcher_foreground.xml
A  +62   -0    packaging/android/apk/res/drawable/ic_launcher_next_background.xml
A  +78   -0    packaging/android/apk/res/drawable/ic_launcher_next_foreground.xml
M  +3    -2    packaging/android/apk/res/mipmap-anydpi-v26/ic_launcher.xml
M  +3    -2    packaging/android/apk/res/mipmap-anydpi-v26/ic_launcher_next.xml
M  +3    -2    packaging/android/apk/res/mipmap-anydpi-v26/ic_launcher_next_round.xml
M  +3    -2    packaging/android/apk/res/mipmap-anydpi-v26/ic_launcher_round.xml
D  +-    --    packaging/android/apk/res/mipmap-hdpi/ic_launcher.png
A  +-    --    packaging/android/apk/res/mipmap-hdpi/ic_launcher.webp
D  +-    --    packaging/android/apk/res/mipmap-hdpi/ic_launcher_foreground.png
D  +-    --    packaging/android/apk/res/mipmap-hdpi/ic_launcher_next.png
A  +-    --    packaging/android/apk/res/mipmap-hdpi/ic_launcher_next.webp
D  +-    --    packaging/android/apk/res/mipmap-hdpi/ic_launcher_next_foreground.png
D  +-    --    packaging/android/apk/res/mipmap-hdpi/ic_launcher_next_round.png
A  +-    --    packaging/android/apk/res/mipmap-hdpi/ic_launcher_next_round.webp
D  +-    --    packaging/android/apk/res/mipmap-hdpi/ic_launcher_round.png
A  +-    --    packaging/android/apk/res/mipmap-hdpi/ic_launcher_round.webp
D  +-    --    packaging/android/apk/res/mipmap-mdpi/ic_launcher.png
A  +-    --    packaging/android/apk/res/mipmap-mdpi/ic_launcher.webp
D  +-    --    packaging/android/apk/res/mipmap-mdpi/ic_launcher_foreground.png
D  +-    --    packaging/android/apk/res/mipmap-mdpi/ic_launcher_next.png
A  +-    --    packaging/android/apk/res/mipmap-mdpi/ic_launcher_next.webp
D  +-    --    packaging/android/apk/res/mipmap-mdpi/ic_launcher_next_foreground.png
D  +-    --    packaging/android/apk/res/mipmap-mdpi/ic_launcher_next_round.png
A  +-    --    packaging/android/apk/res/mipmap-mdpi/ic_launcher_next_round.webp
D  +-    --    packaging/android/apk/res/mipmap-mdpi/ic_launcher_round.png
A  +-    --    packaging/android/apk/res/mipmap-mdpi/ic_launcher_round.webp
D  +-    --    packaging/android/apk/res/mipmap-xhdpi/ic_launcher.png
A  +-    --    packaging/android/apk/res/mipmap-xhdpi/ic_launcher.webp
D  +-    --    packaging/android/apk/res/mipmap-xhdpi/ic_launcher_foreground.png
D  +-    --    packaging/android/apk/res/mipmap-xhdpi/ic_launcher_next.png
A  +-    --    packaging/android/apk/res/mipmap-xhdpi/ic_launcher_next.webp
D  +-    --    packaging/android/apk/res/mipmap-xhdpi/ic_launcher_next_foreground.png
D  +-    --    packaging/android/apk/res/mipmap-xhdpi/ic_launcher_next_round.png
A  +-    --    packaging/android/apk/res/mipmap-xhdpi/ic_launcher_next_round.webp
D  +-    --    packaging/android/apk/res/mipmap-xhdpi/ic_launcher_round.png
A  +-    --    packaging/android/apk/res/mipmap-xhdpi/ic_launcher_round.webp
D  +-    --    packaging/android/apk/res/mipmap-xxhdpi/ic_launcher.png
A  +-    --    packaging/android/apk/res/mipmap-xxhdpi/ic_launcher.webp
D  +-    --    packaging/android/apk/res/mipmap-xxhdpi/ic_launcher_foreground.png
D  +-    --    packaging/android/apk/res/mipmap-xxhdpi/ic_launcher_next.png
A  +-    --    packaging/android/apk/res/mipmap-xxhdpi/ic_launcher_next.webp
D  +-    --    packaging/android/apk/res/mipmap-xxhdpi/ic_launcher_next_foreground.png
D  +-    --    packaging/android/apk/res/mipmap-xxhdpi/ic_launcher_next_round.png
A  +-    --    packaging/android/apk/res/mipmap-xxhdpi/ic_launcher_next_round.webp
D  +-    --    packaging/android/apk/res/mipmap-xxhdpi/ic_launcher_round.png
A  +-    --    packaging/android/apk/res/mipmap-xxhdpi/ic_launcher_round.webp
D  +-    --    packaging/android/apk/res/mipmap-xxxhdpi/ic_launcher.png
A  +-    --    packaging/android/apk/res/mipmap-xxxhdpi/ic_launcher.webp
D  +-    --    packaging/android/apk/res/mipmap-xxxhdpi/ic_launcher_foreground.png
D  +-    --    packaging/android/apk/res/mipmap-xxxhdpi/ic_launcher_next.png
A  +-    --    packaging/android/apk/res/mipmap-xxxhdpi/ic_launcher_next.webp
D  +-    --    packaging/android/apk/res/mipmap-xxxhdpi/ic_launcher_next_foreground.png
D  +-    --    packaging/android/apk/res/mipmap-xxxhdpi/ic_launcher_next_round.png
A  +-    --    packaging/android/apk/res/mipmap-xxxhdpi/ic_launcher_next_round.webp
D  +-    --    packaging/android/apk/res/mipmap-xxxhdpi/ic_launcher_round.png
A  +-    --    packaging/android/apk/res/mipmap-xxxhdpi/ic_launcher_round.webp

https://invent.kde.org/graphics/krita/-/commit/ecd11625214cead874ef842c4e7a59f784a68f0a
Comment 5 Dmitry Kazakov 2024-05-29 10:52:55 UTC
Git commit b0766afca02c760f4f3a176bd5135eb167299a7a by Dmitry Kazakov, on behalf of Jesse 205.
Committed on 29/05/2024 at 10:52.
Pushed by dkazakov into branch 'krita/5.2'.

Improving the quality of icons for Android

Reference Android documentation:

https://developer.android.com/studio/write/create-app-icons
https://developer.android.com/distribute/google-play/resources/icon-design-specifications



(cherry picked from commit ecd11625214cead874ef842c4e7a59f784a68f0a)

b27d8b3f Improving the quality of icons for Android
0f3dd0b0 Use webp for Android icon
3c68755b Refactor Icon for Android again
587186c1 Fix double shadow in Icon for Android
b75ee536 Strip Android application icons from extra binary inforamation

M  +1    -0    packaging/android/apk/AndroidManifest.xml
M  +2    -1    packaging/android/apk/flavors/next/AndroidManifest.xml
A  +-    --    packaging/android/apk/ic_launcher-playstore.png
A  +-    --    packaging/android/apk/ic_launcher_next-playstore.png
D  +0    -1    packaging/android/apk/res-src/NOTES
A  +38   -0    packaging/android/apk/res-src/NOTES.md
A  +251  -0    packaging/android/apk/res-src/Next/adaptive.svg
A  +203  -0    packaging/android/apk/res-src/Next/background.svg
A  +210  -0    packaging/android/apk/res-src/Next/foreground.svg
A  +237  -0    packaging/android/apk/res-src/Next/legacy.svg
C  +150  -108  packaging/android/apk/res-src/default/adaptive.svg [from: packaging/android/apk/res-src/krita-android-circle.svg - 057% similarity]
A  +207  -0    packaging/android/apk/res-src/default/background.svg
R  +91   -119  packaging/android/apk/res-src/default/foreground.svg [from: packaging/android/apk/res-src/krita-android-circle.svg - 056% similarity]
R  +97   -72   packaging/android/apk/res-src/default/legacy.svg [from: packaging/android/apk/res-src/krita-android-square.svg - 071% similarity]
A  +53   -0    packaging/android/apk/res-src/strip-webp-files.sh
A  +62   -0    packaging/android/apk/res/drawable/ic_launcher_background.xml
A  +65   -0    packaging/android/apk/res/drawable/ic_launcher_foreground.xml
A  +62   -0    packaging/android/apk/res/drawable/ic_launcher_next_background.xml
A  +78   -0    packaging/android/apk/res/drawable/ic_launcher_next_foreground.xml
M  +3    -2    packaging/android/apk/res/mipmap-anydpi-v26/ic_launcher.xml
M  +3    -2    packaging/android/apk/res/mipmap-anydpi-v26/ic_launcher_next.xml
M  +3    -2    packaging/android/apk/res/mipmap-anydpi-v26/ic_launcher_next_round.xml
M  +3    -2    packaging/android/apk/res/mipmap-anydpi-v26/ic_launcher_round.xml
D  +-    --    packaging/android/apk/res/mipmap-hdpi/ic_launcher.png
A  +-    --    packaging/android/apk/res/mipmap-hdpi/ic_launcher.webp
D  +-    --    packaging/android/apk/res/mipmap-hdpi/ic_launcher_foreground.png
D  +-    --    packaging/android/apk/res/mipmap-hdpi/ic_launcher_next.png
A  +-    --    packaging/android/apk/res/mipmap-hdpi/ic_launcher_next.webp
D  +-    --    packaging/android/apk/res/mipmap-hdpi/ic_launcher_next_foreground.png
D  +-    --    packaging/android/apk/res/mipmap-hdpi/ic_launcher_next_round.png
A  +-    --    packaging/android/apk/res/mipmap-hdpi/ic_launcher_next_round.webp
D  +-    --    packaging/android/apk/res/mipmap-hdpi/ic_launcher_round.png
A  +-    --    packaging/android/apk/res/mipmap-hdpi/ic_launcher_round.webp
D  +-    --    packaging/android/apk/res/mipmap-mdpi/ic_launcher.png
A  +-    --    packaging/android/apk/res/mipmap-mdpi/ic_launcher.webp
D  +-    --    packaging/android/apk/res/mipmap-mdpi/ic_launcher_foreground.png
D  +-    --    packaging/android/apk/res/mipmap-mdpi/ic_launcher_next.png
A  +-    --    packaging/android/apk/res/mipmap-mdpi/ic_launcher_next.webp
D  +-    --    packaging/android/apk/res/mipmap-mdpi/ic_launcher_next_foreground.png
D  +-    --    packaging/android/apk/res/mipmap-mdpi/ic_launcher_next_round.png
A  +-    --    packaging/android/apk/res/mipmap-mdpi/ic_launcher_next_round.webp
D  +-    --    packaging/android/apk/res/mipmap-mdpi/ic_launcher_round.png
A  +-    --    packaging/android/apk/res/mipmap-mdpi/ic_launcher_round.webp
D  +-    --    packaging/android/apk/res/mipmap-xhdpi/ic_launcher.png
A  +-    --    packaging/android/apk/res/mipmap-xhdpi/ic_launcher.webp
D  +-    --    packaging/android/apk/res/mipmap-xhdpi/ic_launcher_foreground.png
D  +-    --    packaging/android/apk/res/mipmap-xhdpi/ic_launcher_next.png
A  +-    --    packaging/android/apk/res/mipmap-xhdpi/ic_launcher_next.webp
D  +-    --    packaging/android/apk/res/mipmap-xhdpi/ic_launcher_next_foreground.png
D  +-    --    packaging/android/apk/res/mipmap-xhdpi/ic_launcher_next_round.png
A  +-    --    packaging/android/apk/res/mipmap-xhdpi/ic_launcher_next_round.webp
D  +-    --    packaging/android/apk/res/mipmap-xhdpi/ic_launcher_round.png
A  +-    --    packaging/android/apk/res/mipmap-xhdpi/ic_launcher_round.webp
D  +-    --    packaging/android/apk/res/mipmap-xxhdpi/ic_launcher.png
A  +-    --    packaging/android/apk/res/mipmap-xxhdpi/ic_launcher.webp
D  +-    --    packaging/android/apk/res/mipmap-xxhdpi/ic_launcher_foreground.png
D  +-    --    packaging/android/apk/res/mipmap-xxhdpi/ic_launcher_next.png
A  +-    --    packaging/android/apk/res/mipmap-xxhdpi/ic_launcher_next.webp
D  +-    --    packaging/android/apk/res/mipmap-xxhdpi/ic_launcher_next_foreground.png
D  +-    --    packaging/android/apk/res/mipmap-xxhdpi/ic_launcher_next_round.png
A  +-    --    packaging/android/apk/res/mipmap-xxhdpi/ic_launcher_next_round.webp
D  +-    --    packaging/android/apk/res/mipmap-xxhdpi/ic_launcher_round.png
A  +-    --    packaging/android/apk/res/mipmap-xxhdpi/ic_launcher_round.webp
D  +-    --    packaging/android/apk/res/mipmap-xxxhdpi/ic_launcher.png
A  +-    --    packaging/android/apk/res/mipmap-xxxhdpi/ic_launcher.webp
D  +-    --    packaging/android/apk/res/mipmap-xxxhdpi/ic_launcher_foreground.png
D  +-    --    packaging/android/apk/res/mipmap-xxxhdpi/ic_launcher_next.png
A  +-    --    packaging/android/apk/res/mipmap-xxxhdpi/ic_launcher_next.webp
D  +-    --    packaging/android/apk/res/mipmap-xxxhdpi/ic_launcher_next_foreground.png
D  +-    --    packaging/android/apk/res/mipmap-xxxhdpi/ic_launcher_next_round.png
A  +-    --    packaging/android/apk/res/mipmap-xxxhdpi/ic_launcher_next_round.webp
D  +-    --    packaging/android/apk/res/mipmap-xxxhdpi/ic_launcher_round.png
A  +-    --    packaging/android/apk/res/mipmap-xxxhdpi/ic_launcher_round.webp

https://invent.kde.org/graphics/krita/-/commit/b0766afca02c760f4f3a176bd5135eb167299a7a