Bug 343704 - Inkscape 0.91 crashes after palette mouse-over with QtCurve
Summary: Inkscape 0.91 crashes after palette mouse-over with QtCurve
Status: RESOLVED FIXED
Alias: None
Product: QtCurve
Classification: Frameworks and Libraries
Component: gtk2 (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR crash
Target Milestone: ---
Assignee: Yichao Yu
URL:
Keywords:
: 344061 344264 (view as bug list)
Depends on:
Blocks:
 
Reported: 2015-02-02 20:12 UTC by Milko Krachounov
Modified: 2016-02-26 07:49 UTC (History)
5 users (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Milko Krachounov 2015-02-02 20:12:15 UTC
After upgrading to Inkscape 0.91, the colour palette is now unusable with QtCurve. A rogue window appears instead of a tooltip, and after closing it, Inkscape crashes. The problem doesn't happen with other styles (such as Oxygen-GTK, Adwaita, Redmond and Raleigh).

I am using gtk2-engines-qtcurve version 1.8.16-2 (Debian) and Inkscape version 0.91-1 (Debian)

The problem has also been reported by other parties to happen with Arch Linux:
https://bugs.archlinux.org/task/43631

Someone has posted a screenshot of the rogue window in this bug:
https://github.com/QtCurve/qtcurve-gtk2/issues/3

Reproducible: Always

Steps to Reproduce:
1. Set QtCurve as GTK+ theme
2. Open Inkscape 0.91
3. Hover the mouse over a colour in the palette

Actual Results:  
A window with no title and contents appears, Inkscape segfaults when the window is closed.

Expected Results:  
A tooltip with hexadecimal colour appears
Comment 1 Milko Krachounov 2015-02-02 20:15:34 UTC
I am sorry, I forgot to include the output of Inkscape:

===

$ QTCURVE_DEBUG=1 inkscape
QtCurve: Reading kdeglobals - /usr/share/themes/QtCurve/gtk-2.0/kdeglobals
QtCurve: Font[0] - Sans Serif   10.000000
QtCurve: Font[1] - Sans Serif   10.000000
QtCurve: Font[2] - Sans Serif   8.000000
QtCurve: Reading kdeglobals - /usr/share/kde4/config/kdeglobals
QtCurve: Reading kdeglobals - /home/milko/.kde//share/config/kdeglobals
QtCurve: Font[0] - Roboto Condensed   10.000000
QtCurve: Font[1] - Roboto Condensed   10.000000
QtCurve: Font[2] - Roboto Condensed   8.000000
QtCurve: Command - "inkscape"
QtCurve: Application name: "inkscape"
QtCurve: gtk-toolbar-style 2
QtCurve: gtk-button-images 1
QtCurve: Reading kwinrc

Emergency save activated!
Emergency save completed. Inkscape will close now.
If you can reproduce this crash, please file a bug at www.inkscape.org
with a detailed description of the steps leading to the crash, so we can fix it.
Нарушение на разделянето(segfault)

===


Additionally, this seems to be unrelated to the QtCurve preset chosen, because I tried few.
Comment 2 Vangelis 2015-02-05 11:01:12 UTC
I can confirm the bug, and there is also a patch that fixes it here:

https://github.com/QtCurve/qtcurve-gtk2/issues/3
https://gist.github.com/anonymous/8e6e4ea32dabf03cf630
Comment 3 Yichao Yu 2015-02-05 14:01:35 UTC
Should be fixed in master
Comment 4 Yichao Yu 2015-02-12 02:11:51 UTC
*** Bug 344061 has been marked as a duplicate of this bug. ***
Comment 5 Yichao Yu 2015-02-17 13:01:07 UTC
*** Bug 344264 has been marked as a duplicate of this bug. ***