Skip to content

Instability caused by editingStarted and editingStopped signals not connected/disconnected properly #6

@thbaumann

Description

@thbaumann

The plugin does not connect/disconnect the editingStarted/editingStopped-signals correct.
If you are editing point-/line-layers in your project the plugin will register x*2 times the signals to these layers every time you save edits or toggle the editing mode. Afters several minutes digitizing and saving changes to these layers the plugin goes crazy calling the toggle function thousands of times.
You can test this by adding a print statement to the toggle function and editing a point/line layer in a QGIS project.

    def toggle(self):
        print "toggle from Rectangles Ovals Digitizing Tool"

The following screencast shows how every time you save edits or toggle the editing mode there are more calls of the "toggle"-function of the plugin: https://vimeo.com/269177079

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions