nwg-piotr / nwg-look

GTK3 settings editor adapted to work in the wlroots environment
MIT License
549 stars 16 forks source link

Some Chromium Apps Crash after setting a theme (perhaps due to unset properties) #75

Open Naixsys opened 1 month ago

Naixsys commented 1 month ago

Basic Info

Distro: Fedora 40 Workstation Kernel: 6.10.10-200.fc40.x86_64 from the official fedora updates repo WM/DE: Hyprland 0.43.0 from copr:copr.fedorainfracloud.org:solopasha:hyprland nwg-look version: 0.2.4 from copr:copr.fedorainfracloud.org:aeiro:nwg-shell steam pkg ver: 1.0.0.81 from rpmfusion-non-free-steam

What Should Happen

Change the theme (Dracula in my case) and not experience application crashing

What Is Actually Happening

steamwebhelper and chromium (flatpak) crash. Stack traces indicate issues with libcef and/or libc

Theory

libcef is having issues parsing certian fields when set by nwg-look.

Solution (so far)

Ensure that a theme is set for:

While ensuring that the dir $HOME/.icons does not exist and will not be written to (this can be changed in the Preferences section). After doing this, then go to each section and hit Apply (not sure if each section needs to be applied individually or if all selected settings are applied once you hit the button. Maybe someone can correct me on this)

Then restart your applications.

Comments

I am rather certain that this is not the fault of the project but would like to document this issue due to the fact that it caused me heart ache and hope someone can benefit from this. Also, if anyone can guide me as to where I should report this issue, please do. Or even better, if you have any experience reporting issues to either the CEF or Chromium project (do not know where the issue lies), that woudl also be appreciated.

Thank you

creep1ng commented 1 month ago

Thanks for posting your solution! The last week I've started to had some problems related to GTK, I even reinstalled my whole system, and these problem started again after using a theme, and then I see this post with a solution that works... Thanks!

Naixsys commented 1 month ago

Thanks for posting your solution! The last week I've started to had some problems related to GTK, I even reinstalled my whole system, and these problem started again after using a theme, and then I see this post with a solution that works... Thanks!

You're welcome. Glad to have been of help.

KyNarec commented 1 month ago

Thanks for this solution, I was fighting steam, brave, thorium, vesktop etc. for the last few days. Resetting GTK Settings fixed it. I'm so glad I can use Linux now, because I had to boot into Windows for the last few days and that was a huge headache for me.

hey-adora commented 2 weeks ago

i also mentioned issue like this on https://github.com/nwg-piotr/nwg-look/issues/74#issuecomment-2386603710 what fixed it for me is rm ~/.local/share/icons/default/index.theme if anyone is looking for a fix here.