Skip to content

First Keypress in "Dimension Distance" Tool Ignored #909

@Trakyan

Description

@Trakyan

This is a bug that's been around for a while. For now I can confirm it exists in the latest 02/11/2023 linux appimage and I've seen it recent windows releases (but currently can't confirm if it's in the latest windows release). It's existed at least since the current stable release from january 2023.

The bug is as follows: When I use the keyboard shortcut for "dimension distance" (D, D in my case), and "ask for value after creating dimensional constraint" is ticked, if I click a line FIRST and then press D, D the dialogue box opens up, and now the first keypress is ignored. Opening the dimension box to edit it a second time doesn't have this bug.

Just now I did some playing around to try and narrow down the bug, and discovered quite a few things that cause it not to trigger.
-If the "ask for value after creating dimensional constraint" is not ticked, even the first time you open the dimension box to edit it, the first keypress will work.
-If using the dimension distance tool from the icon on the toolbar, the bug doesn't trigger no matter what I do.
-If I press, D,D to trigger the dimension distance tool, and then click the line to be dimensioned, the bug does not trigger and the first keypress registers fine.

Changing the shortcut from D,D to D doesn't seem to affect things

Sorry, forgot the system details
[code]
Operating System: Debian GNU/Linux 12
KDE Plasma Version: 5.27.5
KDE Frameworks Version: 5.103.0
Qt Version: 5.15.8
Kernel Version: 6.1.0-13-amd64 (64-bit)
Graphics Platform: X11
Processors: 4 × Intel® Core™ i5-6200U CPU @ 2.30GHz
Memory: 15.5 GiB of RAM
Graphics Processor: Mesa Intel® HD Graphics 520
[/code]

FreeCAD details
[code]
OS: Debian GNU/Linux 12 (bookworm) (KDE/plasma)
Word size of FreeCAD: 64-bit
Version: 2023.1102.0.14555 (Git shallow) AppImage
Build type: Release
Branch: HEAD
Hash: 53783b6
Python 3.11.6, Qt 5.15.8, Coin 4.0.1, Vtk 9.2.5, OCC 7.7.2
Locale: English/New Zealand (en_NZ)
Installed mods:

  • sheetmetal 0.3.12
  • A2plus 0.4.61
    [/code]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions