Multi monitor wrong axis precedence

When we open two windows on a second desktop, the docking order differs from the primary desktop.
It seems that the “axis precedence” from the project settings is not applied to secondary desktops.

Is there any news on this bug?

I’m just finisheg a project and its messing up my lovley screens.

Hello,

Is there any evolution about this bug fix ?

Hello,
Does this ‘feature’ still exists?

I am not able to post it publicly, but there is now a workaround for this issue available on Ignition 7.9.2+. If you contact Support, we should be able to look up the issue and provide you with the workaround.

Hello,

I have the same problem. Is it possible to find out what the work around is?

We used this code in the VisionWindowOpened event:

from javax.swing import JFrame
from org.python.core import Py

win = system.gui.getParentWindow(event)

while not isinstance(win,JFrame):
	win = win.getParent()
javaWin = Py.tojava(win,JFrame)

#Force full screen multi-monitor
javaWin.setExtendedState(0)

#Force axis precedence multi-monitor
from com.inductiveautomation.factorypmi.application.DockingDesktopManager import AxisPrecedence
from org.apache.commons.lang3.reflect import FieldUtils
current = system.gui.getCurrentDesktop()
gui = system.gui.desktop(current)
desktop = FieldUtils.readField(gui, "desktop", True)
desktop.setAxisPrecedence(AxisPrecedence.NorthSouth)
1 Like