Workfiles tool: disable file extension combobox in "Copy & Open" - #2017
Merged
iLLiCiTiT merged 18 commits intoSep 4, 2026
Conversation
2 tasks
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates the Workfiles tool UI so that when using the “Copy & Open” flow, the user can no longer change the target file extension in the Save As dialog—preventing mismatches between the selected published representation and the destination extension.
Changes:
- Added an
enable_ext_selectionflag toSaveAsDialogto disable the extension combobox when needed. - Threaded an
enable_ext_selectionoption throughFilesWidget._exec_save_as_dialog(...). - Wired the “Copy & Open” button to open the dialog with extension selection disabled.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 2 comments.
| File | Description |
|---|---|
client/ayon_core/tools/workfiles/widgets/save_as_dialog.py |
Adds an option to disable the extension combobox in the Save As dialog. |
client/ayon_core/tools/workfiles/widgets/files_widget.py |
Passes the new flag through dialog creation and disables extension selection for “Copy & Open”. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
iLLiCiTiT
reviewed
Aug 26, 2026
iLLiCiTiT
reviewed
Aug 26, 2026
iLLiCiTiT
reviewed
Aug 26, 2026
iLLiCiTiT
reviewed
Aug 26, 2026
iLLiCiTiT
reviewed
Aug 26, 2026
iLLiCiTiT
reviewed
Aug 26, 2026
…-invalidly-prompts-for-save-file-extension
…-invalidly-prompts-for-save-file-extension
iLLiCiTiT
reviewed
Aug 31, 2026
iLLiCiTiT
reviewed
Aug 31, 2026
…-invalidly-prompts-for-save-file-extension
iLLiCiTiT
reviewed
Aug 31, 2026
iLLiCiTiT
reviewed
Aug 31, 2026
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
iLLiCiTiT
reviewed
Aug 31, 2026
iLLiCiTiT
reviewed
Aug 31, 2026
iLLiCiTiT
reviewed
Aug 31, 2026
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
Co-authored-by: Jakub Trllo <43494761+iLLiCiTiT@users.noreply.github.com>
…-invalidly-prompts-for-save-file-extension
iLLiCiTiT
approved these changes
Sep 4, 2026
iLLiCiTiT
deleted the
1118-workfiles-tool-published-copy-open---invalidly-prompts-for-save-file-extension
branch
September 4, 2026 09:02
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Changelog Description
This PR disables file extension change during
Copy & Openaction in work files tool.It is done via adding new argument
enable_ext_selectionand disabling the combobox based on this passed argument value.Additional info
N/A
Testing notes:
Copy & Openbutton