View Issue Details

IDProjectCategoryView StatusLast Update
0004664SketcherBugpublic2021-05-21 14:47
ReporterPetrikas Assigned To 
PrioritylowSeveritytweakReproducibilityalways
Status newResolutionopen 
Summary0004664: Sketcher tooltips have hard-coded hotkey hints
DescriptionSketcher tooltips contain hard-coded hotkey hints. When the user changes hotkeys through Customization, the tooltips show old 'default' hotkey, which is misleading and causes confusion.

Sketcher hotkey hints are very useful. Maybe it would be possible to have the tooltips pull the FreeCAD hotkey parameter?

Forum post: https://forum.freecadweb.org/viewtopic.php?f=34&t=58747#p505063

Steps To ReproduceHover over any of the following tools in Sketcher workbench:

Create line
Create polyline
Create rectangle
Trim edge
Extend edge
Carbon copy
Toggle construction geometry
Constrain coincident
Constrain point onto object
Constrain vertically
Constrain horizontally
Constrain parallel
Constrain perpendicular
Constrain tangent
Constrain equal
Constrain symmetrical
Constrain horizontal
Constrain vertical
Constrain distance
Constrain angle
Close shape
Connect edges
Select associated constraints
Select associated geometry
Select redundant constraints
Tagssketcher, tooltips, UI
FreeCAD InformationOS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.24840 (Git)
Build type: Release
Branch: master
Hash: 131cdd1e4ec5e1cc1ddd1ccce4435fe23dee68cf
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.5.0
Locale: English/United Kingdom (en_GB)

Activities

Kunda1

2021-05-20 19:44

administrator   ~0015669

@yorik how can we do this without triggering new translations of strings that have been translated?

Kunda1

2021-05-21 12:48

administrator   ~0015671

@yorik if we can't help but make this 'destructive' fix maybe we might as well coordinate it simultaneously with the effort to sort the .ui files so that they are tab-corrected. Meaning when traversing the dialog box via the tab button, each option is in the correct sequence (as opposed to jumping around the dialog box)

yorik

2021-05-21 14:47

administrator   ~0015672

Need to have a better look at where these are defined in order to propose a fix. But yes, pulling the shortcut keys from preferences is doable (we did it in draft some time ago), and yes it will change the translation strings, i dont think it's possible to avoid that...

Issue History

Date Modified Username Field Change
2021-05-20 19:12 Petrikas New Issue
2021-05-20 19:12 Petrikas Tag Attached: sketcher
2021-05-20 19:12 Petrikas Tag Attached: UI
2021-05-20 19:14 Petrikas Description Updated
2021-05-20 19:14 Petrikas FreeCAD Information => OS: Windows 10 Version 2009 Word size of FreeCAD: 64-bit Version: 0.20.24840 (Git) Build type: Release Branch: master Hash: 131cdd1e4ec5e1cc1ddd1ccce4435fe23dee68cf Python version: 3.8.6+ Qt version: 5.15.2 Coin version: 4.0.1 OCC version: 7.5...
2021-05-20 19:43 Kunda1 Tag Attached: tooltips
2021-05-20 19:44 Kunda1 Note Added: 0015669
2021-05-21 12:48 Kunda1 Note Added: 0015671
2021-05-21 14:47 yorik Note Added: 0015672