workflows can open off the screen
When a workflow is saved, the screen coords of where the window is are also saved. If the screen it was saved on was bigger than the screen you are opening it on, the workflow can open completely off the screen. this is especially true when you are using a dual monitor setup. Kepler needs to check to see if the screen coords that the window opens to actually exist on the current monitor, and if not, it should move the window to coords that actually exist.
#1 Updated by Christopher Brooks over 11 years ago
BTW - There is some code in Ptolemy that does this, see
2007-08-21 12:14 cxh
- ptolemy/actor/gui/WindowPropertiesAttribute.java (1.32):
setProperties(): If the x and y are within 10 pixels of the edge,
then offset by 20 more pixes so that it is obvious where the window
#2 Updated by Chad Berkley over 11 years ago
I changed ptolemy/actor/gui/WindowPropertiesAttribute.java so that if any part of the window is off of the screen, the window is moved to the 0 pixel on the axis that is off. This fixes these problems with saving on multi-head systems then reopenening on a single-head machine.