Tusky icon indicating copy to clipboard operation
Tusky copied to clipboard

Chrome Custom Tabs: Dark/Light theme defaults to browser default in Firefox

Open Sirs0ri opened this issue 2 years ago • 2 comments

Hi, I noticed an issue when using Firefox as default provider for Chrome Custom Tabs:

The system UI (status bar icons, bottom gesture bar) of a CCT are always in dark mode for me (which is set as default in the browser's settings), no matter if Tusky itself is in a dark mode or not. This leads to white-on-light-blue status bar icons with very little contrast and an inconsistent color of the bottom gesture bar.

When using Chrome as CCT provider, the custom tabs correctly show in Tusky's theme, no matter what UI mode I've set in Chrome.

To reproduce:

  • Set Tusky to use a light theme, and firefox to use a dark theme
  • enable the use of Chrome Custom Tabs in Tusky's settings, set Firefox as your default browser
  • open any link from Tusky as CCT, and it'll use the browser's default theme, not Tusky's
  • repeat with Chrome as default browser, and see how the CCT now follows Tusky's theme, instead of the browser's

grafik


  • Tusky Version: stable 23.0 / nightly 24.0 beta

  • Android Version: 12

  • Android Device: Samsung SM-G970F, Galaxy S10e

  • Mastodon instance (if applicable): n.a.

  • [x] I searched or browsed the repo’s other issues to ensure this is not a duplicate.

Sirs0ri avatar Dec 02 '23 13:12 Sirs0ri

🤔 Isn't this a problem with firefox?

Tak avatar Dec 04 '23 13:12 Tak

I'm not familiar with the APS to customize CCTs, so I'm not sure if this is an issue with Tusky specifically or Firefox as a CCT provider.

If this issue can't be resolved on Tusky's side, feel free to close it!

Sirs0ri avatar Dec 05 '23 18:12 Sirs0ri