- 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.
fixed "Back" button in toolbar select in master, commit: 3437138
https://github.com/LibreCAD/LibreCAD/commit/211f5a3168b15e008359b1a3ca1309c7065739ad
more cleanup needed for toolbar select
fixed in master, commit:88c83e1
https://github.com/LibreCAD/LibreCAD/commit/88c83e17620ee8a12e726eb3410d19a9c1e5752e
fixed in 1.0.0-SNAPSHOT, commit:3437138
https://github.com/LibreCAD/LibreCAD/commit/3437138
- 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 :-(
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.
- 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.
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.
- Tested with LibreCAD master 2011-11-27, on a Windows 7 Professional
64-bit computer, and the bug is fixed.
Closing the bug report.