"Remember this decision" checkbox disables yes button

734 views
Skip to first unread message

Frank Verberne

unread,
Aug 18, 2022, 6:32:24 AM8/18/22
to qz-p...@googlegroups.com
Dear reader,

When QZ-tray has to access the printers of the Operating System, a permission pop-up is always shown. Usually, when checking the checkbox "remember this decision", you only have to give permission 1 time and from then on, no pop-up will show up anymore. However, when the remember this decision checkbox is checked, the yes button is disabled, meaning that the yes answer cannot be remembered. This seems like a permission issue, but the application is run as administrator, the rights of the user are admin, and the rights for the specific folder the file allowed.bat is written to according to https://qz.io/wiki/windows-service#remove-the-service are also admin for this user.

What could I do to further debug and fix the issue?

Extra information:
Operating system: Windows 10
Version QZ-tray: 2.2.1 (also tried version 2.1 and 2.0.11)
JavaFX version is 15-ea (only with 2.2.1, when installing 2.1 or 2.0.11, version 8 is shown and oracle as the location (so not a bundled version of QZ)).

FYI, I've also posted this question on https://www.reddit.com/r/qztray/comments/wrfzlo/remember_this_decision_checkbox_disables_yes/.

Kind regards / Met vriendelijke groet,
Frank Verberne
 
Torenallee 26-22, 5617 BD Eindhoven (NL)
IRC channel #codeyellow on Freenode

Tres Finocchiaro

unread,
Aug 18, 2022, 8:49:51 AM8/18/22
to Frank Verberne, qz-print
Can you please provide a screenshot? Usually this means that the certificate or signature are invalid.



--
You received this message because you are subscribed to the Google Groups "qz-print" group.
To unsubscribe from this group and stop receiving emails from it, send an email to qz-print+u...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/qz-print/d4d89bb028fffd1c6acde8f7eae3dda2%40codeyellow.nl.

Frank Verberne

unread,
Aug 18, 2022, 10:16:22 AM8/18/22
to Tres Finocchiaro, qz-print
Hi all,

The problem has been fixed. The qz-tray.properties file needed to be
updated to correct the override.crt. The print.crt file got renamed to
override.crt when added to the site manager.

Kind regards,
Frank
>> +31 (0) 40 780 50 90
>>
>> fr...@codeyellow.nl
>>
>> www.codeyellow.nl [1]
>>
>> Torenallee 26-22, 5617 BD Eindhoven (NL)
>>
>> IRC channel #codeyellow on Freenode
>>
>> --
>> You received this message because you are subscribed to the Google
>> Groups "qz-print" group.
>> To unsubscribe from this group and stop receiving emails from it,
>> send an email to qz-print+u...@googlegroups.com.
>> To view this discussion on the web visit
>>
> https://groups.google.com/d/msgid/qz-print/d4d89bb028fffd1c6acde8f7eae3dda2%40codeyellow.nl
>> [2].
>
>
> Links:
> ------
> [1] http://www.codeyellow.nl
> [2]
> https://groups.google.com/d/msgid/qz-print/d4d89bb028fffd1c6acde8f7eae3dda2%40codeyellow.nl?utm_medium=email&utm_source=footer

Tres Finocchiaro

unread,
Aug 18, 2022, 10:40:31 AM8/18/22
to Frank Verberne, qz-print
Hi, I believe this is a repost of this question on reddit: https://www.reddit.com/r/qztray/comments/wrfzlo/remember_this_decision_checkbox_disables_yes/

I'll quote my answer... 

Hi, override.crt should be copied to the root of C:\Program Files\QZ Tray\ on Windows, /opt/qz-tray/ on Linux or /Applications/QZ Tray.app/Contents/Resources on Mac as a post-install, manual operation. The manual editing of "qz-tray.properties" should not be needed.

If you'd like to bundle this into the installer, you may do so by recompiling with "authcert.override" flag (e.g. "ant nsis -Dauthcert.override=mycert.crt") per https://qz.io/wiki/compiling#ant-command-line.

If you find a bug with this process, feel free to file a bug on our GitHub page so that we can improve this process moving forward. :)
Reply all
Reply to author
Forward
0 new messages