nwg-piotr / nwg-look

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

Segmentation fault after changing text scaling factor in arch (hyprland) #74

Open TahsinAyman opened 2 months ago

TahsinAyman commented 2 months ago

I changed the text scalling factor using nwg-look (gtk settings) in arch (hyprland) but after that my browser (chromium based) crashed and rofi stopped working even after reverting it still is the same. i check the console and it says segmentation fault (core dumped). but i can use alacritty, firefox etc.

I tried reverting but it didnt work

nwg-piotr commented 2 months ago

Well, what can I say? Nothing like this happens on my side. I can change text scaling factor freely back and forth. I'm on Arch/Hyprland as well.

hey-adora commented 1 month ago

this might be related, a lot of apps such as sudo pacman -S code segfault after setting a theme using this. (selecting "Prefer dark" and clicking apply) (also steam supposedly fails to launch according to my friends tests, but i ran out of disk space to confirm)

image image

removing this file fixes everything tho rm ~/.local/share/icons/default/index.theme

reproduction, this is how discovered it create fresh arch install with hyprland, code and nwg-look mkdir ~/local/share/icons nwg-look - selecting "Prefer dark" and clicking apply then run code - it should crash and close and in journalctl -b 0 scroll down with page-down key, will see bunch of segfaults

SolMill commented 1 month ago

Removing ~/local/share/icons/default/index.theme solved the issue for me. Thank you! All electron applications (spotify-launcher, discord, steam) got segfault before.

harshil21 commented 1 month ago

Completely found this issue by accident. Had been plauging me for days. Thanks @hey-adora for the fix!