Ticket #6705 (assigned defect)

Opened 7 months ago

Last modified 3 months ago

shape.moveToBack() makes the shape unselectable

Reported by: guest Owned by: elazutkin
Priority: normal Milestone: future
Component: DojoX GFX Version: 1.1.0
Severity: normal Keywords:
Cc:

Description

To summarize my report:

* Version of Dojo and build name:

nightly build version 13621 and previous versions

* Browser versions and platforms where the bug occurs:

both firefox and IE, windows and mac

* Error messages displayed (if any):

* A contact address so we can follow-up with you:

gyang2007@…

* Describe the exact situation in which the bug occurs as precisely as possible. Is it reproducible? Did it break in a certain release? Is it still an issue with nightly or subversion head? etc.

Click the rectangle or round rectangle image using left mouse button, then click the drawing surface, which is "onmousedown" event, draw either shape. Or click the shapes on the screen, hold the mouse, then press either 'B' or 'b' key, release the mouse. The shape becomes unelectable after the mouse is released. Do the same operation for moveToFront() by pressing 'F' or 'f', release the mouse, the shape is still selectable.

* Testcases and patchces are even better.

I reproduced the bug based on dojox.sketch: http://www.intrinsyx.com/sharon/moveToBackBug/moveToBackBug.html

The 1.0.0 or 1.1.0 version hosted at dolcdn generated some errors for jframe, so the nightly build version was used with the example. The source code(48k) is attached (without dojo).

Attachments

moveToBackBug.zip (47.1 kB) - added by guest 7 months ago.

Change History

Changed 7 months ago by guest

Changed 7 months ago by elazutkin

  • priority changed from high to normal
  • status changed from new to assigned
  • summary changed from shape.moveToBack() makse the shape unselectable to shape.moveToBack() makes the shape unselectable
  • severity changed from major to normal
  • milestone set to 1.2

All selection is done be the underlying SVG/VML. Most probably the problem lies with browsers, and cannot be fixed easily on our side. But I'll investigate.

Changed 3 months ago by elazutkin

  • milestone changed from 1.2 to future

Moving all open ticketd to the future.

Note: See TracTickets for help on using tickets.