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

EMSUSD-2171 Fix multiple collection UI issues #4130

Merged
merged 2 commits into from
Feb 21, 2025

Conversation

pierrebai-adsk
Copy link
Collaborator

@pierrebai-adsk pierrebai-adsk commented Feb 21, 2025

Also addresses: EMSUSD-2168, EMSUSD-2169, EMSUSD-2171, EMSUSD-2167, EMSUSD-2151

Fix validation error:

  • Make the convertToCollectionString return the cause of any error.
  • Make the validator only handle the attribute error exception caused by the absence of expression support in old USD, not all exceptions.

Fix list editor:

  • Replace ad-hoc code with QCompleter and QItemDelegate to edit the list items.
  • This fixes multiple interaction bugs.
  • Mark the filtered string list model items as being editable.
  • Make sure the list view gets focus after edit.
  • Make sure the new item can be added before deleting the old item in replaceStrings.
  • Simplify how the stage prims are gathered for suggestions.

Also addresses: EMSUSD-2168, EMSUSD-2169, EMSUSD-2171, EMSUSD-2167

Fix validation error:
- Make the convertToCollectionString return the cause of any error.
- Make the validator only handle the attribute error exception caused
  by the absence of expression support in old USD, not all exceptions.

Fix list editor:
- Replace ad-hoc code with QCompleter and QItemDelegate to edit the list items.
- This fixes multiple interaction bugs.
- Mark the filtered string list model items as being editable.
- Make sure the list view gets focus after edit.
- Make sure the new item can be added before deleting the old item in replaceStrings.
- Simplify how the stage prims are gathered for suggestions.
@pierrebai-adsk pierrebai-adsk self-assigned this Feb 21, 2025
@pierrebai-adsk pierrebai-adsk added bug Something isn't working shared_components Shared Components (Max / Maya) labels Feb 21, 2025
barbalt
barbalt previously approved these changes Feb 21, 2025
@barbalt
Copy link
Collaborator

barbalt commented Feb 21, 2025

So much simpler with qcompleter. Thank you

@pierrebai-adsk pierrebai-adsk added the ready-for-merge Development process is finished, PR is ready for merge label Feb 21, 2025
@pierrebai-adsk pierrebai-adsk removed the ready-for-merge Development process is finished, PR is ready for merge label Feb 21, 2025
@barbalt barbalt assigned pierrebai-adsk and unassigned barbalt Feb 21, 2025
@pierrebai-adsk pierrebai-adsk added the ready-for-merge Development process is finished, PR is ready for merge label Feb 21, 2025
@seando-adsk seando-adsk merged commit d109b9d into dev Feb 21, 2025
13 checks passed
@seando-adsk seando-adsk deleted the bailp/EMSUSD-2171/collection-ui-issues branch February 21, 2025 19:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working ready-for-merge Development process is finished, PR is ready for merge shared_components Shared Components (Max / Maya)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants