Re: RFR: 8264786: [macos] All Swing/AWT apps cause Allow Notifications prompt to appear when app is launched

2021-05-01 Thread Sergey Bylokhov
On Sat, 1 May 2021 11:26:39 GMT, Prasanta Sadhukhan wrote: > Please confirm if it is working in 10.14 and in multiscreen environment. > Also, I guess a testcase can be written to see if notification center is > coming up for normal awt non-trayicon app(obscuring normal awt window or not) I

Re: RFR: 8264786: [macos] All Swing/AWT apps cause Allow Notifications prompt to appear when app is launched

2021-05-01 Thread Alexander Zuev
On Tue, 27 Apr 2021 01:09:44 GMT, Sergey Bylokhov wrote: > The fix for the JDK-8187639 reimplemented the tray icon messages using the > standard notification center, it worked fine on macOS 10.9. But on the new > macOS, the usage of that API requests permission from the user. Since the > code

Re: RFR: 8264786: [macos] All Swing/AWT apps cause Allow Notifications prompt to appear when app is launched

2021-05-01 Thread Prasanta Sadhukhan
On Tue, 27 Apr 2021 01:09:44 GMT, Sergey Bylokhov wrote: > The fix for the JDK-8187639 reimplemented the tray icon messages using the > standard notification center, it worked fine on macOS 10.9. But on the new > macOS, the usage of that API requests permission from the user. Since the > code

Re: RFR: 8264786: [macos] All Swing/AWT apps cause Allow Notifications prompt to appear when app is launched

2021-04-29 Thread Victor Dyakov
On Tue, 27 Apr 2021 01:09:44 GMT, Sergey Bylokhov wrote: > The fix for the JDK-8187639 reimplemented the tray icon messages using the > standard notification center, it worked fine on macOS 10.9. But on the new > macOS, the usage of that API requests permission from the user. Since the > code

Re: RFR: 8264786: [macos] All Swing/AWT apps cause Allow Notifications prompt to appear when app is launched

2021-04-28 Thread Alexander Zvegintsev
On Tue, 27 Apr 2021 01:09:44 GMT, Sergey Bylokhov wrote: > The fix for the JDK-8187639 reimplemented the tray icon messages using the > standard notification center, it worked fine on macOS 10.9. But on the new > macOS, the usage of that API requests permission from the user. Since the > code

Re: RFR: 8264786: [macos] All Swing/AWT apps cause Allow Notifications prompt to appear when app is launched

2021-04-28 Thread Victor Dyakov
On Tue, 27 Apr 2021 01:09:44 GMT, Sergey Bylokhov wrote: > The fix for the JDK-8187639 reimplemented the tray icon messages using the > standard notification center, it worked fine on macOS 10.9. But on the new > macOS, the usage of that API requests permission from the user. Since the > code

RFR: 8264786: [macos] All Swing/AWT apps cause Allow Notifications prompt to appear when app is launched

2021-04-27 Thread Sergey Bylokhov
The fix for the JDK-8187639 reimplemented the tray icon messages using the standard notification center, it worked fine on macOS 10.9. But on the new macOS, the usage of that API requests permission from the user. Since the code was added to the NSApplicationAWT this request is always shown