#784695 gnumeric: Mouse cursor is garbled when showing Gnumeric-specific icon

Package:
gnumeric
Source:
gnumeric
Description:
spreadsheet application for GNOME - main program
Submitter:
Chad Wallace
Date:
2015-05-20 18:21:04 UTC
Severity:
normal
#784695#5
Date:
2015-05-07 20:25:54 UTC
From:
To:
Dear Maintainer,

In Gnumeric, whenever I hover the mouse over the cells, and it renders
the chubby cross cursor, it is slightly garbled.  The cursor itself
renders OK, but there's a box around it (probably double the cursor's
width and height, and centered on the cursor) that has garbage, and
leaves traces of previous positions of the cursor.

It seems like the box under the cursor is a window into a different
region, where the artifacts from previous cursors all blend together and
persist in that region...  Not sure if I'm explaining it properly...
I'll try to attach a picture of it.

I had to take a picture with a cell phone, rather than a screenshot,
because the screenshots either didn't show the cursor, or they showed
the cursor properly without this problem.

The problem does not occur when Gnumeric is rendering a stock cursor
(like the skinny cross for fill-down on the selected cell, or the regular
arrow you get on the toolbars and menus).  The only one that's garbled
is the chubby cross that's specific to Gnumeric.

I tried to reproduce this problem in Chromium by trying every different
value of the cursor CSS style, but they all rendered properly, even some
that looked like they were Chromium-specific.  Gnumeric is the only
program I've seen this problem in.  If you know of any others that use
their own cursors, I can try them to see what happens.

I'm not sure if this bug belongs to Gnumeric, or GTK, or Noveau or Xorg,
but I'm sure you can reassign it if you know better.

Thanks!

#784695#10
Date:
2015-05-07 21:13:39 UTC
From:
To:
-- 

C. Chad Wallace, B.Sc.
The Lodging Company
http://www.lodgingcompany.com/
OpenPGP Public Key ID: 0x262208A0

#784695#15
Date:
2015-05-08 05:43:57 UTC
From:
To:
Thanks for your report. I see the problem on your screenshot but I've never
experienced it and I am clueless regarding its origin. I suspect it might be
display adapter problem... You are using GNOME and free Nvidia driver, right?
Any chance you could try logging into another Desktop Environment to see if it
makes any difference? Thank you.
--- Much of humankind's intellectual and emotional struggle has been not for truth, but against truth. The advance of science has been sporadically fought against for thousands of years. -- C. W. Dalton, "The Right Brain and Religion"
#784695#22
Date:
2015-05-11 22:48:20 UTC
From:
To:
On Fri, 08 May 2015 15:43:57 +1000 Dmitry Smirnov <onlyjob@debian.org> wrote:

In an XFCE session, it does the same thing as the GNOME session.
But if I choose a "GNOME on Wayland" session the cursor works perfectly
in Gnumeric...  but I have other issues... like characters disappearing
and reappearing... and my second GPU doesn't work.

Also, if I don't apply my custom XRandR settings script (attached) on
the regular GNOME session (to enable the second GPU and third monitor),
the cursor is just fine.

#784695#27
Date:
2015-05-11 23:39:23 UTC
From:
To:
It would be interesting to try disabling hardware cursor:

    Option "HWCursor" "off"

See nouveau(4). Please let me know it it makes any difference.

#784695#32
Date:
2015-05-20 18:18:33 UTC
From:
To:
Well, I guess I should let you know...  I can't even try that.

I believe the only way to set that option is in the Device section in
xorg.conf.  Howerver, my system runs without an xorg.conf,
auto-detecting everything, and I haven't figured out how to set up the
Device sections.  Every time I try, gdm crashes hard and I have to
power-cycle or get a co-worker to reboot through SSH.

So I've decided to just get used to the odd cursor for now.  If I do
get around to trying that option, I'll keep you posted.

Thanks for your help!