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 308303 - rethink sync between edit-item and editline for autocomplete
rethink sync between edit-item and editline for autocomplete
Status: RESOLVED DUPLICATE of bug 338698
Product: Gnumeric
Classification: Applications
Component: GUI Expression Entry Widget
1.5.x
Other All
: Normal normal
: future
Assigned To: Jody Goldberg
Jody Goldberg
Depends on:
Blocks:
 
 
Reported: 2005-06-19 15:20 UTC by j.gnome
Modified: 2010-07-19 06:28 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description j.gnome 2005-06-19 15:20:49 UTC
Windows XP, 1.5.2-rc1

This is a follow-up to bug 165172.

1. New workbook
2. Type "aaaaaa" in A1, press enter
3. Type "aaa" in A2, press del (works)
4. Press enter
5. select cell A2, press F2, press "a"
6. Press del to cancel autocomplete

What happens: cell doesn't update and "aa" still appears selected. Pressing
shift fixes this.
Comment 1 Jody Goldberg 2005-07-31 14:22:30 UTC
interesting.  I'll have a look now.
Comment 2 Jody Goldberg 2005-08-01 03:22:31 UTC
I've patched this particular issue, but the larger question of how to sync the
editline and the in cell editing is unresolved.

A1 = 'aaaaaaaa'
start editing A2 by typing 'aaa'
<autocomplete>
Click on edit line

The cell now has the completion, the editline does not.
This is ridiculous.

We need to rethink this entirely for 1.7
Comment 3 André Klapper 2006-11-10 00:03:13 UTC
jody, please only use "NEEDINFO" state if you have asked the *reporter* for additional information. feel free to use the "assigned" state for developers who have to think about this. ;-)
Comment 4 Almer S. Tigelaar 2009-06-03 20:23:27 UTC
Looking at complete-sheet.c I see that the completion code is really pretty old. Since completion is clearly a GUI thing, the nicest solution would probably to use the (newer) gtk ListModel combined with GTK's own EntryCompletion. For 'in-sheet' editing this can probably also be made to work (at least using the same ListModel as for the Entry/editline). Such an approach would also solve the inconsistency.
Comment 5 Andreas J. Guelzow 2010-07-19 06:28:30 UTC

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