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

Manually sending JSON breaks UI #1013

Closed
tresf opened this issue Aug 25, 2022 · 2 comments · Fixed by #1016
Closed

Manually sending JSON breaks UI #1013

tresf opened this issue Aug 25, 2022 · 2 comments · Fixed by #1016
Assignees
Labels
Milestone

Comments

@tresf
Copy link
Contributor

tresf commented Aug 25, 2022

Two issues:

1. On Windows 11, certain JSON payloads, when sent to QZ Tray out of order will cause UI anomalies, such as a blank window. (CANNOT REPRODUCE, POSSIBLE DUPLICATE OF #823)

  1. By modifying the dialog's x and y positions, you can place the dialog non-centered, which can make it harder to find (e.g. upper right corner, etc).
    var obj =  {"call":"printers.find","timestamp":1661263106002,"uid":"5w9ad2","position":{"x":-1,"y":-1}}
    _qz.websocket.connection.send(JSON.stringify(obj));
@tresf tresf added the bug label Aug 25, 2022
@tresf tresf modified the milestones: 2.2.1, 2.2.2 Aug 25, 2022
@Vzor-
Copy link
Contributor

Vzor- commented Aug 25, 2022

Important note, this only occurs on Windows(OS).

@tresf
Copy link
Contributor Author

tresf commented Aug 25, 2022

Important note, this only occurs on Windows(OS).

Sorry, original description updated.

tresf added a commit that referenced this issue Sep 30, 2022
Ensures dialog is on a valid screen
Fixes screen calculation on IE11/Legacy Edge

Closes #1013

Co-authored-by: Tres Finocchiaro <tres.finocchiaro@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants