FS#23850 - [gimp-devel] gdk_pointer_grab failed

Attached to Project: Arch Linux
Opened by Ng Oon-Ee (ngoonee) - Wednesday, 20 April 2011, 08:33 GMT
Last edited by Eric Belanger (Snowman) - Monday, 06 February 2012, 03:19 GMT
Task Type Bug Report
Category Packages: Testing
Status Closed
Assigned To Eric Belanger (Snowman)
Architecture x86_64
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:
Gimp appears to start fine, but the following errors occur in the terminal its started from
/usr/lib/gimp/2.0/plug-ins/help-browser: error while loading shared libraries: libwebkitgtk-1.0.so.0: cannot open shared object file: No such file or directory
(gimp:5313): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error
/usr/lib/gimp/2.0/plug-ins/web-page: error while loading shared libraries: libwebkitgtk-1.0.so.0: cannot open shared object file: No such file or directory
(gimp:5313): LibGimpBase-WARNING **: gimp: gimp_wire_read(): error

Also, when trying to use any tool, clicking on the tool 'locks' the mouse from doing anything else within GIMP (still functional in other apps). This gives the following error:-
gimp_display_shell_pointer_grab: gdk_pointer_grab failed with status 1

Additional info:
* package version(s)
Occurs in gimp-devel-2.7.2-1, but not in gimp-devel-2.7.1-6
This task depends upon

Closed by  Eric Belanger (Snowman)
Monday, 06 February 2012, 03:19 GMT
Reason for closing:  No response
Additional comments about closing:  seems fixed
Comment by Jan de Groot (JGC) - Wednesday, 20 April 2011, 09:11 GMT
I guess you're using gimp-devel from testing on a system that is not running testing? gimp-devel doesn't have versioned dependencies allowing you to do that, but you're on your own with support then.
Comment by Ng Oon-Ee (ngoonee) - Wednesday, 20 April 2011, 10:00 GMT
I'm running [testing] fully-updated here.
Comment by Ionut Biru (wonder) - Wednesday, 20 April 2011, 10:24 GMT
install libwebkit. i see that is an optdepends
Comment by Ng Oon-Ee (ngoonee) - Wednesday, 20 April 2011, 10:34 GMT
I tried that now, and everything works (including the gdk_pointer_grab error). I believe gimp-devel-2.7.2-1 will not function without libwebkit, so it should be a depends rather than optdepends.

For clarification, if I UNINSTALL libwebkit-1.3.13-1 and install gimp-devel-2.7.1-6, it works fine. I am not sure why a minor version bump would change the depends.

Another note, I have libwebkit3-1.3.13-1 installed, but I doubt gimp uses it yet.
Comment by Eric Belanger (Snowman) - Wednesday, 20 April 2011, 16:48 GMT
I have uninstall libwebkit but I wasn't able to reproduce the error. I don't get the "gimp_wire_read()" or the "gimp_display_shell_pointer_grab" errors.

The gimp binary itself doesn't link to libwebkitgtk-1.0.so.0 so I have a feeling that the problem come from something else other than libwebkit.
Comment by Ng Oon-Ee (ngoonee) - Thursday, 21 April 2011, 01:22 GMT
'Something else' means non-Arch repo, in this case? Here's my pacman -Qm -> http://pastebin.com/f6WXbYer

