-
-
Notifications
You must be signed in to change notification settings - Fork 156
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Archive icon not always correctly adapted #2249
Comments
Need to test to confirm but looks like Catima somehow sees that image as one needing a white background instead of a black one. Seeing your timing, did this change in some version (did it work before) or did you not test this image before? |
I noticed it earlier. I have now installed version 2.26 from github (selected at random), restored data from a backup. I have exactly the same problem, i.e. the old one. |
I can confirm this. The issue at hand seems to be that Catima bases this on the "dominant" colour, which for this image is green (even though most the image is white). In a way, this seems vaguely related to #2250. It seems that using the Palette dominant color is mostly good for choosing the status bar color (with a few edge cases as you named in #2250), but is not good for choosing the icon colour. It should be noted that the star icon has no problem with this, as it is made of two layers (the image itself, and a second "border" layer). However, doing the same for the archive icon seems to just make it very dark. Not quite sure yet how to best fix this. Preferably, the icons would always have a two-coloured border so it works on any background but I'm horrible at graphic design 😅 |
Got some help and created #2253. Should fix your case. I tested it even with an image of the exact greyscale of the new icons (#D3D3D3) and it remained visible :) |
That's very strange, as I didn't touch anything related to that (just fixed some small things in the icon layout), but well, let's close that too then, can always reopen if it pops back up :) |
Then it’s really strange, but now I checked again: I installed https://github.com/CatimaLoyalty/Android/releases/tag/v2.34.1 and #2253 completely clean, restored the data from the same backup - the debug build does not have the problem #2248 of displaying vertical lines. |
The archive card icon is not adapted to white background (is only visible when the card is selected).
Catima 2.34.1 F-Droid build
OS: Android 11 MIUI 12.5
Attached is a thumbnail file from the backup archive for clarification colors.
The text was updated successfully, but these errors were encountered: