Re: [platform] DialogDescriptor/NotifyDescriptor and multiple screens

2022-10-01 Thread Ernie Rael
There's an open PR, Check for EnvVar/SysProp for preferred screen https://github.com/apache/netbeans/pull/4714, which references this thread. In particular, I've identified two types of "dialog goes to wrong screen", 1. Random, don't know how to reproduce 2. Consistent, due to not specifying pa

Re: [platform] DialogDescriptor/NotifyDescriptor and multiple screens

2022-04-22 Thread Patrik Karlström
Thanks Neil, inspired by that I created a small example and stepped it back all the way to RELEASE90. My problem occured all the way, so no recent regression involved in my issue. Digging a bit further though I realised my problem stemmed from lack of window focus (and maybe some other yet to be c

Re: [platform] DialogDescriptor/NotifyDescriptor and multiple screens

2022-04-20 Thread Neil C Smith
On Tue, 19 Apr 2022 at 08:04, Patrik Karlström wrote: > > I'm trying to find a way to improve my platform applications' handling of > dialogs. > Developed on a laptop, I was not aware that dialogs did not follow the main > window, instead they are displayed on the main screen. > > I use descript

[platform] DialogDescriptor/NotifyDescriptor and multiple screens

2022-04-19 Thread Patrik Karlström
I'm trying to find a way to improve my platform applications' handling of dialogs. Developed on a laptop, I was not aware that dialogs did not follow the main window, instead they are displayed on the main screen. I use descriptors and display them with DialogDisplayer.getDefault().notify(d) And