Bug 4999

Opening response window in second monitor 09 April, 2021

Guilherme Olivera
29 July, 2020
Product: PowerBuilder Category: Controls & UI
Version: 2019 R2 Build:
Classification: Sybase (legacy) bug Publishing: Public
Priority: P3
Status: Verifying Reason:
Communication Status: Waiting for Customer
Mark Lee @Appeon 01 April, 2021
#15
Hi Ankur,

Thanks for your feedback.
 
Please confirm whether the PB version you are using is PowerBuilder 2019 R3 GA (build 2670) and the Runtime files in the client side are also with this same version.
 
If yes, and you still have problems after doing the above, we may schedule a meeting to remotely debug it. We would recommend you to make the remote session during our working time which is 9:00 ~ 17:00 (we are in UTC+8) thus we can get immediate help from other teams if necessary. Please let us know when you can make the session and which tool you'd like to use for this session (TeamViewer or GoToMeeting).
If you can’t have a meeting with us, please provide a video for us to further analyze. Thanks in advance.
 
Best regards,
Mark Lee
Ankur Patel 01 April, 2021
#14
Hello Appeon Support Team,

It looks like due to this change, the response window still opens in the primary screen but then moves to second monitor and we can see it opening in the primary monitor and then moving to the second monitor which looks really bad.

Please let me know if you need a video for the same.

Thanks,
Ankur Patel
armando.herrera 19 February, 2021
#13
Hi Guilherme,

This case is reported as fixed in our new PB2019R3 build2670.
Can you please help us to confirm it so we can conclude this ticket?

Regards!
Mark Lee @Appeon 24 January, 2021
#12
Hi Guilherme,

Good news that PowerBuilder 2019 R3 GA (build 2670) is available for download. The issue you reported has been fixed in this release. Please download and install it to verify the issue you reported and let us know if any problems. You can get the installer from our Downloads portal at https://account.appeon.com/download/2019 (login required).
 
We welcome all feedback from you!
 
Regards,
Mark Lee
Guilherme Olivera 03 August, 2020
#11
Thanks Mark

I will check this code in my project

Regards
Mark Lee @Appeon 03 August, 2020
#10
Hi Guilherme,

Thanks for reporting this problem.
We can reproduce it on our side and will do further research to figure it out.
We will keep you updated!
 
BTW, we found that PB 12.6 has the same behavior as well.
You can temporarily add the following code in open event in your response windows to work it around:

environment le_main
integer                  li_return 
long                                       ll_width, ll_heiht
li_return = GetEnvironment(le_main)
ll_width = PixelsToUnits( le_main.screenwidth, XPixelsToUnits!) / 2 + this.width / 2    //The second monitor is in the left side.
ll_heiht = PixelsToUnits( le_main.screenheight, YPixelsToUnits!)   / 2  - this.height / 2
this.function post move(-ll_width,ll_heiht)

Regards,
Mark Lee
Guilherme Olivera 31 July, 2020
#9
Thanks for your help Armando

I already downloaded this application, but it didn't seem to be something that works with different monitors positioned in different situations, something more practical is needed.

Do you have any code examples maybe from the engineers?
armando.herrera 31 July, 2020
#8
Hi Guilherme, 

Yes, of course! 

Tutorial on Building an MDI Application: 
https://docs.appeon.com/pb2019r2/application_techniques/ch05s01.html

You can see this being done in the OrderEntry example App (that uses the STD Framework), that utilizes this approach. 
https://sourceforge.net/projects/stdfndclass/files/Applications/PowerBuilder/OrderEntry

Please let us know your results! 

Regards!
Guilherme Olivera 31 July, 2020
#7
Could you give an example how i can do this?
armando.herrera 31 July, 2020
#6
Hi Guilherme,

Thank you very much for the video.

This issue has been reported and marked as a Bug as a workaround and I'm transferring this case to the Engineering Team for their evaluation. 

You can control your own Response & Pop-Up windows to center on your App's main control window - like an MDI Frame.



Regards!
Guilherme Olivera 29 July, 2020
#5
General.mp4 (6737KB)

Here the video!,
Govinda Lopez @Appeon 29 July, 2020
#4
Hi Guilherme,

Can you provide us with that simple video so we can further analyze this?


Regards,
armando.herrera 29 July, 2020
#3
Hi Guilherme, 

Thank you very much for your report. We are working on it and we will get back to you after analyzing it.

We'll keep you posted here!

Regards!
Guilherme Olivera 29 July, 2020
#2
Sorry, but my question is, how i can fix this and open a second window in the same monitor
Guilherme Olivera 29 July, 2020
#1
response.PNG (2846KB)

*Phenomenon: Opening a response window in second monitor


*Reproduce Steps: 

1 - Create a project with a 2 windows,  
1.1 - The first window with a button that open a second window by response
1.2 - The second window with response mode
2- The project open the first window (not response)
3-  Run the project
4-  Drag the first window to secondary monitor
5-  Click in the button to open the second window
6- Check the window was opened in the primary monitor  


Remarks:
i cant make a movie with two monitors, but i can invite the project to check
OS:
All
Platform:
All
Database Type:
Database Version: