Re: [ANNOUNCEMENT] Dialog module v1.0 released
Posted:
Tue Oct 08, 2013 11:43 am
by ROCLASI
Hi Adrian,
Do you see this in Web or Smart client ?
And if Web client what platform/browser/version ?
Re: [ANNOUNCEMENT] Dialog module v1.0 released
Posted:
Wed Oct 09, 2013 1:21 am
by amcgilly
Robert,
Smart Client, Win XP, Java 6.
I figured out what's going on. The problem only happens when I have dragged my main application window to an external monitor that is to the left of my main monitor. In that situation, -1,-1 coordinates exist so the dialog opens in the top left corner of the main monitor.
JSWindow.setLocation(-1,-1) and JSWindow.setInitialBounds(-1,-1,-1,-1) all do this so I assume that's why it's happening in mod_dialog.
Same thing happens if I use setInitialBounds(JSWindow.DEFAULT, JSWindow.DEFAULT, JSWindow.DEFAULT, JSWindow.DEFAULT) even though the docs say this will cause the window to be initially centered.
Not sure whether to report this as a bug or not - what do you think?
Re: [ANNOUNCEMENT] Dialog module v1.0 released
Posted:
Wed Oct 09, 2013 9:49 am
by ROCLASI
Hi Adrian,
Yes I would report that as a bug. It's inconsistent behavior.
Re: [ANNOUNCEMENT] Dialog module v1.0 released
Posted:
Wed Oct 09, 2013 1:44 pm
by Harjo
Hi Adrian, does this happen only in the function, when you use showFormInDialog of the dialog-module?
what happens when you try the same with the showFormInDialog of Servoy itself?
Re: [ANNOUNCEMENT] Dialog module v1.0 released
Posted:
Fri Oct 11, 2013 12:54 am
by amcgilly
Same thing happens with application.showFormInDialog(), though I'm trying not to use that anymore seeing it's deprecated.
Re: [ANNOUNCEMENT] Dialog module v1.0 released
Posted:
Fri Oct 11, 2013 2:13 am
by amcgilly
Submitted to the Servoy Support System as issue
#SVP-292
Re: [ANNOUNCEMENT] Dialog module v1.0 released
Posted:
Fri Oct 11, 2013 9:56 am
by ROCLASI
For reference, this SVP-292 issue is being redirected to
SVY-5279SVP-* tickets are for Servoy professional services. SVY-* tickets are for issues with Servoy products.