I only have [xyne-any] as external repo.
Comment by Eric Belanger (Snowman) - Thursday, 21 April 2011, 01:32 GMT
By something else, I was thinking about a gtk2 related issue or WM issue. It looks like you use awesome as WM. Perhaps you could try it in another WM?
Comment by Ng Oon-Ee (ngoonee) - Friday, 22 April 2011, 01:20 GMT
It works in Gnome3 stock (haven't customized anything, not that there's much you're ABLE to customize in gnome3...). As previously mentioned, gimp-devel-2.7.1-6 works fine with awesome though.
Comment by Eric Belanger (Snowman) - Monday, 25 April 2011, 18:37 GMT
So, if I understood correctly, gimp-devel-2.7.2-1 works fine in gnome 3 but not in awesome. Is that correct?
Comment by Ng Oon-Ee (ngoonee) - Monday, 25 April 2011, 22:00 GMT
Yes. Retrying, but now even with libwebkit installed (in Awesome) I still get the pointer_grab error, but not the wire_read error. So here's the list.

gimp-devel-2.7.1-6 in Gnome - works
gimp-devel-2.7.1-6 in Awesome - works
gimp-devel-2.7.2-1 in Gnome - works
gimp-devel-2.7.1-6 in Awesome - The reported errors
gimp-devel-2.7.1-6 in Awesome with libwebkit installed - Only the pointer_grab error
Comment by Ng Oon-Ee (ngoonee) - Thursday, 28 April 2011, 00:46 GMT
I see Rémy Oudompheng (remyoudompheng) edited the summary (and I got the contents of the edit by email), but I don't see it anywhere? Where's the 'summary' anyway?

In anycase, that namcap shows that gimp-devel depends on libwebkit (or was wrongly compiled to depend on it?). Doesn't seem to indicate anything concerning the pointer_grab error though (which is awesome-specific).
Comment by Rémy Oudompheng (remyoudompheng) - Thursday, 28 April 2011, 04:59 GMT
Hello, the summary is the title actually. I removed mention of libwebkit from it because it seems it was not the main problem. You may ask to change it back to the original title, but I think that multiple issues should be reported in different bugs.
Comment by Ng Oon-Ee (ngoonee) - Thursday, 28 April 2011, 10:02 GMT
Thanks remy.

Here's the only link (unanswered gimp forum report from March) I could find online about this:-

http://www.gimpusers.com/forums/gimp-developer/13339-adding-a-layer-mode
Comment by Ng Oon-Ee (ngoonee) - Friday, 29 April 2011, 00:59 GMT
Also, I could not replicate this bug on an Intel-based desktop (my main machine which shows this bug is nvidia and laptop). Both are running fully updated (from [testing]) 64-bit Arch installs, both running awesomewm. The error message which remains (on the system which is not working) is

(gimp:15432): Gimp-Widgets-CRITICAL **: gimp_device_info_set_device: assertion `(info->device == NULL && GDK_IS_DEVICE (device)) || (GDK_IS_DEVICE (info->device) && device == NULL)' failed

For the record, only conky is on my IgnorePkg list.
Comment by Plex (plexor) - Monday, 02 May 2011, 01:21 GMT
I'm also experiencing this problem when running gimp-devel 2.7.2-1 on ScrotWM-cvs. I have libwebkit installed.
Comment by Eric Belanger (Snowman) - Tuesday, 05 July 2011, 18:14 GMT
Try with gimp-devel-2.7.2-2 in testing. I've removed gvfs support. Maybe it fixed this bug.
Comment by Ng Oon-Ee (ngoonee) - Wednesday, 13 July 2011, 05:31 GMT
Works for me here. Thanks much, one less on the IgnorePkg list =)
Comment by Sven-Hendrik Haase (Svenstaro) - Saturday, 13 August 2011, 01:56 GMT
This is still an issue for me.

2.7.2-* doesn't work. 2.7.1-6 works fine. 2.6 works fine as well. I'm running kde with kwin. I'm completely running testing.
Comment by Sven-Hendrik Haase (Svenstaro) - Saturday, 13 August 2011, 02:57 GMT Comment by Michael Heinrichs (phosfor) - Saturday, 13 August 2011, 03:01 GMT
Same here.

2.7.2-2 freezes; 2.6.11-6 everything works. I'm also running kde with kwin on arch 64bit stable.
Comment by Sven-Hendrik Haase (Svenstaro) - Saturday, 13 August 2011, 07:22 GMT
Seems to be a problem with KDE, works on a plain X server.
Comment by Paul Bienkowski (opatut) - Saturday, 13 August 2011, 07:23 GMT
Same as above (2.7.2-2 freezes, 2.6.11-6 works). KDE + KWin, 64-bit, no testing at all.
Comment by Eric Belanger (Snowman) - Monday, 22 August 2011, 10:32 GMT
Is it fixed in gimp-devel-2.7.3-1 ?
Comment by Sven-Hendrik Haase (Svenstaro) - Monday, 22 August 2011, 13:24 GMT
Fixed for me.
Comment by Paul Bienkowski (opatut) - Monday, 22 August 2011, 13:33 GMT
Nah, still doesn't work for me with 2.7.3 - freezes with the same gdk_pointer_grab error.
Comment by Eric Belanger (Snowman) - Thursday, 15 December 2011, 15:04 GMT
Might be fixed in gimp-devel-2.7.4-1. From the NEWS file:

- Fix graphics tablet canvas interaction by moving from
gdk_pointer_grab() to gtk_grab_add() for most grabs

Could you confirm?

Loading...