[ANNOUNCEMENT] Dialog module v1.0 released

Share business templates, ideas, experiences, etc with fellow Servoy developers here

Re: [ANNOUNCEMENT] Dialog module v1.0 released

Postby ROCLASI » Tue Oct 08, 2013 11:43 am

Hi Adrian,

Do you see this in Web or Smart client ?
And if Web client what platform/browser/version ?
Robert Ivens
ROCLASI Software Solutions / JBS Group, Partner
SAN Developer / Servoy Valued Professional / Servoy Certified Developer
Twitter: @roclasi / @servoyforge
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5218
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: [ANNOUNCEMENT] Dialog module v1.0 released

Postby amcgilly » Wed Oct 09, 2013 1:21 am

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?
Adrian McGilly
Servoy Developer

Image
amcgilly
 
Posts: 374
Joined: Fri Dec 09, 2005 12:03 am
Location: San Francisco, CA

Re: [ANNOUNCEMENT] Dialog module v1.0 released

Postby ROCLASI » Wed Oct 09, 2013 9:49 am

Hi Adrian,

Yes I would report that as a bug. It's inconsistent behavior.
Robert Ivens
ROCLASI Software Solutions / JBS Group, Partner
SAN Developer / Servoy Valued Professional / Servoy Certified Developer
Twitter: @roclasi / @servoyforge
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5218
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Re: [ANNOUNCEMENT] Dialog module v1.0 released

Postby Harjo » Wed Oct 09, 2013 1:44 pm

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?
Harjo Kompagnie
Direct ICT / Servoy Hosting / ServoyCamp
Servoy Certified Developer
Servoy Valued Professional
SAN Developer
User avatar
Harjo
 
Posts: 4271
Joined: Fri Apr 25, 2003 11:42 pm
Location: DEN HAM OV, The Netherlands

Re: [ANNOUNCEMENT] Dialog module v1.0 released

Postby amcgilly » Fri Oct 11, 2013 12:54 am

Same thing happens with application.showFormInDialog(), though I'm trying not to use that anymore seeing it's deprecated.
Adrian McGilly
Servoy Developer

Image
amcgilly
 
Posts: 374
Joined: Fri Dec 09, 2005 12:03 am
Location: San Francisco, CA

Re: [ANNOUNCEMENT] Dialog module v1.0 released

Postby amcgilly » Fri Oct 11, 2013 2:13 am

Submitted to the Servoy Support System as issue #SVP-292
Adrian McGilly
Servoy Developer

Image
amcgilly
 
Posts: 374
Joined: Fri Dec 09, 2005 12:03 am
Location: San Francisco, CA

Re: [ANNOUNCEMENT] Dialog module v1.0 released

Postby ROCLASI » Fri Oct 11, 2013 9:56 am

For reference, this SVP-292 issue is being redirected to SVY-5279

SVP-* tickets are for Servoy professional services. SVY-* tickets are for issues with Servoy products.
Robert Ivens
ROCLASI Software Solutions / JBS Group, Partner
SAN Developer / Servoy Valued Professional / Servoy Certified Developer
Twitter: @roclasi / @servoyforge
--
ServoyForge - Building Open Source Software.
PostgreSQL - The world's most advanced open source database.
User avatar
ROCLASI
Servoy Expert
 
Posts: 5218
Joined: Thu Oct 02, 2003 9:49 am
Location: Netherlands/Belgium

Previous

Return to Sharing Central

Who is online

Users browsing this forum: No registered users and 1 guest