Login | Register
My pages Projects Community openCollabNet

Discussions > issues > [gef-issues] [Issue 354] New - ModeSelect selection bug when Zoomed.

gef
Discussion topic

Back to topic list

[gef-issues] [Issue 354] New - ModeSelect selection bug when Zoomed.

Reply

Author rquast
Full name Roland Quast
Date 2010-12-01 22:17:37 PST
Message http://gef.tigris.or​g/issues/show_bug.cg​i?id=354
                 Issue #|354
                 Summary|ModeSelect selection bug when Zoomed.
               Component|gef
                 Version|current
                Platform|All
                     URL|
              OS/Version|All
                  Status|NEW
       Status whiteboard|
                Keywords|
              Resolution|
              Issue type|DEFECT
                Priority|P1
            Subcomponent|core
             Assigned to|bobtarling
             Reported by|rquast






------- Additional comments from rquast at tigris dot org Wed Dec 1 22:17:36 -0800 2010 -------
After zooming in on the editor and creating a fig in the editor, such as a
rectangle - once the fig is created, click to the right of it just slightly and
you will notice it is still selected. Worse still, once you start try editing
anything on the page when it is zoomed in, editing becomes impossible because it
is "magically" selecting figs from above where you click.

After much hunting around, I found out that ModeSelect's mouseReleased method
was translating the MouseEvent coordinates after the Editor's mouseReleased
event had already done this. The fix appears to be simple (may require further
testing), but I managed to get everything working properly after removing the
line in the mouseReleased method - editor.translateMouseEvent(me);

Anyone who as ever used GEF while zoomed in will surely have seen this problem.

« Previous message in topic | 1 of 5 | Next message in topic »

Messages

Show all messages in topic

[gef-issues] [Issue 354] New - ModeSelect selection bug when Zoomed. rquast Roland Quast 2010-12-01 22:17:37 PST
     [gef-issues] [Issue 354] ModeSelect selection bug when Zoomed. bobtarling Bob Tarling 2010-12-02 00:54:13 PST
     [gef-issues] [Issue 354] ModeSelect selection bug when Zoomed. rquast Roland Quast 2010-12-02 04:04:20 PST
     [gef-issues] [Issue 354] ModeSelect selection bug when Zoomed. bobtarling Bob Tarling 2010-12-04 05:40:12 PST
     [gef-issues] [Issue 354] ModeSelect selection bug when Zoomed. bobtarling Bob Tarling 2010-12-04 05:53:17 PST
Messages per page: