On 03/29/2014 03:34 PM, Benoît Minisini wrote:
I was able to try version 3.5.1 from RPMs found online. The behavior is
the same.

But, I think I may have come to an incorrect conclusion about the
triggering of the Save event, due to the behavior of the ENTER key.

While editing a cell, causing modified data, the ENTER key appears to do
nothing in that it does not advance the cell-cursor to the next cell
like the RETURN key does.

However, pressing ESC to cancel editing, after pressing ENTER,
immediately cancels all editing and shows that the cell contents have
indeed been saved. Normally, it takes two key presses of ESC to cancel
all editing. Once to cancel the current modification, and then a second
time to cancel the Edit operation.

So ENTER does seem to be triggering the Save event, but it does not
behave consistently with the other keys that also trigger that event.

I tried this also with gb.gtk. Or at least I think I did. I set the
GB_GUI environmental variable with `GB_GUI=gb.gtk`. I hope that was the
correct way to do it as there are no examples to follow on
http://gambaswiki.org/wiki/comp/gb.gui

The behavior was the same.

Regards,
Lee


Can you provide me a small project that reproduces that bug?

--
Benoît Minisini

Sure. I am not exactly sure how to share Gambas projects. I have attached TableviewEditEnterBug.tar which is an archive of the project directory. I hope that was the right way to do it.

Regards,
Lee

Attachment: TableviewEditEnterBug.tar
Description: Unix tar archive

------------------------------------------------------------------------------
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to