Linux: Drag thumbs to Gimp doesn not work

*** Please report new bugs here! ***

Moderators: helmut, XnTriq, xnview, Dreamer

Post Reply
User avatar
Akovia
Posts: 138
Joined: Sat Apr 02, 2011 2:10 am
Contact:

Linux: Drag thumbs to Gimp doesn not work

Post by Akovia »

Can't drag thumbs to gimp. I can drag to other xnview windows, but fails on gimp. I get the following 3 messages when trying.

Code: Select all

Opening 'file://media/Elements/Backups/H-Drive/Graphics/Anime-Manga%20Graphics/Anime%20Art/%5BSeries%5D/Karas/CoolAnime.jpg' failed:

Could not open 'file://media/Elements/Backups/H-Drive/Graphics/Anime-Manga%20Graphics/Anime%20Art/%5BSeries%5D/Karas/CoolAnime.jpg' for reading: No such file or directory

Calling error for procedure 'file-jpeg-load':
Could not open 'file://media/Elements/Backups/H-Drive/Graphics/Anime-Manga%20Graphics/Anime%20Art/%5BSeries%5D/Karas/CoolAnime.jpg' for reading: No such file or directory
I can drag from other programs to gimp, so I'm pretty certain the problem is not there.
Arch Linux
XnView MP
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Drag thumbs to Gimp

Post by xnview »

I can't reproduce on ubuntu 10
ubuntu 12?
Pierre.
User avatar
oops66
XnThusiast
Posts: 2005
Joined: Tue Jul 17, 2007 1:17 am
Location: France

Re: Drag thumbs to Gimp

Post by oops66 »

xnview wrote:I can't reproduce on ubuntu 10
ubuntu 12?
Hello, ...FYI, I can't reproduce too ... here: XnViewMP 0.64 Linux X64 - Ubuntu 12.04 LTS - X64
XnViewMP Linux X64 - Debian - X64
User avatar
m.Th.
XnThusiast
Posts: 1676
Joined: Wed Aug 16, 2006 6:31 am
Contact:

Re: Drag thumbs to Gimp

Post by m.Th. »

I don't know where's the problem. But I find very suspect that %5BSeries%5D chars...

Put your jpegs in a plain-vanilla directory (eg. 'test' in your root) and try to drag the images from there. It works?
m. Th.

- Dark Themed XnViewMP 1.7.1 64bit on Win11 x64 -
User avatar
Akovia
Posts: 138
Joined: Sat Apr 02, 2011 2:10 am
Contact:

Re: Drag thumbs to Gimp

Post by Akovia »

m.Th. wrote:I don't know where's the problem. But I find very suspect that %5BSeries%5D chars...

Put your jpegs in a plain-vanilla directory (eg. 'test' in your root) and try to drag the images from there. It works?
Tried from my home folder 1 level deep. No special characters or spaces in path or filename.

Code: Select all

Opening 'file://home/akovia/Graphics/gimp-devel-logo.png' failed:

Could not open 'file://home/akovia/Graphics/gimp-devel-logo.png' for reading: No such file or directory
Arch Linux
XnView MP
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Drag thumbs to Gimp

Post by xnview »

and on other program?
Pierre.
User avatar
Akovia
Posts: 138
Joined: Sat Apr 02, 2011 2:10 am
Contact:

Re: Drag thumbs to Gimp

Post by Akovia »

xnview wrote:and on other program?
Not at home for the weekend but I could always drag from my file manager Thunar and from Chrome or Opera browsers without a problem.
Arch Linux
XnView MP
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Drag thumbs to Gimp

Post by xnview »

i means from XnView into another app?
Pierre.
User avatar
Akovia
Posts: 138
Joined: Sat Apr 02, 2011 2:10 am
Contact:

Re: Drag thumbs to Gimp

Post by Akovia »

xnview wrote:i means from XnView into another app?
Inkscape:

Code: Select all

Failed to load the requested file /My-Media/Anime/Karas/logoHD2.png
I can drag to chrome browser and thunar though.
Gimp & Inkscape are usually the only programs I'm dragging pictures to.

I did some more investigating and it seems it might be related to the setPathname variable...

For home folders it uses a single forward slash:

Code: Select all

setPathname </home/akovia/Pictures/Funny/>
For any drives under media it uses double forward slashes:

Code: Select all

setPathname <//media/My-Media/>
It was failing under home folders last time I checked, but now it's working every time. Even with filenames that include spaces, but it has never worked for any file under my /media directory.
Let me know if you want my full command line log with it working and failing in the different directories.
Arch Linux
XnView MP
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Drag thumbs to Gimp

Post by xnview »

mounted volume?
Pierre.
User avatar
Akovia
Posts: 138
Joined: Sat Apr 02, 2011 2:10 am
Contact:

Re: Drag thumbs to Gimp

Post by Akovia »

xnview wrote:mounted volume?
Yeah, everything under /media is mounted.
Arch Linux
XnView MP
User avatar
xnview
Author of XnView
Posts: 46235
Joined: Mon Oct 13, 2003 7:31 am
Location: France
Contact:

Re: Drag thumbs to Gimp

Post by xnview »

Akovia wrote:
xnview wrote:mounted volume?
Yeah, everything under /media is mounted.
I've tried on ubuntu 12&13 from /media, and no problem
Pierre.
User avatar
Akovia
Posts: 138
Joined: Sat Apr 02, 2011 2:10 am
Contact:

Re: Drag thumbs to Gimp

Post by Akovia »

Thanks for checking but I can't imagine what could be wrong with my system. I can drag just fine into gimp from other image programs.
gthumb
gwenview
geeqie

Is there any debugging procedures you can recommend? I really want to get this working if at all possible.
Arch Linux
XnView MP
Post Reply