Project

General

Profile

Bug #3127

workflows can open off the screen

Added by Chad Berkley almost 12 years ago. Updated almost 12 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
core
Target version:
Start date:
02/04/2008
Due date:
% Done:

0%

Estimated time:
Bugzilla-Id:
3127

Description

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.

History

#1 Updated by Christopher Brooks almost 12 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
    is located.

#2 Updated by Chad Berkley almost 12 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.

#3 Updated by Redmine Admin over 6 years ago

Original Bugzilla ID was 3127

Also available in: Atom PDF