Have an application that opens an external web page. Just installed v8.3.8 yesterday. Previously had v8.3.6. Operators were complaining that the button does not work. Found that the button is now opening the web page but it does not come to the top of the stack, so it stays hidden unless the operator knows to look for it.
This is the script that brings up the external link... is anything missing?
def runAction(self, event):
line = self.view.custom.line
lineName = "Coater" if line == "C" else "Slitter"
ppName = self.view.custom.plannedProduct
targetUrl = "http://noveliswarrencamstar/InSiteWebApplication/forms/modeling/nvlsHMIRecipeViewerForm.aspx?ProductName=" + ppName + "&Frame=" + lineName + "Frame"
system.perspective.navigate(url = targetUrl, newTab = True)
It worked fine up to now...
That could also be a browser setting.. Pretty sure I've seen that in Chrome settings.
When launched where - in a "real" desktop web browser, or in Perspective workstation?
The client is a PC running perspective workstation. The client launches an Edge browser which used to come to the front of the UI. This behavior was consistent from 8.1.34 through 8.3.4.
The Ignition application runs in full screen windowed mode. As the webpage we bring up does not "know about" the Ignition application, once we launch the browser there is no programmatic way back.
The webpage works well with Ignition, but the behavior now is that the browser opens a new Edge tab that the user doesn't know about because the application focus stays with Ignition.
In 8.3.4 we upgraded JxBrowser, the embedded web browser library. Nothing I can see in the release notes between the two versions suggests why this changed, but that must be why.
If you file an official Support ticket we can file a report with the vendor and see if we can get it fixed.
Does the application allow you to embed it in an iFrame? This may be better for UX if it will so you could keep it contained within the application rather than opening another app. It's also possible something with Edge/Windows could have changed if you allow automatic updates or did any software updates at the same time.