desktop: Theme Color alpha hex functionality broken

Captchas

  • I have read the instructions.
  • I have searched existing issues and avoided creating duplicates.
  • I am not filing an enhancement request.
  • I have checked that this issue cannot be reproduced on Mozilla Firefox.
  • I have checked that this issue cannot be reproduced once I removed all my Mods and Custom CSS.

What happened?

The Add theme color bar (which now is enabled using an about:config setting) allows for the usage of alpha hex values (#aabbccdd) and rgba values (rgba ( 0, 0, 0, 0.1)) values. This is THE way to use transluscency and transparency on linux which doesnt have mica support like windows. In the past 3 versions, this functionality doesn’t work making transluscent browser rices on Linux obsolete (unless you reduce the opacity of the entire browser, in which case text becomes less readable). This functionality is really important on Linux and has been broken since 1.10.1b for me.

Version

1.10.3b

What platform are you seeing the problem on?

Linux (Tarball)

What component is this issue related to?

Customizable UI / Toolbars

Relevant log output if applicable


About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 6
  • Comments: 17 (4 by maintainers)

Most upvoted comments

I dont really know what the issue is, but setting this in userChrome.css fixes it on linux, the blur kinda works and its only for the main area that is not in compact mode. In compact mode they are are fully transparent.

:root {
  background-color: var(--zen-main-browser-background) !important;
}

#zen-main-app-wrapper {
  background-color: var(--zen-main-browser-background) !important;
}

Wanted to thank everyone in this thread for explaining some of the quirks of Zen Browser themes. In particular the zen.theme.gradient.show-custom-colors and zen.theme.gradient were important finds for me. I wanted to fully disable the transparency and setting zen.theme.gradient to false was the trick. Was also fun to play around with the hex values via zen.theme.gradient.show-custom-colors set to true.

For anyone else reading this wondering where these settings are: Type about:config in your topbar where you would a website name or URL.

Again thanks all! Cheers

Enabling the config flag zen.theme.gradient.show-custom-colors and setting the alpha channel to 00 using the hex value (for example #2e344000) currently results in a black background.

@Lund1337’s userChrome.css seems to work (according to @LarveyOfficial).

The zen-main-app-wrapper and/or root elements thus seem to have have a black background color. I am currently unsure whether this is intentional or not. I will move this up to TODO.

I’m also just generally unhappy that the standard theme palette limits the hue and saturation ranges of color choice to this sort of bright and poppy look only. But as long as the hex codes are available, I can get around that.

@mauro-balades Was a fix actually entered, or did the related Issue #7065 from a Windows perspective get marked as a dupe so it could be forgotten about once the Linux perspective was dealt with? Because unless there is something coming in the next version, I’m still unsatisfied.