Skip to content
New issue

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

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

Already on GitHub? # to your account

Split Feature has duplicate name and creates a shortcut collision #52

Open
techdude1996 opened this issue Feb 6, 2020 · 2 comments
Open
Assignees

Comments

@techdude1996
Copy link

The Split Feature command found in your plugin shares the same name as QGIS's Split Feature command. When creating a keyboard shortcut for either function, the xml file reads:

<act shortcut="V" name="Split Features"/>

When the file is read in by QGIS, both commands get the 'V' key as their shortcut as they share the same name. So, when I press 'V', QGIS doesn't know which command to call and nothing happens.

When saving the file back out, it now reads:

<act shortcut="V" name="Split Features"/>
<act shortcut="V" name="Split Features"/>

Here's a screenshot of the shortcuts window with the plugin enabled:
image

As you can see, QGIS can't distinguish the one from the other and treats them as the same.

An "easy" fix would be to prefix the commands in the plugin, i.e. "Digitizing - Split Features"

@bstroebl bstroebl self-assigned this Feb 6, 2020
@oskarlin
Copy link

Yes this would be a very welcome fix since I have to change the Keyboard Shortcuts every time I start QGIS.

@mperwira
Copy link

Hi,

I'm new in using this plugin and I found that not only on the Split Feature, it also happens on the Merge Feature.
Since this plugin is very useful for my works, so for now I have to change the shortcuts every time start the QGIS.

# for free to join this conversation on GitHub. Already have an account? # to comment
Projects
None yet
Development

No branches or pull requests

4 participants