[prev in list] [next in list] [prev in thread] [next in thread] 

List:       openjdk-2d-dev
Subject:    Re: WindowsLookAndFeel change in JDK 22
From:       Simon Nash <simon () cjnash ! com>
Date:       2023-11-27 14:43:00
Message-ID: d64d2551-07d0-de02-5512-1f4aea8c1c72 () cjnash ! com
[Download RAW message or body]

Yes, definitely OK on JDK 21.0.1 and not OK on JDK 22 b16.

Simon

On 25/11/2023 22:57, Philip Race wrote:
> I'm stumped then. Definitely not a problem with JDK 21u1 ?
> https://download.java.net/java/GA/jdk21.0.1/415e3f918a1f4062a0074a2794853d0d/12/GPL/openjdk-21.0.1_windows-x64_bin.zip
>  
> Try some earlier JDK 22 build too - looks like b16 is the earliest that is \
> available for download \
> https://download.java.net/java/early_access/jdk22/16/GPL/openjdk-22-ea+16_windows-x64_bin.zip
>  
> -phil.
> 
> On 11/25/23 1:46 PM, Simon Nash wrote:
> > I tried this with JDK 22 b22 and I got the same result. I will investigate \
> > further. 
> > Simon
> > 
> > On 25/11/2023 18:33, Philip Race wrote:
> > > Re-read the last line of my previous email and you'll see the answer.
> > > 
> > > -phil.
> > > 
> > > On 11/25/23 2:09 AM, Simon Nash wrote:
> > > > Thanks for confirming that this change was not intentional. I am using the \
> > > > JDK 22 b24 EA build. When was the Windows compiler and SDK updated? 
> > > > Simon
> > > > 
> > > > On 24/11/2023 23:30, Philip Race wrote:
> > > > > I don't recall anything specific to this. Since you say "current EA build", \
> > > > > does that imply very recently ? My guess is that it is fall out from \
> > > > > upgrading the Windows compiler + SDK and we are no longer able to load the \
> > > > > uxtheme library on Windows 7 needed for the WindowsL&F. Note that it has \
> > > > > been several years since anyone supported or tested Windows 7. If you can \
> > > > > confirm this started with JDK 22 b23 that would pretty much confirm the \
> > > > > theory. 
> > > > > -phil.
> > > > > 
> > > > > On 11/24/23 3:08 PM, Simon Nash wrote:
> > > > > > In the current EA build of JDK 22, selecting WindowsLookAndFeel on \
> > > > > > Windows 7 shows the same (ugly) UI style as WindowsClassicLookAndFeel. 
> > > > > > With JDK 22 on Windows 10 and also with JDK 21 and below on both Windows \
> > > > > > 7 and Windows 10, this works as expected with different styles for  \
> > > > > > WindowsLookAndFeel and WindowsClassicLookAndFeel. 
> > > > > > Is this an intentional change in JDK 22 or a bug? If it is intentional, \
> > > > > > what was the reason? 
> > > > > > Thanks, Simon
> > > > > 
> > > > > 
> > > > 
> > > 
> > > 
> > 
> 
> 


[Attachment #3 (text/html)]

<html>
  <head>
    <meta content="text/html; charset=utf-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Yes, definitely OK on JDK 21.0.1 and not OK on JDK 22 b16.<br>
    <br>
    Simon<br>
    <br>
    <div class="moz-cite-prefix">On 25/11/2023 22:57, Philip Race wrote:<br>
    </div>
    <blockquote
      cite="mid:f8a23e32-e1df-4f48-928b-3d05fa2850b3@oracle.com"
      type="cite">I'm stumped then. Definitely not a problem with JDK
      21u1 ?
      <br>
<a class="moz-txt-link-freetext" \
href="https://download.java.net/java/GA/jdk21.0.1/415e3f918a1f4062a0074a2794853d0d/12/ \
GPL/openjdk-21.0.1_windows-x64_bin.zip">https://download.java.net/java/GA/jdk21.0.1/415e3f918a1f4062a0074a2794853d0d/12/GPL/openjdk-21.0.1_windows-x64_bin.zip</a>
  <br>
      <br>
      Try some earlier JDK 22 build too - looks like b16 is the earliest
      that is available for download
      <br>
<a class="moz-txt-link-freetext" \
href="https://download.java.net/java/early_access/jdk22/16/GPL/openjdk-22-ea+16_window \
s-x64_bin.zip">https://download.java.net/java/early_access/jdk22/16/GPL/openjdk-22-ea+16_windows-x64_bin.zip</a>
  <br>
      <br>
      -phil.
      <br>
      <br>
      On 11/25/23 1:46 PM, Simon Nash wrote:
      <br>
      <blockquote type="cite">I tried this with JDK 22 b22 and I got the
        same result. I will investigate further.
        <br>
        <br>
        Simon
        <br>
        <br>
        On 25/11/2023 18:33, Philip Race wrote:
        <br>
        <blockquote type="cite">Re-read the last line of my previous
          email and you'll see the answer.
          <br>
          <br>
          -phil.
          <br>
          <br>
          On 11/25/23 2:09 AM, Simon Nash wrote:
          <br>
          <blockquote type="cite">Thanks for confirming that this change
            was not intentional. I am using the JDK 22 b24 EA build.
            When was the Windows compiler and SDK updated?
            <br>
            <br>
            Simon
            <br>
            <br>
            On 24/11/2023 23:30, Philip Race wrote:
            <br>
            <blockquote type="cite">I don't recall anything specific to
              this. Since you say "current EA build", does that imply
              very recently ?
              <br>
              My guess is that it is fall out from upgrading the Windows
              compiler + SDK and
              <br>
              we are no longer able to load the uxtheme library on
              Windows 7 needed for the WindowsL&amp;F.
              <br>
              Note that it has been several years since anyone supported
              or tested Windows 7.
              <br>
              If you can confirm this started with JDK 22 b23 that would
              pretty much confirm the theory.
              <br>
              <br>
              -phil.
              <br>
              <br>
              On 11/24/23 3:08 PM, Simon Nash wrote:
              <br>
              <blockquote type="cite">In the current EA build of JDK 22,
                selecting WindowsLookAndFeel on Windows 7 shows the same
                (ugly) UI style as WindowsClassicLookAndFeel.
                <br>
                <br>
                With JDK 22 on Windows 10 and also with JDK 21 and below
                on both Windows 7 and Windows 10, this works as expected
                with different styles for WindowsLookAndFeel and
                WindowsClassicLookAndFeel.
                <br>
                <br>
                Is this an intentional change in JDK 22 or a bug? If it
                is intentional, what was the reason?
                <br>
                <br>
                Thanks, Simon
                <br>
              </blockquote>
              <br>
              <br>
            </blockquote>
            <br>
          </blockquote>
          <br>
          <br>
        </blockquote>
        <br>
      </blockquote>
      <br>
      <br>
    </blockquote>
    <br>
  </body>
</html>



[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic