pyblish-lite icon indicating copy to clipboard operation
pyblish-lite copied to clipboard

Action menu category is selectable (pyblish-lite gui)

Open virtualengineer opened this issue 5 years ago • 2 comments

OS : Windows 10 App: Maya 2018 Pyblish GUI : pyblish-lite

I am using pyblish-maya with pyblish-lite as the GUI. I have noticed on the lite version that the action context menu categories are selectable. This is not the case when using qml as the GUI. Also, the menu icon is not displaying either. It does display in the qml GUI though. Please see attached image. The category or heading is called "Geometry". The action is called "Select Invalid".

Action Settings

class Model_OnFail_SelectInvalidModels(pyblish.api.Action):
    # context menu label
    label = "Select Invalid"
    # context menu icon
    icon = "hand-o-up"
    # action is for failed validation objects only
    on = "failed"

Validator Action Settings:

class ValidateModel(pyblish.api.InstancePlugin):
    # pyblish context menu actions
    actions = [
        pyblish.api.Category("Geometry"),
        Model_OnFail_SelectInvalidModels
    ]

pyblish_maya_lite_action_menu_category_selectable

virtualengineer avatar Jun 19 '19 11:06 virtualengineer

Thanks for reporting this @virtualengineer! Are you able to have a look, and see how it might be fixed?

mottosso avatar Jun 20 '19 08:06 mottosso

Thanks for reporting this @virtualengineer! Are you able to have a look, and see how it might be fixed?

Unfortunately, not anytime soon. I'll let you know if I figure out the cause.

virtualengineer avatar Jun 24 '19 06:06 virtualengineer