FreeCAD / FreeCAD/FreeCAD

Draft_Line Set second point

Open
#26,248 9 comments 0 reactions 0 assignees View on GitHub
Mod: Draft Status: Confirmed Type: Bug Type: Has workaround
Dominant language
C++
Stars
33.6k
Forks
6k
Avg merge
3d 15h
Merged PRs (30d)
196

Description

### Problem description

If a line starts at a snap point of an object (snap on), e.g. center point, the object on which the starting point of the line sits is selected. After entering the x,y,z values in the widget, the focus is moved to "Set Point" with the Tab key. However, entering the space bar does not set a period, but makes the selected object invisible.
Typing Return also doesn't set an endpoint. With another key, no dot is set either.

### Workbench affected?

Draft

### Steps to reproduce

Draw a line.
Try to put the second line with the snap option "midpoint" on top of the first. Jump to the input menu.
Change at least one value. Use the Tab key to navigate to the "Set Point" command-bottom. Press the space bar or any other key.

### Expected behavior

Without a snap option, the first object is not selected, but it is not snapped either. If you enter the values in the widget and navigate to "set point" and press the space bar, the line will be created.

### Actual behavior

There is no way to enter the 2nd dot via the keyboard. The signal of the space bar is used to hide when the selection is available and not as a signal for the creation of the 2nd point and the line.
The simplest solution would be to assign a new shortcut for the 2nd point to create the line using the keyboard.

### Development version About Info (in Safe Mode)

```shell
I checked the behavior in the weekly of 16.12.2025.
The bug is still present here.
```

### Last known good version (optional)

```shell

```

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.