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

Rofi bug issues #308

Open
LorenzoZ-DEV opened this issue Feb 27, 2025 · 35 comments
Open

Rofi bug issues #308

LorenzoZ-DEV opened this issue Feb 27, 2025 · 35 comments

Comments

@LorenzoZ-DEV
Copy link

I found rofi bug when i try to search someting

this is a bug

Image

@kRHYME7
Copy link
Contributor

kRHYME7 commented Feb 27, 2025

what did you search? how to replicate this?

@LorenzoZ-DEV
Copy link
Author

i try search something but didn't work

@kRHYME7
Copy link
Contributor

kRHYME7 commented Feb 27, 2025

  1. what bind did you use?

  2. output when you run this

rofilaunch.sh

@Axhyy
Copy link

Axhyy commented Feb 27, 2025

I just did a clean install myself and I'm experiencing the same problem, this is the output of rofilaunch.sh


(process:147553): Helpers.IconFetcher-WARNING **: 20:46:57.002: Failed to load image: |/home/dtorres/.cache/hyde/wall.thmb| -1 524 Couldn’t recognize the image file format for file “/home/dtorres/.cache/hyde/wall.thmb” ((nil))

@kRHYME7
Copy link
Contributor

kRHYME7 commented Feb 27, 2025

What rofi version you got?

Image

@LorenzoZ-DEV
Copy link
Author

ok if i use rofilaunch.sh this sk work

@kRHYME7
Copy link
Contributor

kRHYME7 commented Feb 27, 2025

So what command/bind did not work ?

@LorenzoZ-DEV
Copy link
Author

Image

but if i press SUPER + A it show like this

but if i launch with command rofilaunch.sh its work

Image

@kRHYME7
Copy link
Contributor

kRHYME7 commented Feb 27, 2025

Please attach this file


 hyprctl systeminfo -c > /tmp/hyprland_config_dump.txt

Also do we have the same keybind hint output (ignore the key )

Image

@kRHYME7
Copy link
Contributor

kRHYME7 commented Feb 27, 2025

BTW @Axhyy @LorenzoZ-DEV Have you guys ever rebooted after the update/install ? I replicated your issues when I did not reboot /relogin

@Axhyy
Copy link

Axhyy commented Feb 27, 2025

I just restarted my machine and still the same issue unfortunately, unlike @LorenzoZ-DEV using rofilaunch.sh still brings back a blank image.

@kRHYME7
Copy link
Contributor

kRHYME7 commented Feb 27, 2025

ls ~/.cache/hyde/thumbs @Axhyy ?

@kRHYME7
Copy link
Contributor

kRHYME7 commented Feb 27, 2025

also please provide this

#308 (comment)

@Axhyy
Copy link

Axhyy commented Feb 27, 2025

@kRHYME7
Copy link
Contributor

kRHYME7 commented Feb 27, 2025

@Axhyy

I just did a clean install myself and I'm experiencing the same problem, this is the output of rofilaunch.sh


(process:147553): Helpers.IconFetcher-WARNING **: 20:46:57.002: Failed to load image: |/home/dtorres/.cache/hyde/wall.thmb| -1 524 Couldn’t recognize the image file format for file “/home/dtorres/.cache/hyde/wall.thmb” ((nil))

Looks like this is a rofi error and it should handle this file correctly.

Can you check using image viewer if you can really access the thumbnail.

example : imv $HOME/.cache/hyde/wall.thmb

Image

might be a caching issue so try

 swwwallcache.sh f 

@LorenzoZ-DEV
Copy link
Author

hyprland_config_dump.txt

there you go

@Senshi111
Copy link
Collaborator

I have the same problem on my arch disto and fedora. I think something is wrong with path but i need to debug more

@kRHYME7
Copy link
Contributor

kRHYME7 commented Feb 28, 2025

I can't replicate on a VM too. @Senshi111 can you try USWM-hyprland and see if it works. As it handles correct env vars.If it doesn't work then It might be a HyDE issue.

@Senshi111
Copy link
Collaborator

