qzind / qz-print

Archive for legacy qz-print versions (1.8, 1.9). See https://github.com/qzind/tray for modern versions.
Other
141 stars 101 forks source link

QZ Tray notifications on Mac #169

Closed klabarge closed 8 years ago

klabarge commented 8 years ago

Tested on Mac OSX 10.8 and 10.11 and QZ Tray 1.9.6

When a notification is triggered (even with "show all notifications" unchecked) it disappears when focus is taken off of it. I have mixed results on what actually takes focus away, but sometimes it is clicking on the webpage, sometimes a JavaScript alert does it.

After this alert is triggered and disappears, it will show up on every action (List All Printers, Print EPL, etc...) unless it is addressed and either closed out of, or "OK" is clicked on.

This becomes difficult to do when the JavaScript alerts steal focus and suppresses the notification until the next action.

Steps to reproduce:

  1. Load the sample.html and select a printer.
  2. Click the "Print EPCL" button. This causes a notification because the file path can't be created (permission denied).
  3. See the alert appear near the QZ Tray icon.
    • If it is still showing, click "OK" on the alert.
    • It should then have disappeared
  4. Click on any other sample button and watch it appear again.
  5. Repeat step 3.

This was discovered on QZ Tray 1.9.6, but I will test on earlier releases