Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Sketcher: Preferences have no default value #14107

Open
2 tasks done
maxwxyz opened this issue May 17, 2024 · 1 comment
Open
2 tasks done

Sketcher: Preferences have no default value #14107

maxwxyz opened this issue May 17, 2024 · 1 comment
Assignees
Labels
Bug This issue or PR is related to a bug WB Sketcher Related to the Sketcher Workbench

Comments

@maxwxyz
Copy link
Collaborator

maxwxyz commented May 17, 2024

Is there an existing issue for this?

  • I have searched the existing issues

Problem description

The Sketcher preferences for OVP and Dimension tool have no default value. Nothing to fall back if a user clicks on "reset":
grafik

These preferences seem to use a QComboBox which is populated through the .cpp file and the QComboBox has no member for onRestore().
Maybe it should use a PrefComboBox with stdset="0" if this is used for resetting the preferences.

Full version info

OS: Windows 11 build 22631
Word size of FreeCAD: 64-bit
Version: 0.22.0dev.36729 (Git)
Build type: Release
Branch: main
Hash: 6ca35709ddc7f95fb84eef4c24973dc489e5acde
Python 3.11.8, Qt 5.15.8, Coin 4.0.2, Vtk 9.2.6, OCC 7.7.2
Locale: English/United States (en_US)
Installed mods: 
  * CfdOF 1.25.13
  * Curves 0.6.36
  * dodo 1.0.1
  * fasteners 0.5.21
  * freecad.gears 1.2.0
  * OpenTheme 2024.5.16
  * OpticsWorkbench 1.0.17
  * sheetmetal 0.4.14

Subproject(s) affected?

Sketcher

Anything else?

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct
@maxwxyz maxwxyz added Bug This issue or PR is related to a bug WB Sketcher Related to the Sketcher Workbench labels May 17, 2024
@maxwxyz
Copy link
Collaborator Author

maxwxyz commented May 17, 2024

@PaddleStroke @kadet1090 FYI

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug This issue or PR is related to a bug WB Sketcher Related to the Sketcher Workbench
Projects
None yet
Development

No branches or pull requests

2 participants