Other marks than [#] ... [#] for sandboxed apps

Ideas for enhancements to the software
Post Reply
OwenBurnett
Posts: 112
Joined: Mon Dec 18, 2006 11:36 am

Other marks than [#] ... [#] for sandboxed apps

Post by OwenBurnett » Sun Feb 11, 2007 10:18 am

Hi,
How about having an obtional different marks for Sandboxed Programs insatd of this [#] ... [#].
I would like somethink Red edges for Sandboxed windows, it would be cool if I could specify different colors for different sandboxes.

Owen

street011
Posts: 412
Joined: Tue Jan 16, 2007 2:08 pm

Post by street011 » Sun Feb 11, 2007 2:06 pm

greenborder uses something like that (exactly that, a green border :P ), it's a pre i think, would be nice if sandboxie could have this feature.

OwenBurnett
Posts: 112
Joined: Mon Dec 18, 2006 11:36 am

Post by OwenBurnett » Sun Feb 11, 2007 3:00 pm

Hi,
indeed greenborder have also such feature,
I actualy was thinking about the (censored) it have a red border,

there is a layout difference, GB draws the green part outside the edges, BZ overdraws a part of the regulary windows XP edge so the windows does not become larger.

I actualy would brefer the BZ look.

Owen

tzuk
Sandboxie Founder
Sandboxie Founder
Posts: 16076
Joined: Tue Jun 22, 2004 12:57 pm

Post by tzuk » Sun Feb 11, 2007 9:16 pm

I appreciate the thought to make Sandboxie "prettier" in this regard, but painting stuff outside the window is more complicated and more intrusive to the application, than adding a small piece of text the title.
tzuk

street011
Posts: 412
Joined: Tue Jan 16, 2007 2:08 pm

Post by street011 » Mon Feb 12, 2007 3:29 am

tzuk wrote:I appreciate the thought to make Sandboxie "prettier" in this regard, but painting stuff outside the window is more complicated and more intrusive to the application, than adding a small piece of text the title.
afaik it's indeed easier to colorize already existing parts of a window, so maybe just a red title bar or maybe red borders (already existing, not ouside) will do the trick?

tzuk
Sandboxie Founder
Sandboxie Founder
Posts: 16076
Joined: Tue Jun 22, 2004 12:57 pm

Post by tzuk » Mon Feb 12, 2007 8:42 am

This is my technical reasoning.

Sandboxie can easily intercept an application request to "SetWindowTitle" and stick the [#] mark there before passing the request on to the system.

But, there is no application request to "DrawColorfulBorderInsideOrOutsideWindow" :) Actually it's the other way around, the OS is making a request to the app, to repaint its window.

I'm not saying this is impossible to do (obviously, as the other programs mentioned here do it). But I am saying it's intrusive to the application, and will likely interfere with (at least) a few programs, so not worth the effort.
tzuk

street011
Posts: 412
Joined: Tue Jan 16, 2007 2:08 pm

Post by street011 » Mon Feb 12, 2007 9:15 am

okay... i understand, it's no loss i think.

It would just make it more obvious if an app was running sandboxed.

Unknown_User_684
Posts: 0
Joined: Wed Dec 31, 1969 7:00 pm

Post by Unknown_User_684 » Fri Mar 16, 2007 3:31 pm

I think that marking the window title is a good idea, as it is clear but unobtrusive. Rather than [#] though, I would like to see [1], [2] ... etc, indicating which sandbox the program is running in, following the order that the sandboxes are displayed in the switch list.

This would have the advantage that when two or more browser sessions are running in different sandboxes at the same time, it would be clear from the window title which sandbox each session was running in.

OwenBurnett
Posts: 112
Joined: Mon Dec 18, 2006 11:36 am

Post by OwenBurnett » Sat Mar 17, 2007 3:57 am

How will you know what number represents what sandbox?
Make if [#ID] where you can set the ID for evenr SB to an arbitrary srting in the sb.ini and I'm in ;) and if ID is not set than only [#] will be shown.

Owen

Unknown_User_684
Posts: 0
Joined: Wed Dec 31, 1969 7:00 pm

Post by Unknown_User_684 » Sat Mar 17, 2007 5:19 am

If the switch list numbered the sandboxes, it would be self-evident. For example, Ive borrowed GreenBorder's idea and set up an additional sandbox called PrivacyZone for use only with banking and shopping sites. What I'm suggesting is that the switch list (in my case) could display something like this:

[1] DefaultBox
[2] PrivacyZone

To illustrate how this would work, let's say I open three browser sessions, with the first and third running in the DefaultBox and the second running in the PrivacyZone. The window titles would be numbered [1], [2], [1], respectively, making it absolutely clear which sandbox each session is running in avoiding any possible confusion. By marking every window title with [#], there is no easy way of knowing which sandbox a sesion is running in, other than the user remembering which sandbox was used to first launch the session.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest