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

qz:steal support #596

Closed
tresf opened this issue Feb 27, 2020 · 1 comment · Fixed by #849
Closed

qz:steal support #596

tresf opened this issue Feb 27, 2020 · 1 comment · Fixed by #849
Assignees
Milestone

Comments

@tresf
Copy link
Contributor

tresf commented Feb 27, 2020

Ability to modify the qz:launch behavior to gracefully shut down the OTHER instance of QZ Tray.

  • Currently if QZ Tray is started, it will shut down the CURRENT instance of QZ Tray if another instance is running
  • It may be beneficial to allow the new instance to "steal" the process and shut down the other
  • This can have undefined results when multiple users are working simultaneously, it should only ever be deployed in environments where workstations are shared (not in a Terminal Services or Citrix style environment when they are using the workstations simultaneously)

The new feature should be usable through Command Line or HTML/URL:

  • Command Line:

    java -jar qz-tray.jar --steal
  • HTML/URL:

    <a href="qz:steal">Start QZ Tray, stealing it from another user if possible</a>
@tresf tresf added this to the 2.2 milestone Feb 27, 2020
@tresf
Copy link
Contributor Author

tresf commented Aug 10, 2021

This is tested and working. Please check it out on the wiki: https://qz.io/wiki/multiple-instances

tresf added a commit that referenced this issue Aug 12, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants