RFR: 8274061: Tree-/TableRowSkin: misbehavior on switching skin [v2]
Marius Hanl
mhanl at openjdk.java.net
Mon Nov 1 13:02:15 UTC 2021
On Mon, 1 Nov 2021 12:54:12 GMT, Jeanette Winzenburg <fastegal at openjdk.org> wrote:
>> modules/javafx.controls/src/main/java/javafx/scene/control/skin/TreeTableRowSkin.java line 365:
>>
>>> 363: // Fix for RT-27782: Need to set isDirty to true, rather than the
>>> 364: // cheaper updateCells, as otherwise the text indentation will not
>>> 365: // be recalculated in TreeTableCellSkin.leftLabelPadding()
>>
>> Actually this comment is not correct anymore since my PR got merged (https://github.com/openjdk/jfx/pull/568).
>> Instead, it should be `TreeTableCellSkin.calculateIndentation()`.
>
> well .. that would be a merge conflict, had you updated the code comment in your PR As noted in my comments to Ajit's review, the listener registration is simply moved (including the code comment .. belatedly :)
>
> Not sure how to handle it from here - following the rules, we might need a follow-up issue to the issue fixed in your PR?
My PR is already merged, so this is not a problem. :)
I dont know, but since this is only fixing a (also before) wrong comment it might be okay as it is very minor? :)
-------------
PR: https://git.openjdk.java.net/jfx/pull/632
More information about the openjfx-dev
mailing list