On Wed, 28 Apr 2021 20:26:35 GMT, Marius Hanl 
<github.com+66004280+mara...@openjdk.org> wrote:

> This PR is fixing a bug, when a right click on a table column is performed. 
> By doing that, the table columns will lose the resize cursor thus they can 
> not be resized anymore.
> 
> The reason for that is that the **columnDragLock** will not reset (to false).
> This flag is set to true, when a mouse press is detected (on a table column) 
> and to false, when a mouse release is detected. Unfortunately, this flag is 
> not reset on a right click, because a check (**#isPopupTrigger()**) will 
> guard against it.
> 
> With this PR, this flag will always reset to false inside the mouse released 
> handler.

This pull request has now been integrated.

Changeset: e76b7b1d
Author:    Marius Hanl <mariush...@web.de>
Committer: Ajit Ghaisas <aghai...@openjdk.org>
URL:       
https://git.openjdk.java.net/jfx/commit/e76b7b1d65cef917630d1c8528d6be56c16c015f
Stats:     56 lines in 3 files changed: 50 ins; 3 del; 3 mod

8186904: TableColumnHeader: resize cursor lost on right click

Reviewed-by: aghaisas

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

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

Reply via email to