Bug: ComboBox dropdown list of combobox is not taking Scale Transformation in consideration

Kevin Rushforth kevin.rushforth at oracle.com
Mon Mar 7 16:20:39 UTC 2022


This sounds like JDK-8088757 [1], "Scale of control does not cross to 
popup in popup-based controls". Yes, it does seems like a legitimate bug 
to me. Fixing it might result in a surprising behavior change for some 
existing applications, given how long this behavior has been in place 
(the bug in question was filed 10 years ago), but that's not a good 
enough reason to avoid fixing the bug. As usual, it will come down to 
priorities. If someone has time to fix this, it will make it a lot more 
likely for it to be fixed.

-- Kevin

[1] https://bugs.openjdk.java.net/browse/JDK-8088757

On 3/6/2022 4:52 PM, Neacsu Cristian wrote:
> Hello,
>
> I am using ComboBoxes all over the place in my application.
> Until now, my application was in full-screen mode. Now due to the request
> of clients to create the possibility to move it around on multiple screen,
> I created the option to move it on dual screens and so on. To achieve
> different resolution I am using the Scale transformation and add it to the
> main node, in order to scale everything.
> Everything is working properly, but the drop down list is taking the width
> of the combo box unscaled (and if resolution differs from the one that was
> initiated, the drop down list width will differ from the combobox itself).
> Is it a legit bug?
>
> Thank you in advance,
> Cristian-Stefan



More information about the openjfx-dev mailing list