Skip to content

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

@techdude1996

Description

@techdude1996

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"

Metadata

Metadata

Assignees

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions