On Tue, 8 Apr 2025 18:20:54 GMT, Andy Goryachev <ango...@openjdk.org> wrote:

>> modules/javafx.controls/src/main/java/javafx/scene/control/skin/TableColumnHeader.java
>>  line 275:
>> 
>>> 273:     private static final EventHandler<MouseEvent> mouseReleasedHandler 
>>> = me -> {
>>> 274:         TableColumnHeader header = (TableColumnHeader) me.getSource();
>>> 275:         header.getTableHeaderRow().columnDragLock = false;
>> 
>> On Ubuntu 22.04 the table column header is not receiving a mouse released 
>> event if a context menu is shown. Not sure where the released event is going 
>> but it's not to any node on the primary stage. The docs are vague on this 
>> but this looks like a separate bug that's making it hard to test this PR.
>
> what happens in the master branch (without this PR's changes)?

I was having trouble reproducing the original bug on the master branch; the 
sorting is done when the mouse is released and most of the time that event 
never arrives (I think it does every now and then).

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

PR Review Comment: https://git.openjdk.org/jfx/pull/1754#discussion_r2033828966

Reply via email to