Integrated: 8267094: TreeCell: cancelEvent must return correct editing location

Jeanette Winzenburg fastegal at openjdk.java.net
Thu Jun 10 11:40:13 UTC 2021


On Fri, 28 May 2021 14:18:42 GMT, Jeanette Winzenburg <fastegal at openjdk.org> wrote:

> the bug is an incorrect edit location (for tree: treeItem) in edit cancel events - expected is the location at the time the cell edit was started, actual was the location of at the time the edit was cancelled. See the report for details.
> 
> Fixed by storing the edit location in startEdit and use that in cancelEdit.
> 
> Added tests that failed before and passed after and tests that (accidentally :) passed before and still pass after.

This pull request has now been integrated.

Changeset: e6cf1df4
Author:    Jeanette Winzenburg <fastegal at openjdk.org>
URL:       https://git.openjdk.java.net/jfx/commit/e6cf1df477a78d65e959e4d8f7b5a5de43f845f8
Stats:     196 lines in 3 files changed: 171 ins; 21 del; 4 mod

8267094: TreeCell: cancelEvent must return correct editing location

Reviewed-by: aghaisas

-------------

PR: https://git.openjdk.java.net/jfx/pull/524


More information about the openjfx-dev mailing list