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 479270 - cell-editing loses state when treeview is de-focused
cell-editing loses state when treeview is de-focused
Status: RESOLVED DUPLICATE of bug 164494
Product: gtk+
Classification: Platform
Component: Widget: GtkTreeView
2.12.x
Other All
: Normal normal
: ---
Assigned To: gtktreeview-bugs
gtktreeview-bugs
Depends on:
Blocks:
 
 
Reported: 2007-09-22 14:03 UTC by Allin Cottrell
Modified: 2007-09-24 18:31 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Allin Cottrell 2007-09-22 14:03:13 UTC
Please describe the problem:
If you start editing in a treeview cell, but do not commit the edit by pressing Enter, then the edit-in-progress is lost if the treeview window is de-focused.
If the window management policy is "focus follows mouse", it is enough to move the pointer out of the treeview window to lose the edit; if the policy is "click to focus", clicking anywhere outside of the treeview loses the edit.

This seems very counter-intuitive.  When you see it happen you think "Wha...?!"

Steps to reproduce:
1. Start gtk-demo, and activate the Editable Cells item.
2. Start editing the "bottles of coke" cell
3. Move the pointer out of the treeview window (focus follows mouse)
4. The edit is gone
5. Put the pointer back in the treeview: the edit is still gone


Actual results:
The treeview cell in question reverts to its original content.

Expected results:
The cell retains its state (edit in progress), in face of pointer movement
in and out of the treeview window.  

Does this happen every time?
Yes.

Other information:
Comment 1 Kristian Rietveld 2007-09-24 18:31:35 UTC

*** This bug has been marked as a duplicate of 164494 ***