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 710315 - Revert "treeview: Store editable position differently"
Revert "treeview: Store editable position differently"
Status: RESOLVED FIXED
Product: gtk+
Classification: Platform
Component: Widget: GtkTreeView
3.10.x
Other Linux
: Normal normal
: ---
Assigned To: gtktreeview-bugs
gtktreeview-bugs
: 721157 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2013-10-16 19:03 UTC by Olivier Brunel (jjacky)
Modified: 2013-12-28 16:30 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Olivier Brunel (jjacky) 2013-10-16 19:03:48 UTC
Commit 6f9dc0ff seems to break a few things:

- When scrolling while there's editing, drawing is all messed up. E.g. the GtkEntry editable gets only half-visible, visible multiple times, at the wrong place...

- This ignores completely the given cell_area and forces the editable to be resized over the entire "column", which isn't always what the cell_area is (e.g. when multiple renderers are present in the same "column")

(Also, commit says it fixes /TreeView/scrolling/new-row-mixed/path-500 test; but that test passes fine for me with or without it.)
Comment 1 Benjamin Otte (Company) 2013-10-28 17:40:52 UTC
Without looking at the patch in detail, the test is flaky without that patch. To make it fail reliably, I think you needed to run it on a heavily loaded machine.

The flakiness depended on some row validation callbacks running/not running before the first expose event.
Comment 2 Olivier Brunel (jjacky) 2013-10-28 17:52:18 UTC
Well, with the commit it still completely ignores the given cell_area and forces the editable over the whole column/cell, which simply isn't right. And it also fails to draw correctly when scrolling is involved.

So while there might be improvements to be done there, this doesn't look like this is it, as it makes things much worse.
Comment 3 Benjamin Otte (Company) 2013-12-28 14:44:31 UTC
*** Bug 721157 has been marked as a duplicate of this bug. ***
Comment 4 Olivier Brunel (jjacky) 2013-12-28 16:30:57 UTC
Commit 6d811a67 does address the fact that the editable was forced over the whole column/cell, but it didn't fix the fact that when there's scrolling involved while editing, or when starting to edit a not (fully) visible row, it fails to draw correctly/where it should; Something that worked fine before 6f9dc0ff.