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

Viewnior can't open .png files on SSH drives? #143

Open
LorenAmelang opened this issue Oct 24, 2024 · 6 comments
Open

Viewnior can't open .png files on SSH drives? #143

LorenAmelang opened this issue Oct 24, 2024 · 6 comments

Comments

@LorenAmelang
Copy link

Viewnior is easily my preferred viewer, but occasionally it says there are no images in the file I selected. I haven't systematically tested it, but every time I've noticed that, the file is a .png and it is on an already mounted SSH drive. Any other viewer in my list of options can open the same file normally. Copy the file to a local drive and Viewnior can open it.

Is there maybe some trick that would solve this?

@wichrgh
Copy link

wichrgh commented Oct 26, 2024

I have the same issue with every .png file located on a SMB share.

This is the result when I doubleclick an image or if I try to open it with the context menu (xfce4):
image

I can't tell with wich release Viewnior lost this ability, but a few releases back it worked fine.

@wichrgh
Copy link

wichrgh commented Oct 29, 2024

Actually the source of my problem is not Viewnior, because I observe a similar behavior with almost any other lightweight viewer. I know for sure that it worked in the past. Maybe something changed in the way the SMB/CIFS client handles the shares, which leads to the observed problem?

Btw, the thumbnailer service has no issues with creating thumbnails, which proves that access to the files is granted and the files are ok.

@wichrgh
Copy link

wichrgh commented Nov 2, 2024

Looks like this tool does does no longer get the love it deserves from the original author.

I solved the problem for me by mounting the share in a subfolder of my home folder using the cifs-tools and accessing the content from there, instead of accessing it directly by using the smb:// path.

@LorenAmelang
Copy link
Author

Interesting... I'm on Linux, using plain SSH to open remote files. They're mounted in my filesystem, but not inside a folder on my local drive. Probably more urgent things than figuring out if I could do that...

@qarkai
Copy link
Contributor

qarkai commented Nov 8, 2024

Coudl you try if #135 fixes this issue?

@LorenAmelang
Copy link
Author

@qarkai That change makes sense, but I'm not sure how to try it. I guess I'd have to download all the source files, swap in that one, and build a new Viewnior version myself? I could probably do that eventually, but I suspect it would be many hours of learning and struggle...

So much easier to just select a different app - EYE of Gnome, EYE of MATE, GIMP, or any browser I've tried just work.

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

3 participants