elkowar / eww

ElKowars wacky widgets
https://elkowar.github.io/eww
MIT License
9.42k stars 382 forks source link

[BUG] backgound-image of box widget not displayed in i3 #1190

Open radek-stasta opened 2 months ago

radek-stasta commented 2 months ago

Checklist before submitting an issue

Description of the bug

I don't exactly know if this is a bug, but I have no idea how to verify it or fix it. I was using XFCE for some time and I have this box for example: (box :width 140 :height 65 :style 'background-image: url("https://steamcdn-a.akamaihd.net/steam/apps/379430/header.jpg"); background-size: 100%' ) In XFCE it was working correctly, image was loaded and displayed. Now I switched to i3 (nixos system) and images are gone. I suspect I am missing some package, service, library, something that was present on XFCE and is not present in i3, but I have no idea what. I tried to install all packages listed on eww pages, but still no change

Reproducing the issue

Expected behaviour

Images should be loaded and displayed

Additional context

No response

radek-stasta commented 2 months ago

I managed to get around it with script that downloads files locally and using image widget, but still have no idea why is not working with that bacground-image

w-lfchen commented 2 months ago

reproducible on my nixos system, image does not show up. were you using xfce on nixos as well?

radek-stasta commented 2 months ago

reproducible on my nixos system, image does not show up. were you using xfce on nixos as well?

Yes, also on nixos as well. Pretty much same configuration as with i3, don't know about anything special that would allow images to load. Must be something bundled with xfce I think

radek-stasta commented 2 months ago

Out of curiosity I tried also on nixos + hyprland, same problem there

w-lfchen commented 2 months ago

i am currently using hyprland on nixos. i sadly dont really have the time to investigate this right now, sorry. however, i'll gladly test things if someone else picks this up!

githubber6800 commented 2 weeks ago

I have discovered on my machine, installing gnome in its entirety fixes it, installing gtk 2,3,4 on their own don't though. It'll be interesting to see if installing gnome fixes it for anyone else and hopefully someone can isolate what specifically does it, so you don't have to have gnome.

I'm using hyprland + nixos, I notice if I add

services.xserver.desktopManager.gnome.enable = true;

it gets fixed by just having it installed, not using it. I'm sure just installing gnome as a package does the same thing.