Mouse cursor is a white outline on PowerPC systems.

Bug #1639611 reported by Steven Gawroriski
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Inkscape
Fix Released
Low
Steven Gawroriski
inkscape (Debian)
Fix Released
Unknown

Bug Description

Hello,

On big endian PowerPC, the cursors that appear in Inkscape are essentially white outlines or invisible. In `sp_cursor_pixbuf_from_xpm` the `pixmap_buffer` variable is initialized to the cursor data, however when it is sent to `gdk_pixbuf_new_from_data` the color channels would be in the incorrect byte positions. Effectively this means that most cursors are invisible or have a white outline. Other cursors such as the star shape cursor has the incorrect color showing.

I will note that other programs such as GIMP show cursors correctly.

The attached patch essentially byte swaps the integers in the buffer before it is sent to `gdk_pixbuf_new_from_data` if running on a big endian system. After applying it, the cursors appear as they should and Inkscape is once again usable. The active color used for example in the star shape cursor is correct.

The version of Inkscape is 0.91 r13725 from Debian.

I have reported this issue to Debian <https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=841853>.

Revision history for this message
Steven Gawroriski (mpasteven) wrote :
Revision history for this message
Mc (mc...) wrote :

Thanks for the patch !
Pushed to trunk r15221 and to 0.92.x branch r15155

Changed in inkscape:
assignee: nobody → Steven Gawroriski (mpasteven)
milestone: none → 0.92
importance: Undecided → Low
status: New → Fix Committed
Changed in inkscape (Debian):
status: Unknown → Confirmed
Changed in inkscape (Debian):
status: Confirmed → Fix Released
Bryce Harrington (bryce)
Changed in inkscape:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.