Re: RFR: 8280468: Crashes in getConfigColormap, getConfigVisualId, XVisualIDFromVisual on Linux

2022-01-21 Thread Sergey Bylokhov
On Fri, 21 Jan 2022 17:02:38 GMT, Maxim Kartashev wrote: > These crashes were not reproducible, so the fix is based on a hypothesis that > there are two possible reasons for them: > 1. `makeDefaultConfig()` returning `NULL`. > 2. A race condition when the number of screens changes. > The race sc

Re: Kindly request your attention for a really annoying visual Java bug on Linux Mint

2022-01-21 Thread Aleksei Ivanov
Dear Stefan, Thank you for reporting the bug. You could have submitted the bug via https://bugreport.java.com/bugreport/ Anyway, I reproduced the issue and now I've submitted the bug for you: https://bugs.openjdk.java.net/browse/JDK-8280482 "Window transparency bug on Linux Mint" I attached a

Kindly request your attention for a really annoying visual Java bug on Linux Mint

2022-01-21 Thread Stefan Reich
Dear Sirs or Madams, I make a visual recognition tool in Java that would tremendously benefit from the ability to show translucent windows. Indeed, Java has such an ability but it is broken on my Linux Mint 19 ThinkPad for unknown reasons (screenshot

Re: RFR: 8274751: Drag And Drop hangs on Windows

2022-01-21 Thread Sergey Bylokhov
On Tue, 18 Jan 2022 12:51:56 GMT, Dmitry Markov wrote: > When an object is moved from one window (DnD source) to another window (DnD > target) the first window may also be considered as a DnD target and the > native OS sends corresponding events to it. That event processing clears > isInDoDrag

Re: RFR: 8279673: AudioClip.play doesn't work due to NullPointerException when creating DataPusher

2022-01-21 Thread Phil Race
On Sun, 14 Nov 2021 20:02:27 GMT, Andrey Turbanov wrote: > There is possible NPE, when trying to play AudioClip > > import java.applet.AudioClip; > import java.io.IOException; > import java.net.URL; > > > public class AudioNpe { > public static void main(String[] args) throws IOException,

RFR: 8280468: Crashes in getConfigColormap, getConfigVisualId, XVisualIDFromVisual on Linux

2022-01-21 Thread Maxim Kartashev
These crashes were not reproducible, so the fix is based on a hypothesis that there are two possible reasons for them: 1. `makeDefaultConfig()` returning `NULL`. 2. A race condition when the number of screens changes. The race scenario: `X11GraphisDevice.makeDefaultConfiguration()` is called on E

Re: RFR: 8279673: AudioClip.play doesn't work due to NullPointerException when creating DataPusher

2022-01-21 Thread Andrey Turbanov
On Wed, 15 Dec 2021 01:40:16 GMT, Sergey Bylokhov wrote: >> There is possible NPE, when trying to play AudioClip >> >> import java.applet.AudioClip; >> import java.io.IOException; >> import java.net.URL; >> >> >> public class AudioNpe { >> public static void main(String[] args) throws IOEx