After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 728116 - Graphics artifact in search results
Graphics artifact in search results
Status: RESOLVED FIXED
Product: gnome-maps
Classification: Applications
Component: general
3.12.x
Other All
: Normal normal
: ---
Assigned To: gnome-maps-maint
gnome-maps-maint
Depends on: 728284
Blocks:
 
 
Reported: 2014-04-13 15:30 UTC by Bastien Nocera
Modified: 2014-06-11 23:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Screenshot (67.04 KB, image/png)
2014-04-15 18:15 UTC, Rishi Raj Singh Jhelumi
Details

Description Bastien Nocera 2014-04-13 15:30:21 UTC
Might be a GTK+ bug.

Search for "Sablons", and scroll in the results using the mouse wheel or 2 fingers on the touchpad, you'll get bits of selected background (blue) show up in the list and not get updated.
Comment 1 Jonas Danielsson 2014-04-15 18:07:56 UTC
Yeah, whats up with that?

I'll see if I can come up with a stand-alone reproducer to see if it's a GTK+ bug (or if someone else wants to have a go at it, please go ahead).

If someone knows a GTK+ hacker with loads of free time (like those exists) pointing them towards this would be nice.
Comment 2 Rishi Raj Singh Jhelumi 2014-04-15 18:15:21 UTC
Created attachment 274388 [details]
Screenshot

The bug looks somewhat like this and this happens on scrolling the list with mouse cursor on top of it.

it may be solved by setting 
       <property name="hover-selection">False</property>
but then it loses focus(doesn't show the row you are on as a blue highlighted) on what list row you are on.

I experimented further with the above property set to False, and used a css class that would give same result on hover 

.search-list GtkTreeView:hover {
    background: #3465A4;
    color: #ffffff;
}

and still the list is not getting updated, blue colors like in image still remain.

So I guess this is a problem with "hover-selection" of GtkTreeView while scrolling, not just a maps problem.

I might be wrong, and there might be a workaround for that which I missed.
Comment 3 Jonas Danielsson 2014-04-15 18:37:19 UTC
Managed to reproduce it with simple c program, filed bug in Gtk+ as bug #728284
Comment 4 Mattias Bengtsson 2014-06-11 23:50:57 UTC
This is fixed as of some recent Gtk+ release. Closing.