desktop icon indicating copy to clipboard operation
desktop copied to clipboard

broken page background on some sites

Open redrumthebum opened this issue 1 year ago • 14 comments

Captchas

  • [X] I have read the instructions.
  • [X] I have searched existing issues and avoided creating duplicates.
  • [X] I am not filing an enhancement request.

What happened?

page appears to be transparent. no idea why it's happening. it's like this for some sites (example:https://www.sciencedirect.com/).

image

Reproducible?

  • [ ] I have checked that this issue cannot be reproduced on Mozilla Firefox.

Version

1.0.2-b.5

What platform are you seeing the problem on?

Windows

Relevant log output if applicable

No response

Data from about:support if applicable (click on the "Copy text to clipboard" button)

No response

redrumthebum avatar Jan 05 '25 07:01 redrumthebum

I have the same bug. and i have also confirmed that mozilla firefox does not have the same bug: image

a list of other broken webpages:

  • https://antirez.com
  • https://docs.redhat.com
  • https://jameshfisher.com/2016/11/30/c-multiline-literal/
  • https://itvision.altervista.org/linux-myths-series-linux-doesnt-need-an-antivirus.html
  • https://paste.rs
  • https://sloanreview.mit.edu/
  • https://web.ludus.dev/

here "broken" means poor contrast between background and text. and all above webpages have been tested on firefox (dark theme) to not have any issues, i could go on to name 12 more if need be. i encounter more everyday.

Gamer-Kold avatar Jan 06 '25 08:01 Gamer-Kold

I've just came across another website with the same issue, transparent background, making it unreadable on dark theme. https://www.zdnet.com/

lrgonc avatar Jan 07 '25 19:01 lrgonc

current workaround is, believe it or not, using dark reader on light mode 😅

redrumthebum avatar Jan 10 '25 03:01 redrumthebum

current workaround is, believe it or not, using dark reader on light mode 😅

that's exactly what i've been doing as well

Gamer-Kold avatar Jan 10 '25 08:01 Gamer-Kold

Experienced this as well, it seems like sites which do not have a set background color will have this happen.

Another workaround is to go into inspect element and set a background on the body element

tobias-hay avatar Jan 10 '25 13:01 tobias-hay

I'm pretty sure that's the cause, actually. The default behavior for pages without a background should be to provide a white background from what I see from firefox. But Zen just makes it transparent; which breaks readability on a lot of sites because the background is dark and the text is dark.

Gamer-Kold avatar Jan 11 '25 20:01 Gamer-Kold

Change browser.tabs.allow_transparent_browser in about:config

12th-devs avatar Jan 11 '25 20:01 12th-devs

I'm pretty sure that's the cause, actually. The default behavior for pages without a background should be to provide a white background from what I see from firefox. But Zen just makes it transparent; which breaks readability on a lot of sites because the background is dark and the text is dark.

Yes, it allows transparent for the tab creation page to show your background instead of just a gray block, but causes issues elsewhere unfortunately.

tobias-hay avatar Jan 11 '25 20:01 tobias-hay

Change browser.tabs.allow_transparent_browser in about:config

This is not a great fix for the reason I commented above.

tobias-hay avatar Jan 11 '25 20:01 tobias-hay

@Woofer21 I am saying you should change it to false. This brings back the background on websites

12th-devs avatar Jan 11 '25 21:01 12th-devs

Ok in between this and the original message I just sent last week I distrohopped from Arch to NixOS. I just installed Zen on this new machine to test out the fix proposed by @Anoms12 and I have discovered that it's not an issue anymore? I note two possibilities:

  1. I forgot to update my AUR package somehow (oops)
  2. This is an AUR specific bug and the flatpak doesn't have the issue.

Can everybody else tell me if they've updated to the latest version and/or what packaging method they used to get zen?

Gamer-Kold avatar Jan 11 '25 21:01 Gamer-Kold

@Woofer21 I am saying you should change it to false. This brings back the background on websites

Yes I know what you said, and I'm saying that it's set to tru because it allows for the new tab page to not just be a giant gray box, and actually display your workspaces theme.

tobias-hay avatar Jan 11 '25 22:01 tobias-hay

Ok in between this and the original message I just sent last week I distrohopped from Arch to NixOS. I just installed Zen on this new machine to test out the fix proposed by @Anoms12 and I have discovered that it's not an issue anymore? I note two possibilities:

  1. I forgot to update my AUR package somehow (oops)

  2. This is an AUR specific bug and the flatpak doesn't have the issue.

Can everybody else tell me if they've updated to the latest version and/or what packaging method they used to get zen?

I'm using 1.6b (64 bit) on windows 11, downloaded from just the site, and still run into this issue.

tobias-hay avatar Jan 11 '25 22:01 tobias-hay

I have searched existing issues and avoided creating duplicates.

Christ, this is posted every. single. day.

Duplicate of https://github.com/zen-browser/desktop/issues/4214

mr-cheffy avatar Jan 12 '25 13:01 mr-cheffy