Login  Register

Re: Select tool not working

Posted by osievert on Sep 07, 2020; 3:29am
URL: https://forum.librecad.org/Select-tool-not-working-tp5715255p5719521.html

I see similar problems selecting objects as OP. Using LibreCAD Mac version 2.2.0-rc1-254-g9f2c32dd this is what I found:

- I can select and trim lines that are drawn with the mouse using the "2-point" method
- all lines that are drawn with the command line, e.g. "pl; 0,0; 200,0; 0,200; close" cannot
  ever be selected (either as the limiting entity or as the entity to trim) and cannot be trimmed.

This is extremely odd behavior. A line should not behave differently based on how it was drawn.

This behavior persists across app sessions. If I save my drawing, quit LibreCAD, re-start LibreCAD, and re-open my document, I still cannot ever select items that were originally drawn with the command line.

This has nothing to do with the layer being locked. In the same layer, I can perform these actions sequentially:
- draw a line with the mouse, can select and trim it
- draw a line with the command line, cannot select and trim it
- draw a line with the mouse, can select and trim it

Attached is a minimal example that shows the problem. The square and the vertical line were drawn with the mouse. Both of these entities can be selected, and trimmed. The triangle was drawn with the command line. It cannot be selected, and cannot be trimmed.

trim_fail_objects_drawn_with_command_line.dxf