Open ceraolo opened 6 days ago
But what is the reason to give the Diagram Window input focus? Insofar, AKAIK, no operation can be performed there.
That is the default behaviour of the multiple document interface (MDI). Whenever a new window is added, it will become the active window with focus. However, we can plot on the previous plot window, if there is any and make it active. If there is no previous plot window then open a new plot window.
That is the default behaviour of the multiple document interface (MDI). Whenever a new window is added, it will become the active window with focus.
Sure. but in our case it needs some adaptation
However, we can plot on the previous plot window, if there is any and make it active. If there is no previous plot window then open a new plot window.
Good. This is what I meant.
Steps to Reproduce
(0. use SubWindow view as a default for Plotting)
But what is the reason to give the Diagram Window input focus? Insofar, AKAIK, no operation can be performed there. If I am wright, when clicking on diagram window the input focus must stay where it was. In this way, when I ask inductor.i to be plotted, it goes, in my example, directly in Plot 1.
Expected Behavior
Opening diagram window should not change the next window where to plot signals. I.e. the next signal should go in the window active before opening (or moving or resizing) the diagram window
Screenshots
A short video showing the behaviour here: https://github.com/user-attachments/assets/31b5a51b-4160-4f27-9873-daa7aceec0eb
Version and OS
OM 1.23.1
omc --version
orHelp->About OMEdit
from OMEdit]Additional Context