Menu

#174 Abort command bug

master branch
closed-fixed
actions (81)
5
2011-11-28
2011-11-13
No

- Using LibreCAD master (2011-11-12)...

- When initiating a command (like "Move/Copy"), if the user
abort immediately the command using the [Esc] key;
the first time [Esc] key is pressed, nothing seems to
happen, and LibreCAD fall in a state where no entities
can be selected even if the mouse cursor still have a cross shape.
User have to strike [Esc] key many times to make LibreCAD
back to a known state.

Discussion

  • Claude Sylvain

    Claude Sylvain - 2011-11-13
    • priority: 5 --> 1
     
  • Dongxu Li

    Dongxu Li - 2011-11-14
    • assigned_to: nobody --> dongxuli
    • labels: 2396694 --> actions
    • status: open --> open-accepted
     
  • Dongxu Li

    Dongxu Li - 2011-11-14
    • status: open-accepted --> open-fixed
     
  • Claude Sylvain

    Claude Sylvain - 2011-11-19

    - Tested on Windows 7 64-bit, with LibreCAD master 2011-11-18,
    and bug have morphed to something worst. Below, the description
    of the new bug behaviour:

    - When using "Move/Copy" command, and using
    "(De-)Select entity"; if user do a dynamic pan
    after selecting an entity; then press [Esc] key
    to abort the command, LibreCAD crash :-(

     
  • Claude Sylvain

    Claude Sylvain - 2011-11-19
    • priority: 1 --> 7
    • status: open-fixed --> open
     
  • Dongxu Li

    Dongxu Li - 2011-11-20

    can not reproduce from current master HEAD.

    1, Modify toolbar: Move/Copy;
    2. Select an entity;
    3, Do zoom panning or dynamic zoom resizing;
    4. Press Esc or click "Selection Pointer".

    results: Modify toolbar is shown. default action resumes.

    I know the selection toolbar needs some cleanup.

     
  • Claude Sylvain

    Claude Sylvain - 2011-11-20

    - Here are the steps to make the bug happen:

    - Draw a line entity.
    - Select "Modify"->"Move/Copy" in the menu.
    - Click on "(De-)Select entity" in the CAD tool bar (very important).
    - Click on the line entity to select it.
    - Click on the middle mouse button and do some dynamic pan.
    - Release the middle mouse button (no more dynamic pan).
    - Press [Esc] key (This is where LibreCAD crash).

    - Notes: Not clicking on "(De-)Select entity" in the CAD tool
    bar make the bug not happening at all.

     
  • Dongxu Li

    Dongxu Li - 2011-11-20
    • priority: 7 --> 5
    • status: open --> open-fixed
     
  • Dongxu Li

    Dongxu Li - 2011-11-20

    toolbar selection is still a trouble.

    A quick patch to fix the segfault in master, commit: 429a1309f

    When it's getting messy enough, we will be forced to redesign all selection actions.

     
  • Claude Sylvain

    Claude Sylvain - 2011-11-28

    - Tested with LibreCAD master 2011-11-27, on a Windows 7 Professional
    64-bit computer, and the bug is fixed.
    Closing the bug report.

     
  • Claude Sylvain

    Claude Sylvain - 2011-11-28
    • status: open-fixed --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB