[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-openjfx-dev
Subject:    RFR: 8267094: TreeCell: cancelEvent must return correct editing location
From:       Jeanette Winzenburg <fastegal () openjdk ! java ! net>
Date:       2021-05-28 14:24:15
Message-ID: BvntuLIJBLqSAtvegCCqkZD_6zvhlCUu-tYz_fecp9g=.8b81150f-bf6c-4660-b735-f11a1b6aaa93 () github ! com
[Download RAW message or body]

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.

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

Commit messages:
 - 8267094: TreeCell: cancelEvent must return correct editing location

Changes: https://git.openjdk.java.net/jfx/pull/524/files
 Webrev: https://webrevs.openjdk.java.net/?repo=jfx&pr=524&range=00
  Issue: https://bugs.openjdk.java.net/browse/JDK-8267094
  Stats: 123 lines in 3 files changed: 98 ins; 22 del; 3 mod
  Patch: https://git.openjdk.java.net/jfx/pull/524.diff
  Fetch: git fetch https://git.openjdk.java.net/jfx pull/524/head:pull/524

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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic