1. Nilotpal Bera
  2. PowerServer 2020 or older (Obsolete)
  3. Monday, 4 January 2021 16:31 PM UTC

Hi,

Greetings!

The Close event of the application is not triggering if the application is closed directly by closing tab/browser while using Chrome , but the same is working in IE.

Is this a known issue or some system related issue.

Thanks in advance.

 

Environment:

PowerBuilder 2019 R2 Build 2353

PowerServer (PB Edition) 2020 Build 2323 64 Bit

Windows Server 2012 R2

.Net Application server

Sybase ASE 16

Chrome Version 87.0.4280.88, 64 Bit

 

Best Regards,

Nilotpal

Accepted Answer
mike S Accepted Answer Pending Moderation
  1. Monday, 4 January 2021 17:01 PM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # Permalink

I believe this is a known problem with chrome. it does not appear to be a priority for google to fix it as it has been a problem for several years now.

 

It appears to be an issue in Chromium as well, so the Chromium version of edge has the same problem.  the old edge did not have this problem.

 

 It is generally recommended to use IWA instead of a full browser.

 

 

Comment
  1. Armeen Mazda @Appeon
  2. Monday, 4 January 2021 17:17 PM UTC
I second what Mike said. Use the IWA instead of Web browser. Using Web browser with plugins is just problematic, and there is generally not a strong reason to do this for the types of situations PowerBuilder is used. As such, starting from PowerServer 2021, the only option will be to go with IWA deployment mode. Save yourself hassles and switch now.
  1. Helpful
  1. mike S
  2. Monday, 4 January 2021 17:21 PM UTC
This is the recommended work around from appeon tech support back in 2016 (issue #2384):



Only the deactivate event of window object (except the child type window object) could been triggered when you close Chrome directly. Please try and see if you can work around this issue by using the deactivate event.



Regards

Nico

  1. Helpful
  1. Nilotpal Bera
  2. Tuesday, 5 January 2021 08:18 AM UTC
Thanks a lot Mike and Armeen for the support...really appreciate it!!!
  1. Helpful
There are no comments made yet.
Chris Pollach @Appeon Accepted Answer Pending Moderation
  1. Monday, 4 January 2021 17:11 PM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 1

Hi Nilotpal;

  This is a known restriction of the "Multi-Browser" plug-in. This plug-in is used in the Edge, FF, Opera, & Chrome web browsers. The IE plug-in is a functionally similar but technically a different implementation under-the-hood. This plug-in does support both the Close and CloseQuery events when closing the App either via the Browser's main window or via the App's associated Tab.

Regards ... Chris

Comment
  1. Nilotpal Bera
  2. Tuesday, 5 January 2021 08:16 AM UTC
Hi Chris,

Thanks for the clarification....
  1. Helpful
There are no comments made yet.
Kai Zhao @Appeon Accepted Answer Pending Moderation
  1. Tuesday, 5 January 2021 00:25 AM UTC
  2. PowerServer 2020 or older (Obsolete)
  3. # 2

Hi Nilotpal,

Closing/exiting Chrome does not fire the application close event as it is not supported . You may need to write script to fire the application close event.

Only the deactivate event of window object (except the child type window
object) could been triggered when you close Chrome directly. Please try and see if you can work around this issue by using the deactivate event.

We would like to invite you to experience the Installable Web Apps (it is called IWA for short). IWA applications run outside of the Web browser and eliminate the need to configure/install browser plugins. If you are interested, please try the feature here on the following link:
https://support.appeon.com/index.php?/News/NewsItem/View/87

Regards
ZhaoKai

Comment
  1. Nilotpal Bera
  2. Tuesday, 5 January 2021 08:15 AM UTC
Thanks ZhaoKai for the workarounds...
  1. Helpful
There are no comments made yet.
  • Page :
  • 1


There are no replies made for this question yet.
However, you are not allowed to reply to this question.