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

Add pyblish tray functionality #5

Closed
BigRoy opened this issue Apr 6, 2016 · 4 comments
Closed

Add pyblish tray functionality #5

BigRoy opened this issue Apr 6, 2016 · 4 comments
Assignees
Labels

Comments

@BigRoy
Copy link
Member

BigRoy commented Apr 6, 2016

Goal

To add a pyblish-tray executable so one can launch the tray functionality similar to running pyblish_qml.exe. This as an artist-friendly way of keeping pyblish qml running the background whilst being able to manage it using the tray icon.

Motivation

Currently the process can only be found in the task manager and for an artist it is unclear whether the process is currently running (pyblish_qml.exe) without looking there, especially if the process was run without an open console to debug.

Having the tray accessible to check the logs for debugging and seeing it active there is a first step to really get pyblish-tray into the mainstream.

Based on reply on the forums

Note: It would be great if this would by default start without an additional console window since the tray interface itself acts as debugging console.

@mottosso
Copy link
Member

mottosso commented Apr 6, 2016

Note to implementer;

We'll need to implement the -u flag, or "unbuffered mode", for the underlying Python process as Pyblish Tray relies on this ability to properly retrieve the output from the child Pyblish QML process.

@mottosso mottosso self-assigned this Apr 6, 2016
@mottosso
Copy link
Member

mottosso commented Apr 6, 2016

Initially, I was thinking pyblish-tray could use the Windows-based pythonw rather than python for a native GUI application. But the problem is that GUI applications on Windows can't take command line arguments, and we need those.

So instead, I'll bundle an optional .bat script for Windows users to run without a console.

@BigRoy
Copy link
Member Author

BigRoy commented Apr 6, 2016

Sounds fine with me. Thanks for pointing that out!

@mottosso
Copy link
Member

mottosso commented Apr 6, 2016

This has been implemented in 1.1.

@mottosso mottosso closed this as completed Apr 6, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants