RFR: 8207333: [Linux, macOS] Column sorting is triggered always after context menu request on table header
Andy Goryachev
angorya at openjdk.org
Tue Apr 8 21:50:23 UTC 2025
On Tue, 8 Apr 2025 21:18:51 GMT, Jose Pereda <jpereda at openjdk.org> wrote:
>> Testing on macOS 15.3.2, it does not get stuck when using control+left-click, works as expected.
>>
>> There is one (existing and unrelated) problem - if the user tries to dismiss the popup menu by clicking on the header, it dismisses the popup (correctly), but then proceeds to re-sort the table (unexpected).
>>
>> One can say it works as designed, since the click falls on a header cell and the expected operation is to toggle the sorting, with the side effect of dismissing the popup.
>>
>> On the other hand, Excel (both mac and windows) behaves differently - a click on the spreadsheet header dismisses the popup and does not select the column, as it normally does when no popup is present.
>>
>> What do you guys think?
>
> control+left-click works as expected for me too.
>
> When the context menu is showing, clicking anywhere outside of it, closes the popup (because of the autohide property), but doesn't consume the event. If you click on a button, for instance, it will be fired. In any case, this is the same before and after this PR, so maybe an issue for a later discussion.
definitely an unrelated issue, I just wanted to ask whether you guys think it crosses the threshold for a bug.
-------------
PR Review Comment: https://git.openjdk.org/jfx/pull/1754#discussion_r2034076661
More information about the openjfx-dev
mailing list