diff --git a/info.yml b/info.yml
index b652bef9..fdaf4655 100644
--- a/info.yml
+++ b/info.yml
@@ -267,7 +267,7 @@ description: "Using this app you can browse, open and save your Work Files and P
# Required minimum versions for this item to run
requires_shotgun_version:
-requires_core_version: "v0.19.1"
+requires_core_version: "v0.19.18"
requires_engine_version:
# the engines that this app can operate in:
diff --git a/python/tk_multi_workfiles/actions/new_file_action.py b/python/tk_multi_workfiles/actions/new_file_action.py
index 405ebaec..aefe5a3a 100644
--- a/python/tk_multi_workfiles/actions/new_file_action.py
+++ b/python/tk_multi_workfiles/actions/new_file_action.py
@@ -14,6 +14,7 @@
from sgtk import TankError
from sgtk.platform.qt import QtGui
+from sgtk import support_url
from .file_action import FileAction
from .action import Action
@@ -77,8 +78,10 @@ def execute(self, parent_ui):
# and raise a new, clearer exception for this specific use case:
raise TankError(
"Unable to resolve template fields after folder creation! This could mean "
- "there is a mismatch between your folder schema and templates. Please email "
- "support@shotgunsoftware.com if you need help fixing this."
+ "there is a mismatch between your folder schema and templates. Please "
+ "contact us via {} if you need help fixing this.".format(
+ support_url
+ )
)
# reset the current scene:
diff --git a/python/tk_multi_workfiles/file_save_form.py b/python/tk_multi_workfiles/file_save_form.py
index b8c6ff16..74276b94 100644
--- a/python/tk_multi_workfiles/file_save_form.py
+++ b/python/tk_multi_workfiles/file_save_form.py
@@ -377,8 +377,8 @@ def _generate_path(
# and raise a new, clearer exception for this specific use case:
raise TankError(
"Unable to resolve template fields! This could mean there is a mismatch "
- "between your folder schema and templates. Please email "
- "support@shotgunsoftware.com if you need help fixing this."
+ "between your folder schema and templates. Contact us via {} "
+ "if you need help fixing this.".format(sgtk.support_url)
)
# it's ok not to have a path preview at this point!
diff --git a/python/tk_multi_workfiles/ui/file_save_form.py b/python/tk_multi_workfiles/ui/file_save_form.py
index fd6545f2..e05fafbb 100644
--- a/python/tk_multi_workfiles/ui/file_save_form.py
+++ b/python/tk_multi_workfiles/ui/file_save_form.py
@@ -166,7 +166,7 @@ def setupUi(self, FileSaveForm):
self.verticalLayout_4.setObjectName("verticalLayout_4")
self.preview_grid = QtGui.QGridLayout()
self.preview_grid.setHorizontalSpacing(14)
- self.preview_grid.setVerticalSpacing(6)
+ self.preview_grid.setVerticalSpacing(1)
self.preview_grid.setObjectName("preview_grid")
self.preview_label = QtGui.QLabel(self.preview_page)
self.preview_label.setAlignment(QtCore.Qt.AlignRight|QtCore.Qt.AlignTop|QtCore.Qt.AlignTrailing)
@@ -211,10 +211,12 @@ def setupUi(self, FileSaveForm):
self.warning_grid.setVerticalSpacing(6)
self.warning_grid.setObjectName("warning_grid")
self.warning = QtGui.QLabel(self.warning_page)
+ self.warning.setMinimumSize(QtCore.QSize(0, 45))
self.warning.setAlignment(QtCore.Qt.AlignLeading|QtCore.Qt.AlignLeft|QtCore.Qt.AlignTop)
self.warning.setWordWrap(True)
self.warning.setMargin(0)
self.warning.setIndent(-1)
+ self.warning.setTextInteractionFlags(QtCore.Qt.LinksAccessibleByMouse|QtCore.Qt.TextSelectableByKeyboard|QtCore.Qt.TextSelectableByMouse)
self.warning.setObjectName("warning")
self.warning_grid.addWidget(self.warning, 0, 1, 1, 1)
self.warning_label = QtGui.QLabel(self.warning_page)
diff --git a/resources/build_resources.sh b/resources/build_resources.sh
index 44c97903..d57e1aab 100755
--- a/resources/build_resources.sh
+++ b/resources/build_resources.sh
@@ -13,9 +13,6 @@
# The path to output all built .py files to:
UI_PYTHON_PATH=../python/tk_multi_workfiles/ui
-# The path to where the PySide binaries are installed
-PYTHON_BASE="/Applications/Shotgun.app/Contents/Resources/Python/bin"
-
# Remove any problematic profiles from pngs.
for f in *.png; do mogrify $f; done
@@ -31,11 +28,11 @@ function build_qt {
}
function build_ui {
- build_qt "${PYTHON_BASE}/python ${PYTHON_BASE}/pyside-uic --from-imports" "$1.ui" "$1"
+ build_qt "pyside-uic --from-imports" "$1.ui" "$1"
}
function build_res {
- build_qt "${PYTHON_BASE}/pyside-rcc -py3" "$1.qrc" "$1_rc"
+ build_qt "pyside-rcc -py3" "$1.qrc" "$1_rc"
}
diff --git a/resources/file_save_form.ui b/resources/file_save_form.ui
index daed7b5c..914d973b 100644
--- a/resources/file_save_form.ui
+++ b/resources/file_save_form.ui
@@ -352,7 +352,7 @@ background-color: rgb(255, 128, 0);
14
- 6
+ 1
-
@@ -443,6 +443,12 @@ background-color: rgb(255, 128, 0);
-
+
+
+ 0
+ 45
+
+
warning
@@ -458,6 +464,9 @@ background-color: rgb(255, 128, 0);
-1
+
+ Qt::LinksAccessibleByMouse|Qt::TextSelectableByKeyboard|Qt::TextSelectableByMouse
+
-
diff --git a/tests/fixtures/config/core/core_api.yml b/tests/fixtures/config/core/core_api.yml
new file mode 100644
index 00000000..83615ab7
--- /dev/null
+++ b/tests/fixtures/config/core/core_api.yml
@@ -0,0 +1,16 @@
+# Copyright (c) 2020 Shotgun Software Inc.
+#
+# CONFIDENTIAL AND PROPRIETARY
+#
+# This work is provided "AS IS" and subject to the Shotgun Pipeline Toolkit
+# Source Code License included in this distribution package. See LICENSE.
+# By accessing, using, copying or modifying this work you indicate your
+# agreement to the Shotgun Pipeline Toolkit Source Code License. All rights
+# not expressly granted therein are reserved by Shotgun Software Inc.
+
+# this configuration file defines which version of the toolkit
+# core API that should be used at runtime.
+
+location:
+ type: path
+ path: $SHOTGUN_REPOS_ROOT/tk-core
diff --git a/tests/fixtures/configWF2ui/core/core_api.yml b/tests/fixtures/configWF2ui/core/core_api.yml
new file mode 100644
index 00000000..83615ab7
--- /dev/null
+++ b/tests/fixtures/configWF2ui/core/core_api.yml
@@ -0,0 +1,16 @@
+# Copyright (c) 2020 Shotgun Software Inc.
+#
+# CONFIDENTIAL AND PROPRIETARY
+#
+# This work is provided "AS IS" and subject to the Shotgun Pipeline Toolkit
+# Source Code License included in this distribution package. See LICENSE.
+# By accessing, using, copying or modifying this work you indicate your
+# agreement to the Shotgun Pipeline Toolkit Source Code License. All rights
+# not expressly granted therein are reserved by Shotgun Software Inc.
+
+# this configuration file defines which version of the toolkit
+# core API that should be used at runtime.
+
+location:
+ type: path
+ path: $SHOTGUN_REPOS_ROOT/tk-core