cmsotomayor Posted March 5, 2020 Share Posted March 5, 2020 I am testing the MainModule BrowserClose event and it works correctly when I close the browser or a browser tab that my application has, in Mozilla Firefox and Internet Explorer browsers, but not in Google Chrome (Version 80.0.3987.132 (Official Build) (64 bits)). In the case of Google Chrome apparently the event does not run. This using Unigui version 1.90.0.1520 with paid license. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 6, 2020 Share Posted March 6, 2020 8 hours ago, cmsotomayor said: I am testing the MainModule BrowserClose event and it works correctly when I close the browser or a browser tab that my application has, in Mozilla Firefox and Internet Explorer browsers, but not in Google Chrome (Version 80.0.3987.132 (Official Build) (64 bits)). In the case of Google Chrome apparently the event does not run. This using Unigui version 1.90.0.1520 with paid license. Hello, We will check it, but seems the problem is in Chrome. Quote Link to comment Share on other sites More sharing options...
cmsotomayor Posted March 6, 2020 Author Share Posted March 6, 2020 Sherzod: when you can try it I would like you to give me a refund to confirm if it is a problem of Unigui or Google Chrome. Thank you very much. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted March 7, 2020 Share Posted March 7, 2020 14 hours ago, cmsotomayor said: when you can try it I would like you to give me a refund to confirm if it is a problem of Unigui or Google Chrome. We will try to fix it in the next build... Quote Link to comment Share on other sites More sharing options...
Bocchi Posted May 25, 2020 Share Posted May 25, 2020 I have the same problems. Event OnBrowserClose is not fired. Also TerminateOnBrowserClose doesn't work. I'm using UniGUI 1.50.0.1481. - Microsoft Internet Explorer 11.836.18362.0 -> WORK - Microsoft Edge 83.0.478.37 -> NOT WORK - Google Chrome 83.0.4103.61 -> NOT WORK Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 25, 2020 Share Posted May 25, 2020 Just now, Bocchi said: I'm using UniGUI 1.50.0.1481. Hello, Can you please try with the latest builds? Quote Link to comment Share on other sites More sharing options...
Bocchi Posted May 25, 2020 Share Posted May 25, 2020 At this moment I can't install the latest build. Is there any workaround I can use to solve this problem? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 25, 2020 Share Posted May 25, 2020 3 minutes ago, Bocchi said: At this moment I can't install the latest build. Is there any workaround I can use to solve this problem? Can you make a simple app to reproduce this issue? Quote Link to comment Share on other sites More sharing options...
Bocchi Posted May 25, 2020 Share Posted May 25, 2020 Please see attached sample project. Test_BrowserClose.zip Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 25, 2020 Share Posted May 25, 2020 1 hour ago, Bocchi said: Please see attached sample project. Test_BrowserClose.zip OK, we will check. Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 25, 2020 Share Posted May 25, 2020 2 hours ago, Bocchi said: Is there any workaround I can use to solve this problem? In fact, what would you like to do in this event? You wouldn't use such code, would you?: procedure TUniMainModule.UniGUIMainModuleBrowserClose(Sender: TObject); begin raise Exception.Create('UniGUIMainModuleBrowserClose'); end; Quote Link to comment Share on other sites More sharing options...
Bocchi Posted May 25, 2020 Share Posted May 25, 2020 I want to: - Close Oracle Database Connection (TOraSession from DevArt, placed on MainModule); - Close the session; Quote Link to comment Share on other sites More sharing options...
Sherzod Posted May 26, 2020 Share Posted May 26, 2020 Hello, Sorry for the late response. I think you need to upgrade. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.