JDK-8154847 : Windows content is blank when using StageStyle.UNIFIED

Anirvan Sarkar powers.anirvan at gmail.com
Mon Aug 17 12:41:52 UTC 2020


I can see in the implementation that
Platform.isSupported(ConditionalFeature.UNIFIED_WINDOW) is always false on
Linux [1].
So it seems that the issue does not occur in Linux because
StageStyle.UNIFIED is not supported there and so as per the specification
[2] the StageStyle is downgraded to StageStyle.DECORATED.

The workaround of using SW pipeline does not resolve the issue for me when
the below option is selected and accent color is changed.

        Settings (Win + I) -> Personalization -> Colors -> Show accent
color on the following surfaces -> Title bars and window borders

I was expecting the background color of the window content to be the same
as the title bar color / accent color but it is not.
Since this issue is in the SW pipeline I don't think the issue is due to a
graphics driver bug, or maybe this is a different bug.

I have attached my observations in the JBS issue.

[1] :
[2] :

On Sat, 8 Aug 2020 at 05:25, Kevin Rushforth <kevin.rushforth at oracle.com>

> Thanks for the additional information. I added it to the bug report.
> It is interesting to note that it doesn't happen on Linux when running
> on the same HW, although it isn't surprising. This is likely a graphics
> driver bug, as opposed to a fundamental HW issue, so it isn't surprising
> that the results would be different on Linux.
> -- Kevin
> On 8/7/2020 1:09 PM, Hannes H. wrote:
> > Good evening,
> >
> > Weeks ago I reported a duplicate to JDK-8154847 because I did not realize
> > that this has been reported years ago.
> >
> > As far as I understand most of the contributors to this ticket believe
> that
> > the problem is related to specific video cards. Since I can reproduce
> this
> > issue on my developer notebook on Windows 10, I decided to install Linux
> > (not on a VM but actually on the hardware) to check if I can reproduce
> > the issue there as well.
> >
> > First tests show that this issue cannot be reproduced on Linux Mint while
> > it can on the very same hardware when using Windows 10.
> >
> > I am not sure if this information helps anyone. I decided to send it to
> > this mailing list since I find it very cumbersome to create - another -
> > duplicate of an issue just to add information.
> >
> > If you have any further questions or I can be of assistance with
> > reproducing the issue please let me know.
> >
> > Kind regards,
> > Hannes


More information about the openjfx-dev mailing list