zen-browser / desktop

🌀 Experience tranquillity while browsing the web without people tracking you!
https://zen-browser.app
Mozilla Public License 2.0
13.75k stars 329 forks source link

Context menu in dark mode does not work well #467

Open henoktx opened 1 month ago

henoktx commented 1 month ago

What happened?

When using dark mode in Zen, the texts in the context menu also become dark, lacking contrast. In light mode, everything is normal.

Captura de tela de 2024-08-22 23-41-47

I uninstalled and reinstalled several times, erasing all data and settings, but it didn't work. I installed the package from the flatpak store.

Reproducible?

Version

1.0.0-a.15

Severity impact

High

What platform are you seeing the problem on?

Linux

Relevant log output

No response

mauro-balades commented 1 month ago

Do you have any themes installed?

Yasir-Zafar commented 1 month ago

I am also having this issue i am on arch linux + wayland /Hyprland and am using the catppuccin theme on gtk i could not reproduce this on mozilla firefox or on the floorp browser is there a about:config setting i could toggle atm to prevent using the gkt theme?

Yasir-Zafar commented 1 month ago

[Update] @henoktx I fixed this by deleting the flatpak and switching over to to the binary version of zen 1.0.0.a.28-1 from the Arch AUR. Maybe use the binary in the realeases tab? Potential bug with flatpak?

henoktx commented 1 month ago

@Yasir-Zafar Maybe. I installed it with AppImage files, and it worked without the bug.

pokhrelashok commented 1 month ago

I am facing a similar issue (installed from flatpak) image

eifr commented 3 weeks ago

same. installed with flatpak. (1.0.0-a.37 (64-bit)) image

navoyan commented 1 week ago

This problem occurs because of the installed GTK theme. If you installed zen via flatpak and you have this issue, you can unset the theme specifically for it by doing something like sudo flatpak override io.github.zen_browser.zen --env=GTK_THEME=“”.

Although this fixed this contrast issue for me, the context menu doesn't seem to follow the browser theme.

fancypantalons commented 1 day ago

I had a very similar issue on my Debian testing install, but with light mode instead. In my case I had to override the theme to specify Adwaita. i.e. in my .desktop files (I'm using the appimage), I had to change the Exec line to:

env GTK_THEME="adwaita" /my/home/.local/share/AppImage/ZenBrowser.AppImage