Ticket #6705 (assigned defect)
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).