Skip to content
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

Close button (X) not visible in notification when using Android 10 Dark theme #1002

Open
2 of 6 tasks
CaviaPorcellus opened this issue Dec 29, 2019 · 6 comments
Open
2 of 6 tasks

Comments

@CaviaPorcellus
Copy link

  • Vanilla Music Version (Settings -> About): 1.0.84
  • Android Version: 10
  • Phone vendor / model: Google Pixel 3
  • Application was downloaded from (use [x]):
    • Play Store
    • F-Droid
    • Other (Nightly Build)
  • Did this work in a previous version?
    • Yes
    • No
    • NA / Don't know.

Description

When Android 10 is set to use the built-in Dark theme, notifications are displayed in black. While Vanilla Music's back/play/forward controls are still visible, the X button used to close the notification is not. It is still there, and it does work if you touch it, but since it is black it is invisible.

There has been an official dark theme since Android 9, but in Android 10 the notifications were changed to be black. I saw that there was some talk about dark theme notifications, but only with regards to custom themes. This is a report to get the notifications looking correct with the default stock Android dark theme.

Steps to reproduce the issue

Using stock Android 10, turn on Dark theme (Settings -> Display -> Dark theme).
Play something with Vanilla Music.
Gaze upon the notification.

Screenshots

Notification with Dark theme enabled:
Screenshot_20191228-220529

Non-dark theme notification for comparison:
Screenshot_20191228-220550

@adrian-bl
Copy link
Member

Turns out we used transparency in the 'X' image.

I changed the image to not use any alpha channels and add a white border around it in commit 497af31 - could you check the latest nightly build to see if things are better?

@CaviaPorcellus
Copy link
Author

Sorry for not responding sooner! I actually can't test the nightly build: when I download the apk it just gives me the word "error" when I try to install it.

@adrian-bl
Copy link
Member

Interesting: maybe there was something wrong with the build: could you try again? (the APK should get refreshed every 24 hours)

@beerisgood
Copy link

@adrian-bl
Can you maybe push that as beta to F-Droid?

Then I can test it

@p3732
Copy link

p3732 commented Mar 9, 2020

The new icon works, but I looks a bit odd:

photo_2020-03-09_23-29-58

Why not implement the same solution as for the other buttons? Or are they defined by the OS?

@CaviaPorcellus
Copy link
Author

Yep, same here: the X icon is now visible and works, but it seems to be outlined so that it's darker on the inside. Doesn't seem to match any other icons.
signal-attachment-2020-04-12-182003

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants