View Issue Details

IDProjectCategoryView StatusLast Update
0004664SketcherBugpublic2021-08-27 13:00
ReporterPetrikas Assigned Tochennes  
PrioritylowSeveritytweakReproducibilityalways
Status closedResolutionfixed 
Fixed in Version0.20 
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?

Original post: https://forum.freecadweb.org/viewtopic.php?f=34&t=58747#p505063
Dedicated forum thread: https://forum.freecadweb.org/viewtopic.php?f=34&t=61564
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...

Kunda1

2021-08-25 14:43

administrator   ~0015861

@chennes @carlopav maybe this could be on the FreeCAD Pull Request 4787 roadmap ?

Kunda1

2021-08-25 15:16

administrator   ~0015862

Opened dedicated forum thread for discussion: https://forum.freecadweb.org/viewtopic.php?f=34&t=61564
Also updated ticket summary

chennes

2021-08-25 15:25

administrator   ~0015863

Is this actually still true? I just tested and it's showing the correct (custom) shortcut for me.

chennes

2021-08-25 19:29

administrator   ~0015866

See https://github.com/FreeCAD/FreeCAD/pull/4995

chennes

2021-08-27 13:00

administrator   ~0015877

This PR has been merged.

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
2021-08-25 14:43 Kunda1 Note Added: 0015861
2021-08-25 15:16 Kunda1 Description Updated
2021-08-25 15:16 Kunda1 Note Added: 0015862
2021-08-25 15:18 Kunda1 Status new => acknowledged
2021-08-25 15:25 chennes Note Added: 0015863
2021-08-25 19:10 chennes Assigned To => chennes
2021-08-25 19:10 chennes Status acknowledged => assigned
2021-08-25 19:29 chennes Note Added: 0015866
2021-08-27 13:00 chennes Status assigned => closed
2021-08-27 13:00 chennes Resolution open => fixed
2021-08-27 13:00 chennes Fixed in Version => 0.20
2021-08-27 13:00 chennes Note Added: 0015877