Inconsistent Folder Patch Removal Behavior
john-breton opened this issue · 0 comments
Describe the bug
If multiple copies of the same patch are added to the list of 64 on the folders tab, attempting to remove any of them will always remove the first occurrence of it.
To Reproduce
Steps to reproduce the behavior:
- Move two copies of the same patch to a folder.
- Attempt to delete the second copy of the patch.
- Observe that the second copy of the patch remains, while the first copy was removed.
Expected behavior
The patch from the correct row should be removed, not the first occurrence of said patch.
Desktop (please complete the following information):
- OS: Windows 11 Pro
- Version: 22H2
Additional context
I vaguely remember this issue from the initial development of the app, but I could not figure out how to correct the behavior as PySide2 was not going enough info about the row in which the button resided in. With the introduction of PySide6, we may be able to gather more info from button clicks in a row to remove the correct patch; which I will investigate.
Should this information still not be available, this will likely be closed and marked as wontfix
until this information becomes available to us through future PySide versions.