GNOME Bugzilla – Bug 784480
Clicking on-canvas GUI with a tablet stylus crashes if "Show rulers" is disabled
Last modified: 2018-01-16 20:51:11 UTC
GIMP 2.9.5 PPA All transform tools, using the Enter key, can work properly. But click on the "Transform" button on the dialog, and GIMP crashes.
Just tried rotate, unified, they work fine in git master. Anything special, like transforming a selection, linked layers?
(In reply to Michael Natterer from comment #1) > Just tried rotate, unified, they work fine in git master. > > Anything special, like transforming a selection, linked layers? Thank you. Deleted the "GIMP" folder in '~/.config'. Using GIMP again, Transform Tools are normal. (It may conflict with the previous settings)
(In reply to Michael Natterer from comment #1) > Just tried rotate, unified, they work fine in git master. > > Anything special, like transforming a selection, linked layers? Found the problem. Preferences > Appearance: Show rulers When not checked "Show rulers", Using GIMP again. All transform tools, click on the "Transform" button on the dialog, and GIMP crashes. This should be a Bug, reopen this post.
I can't reproduce that either, not in single- and not in multi-window-mode. Can you provide a stack trace of the crash pleass?
(In reply to Michael Natterer from comment #4) > I can't reproduce that either, not in single- and not in multi-window-mode. > > Can you provide a stack trace of the crash pleass? OK. When not checked "Show rulers", Using GIMP again. The mouse click the "transform" button, and work properly. Wacom-tablet click the "transform" button, and GIMP crashes. The terminal display is "Segmentation fault". (I can't find more information!) I can still use GIMP, just press the Enter key to complete the operation.
Updating summary to comment 3 and 5
Can you attach a stack trace of the crash, from latest git master or the latest PPA?
(In reply to Michael Natterer from comment #7) > Can you attach a stack trace of the crash, from latest git master or > the latest PPA? I send this Bug to the forum, and I hope everyone in the forum can find more information. ------------------------ 1 Edit > Input Devices wacom-Pen stylus, Mode: Screen 2 Edit > Preferences Image Windows - Appearance Uncheck: Show rulers 3 Restart GIMP 4 Use Unified Transform Tool Wacom-tablet click the "transform" button, and GIMP crashes. The terminal display is "Segmentation fault". (I can't find more information!) All transform tools, using the Enter key, can work properly.
The forum was answered, but not sure if it is helpful! https://www.gimp-forum.net/Thread-Wacom-tablet-click-the-transform-button-and-GIMP-crashes?pid=2657#pid2657 ----------------------- By: rich2005 Is it an extension part of this this bug? Bug 785427 - GIMP crashes after applying any GEGL filter https://git.gnome.org/browse/gimp/commit/?id=bb93e3401f0481dba8be80a387f04e7e8a76db07 Reported several times and fixed (yesterday) Certainly crashed the Unified Transform Tool. Pulled old Wacom from back of drawer, Working here with Unified Transform tool using yesterdays 2.9.5 update from the 'buntu ppa: commit bb93e34 ----------------------- Wacom-Pen stylus Mode is not set to 'screen' and does not crash. (This is equivalent to the mouse mode.The mouse is working properly.)
(In reply to Michael Natterer from comment #7) > Can you attach a stack trace of the crash, from latest git master or > the latest PPA? Stack Traces:
+ Trace 237773
Thread 1 (Thread 0x7ffff7fbed80 (LWP 16048))
Thanks.
*** Bug 774715 has been marked as a duplicate of this bug. ***
*** Bug 791621 has been marked as a duplicate of this bug. ***
Let's make this the main bug of this class.
*** Bug 772005 has been marked as a duplicate of this bug. ***
*** Bug 791447 has been marked as a duplicate of this bug. ***
Optimistically closing as FIXED, please test hard: commit a8bc8d202cdca2bb8832de36362cbeee9f5762e0 Author: Michael Natterer <mitch@gimp.org> Date: Tue Jan 16 21:48:48 2018 +0100 Bug 784480 - Clicking on-canvas GUI with a tablet stylus crashes... ...if "Show rulers" is disabled Add HACK to gimp_display_shell_canvas_realize() that makes sure the rulers are always mapped once for each new GimpDisplayShell. This seems to magically fix all the crashes. app/display/gimpdisplayshell-callbacks.c | 11 +++++++++++ 1 file changed, 11 insertions(+)