View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004601 | Draft | Bug | public | 2021-03-23 16:28 | 2021-03-26 10:30 |
Reporter | garya | Assigned To | chennes | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Platform | PC | OS | FreeBSD | OS Version | 11.4 RELEASE-p3 |
Product Version | 0.19 | ||||
Summary | 0004601: Draft WB, Scale, Uniform Scaling, awkward data entry behavior | ||||
Description | In Draft WB, data entry for a scale factor is strange when the "Uniform scaling" option is set. After the leading digit is typed, followed by a decimal, the remainder is automatically filled in with zeroes. This forces one to delete the following zero in order to enter each successive digit. Some discussion in this forum thread: https://forum.freecadweb.org/viewtopic.php?f=3&t=56968&p=490286#p490286 | ||||
Steps To Reproduce | New document Draft WB Draw a rectangle In Task pane, select Scale Scale dialog appears in Task pane Click in 3D view Scale dialog changes to allow entering scale factor with X value (1.000000) highlighted Make sure "Uniform scaling" option is selected Type '2' Leading '1' is replaced by a '2' Type '.' Cursor moves to right of decimal Type '3' Nothing happens because of the six trailing zeroes Delete one or more of the zeroes Type '3' The 3 appears, and all remaining slots are filled with zeroes | ||||
Tags | No tags attached. | ||||
FreeCAD Information | OS: FreeBSD 11.4-RELEASE-p6 (XFCE/xfce) Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.19.b2ca86d8d Build type: Release Python version: 3.7.9 Qt version: 5.15.2 Coin version: 4.0.0 OCC version: 7.5.0 Locale: C/Default (C) | ||||
FreeCAD: master 3f5fbef8 2021-03-23 19:18:19 Details Diff |
[Draft] Fix bug in data entry on scale w/ uniform When entering a scale factor, if uniform scaling is on, the current code keeps appending zeroes as you type, forcing you to delete them before entering your next digit. This commit fixes that by ensuring that the widget that you are currently editing is not updated continuously. Fixes 0004601 |
Affected Issues 0004601 |
|
mod - src/Mod/Draft/drafttaskpanels/task_scale.py | Diff File |
Date Modified | Username | Field | Change |
---|---|---|---|
2021-03-23 16:28 | garya | New Issue | |
2021-03-23 19:19 | chennes | Assigned To | => chennes |
2021-03-23 19:19 | chennes | Status | new => assigned |
2021-03-23 19:30 | chennes | Note Added: 0015538 | |
2021-03-23 19:30 | chennes | Status | assigned => confirmed |
2021-03-26 10:30 | chennes | Changeset attached | => FreeCAD master 3f5fbef8 |
2021-03-26 10:30 | chennes | Note Added: 0015545 | |
2021-03-26 10:30 | chennes | Status | confirmed => closed |
2021-03-26 10:30 | chennes | Resolution | open => fixed |