Ability to copy over shortcuts from preference pack to current theme

Open
#379 3 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
35/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
python
Domain
desktop

Research direction

Start at the Preference Pack menu and its confirmation dialog, then inspect how preference packs write shortcuts to user.cfg. Done means the dialog offers a shortcut-only option that imports only the selected pack's keyboard shortcuts without changing the rest of the current theme.

Written by the indexing model from the issue text.

Description

Is your feature request related to a problem? Please describe.
Preference Packs provide the ability to customize the FreeCAD UI in a multitude of ways. But there exists a scenario where a user might already like the esthetic UI/UX setup they want but want to import just keyboard shortcuts from another Preference Pack. This feature would provide a way to solely import a Preference Pack's assigned keyboard shortcuts (nothing else)

Describe the solution you'd like
In the Preferences of the Preference Pack menu clicking on the a specific Preference pack opens up a confirmation dialog asking if the user is sure they want to install chosen pref pack. In this dialog create a checkbox that when enabled solely imports said pref pack's keyboard shortcuts.

Describe alternatives you've considered
A macro that pulls shortcuts from prefpacks and implements them in the user's user.cfg. Or manually opening up a pref pack and copy/pasting (xml) shortcuts in to one's own user.cfg

Additional context
Forum mention: https://forum.freecadweb.org/viewtopic.php?style=1&p=574337#p574337

image

Dominant language
Python
Stars
24
Forks
36
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from FreeCAD/AddonManager

All issues in FreeCAD/AddonManager

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.