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

Select and Delete buttons in Alter Relationships is strangely slow #245

Open
jducnuigeen opened this issue Mar 13, 2019 · 0 comments
Open

Comments

@jducnuigeen
Copy link
Contributor

jducnuigeen commented Mar 13, 2019

Bug Description

In alter relationships, when I use the selection tool and click on an "added" outline, the selection takes a long time to occur (at times it's about 20 seconds). Once it is selected, using the delete button and then save takes about the same amount of time to process.
Selecting and deleting from the other non-alter relationships tab works fast as expected.

In addition, sometimes when selecting two outlines which are linked (in order to delete them), I get the error:
Traceback (most recent call last):
File "C:/Users/jducnuigeen/.qgis2/python/plugins\buildings\gui\alter_building_relationships.py", line 263, in multi_selection_changed
self.tbl_relationship.itemSelectionChanged.disconnect(self.tbl_relationship_item_selection_changed)
TypeError: disconnect() failed between 'itemSelectionChanged' and 'tbl_relationship_item_selection_changed'

Steps to Reproduce

Steps to reproduce the behavior:

  1. Open a project with bulk load outlines containing Added Outlines
  2. Click on the Selection tool inside the Alter relationships tab.
  3. click on an added outline.
  4. The selection may take anywhere from 10 seconds to 25 seconds.
  5. Press the Delete button, followed by the save button. The deletion/save may take anywhere from 10s to 25s.
  6. OR select two outlines linked, and then the error above shows up.

Desktop

  • Environment: Windows
@dwsilk dwsilk added performance and removed bug labels Jan 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

No branches or pull requests

2 participants