UIPI Issues on Windows Vista (and presumably 7)

14 views
Skip to first unread message

Alan Berndt

unread,
Jun 3, 2010, 2:02:32 PM6/3/10
to Snarl Discussion
http://en.wikipedia.org/wiki/User_Interface_Privilege_Isolation

Windows Vista and 7 include this feature which prevents non-escalated
programs from sending WM_SNARLTEST to the Snarl window if it is
started with windows.

Tokelil

unread,
Jun 3, 2010, 5:20:26 PM6/3/10
to Snarl Discussion
Are you sure? Just tried the SnarlConnector (C#) test app, and it
works fine from there. (Win7 x64, Snarl auto started with Windows)

Alan Berndt

unread,
Jun 3, 2010, 8:30:01 PM6/3/10
to Snarl Discussion
I am running Snarl R2.3A2 and Windows Vista x86 and it doesn't work
for me unless I quit Snarl and start it myself.

Tokelil

unread,
Jun 4, 2010, 4:55:12 AM6/4/10
to Snarl Discussion
What user is Snarl running under when it is auto started for you?

Alan Berndt

unread,
Jun 4, 2010, 1:59:22 PM6/4/10
to Snarl Discussion
I will check next time I reboot.

Alan Berndt

unread,
Jun 4, 2010, 3:29:45 PM6/4/10
to Snarl Discussion
Snarl is running as the same user I am logged in to, so I'm not sure
why it is an issue.

Chris Peel

unread,
Jun 5, 2010, 3:47:50 AM6/5/10
to snarl-...@googlegroups.com

It might be - but I really don't think it is - if you ticked the
"Launch Snarl after installation completes" tick box when you
installed Snarl.

From what I've gleaned from previous posts to this forum, ticking
this box means Snarl will run with elevated privileges as it's
launched by the NSIS installer as opposed to yourself. Why this
should persist after rebooting however is a mystery.

You could try quitting Snarl and the running it yourself from the
Start Menu if you've not already done so...

> --
> You received this message because you are subscribed to the Google
> Groups "Snarl Discussion" group.
> To post to this group, send email to snarl-...@googlegroups.com.
> To unsubscribe from this group, send email to snarl-discus...@googlegroups.com
> .
> For more options, visit this group at http://groups.google.com/group/snarl-discuss?hl=en
> .
>

M^3

unread,
Jun 5, 2010, 8:12:17 PM6/5/10
to Snarl Discussion
I have seen this problem too, Snarl launches with windows and then it
would not trigger the notification unless snarl_cmd was elevated which
is kinda silly when running from a script like I do. I use a script
to scan files I grab with orbit downloader with clamdscan and pop a
snarl notification on error or virus. Currently I have it asking for
elevation when it runs. This is on Windows 7 pro 32 bit.

Chris Peel

unread,
Jun 6, 2010, 3:14:23 AM6/6/10
to snarl-...@googlegroups.com

It seems the simplest way forward would be for me to implement
ChangeWindowMessageFilter() under Vista and
ChangeWindowMessageFilterEx() under Windows 7. I'll add this
functionality to R2.3 Beta 1 so it can be tested.

Thanks

Chris Peel

unread,
Jun 6, 2010, 3:43:45 AM6/6/10
to snarl-...@googlegroups.com

Added as Feature Request 3011974.
Reply all
Reply to author
Forward
0 new messages