I don't have time, i have lot of work. With deprecated HyDE i make to work with debian, fedora name it, with minimal effort. With this one, it's become too much complex and it's going to direction that i don't like. You know how it said, road to hell is built on good intentions.
I will probably get deprecated version and when I get some time, build it for my own use case

@kRHYME7
Copy link
Contributor

kRHYME7 commented Feb 28, 2025

No problem with that @Senshi111 🫶

kRHYME7 pushed a commit that referenced this issue Feb 28, 2025
Rofi bug issues #308
@kRHYME7
Copy link
Contributor

kRHYME7 commented Feb 28, 2025

Reply for this #308 (comment)
@LorenzoZ-DEV

Latest commit should fix it. It's due to the export statements that are inside the [ -t ] (terminal only) block.

@Senshi111
Copy link
Collaborator

Senshi111 commented Feb 28, 2025

Just to let you know that nothing is working on my end as far as load images go. Same error everywhere
Evwn screenshot not working
IMG_20250228_164943.jpg

IMG_20250228_165022.jpg

IMG_20250228_165010.jpg

IMG_20250228_165035.jpg

@Senshi111
Copy link
Collaborator

I don't know what ya did i was busy with working, i just pull lattest and everything broke even my logouf screen
IMG_20250228_165551.jpg

@kRHYME7
Copy link
Contributor

kRHYME7 commented Feb 28, 2025

@Senshi111 I remembered accepting PRs about environments variables in ZSH. I will try to trace then revert that back and try to push upstream.

@Senshi111
Copy link
Collaborator

Check this out. If i run find comand and have blackoup file and then run rofi with that path i can load a image
IMG_20250228_170436.jpg

IMG_20250228_170441.jpg

IMG_20250228_170607.jpg

IMG_20250228_170611.jpg

@kRHYME7
Copy link
Contributor

kRHYME7 commented Feb 28, 2025

I see, now I need to find a way to look at those files. I know you're busy but will you compress it and send it here?

Or it is also possible to copy all those files in the ~/HyDE/Configs/

and see the result git diff.

pretty please 🥺🙏

@Senshi111
Copy link
Collaborator

You want my backup folder and

~/HyDE/Configs/

Folder

@kRHYME7
Copy link
Contributor

kRHYME7 commented Feb 28, 2025

I meant either I will have the backup files.

or put it on ~/HyDE/Configs and maybe push it as a PR so we can inspect.

@Senshi111
Copy link
Collaborator

I will send you my backup folder. When i come home

@kRHYME7
Copy link
Contributor

kRHYME7 commented Feb 28, 2025

Thank you it's 2 am right now so I gotta get some sleep.

@Senshi111
Copy link
Collaborator

here

cfg_backups.zip

@kRHYME7
Copy link
Contributor

kRHYME7 commented Feb 28, 2025

I can't sleep without telling this. I am suspecting this line might be the culprit

export XDG_DATA_DIRS="$XDG_DATA_HOME/hyde:/usr/local/share/hyde/:/usr/share/hyde/:$XDG_DATA_DIRS"

This one #308 (comment) should be fixed as his command works only in terminal (regression occured 2 weeks ago from this b935525 ) and should be fixed by the latest commits

Other issues are this #308 (comment) and yours #316, both same issue

If a bare rofilaunch.sh give errors too, I needed the output of bash -x ~/.local/lib/hyde/rofilaunch.sh for debugging. I think this should be sufficient if the error is from the scripts.
I really appreciated your patience. 🫶

@Senshi111
Copy link
Collaborator

Senshi111 commented Feb 28, 2025

I was messing with that script and with that line today and last night. I also believe something is wrong with that line

@Senshi111
Copy link
Collaborator

Senshi111 commented Feb 28, 2025

So it's definitely has to do with those paths that you merged recently.
I downloaded branch before you merged that path suff and everything works fine
https://github.com/HyDE-Project/HyDE/tree/884b342720a59f250e2b1fa6cb7bbda51e545e1e

@kRHYME7
Copy link
Contributor

kRHYME7 commented Feb 28, 2025

I will revert that change then. Thank you

kRHYME7 pushed a commit that referenced this issue Mar 1, 2025
Rofi not showing images #316
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

4 participants