On Tue, 16 Jul 2024 19:44:40 GMT, Damon Nguyen <[email protected]> wrote:

> But why does this only apply to custom LAFs? What does Nimbus and GTK do 
> differently? Because I'm assuming the fix was for all 3 before, but now 
> you're just removing the fix from Synth and applying it to GTK & Nimbus.

The painter for the GTK, Nimbus and custom xml based synth style is different 
and that is the reason when custom xml is used the painting is done 
differently. In this case the custom painter is ParsedSynthStyle's Delegating 
Painter which invokes ImagePainter's paintTabbedPaneTabBackground API to paint 
the tabs using the image mentioned in xml file  (i.e. path).

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

PR Comment: https://git.openjdk.org/jdk/pull/20091#issuecomment-2232569789

Reply via email to