#368 Invalid anchor point when dragging Hatch

2.0
open-fixed
Dongxu Li
actions (81)
5
2014-08-05
2012-11-14
Valdas Jankūnas
No

Select all entities (including Hatch) in attached test drawing.

If you try drag Line (see attached "demo__drag_line.png") with left Mouse button then Anchor (or Reference?) point will be nearest point on Line.

But if you drag Hatch (see attached "demo__drag_hatch.png") then Anchor point wil be point (0,0). This is especially annoying when dragging Hatch with Border - you must be lucky to hit Line of Border.
I think in this situation Anchor point must be Point of Hatch border which is closest to mouse cursor hit point.

Using Version: master, SCM Revision: 2.0.0alpha4, Compiled on: Nov 5 2012

Discussion

  • Test drawing

     
    Attachments
  •  
    Attachments
  • Dongxu Li
    Dongxu Li
    2012-12-11

    • assigned_to: nobody --> dongxuli
    • status: open --> open-accepted
     
  • Dongxu Li
    Dongxu Li
    2012-12-30

    fixed in master branch, commit: fb6b20d..ae011b1 master -> master

    I disabled moving of relative zero here. If this is not desirable, need to revert that part.

     
  • Dongxu Li
    Dongxu Li
    2012-12-30

    • status: open-accepted --> open-fixed