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

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

Open
3 tasks done
radek-stasta opened this issue Sep 3, 2024 · 6 comments
Open
3 tasks done

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

radek-stasta opened this issue Sep 3, 2024 · 6 comments
Labels
bug Something isn't working

Comments

@radek-stasta
Copy link

Checklist before submitting an issue

  • I have searched through the existing closed and open issues for eww and made sure this is not a duplicate
  • I have specifically verified that this bug is not a common user error
  • I am providing as much relevant information as I am able to in this bug report (Minimal config to reproduce the issue for example, if applicable)

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

  • install clean i3 system
  • create some box widget with background-image from url
  • run that widget

Expected behaviour

Images should be loaded and displayed

Additional context

No response

@radek-stasta radek-stasta added the bug Something isn't working label Sep 3, 2024
@radek-stasta
Copy link
Author

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

w-lfchen commented Sep 4, 2024

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

@radek-stasta
Copy link
Author

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

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

@w-lfchen
Copy link
Contributor

w-lfchen commented Sep 5, 2024

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

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants