Re: RFR: JDK-8294427 - Check boxes and radio buttons have rendering issues on Windows in High DPI env [v13]

2023-06-09 Thread Sergey Bylokhov
On Thu, 8 Jun 2023 20:39:09 GMT, Rajat Mahajan wrote: >>> So, we ask Windows for the component image based on a particular DPI , not >>> some specific size. The basic premise here is that we expect Windows >>> returning image that would match the DPI , and then we perform our >>> calculations

Re: RFR: 8307858: [REDO] JDK-8307194 Add make target for optionally building a complete set of all JDK and hotspot libjvm static libraries [v8]

2023-06-09 Thread Erik Joelsson
On Fri, 9 Jun 2023 23:04:33 GMT, Jiangli Zhou wrote: >> Original description for JDK-8307194 change: >> - >> This PR is branched from the makefile changes for >> https://bugs.openjdk.org/browse/JDK-8303796 and contains the following for >> handling the JDK/hotspot static libraries: >> >>

Re: RFR: 8307858: [REDO] JDK-8307194 Add make target for optionally building a complete set of all JDK and hotspot libjvm static libraries [v7]

2023-06-09 Thread Jiangli Zhou
On Fri, 9 Jun 2023 20:03:23 GMT, Erik Joelsson wrote: > All our builds succeeded, so this is looking pretty good now. Just a minor > suggestion left. Thanks a lot! > This combination of conditions is repeated 3 times. Maybe we could assign the > result to a variable (e.g. `$1_ENABLE_PARTIAL_L

Re: RFR: 8307858: [REDO] JDK-8307194 Add make target for optionally building a complete set of all JDK and hotspot libjvm static libraries [v8]

2023-06-09 Thread Jiangli Zhou
> Original description for JDK-8307194 change: > - > This PR is branched from the makefile changes for > https://bugs.openjdk.org/browse/JDK-8303796 and contains the following for > handling the JDK/hotspot static libraries: > > - Build hotspot libjvm.a and JDK static libraries for > stati

Re: RFR: 8309745: Problem list open client tests failing on Ubuntu_23.04

2023-06-09 Thread Sergey Bylokhov
On Fri, 9 Jun 2023 17:25:17 GMT, Alexander Zvegintsev wrote: > Several tests began to fail on Ubuntu 23.04, while passing on previous Ubuntu > releases. > They also fail with JDK 20, 17. > > So problem list them to reduce the noise. Then all of them looks like a regressions, that should not b

Re: RFR: 8307858: [REDO] JDK-8307194 Add make target for optionally building a complete set of all JDK and hotspot libjvm static libraries [v7]

2023-06-09 Thread Erik Joelsson
On Thu, 8 Jun 2023 20:34:15 GMT, Jiangli Zhou wrote: >> Original description for JDK-8307194 change: >> - >> This PR is branched from the makefile changes for >> https://bugs.openjdk.org/browse/JDK-8303796 and contains the following for >> handling the JDK/hotspot static libraries: >> >>

Integrated: 8309745: Problem list open client tests failing on Ubuntu_23.04

2023-06-09 Thread Alexander Zvegintsev
On Fri, 9 Jun 2023 17:25:17 GMT, Alexander Zvegintsev wrote: > Several tests began to fail on Ubuntu 23.04, while passing on previous Ubuntu > releases. > They also fail with JDK 20, 17. > > So problem list them to reduce the noise. This pull request has now been integrated. Changeset: f5ec9

Re: RFR: 8309745: Problem list open client tests failing on Ubuntu_23.04

2023-06-09 Thread Alexey Ivanov
On Fri, 9 Jun 2023 17:25:17 GMT, Alexander Zvegintsev wrote: > Several tests began to fail on Ubuntu 23.04, while passing on previous Ubuntu > releases. > They also fail with JDK 20, 17. > > So problem list them to reduce the noise. Marked as reviewed by aivanov (Reviewer). - PR

Re: Why does Java resize a Window to 1x1 pixel when HDMI is unplugged (and does not resize back when HDMI is plugged)

2023-06-09 Thread Martin Petzold
Dear Kevin, thanks for your reply and forwarding this message. I am referring to Java with XWayland mainly. We have an embedded device with i.MX8MP hardware platform. It is not that easy to go for very recent Linux platform, a lot of dependencies to hardware components. I already talked to t

Re: Why does Java resize a Window to 1x1 pixel when HDMI is unplugged (and does not resize back when HDMI is plugged)

2023-06-09 Thread Martin Petzold
Dear Kevin, thanks for your reply and forwarding this message. I am referring to Java with XWayland mainly. We have an embedded device with i.MX8MP hardware platform. It is not that easy to go for very recent Linux platform, a lot of dependencies to hardware components. I already talked to t

Re: RFR: 8309745: Problem list open client tests failing on Ubuntu_23.04

2023-06-09 Thread Alexander Zvegintsev
On Fri, 9 Jun 2023 17:56:57 GMT, Sergey Bylokhov wrote: > The SelectEditTableCell does not have any code related to rendering, why it > is started to fail robot cannot click on the components? At first glance, it seems that something related to insets has changed on the Ubuntu 23.04 side and

Re: RFR: 8309745: Problem list open client tests failing on Ubuntu_23.04

2023-06-09 Thread Sergey Bylokhov
On Fri, 9 Jun 2023 17:25:17 GMT, Alexander Zvegintsev wrote: > Several tests began to fail on Ubuntu 23.04, while passing on previous Ubuntu > releases. > They also fail with JDK 20, 17. > > So problem list them to reduce the noise. The SelectEditTableCell does not have any code related to re

RFR: 8309745: Problem list open client tests failing on Ubuntu_23.04

2023-06-09 Thread Alexander Zvegintsev
Several tests began to fail on Ubuntu 23.04, while passing on previous Ubuntu releases. They also fail with JDK 20, 17. So problem list them to reduce the noise. - Commit messages: - initial Changes: https://git.openjdk.org/jdk/pull/14400/files Webrev: https://webrevs.openjdk.org

Re: Why does Java resize a Window to 1x1 pixel when HDMI is unplugged (and does not resize back when HDMI is plugged)

2023-06-09 Thread Martin Petzold
Am 09.06.23 um 15:47 schrieb Aleksei Ivanov: If it is a full-screen JFrame, you can exit full-screen mode and enter it again. It may help. Thanks, I can restore the size with your suggestion: I'm now using a scheduled executor service to check size and if it is not full screen remove full scr

Re: RFR: 8307858: [REDO] JDK-8307194 Add make target for optionally building a complete set of all JDK and hotspot libjvm static libraries [v4]

2023-06-09 Thread Jiangli Zhou
On Fri, 2 Jun 2023 14:04:23 GMT, Erik Joelsson wrote: > > Sounds good for solving the macosx `ar` limitation differently. I'll change > > that. We can also exclude the partial linking part for gcc (due the older > > tool issue that you've found). Any concerns with including partial linking > >

Integrated: JDK-8305645: System Tray icons get corrupted when Windows primary monitor changes

2023-06-09 Thread Harshitha Onkar
On Wed, 7 Jun 2023 19:05:56 GMT, Harshitha Onkar wrote: > There are two scenarios related to tray icon distortion. > > 1. Single Screen - when DPI / Scale is changed on the fly - this was resolved > as part of [PR#8441](https://github.com/openjdk/jdk/pull/8441) > > 2. Multi Screen - when scree

Re: RFR: JDK-8309703: AIX build fails after JDK-8280982 [v2]

2023-06-09 Thread Tyler Steele
On Fri, 9 Jun 2023 10:42:59 GMT, Matthias Baesken wrote: >> After >> [JDK-8280982](https://bugs.openjdk.org/browse/JDK-8280982): [Wayland] >> [XWayland] java.awt.Robot taking screenshots >> the AIX build fails. >> We get >> >> * For target support_native_java.desktop_libawt_xawt_screencast_pipe

Re: RFR: JDK-8309703: AIX build fails after JDK-8280982 [v2]

2023-06-09 Thread Alexander Zvegintsev
On Fri, 9 Jun 2023 10:48:01 GMT, Martin Doerr wrote: > We should consider fixing it upstream, too > (https://github.com/PipeWire/pipewire). please note that this is only a mirror of https://gitlab.freedesktop.org/pipewire/pipewire/ - PR Comment: https://git.openjdk.org/jdk/pull/1

Re: RFR: JDK-8309703: AIX build fails after JDK-8280982 [v2]

2023-06-09 Thread Alexander Zvegintsev
On Fri, 9 Jun 2023 10:42:59 GMT, Matthias Baesken wrote: >> After >> [JDK-8280982](https://bugs.openjdk.org/browse/JDK-8280982): [Wayland] >> [XWayland] java.awt.Robot taking screenshots >> the AIX build fails. >> We get >> >> * For target support_native_java.desktop_libawt_xawt_screencast_pipe

Re: RFR: JDK-8304291: [AIX] Broken build after JDK-8301998

2023-06-09 Thread Alexey Ivanov
On Wed, 19 Apr 2023 10:38:19 GMT, Matthias Baesken wrote: > After the latest harfbuzz update, the AIX build is broken. The old clang > compiler from xlc16 does not compile harfbuzz correctly. > First issue in hb-algs.hh is that xlc16 clang still sets some GNUC-related > macros, so we do not ru

Re: Why does Java resize a Window to 1x1 pixel when HDMI is unplugged (and does not resize back when HDMI is plugged)

2023-06-09 Thread Aleksei Ivanov
If it is a full-screen JFrame, you can exit full-screen mode and enter it again. It may help. Try using a more recent JDK, as Kevin suggested. -- Regards, Alexey On 09/06/2023 12:55, Kevin Rushforth wrote: [Redirected from jdk-dev] You should be aware that Wayland is not a supported desktop

Re: RFR: JDK-8309703: AIX build fails after JDK-8280982 [v2]

2023-06-09 Thread Christoph Langer
On Fri, 9 Jun 2023 10:42:59 GMT, Matthias Baesken wrote: >> After >> [JDK-8280982](https://bugs.openjdk.org/browse/JDK-8280982): [Wayland] >> [XWayland] java.awt.Robot taking screenshots >> the AIX build fails. >> We get >> >> * For target support_native_java.desktop_libawt_xawt_screencast_pipe

Re: RFR: 4516654: Metalworks Demo: Window title not displayed fully in Low Vision Theme [v2]

2023-06-09 Thread Alexey Ivanov
On Fri, 9 Jun 2023 11:53:51 GMT, Prasanta Sadhukhan wrote: > No, but it looks wrong passing border value for font I couldn't agree more. :) - PR Review Comment: https://git.openjdk.org/jdk/pull/14346#discussion_r1224316886

Re: RFR: JDK-8304291: [AIX] Broken build after JDK-8301998

2023-06-09 Thread Adam Farley
On Wed, 19 Apr 2023 10:38:19 GMT, Matthias Baesken wrote: > After the latest harfbuzz update, the AIX build is broken. The old clang > compiler from xlc16 does not compile harfbuzz correctly. > First issue in hb-algs.hh is that xlc16 clang still sets some GNUC-related > macros, so we do not ru

Re: RFR: JDK-8304291: [AIX] Broken build after JDK-8301998

2023-06-09 Thread Matthias Baesken
On Wed, 19 Apr 2023 10:38:19 GMT, Matthias Baesken wrote: > After the latest harfbuzz update, the AIX build is broken. The old clang > compiler from xlc16 does not compile harfbuzz correctly. > First issue in hb-algs.hh is that xlc16 clang still sets some GNUC-related > macros, so we do not ru

Re: RFR: JDK-8304291: [AIX] Broken build after JDK-8301998

2023-06-09 Thread Adam Farley
On Wed, 19 Apr 2023 10:38:19 GMT, Matthias Baesken wrote: > After the latest harfbuzz update, the AIX build is broken. The old clang > compiler from xlc16 does not compile harfbuzz correctly. > First issue in hb-algs.hh is that xlc16 clang still sets some GNUC-related > macros, so we do not ru

Re: RFR: 4516654: Metalworks Demo: Window title not displayed fully in Low Vision Theme [v2]

2023-06-09 Thread Prasanta Sadhukhan
On Fri, 9 Jun 2023 10:29:26 GMT, Alexey Ivanov wrote: >> Prasanta Sadhukhan has updated the pull request incrementally with one >> additional commit since the last revision: >> >> Fix > > src/demo/share/jfc/Metalworks/BigContrastMetalTheme.java line 128: > >> 126: table.put("Password

Re: Why does Java resize a Window to 1x1 pixel when HDMI is unplugged (and does not resize back when HDMI is plugged)

2023-06-09 Thread Kevin Rushforth
[Redirected from jdk-dev] You should be aware that Wayland is not a supported desktop platform. Work is ongoing under the Wakefield [1] project to add such support, but that is a longer term effort. Having said that, many thing should already work, so you might try a more recent version of Jav

Re: RFR: 4516654: Metalworks Demo: Window title not displayed fully in Low Vision Theme [v2]

2023-06-09 Thread Alexey Ivanov
On Fri, 9 Jun 2023 05:39:15 GMT, Prasanta Sadhukhan wrote: > Fix is to make sure `x Offset` is calculated with correct width so it will > become 5 +30 (icon width) + 5 = 40 > > Issue of not getting large icon proportional to icon size is another issue > and will be tackled separately. Looks

Re: RFR: 4516654: Metalworks Demo: Window title not displayed fully in Low Vision Theme [v2]

2023-06-09 Thread Alexey Ivanov
On Fri, 9 Jun 2023 05:33:19 GMT, Prasanta Sadhukhan wrote: >> In Metalworks demo in Low Vision theme, window title is not diplayed fully >> in this theme. The first letter of the title, that is letter "M", is cut >> vertically >> >> ![image](https://github.com/openjdk/jdk/assets/43534309/b122

Re: RFR: JDK-8309703: AIX build fails after JDK-8280982 [v2]

2023-06-09 Thread Martin Doerr
On Fri, 9 Jun 2023 10:42:59 GMT, Matthias Baesken wrote: >> After >> [JDK-8280982](https://bugs.openjdk.org/browse/JDK-8280982): [Wayland] >> [XWayland] java.awt.Robot taking screenshots >> the AIX build fails. >> We get >> >> * For target support_native_java.desktop_libawt_xawt_screencast_pipe

Re: RFR: JDK-8305645: System Tray icons get corrupted when Windows primary monitor changes

2023-06-09 Thread Alexey Ivanov
On Wed, 7 Jun 2023 19:05:56 GMT, Harshitha Onkar wrote: > There are two scenarios related to tray icon distortion. > > 1. Single Screen - when DPI / Scale is changed on the fly - this was resolved > as part of [PR#8441](https://github.com/openjdk/jdk/pull/8441) > > 2. Multi Screen - when scree

Re: RFR: JDK-8305645: System Tray icons get corrupted when Windows primary monitor changes

2023-06-09 Thread Alexey Ivanov
On Fri, 9 Jun 2023 00:05:09 GMT, Harshitha Onkar wrote: > I checked the case where both monitors are at same scale and the the primary > display is toggled btw the two, WM_DISPLAYCHANGE is received but > WmTaskbarCreated() is not called in this scenario and as a result > updateNativeImage() is

Re: RFR: JDK-8309703: AIX build fails after JDK-8280982 [v2]

2023-06-09 Thread Matthias Baesken
> After > [JDK-8280982](https://bugs.openjdk.org/browse/JDK-8280982): [Wayland] > [XWayland] java.awt.Robot taking screenshots > the AIX build fails. > We get > > * For target support_native_java.desktop_libawt_xawt_screencast_pipewire.o: > In file included from > /aixbuild/jdk-dev/src/java.desk

RFR: JDK-8309703: AIX build fails after JDK-8280982

2023-06-09 Thread Matthias Baesken
After [JDK-8280982](https://bugs.openjdk.org/browse/JDK-8280982): [Wayland] [XWayland] java.awt.Robot taking screenshots the AIX build fails. We get * For target support_native_java.desktop_libawt_xawt_screencast_pipewire.o: In file included from /aixbuild/jdk-dev/src/java.desktop/unix/native/li

Re: RFR: 4516654: Metalworks Demo: Window title not displayed fully in Low Vision Theme [v2]

2023-06-09 Thread Tejesh R
On Fri, 9 Jun 2023 05:33:19 GMT, Prasanta Sadhukhan wrote: >> In Metalworks demo in Low Vision theme, window title is not diplayed fully >> in this theme. The first letter of the title, that is letter "M", is cut >> vertically >> >> ![image](https://github.com/openjdk/jdk/assets/43534309/b122