QCAD Bugtracker

QCAD - 2D CAD System.

Click here for a documentation of the DokuWiki formatting syntax that can be used in reports

Please search for existing tasks (also closed ones) before opening a new task.

Please make sure that you are using the latest Version of QCAD before posting a bug (menu Help > Check for Updates)

IDCategoryTask TypeSeveritySummaryStatusProgress
 540 QCAD (main)Bug ReportVery Low "pa" ("parallel") keycode triggers wrong action Closed
100%
Task Description

In the latest QCAD Community Edition source code (2.0.5.0-1-community), the wrong action is triggered for the “pa” keycode. Specifically, it triggers the basic draw line command. Here is the relevant code from qcadcmd/src/rs_commands.cpp, in RS_Commands::keycodeToAction:

  } else if (c==tr("li", "line")) {
      ret = RS2::ActionDrawLine;
  } else if (c==tr("pa", "parallel")) {
      ret = RS2::ActionDrawLine;

I believe this should instead be:

  } else if (c==tr("li", "line")) {
      ret = RS2::ActionDrawLine;
  } else if (c==tr("pa", "parallel")) {
      ret = RS2::ActionDrawLineParallel;
Showing tasks 1 - 1 of 1 Page 1 of 1

Available keyboard shortcuts

Tasklist

Task Details

Task Editing