View Issue Details

IDProjectCategoryView StatusLast Update
0004737SketcherBugpublic2021-12-20 20:11
Reporterifohancroft Assigned Toabdullah  
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
PlatformGNU/LinuxOSManjaroOS Version5.10 Kernel
Product Version0.20 
Summary0004737: Increasing Number of decimals doesn't incrase the number of decimal places shown
DescriptionIf for a dimension constraint (pretty much anything requiring you to enter a number) I set a floating point number that has 5 decimal places, unless I open the dimension for editing, I only see 4 decimal places, despite Number of Decimals under Preferences > General > Units being set to 5 (Chrisb has it set to 6 and can see 6 decimal places).

If I increase Number of decimals, I still continue to see only 4 decimal places. The only thing that changes is that if I open the dimension for editing, there is now an extra 0 at the end.

Forum Post
Steps To Reproduce1. Set a dimension constraint on an element in Sketcher and set it to a floating point number having more decimal places than what Number of decimals is set to
2. Check how many of the decimal places are being shown
3. Increase the value of Number of decimals
4. See that the number is showing the same and the only thing that changed is that you now have an extra 0 or more at the end of the number when you open the constraint for editing.
TagsNo tags attached.
FreeCAD InformationOS: Manjaro Linux (MATE/mate)
Word size of FreeCAD: 64-bit
Version: 0.20.25288 (Git) AppImage
Build type: Release
Branch: master
Hash: bbb557aab6129efd9486d6df19f06c2976fdb7e5
Python version: 3.9.6
Qt version: 5.12.9
Coin version: 4.0.0
OCC version: 7.5.2
Locale: English/United States (en_US)

Activities

openBrain

2021-08-30 17:43

developer   ~0015886

The current behavior is much probably correct regarding what the coder wants to implement.
Let's talk on if we want something different on the forum thread before continuing this ticket.

uwestoehr

2021-12-20 20:05

manager   ~0016120

This bug also applies when you set e.g. only 2 digits in the general preferences of FreeCAD. Here is a bug report about this: https://forum.freecadweb.org/viewtopic.php?f=10&t=64645#p554894

uwestoehr

2021-12-20 20:11

manager   ~0016121

Here is an idea what the bug could be: https://forum.freecadweb.org/viewtopic.php?f=10&t=64645&p=555225#p555225

yorik

2022-03-03 13:55

administrator   ~0017087

This ticket has been migrated to GitHub as issue 6256.

Issue History

Date Modified Username Field Change
2021-08-30 16:58 ifohancroft New Issue
2021-08-30 17:43 openBrain Note Added: 0015886
2021-08-30 18:57 chrisb Assigned To => abdullah
2021-08-30 18:57 chrisb Status new => assigned
2021-12-20 20:05 uwestoehr Note Added: 0016120
2021-12-20 20:11 uwestoehr Note Added: 0016121