Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Naixsys opened this issue Sep 24, 2024 · 5 comments

Comments

@Naixsys
Copy link

Naixsys commented Sep 24, 2024

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:

  • widget
  • icon
  • cusor

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

@Naixsys Naixsys changed the title Some Chroium Apps Crash under Weird Cirumstances Some Chromium Apps Crash after setting a theme (perhaps due to unset properties) Sep 24, 2024
@creep1ng
Copy link

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
Copy link
Author

Naixsys commented Sep 29, 2024

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.

@Naixsys Naixsys closed this as completed Sep 29, 2024
@Naixsys Naixsys reopened this Sep 29, 2024
@KyNarec
Copy link

KyNarec commented Oct 1, 2024

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
Copy link

i also mentioned issue like this on #74 (comment)
what fixed it for me is rm ~/.local/share/icons/default/index.theme if anyone is looking for a fix here.

@itsmeherefolks
Copy link

i also mentioned issue like this on #74 (comment) what fixed it for me is rm ~/.local/share/icons/default/index.theme if anyone is looking for a fix here.

That fixed the problem on Hyprland, too. Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants