Shotgun Engine for Shotgun Desktop v2
Shotgun Support in Shotgun Desktop v2
The Desktop2 Engine is the engine which runs inside of the Shotgun Create Application. It handles DCC launching from Shotgun Create, as well as from the Shotgun web application via browser integration.
Installation and Updates
Adding this Engine to the Shotgun Pipeline Toolkit
If you want to add this engine to Project XYZ, and an environment named asset, execute the following command:
> tank Project XYZ install_engine asset tk-desktop2
Updating to the latest version
If you already have this item installed in a project and you want to get the latest
version, you can run the
update command. You can either navigate to the
tank command that comes with that specific project, and run it there:
> cd /my_tank_configs/project_xyz > ./tank updates
Alternatively, you can run your studio
tank command and specify the project
name to tell it which project to run the update check for:
> tank Project XYZ updates
Collaboration and Evolution
If you have access to the Shotgun Pipeline Toolkit, you also have access to the source code for all apps, engines and frameworks in Github where we store and manage them. Feel free to evolve these items; use them as a base for further independent development, make changes (and submit pull requests back to us!) or simply tinker with them to see how they have been built and how the toolkit works. You can access this code repository at https://github.com/shotgunsoftware/tk-desktop2.
- You need Shotgun Pipeline Toolkit Core API version v0.19.1 or higher to use this.
No Configuration Needed!
This item does not have any options to configure!
Welcome to the release notes for this Engine. Below you will find an overview of all the changes we did for each release. We try to be as detailed as possible and include all bugs we have fixed, features we have added and things that may have changed. If you have questions about a particular release, don't hesitate to contact our support team!
Allows to open Tasks and Versions without entities from Shotgun.
Remove the forced debug logging to improve performance and lower disk usage.
Updates required tk-core and tk-framework-shotgunutils versions for Python 3 support.
Add support for Python 3.
Fixes an issue where Toolkit applications could not be launched from Shotgun Create after a software update.
Add sgc_open_version_draft in the WebSocket server capabilities
Adds telemetry to the websockets implementation.
These changes are for internal Shotgun use and have no impact on client-facing features or tools.
Improvements to the websockets protocol.
- Adds new websockets interfaces:
list_supported_commandsenumerates the commands supported by the server
sgc_open_taskopens a task or version inside SG create.
sgc_open_task_boardopens the task board inside SG create
- Refactored the entity path class to be more complete
- Better factory interfaces for websockets commands
- engine errors are now reported back to the SGC UI via toasts
- added exception traps in strategic places so that errors aren't just dissapearing
- added error checks for things like missing certs
- added error messages sent on force disconnect on user/site mismatch
- port preference support
- lots of refactoring and simplification.
Update payload format exchanged between Python & C++ to JSON.
Change the format of the payload exchanged from Python to C++ to JSON. The latter can easily be used in C++/Qt whereas a Python pickle is a more opaque type and would require custom parsing from the C++ code. To keep compatibility for now, until more code is updated, the original Python pickle is added as a payload in the JSON string. The whole immediate point is to be able to extract the newly added icon path from C++ code so it can be sent to the front end React code.
Another important change being that the Python code is now reducing sending menu item with messages about whether there are no actions or config etc. This is now left to the UI front end. Sending normal operation strings from the Python was making localization harder on the UI front end.
Resolves an issue on Windows 7 where user name comparisons could fail due to case sensitivity.
When comparing the currently-logged-in user against the user requesting menu actions via browser integration, we now make sure we're doing so in a case insensitive manner. Prior to this fix, we saw issues on Windows 7 where a user might accidentally log in with mixed casing and cause a false negative that resulted in browser integration being denied.
Switched to the official SG icon.
The decision was made to use the official SG logo for the engine icon instead of the Shotgun Create icon. No other changes have been made to the engine, so it is functionally identical to the previous release.
Updated icon to align with Shotgun Create.
This includes the latest icon design from Shotgun Create!
First full release candidate of the desktop2 engine for Shotgun Create!
This release contains a minor bug fix related to re-querying configs when Shotgun Create is refreshed, but more importantly it is the first public release of the tk-desktop2 engine! This engine implements Toolkit integration with Shotgun Create, and provides the necessary functionality for DCC launching and browser integration.
Small fix to a variable name.
Pre-caches configuration data on project load. Security-related fixes that mimic those implemented in tk-framework-desktopserver for browser integration. Various and sundry bug fixes!
No longer allows Websockets connections from sites we're not already authenticated with. These connection attempts are rejected and the user is alerted the first time this occurs per tk-desktop2 session.
Fixes bugs related to multiple PC entities referencing the same config, and fixes multiple-PC support.
Updates necessary for DCC launching to work in the React-driven VMR.
Removes an argument to a websocket server call that's no longer needed.
Bug fixes to web sockets file selection
Bug fixes to file selection dialog.
Bug fixes and improvements.
Polish and bug fixes.
Changes to logging and bug fixes.
Fixes console issues on windows.
Bug fixes. Support for asset and shot specific tasks.
Polish and fixes. Support for compatibility fallbacks.
Websockets support and bug fixes.
Adds pyside2 dark look and feel.
Init polish and refinements.
System menu items are now filtered out.
Polish and fixes.
Support for icons in remote execution. Better error handling.
Minor tweaks and bugfixes.
First draft of context menu support.