Questions? Feedback?powered byOlark live chat software
Bug 2857

Window not maximizing when visibility is set to false 13 June, 2019

Product: PowerBuilder Category: Other
Version: 2017 R3 Publishing: Public
Status: Scheduling Priority: P3
Classification: Sybase (legacy) bug Resolution:
Ken Guo 13 June, 2019
Hi Saravanakumar,

Thanks for reporting this problem! We reproduced it on our end and will do further research to figure it out. We will keep you posted about the progress.

Currently, please use the following method to work around it:
Add the following code after w_test.visible = true:
w_test.windowstate = Normal!
w_test.windowstate = Maximized!

BTW, PB 12.6 has the same issue.

Regards,
Ken
Chris Pollach 12 June, 2019
Hi Saravanakumar;

   Thank you for that test case!

  I was able to replicate your issue not only in PB2017R3 but also in PB2019. The workaround for this problem would be to use the following code ...

<window>.Visible = TRUE
<window>.WindowState = Maximized!

  I will now transfer this ticket to the main Support/Engineering team for their review and recommendations for a fix.

regards ... Chris
TestApp.zip (9KB)

*Phenomenon:
I'm using Power Builder Version 2017 R3 Build 1858.

I have attached a sample application.

Currently w_test window visible property is set to false and window state is set to maximized.
The window is set to visible once the application loads.
But if you run the window it will open in Normal state.

But if the visible property is set to true, then window is opening in maximized state.

Can you please check and tell me why the window is not maximizing in invisible mode.

*Reproduce Steps:


Remarks:
OS:
Windows 10 
Platform:
64-bit 
Database Type:
Oracle 
Database Version:
11