RFR: 6318027: BasicScrollBarUI does not disable timer when enclosing frame is disabled. [v2]
Prasanta Sadhukhan
psadhukhan at openjdk.org
Wed Aug 7 07:59:31 UTC 2024
On Fri, 2 Aug 2024 21:32:02 GMT, Alisen Chung <achung at openjdk.org> wrote:
>> src/java.desktop/share/classes/javax/swing/plaf/basic/BasicScrollBarUI.java line 1614:
>>
>>> 1612: // mouseReleased is not called after mousePressed when
>>> 1613: // this AcionEvent is being processed
>>> 1614: if (buttonListener.handledEvent) {
>>
>> Since the fix is added in BasicScrollBarUI, will it affect Aqua ScrollBar also?
>
> I think most L&F's ScrollBarUI classes are extending BasicScrollBarUI so it might be worth checking if this issue also occurs in those L&Fs too
Aqua ScrollBar does not have arrowbutton so ArrowButtonListener, as mentioned in JBS, is not there but there is trackpad and there is similar issue with it but it cannot be handled with this "handledEvent" and needs to be handled separately so as of now AquaL&F is omitted from the testing..Other L&F are fine as per the testing..
-------------
PR Review Comment: https://git.openjdk.org/jdk/pull/20346#discussion_r1706556828
More information about the client-libs-dev
mailing list