Focus-grabbing upgrade prompt

Got a problem with Viscosity or need help? Ask here!

ratness

Posts: 9
Joined: Fri Jul 06, 2018 4:31 am

Post by ratness » Wed Nov 10, 2021 4:13 am
The popup to tell me to upgrade will appear, seize window focus, and set button focus on the 'install now' option.

This has bitten me twice, where I have pressed enter just as focus was stolen. That puts me onto the upgrade path right there (I'm possibly not ready), without having a chance to read the release notes, and then the "install and upgrade" modal window is not dismissable/cancelable, so it's in the way until I do actually upgrade.

I'm on the beta channel, so I get this somewhat more often than 'usual'.

Is there a way to have the upgrade prompt set focus away from any button?
Thanks!

James

User avatar
Posts: 2313
Joined: Thu Sep 04, 2008 9:27 pm

Post by James » Wed Nov 10, 2021 3:09 pm
Hi ratness,

I'm afraid there isn't a current way to change the behaviour. Sparkle, the update framework Viscosity uses (along with most Mac apps), does respect Do Not Disturb settings, so enabling that when wanting to avoid the possibility of a prompt might be an option.

You'll find some other posts on the forum where we have said that we'd like to adopt the use of Notification Center notifications to alert of updates (instead of Sparkle's window displaying in the foreground), which is still the current plan. We've been waiting on version 2.0 of the Sparkle framework to become available before working towards this (as it adds several APIs to help support such a feature). Sparkle 2 is currently in beta, so hopefully it shouldn't be too much longer until its release.

Cheers,
James
Web: https://www.sparklabs.com
Support: https://www.sparklabs.com/support
Twitter: https://twitter.com/sparklabs
2 posts Page 1 of 1