![]() |
|
Micahs
|
@Guest10 I don't know exactly why this would happen. I created another sandbox called 'test' to see if it handles them differently, and the class is 'Sandbox:test:ExploreWClass' running windows explorer. In the default sandbox, the classnames are changed to just 'Sandbox:' BorderGuard uses the '[#]' brand in the title and the changed classname 'Sandbox:' to determine if a window is sandboxed. Here are screenshots of myWindowInfo for FF and IE7. Please post screenshots of myWindowinfo for the windows that borderGuard will not work on. Maybe we can sort this out. ![]()
myWindowInfo (Source) |
||||||||||||||||
|
|
|||||||||||||||||
|
Guest10
|
![]() ![]() |
||||||||||||||
|
|
|||||||||||||||
|
tzuk
|
(Emphasis mine.) In the default sandbox DefaultBox, the class names should be Sandbox:DefaultBox:classname. This is how it is for me, and Guest10's screenshots also confirm this. I have no idea why you see just Sandbox:classname for DefaultBox, but it should not be this way. |
||||||||||||||
|
_________________ tzuk |
|||||||||||||||
|
Guest10
|
I think it's the "top 0" for the window position that is doing it. If I move my browser window down, below the top of the screen (when not sandboxed), then when running it sandboxed - with an empty sandbox - it seems to show the border OK when it opens. At least for this attempt, anyway.
The one Firefox profile that always seemed to work for me opens the browser window a little lower down from the top of the screen, than the other 2 profiles - which opened the browser window all the way at the top of the screen, as shown in my screen shots above. |
||||||||||||
|
|
|||||||||||||
|
Micahs
|
@tzuk
Well, you're just WRONG, WRONG, WRO...oh so right. @Guest10 You are absolutely right about the 'top 0' being the culprit! I have the taskbar at the top of my screen so it was never an issue for me. Try it now. -borderGuard- |
||||||||||||
|
|
|||||||||||||
|
Guest10
|
![]() |
||||||||||||||
|
|
|||||||||||||||
| Border option question |
|
dynarx
|
Micahs, thank you for BorderGuard, very cool.
I was wondering - for those of us who like to run our browser/prgs maximised, would you consider/is it possible to add the option of a border just *inside* the app window? Cheers! Me Dynarx |
||||||||||||
|
Last edited by dynarx on Wed Apr 30, 2008 1:25 pm; edited 1 time in total |
|||||||||||||
|
Micahs
|
@Guest10
I tried to reproduce this and it did - but only the first time I ran my browser sandboxed. It won't do it reliably for me. Does it do this every time you start your browser? I think this is because Windows sometimes reports a window as the active window before that window is fully loaded. This makes the x,y,w,h vars read screwy. I will have to look into this and add some more filtering and stuff. [EDIT] Come to think of it, I just turned off detection of hidden widows (added before for visual reasons.) Try this new version. @dynarx This puts the border inside the window when maximized. Because Windows reports the size a little bigger than it seems to be you lose some of the border (it's outside of the viewable area) but I think this is good because it prevents the border from totally covering the titlebar, scrollbars, etc. borderGuard |
||||||||||||
|
|
|||||||||||||
|
Guest10
|
|
||||||||||||||
|
|
|||||||||||||||
| BorderGuard |
|
dynarx
|
Micahs, the maximised version works a treat, thankee kindly for your (rapid!) efforts!
Many thanks, Me Dynarx |
||||||||||||
|
|
|||||||||||||
|
Micahs
|
Cool
|
||||||||||||
|
|
|||||||||||||
| BorderGuard |
|
dynarx
|
Just for the record, I thought I'd share my BG settings. I think my layout gives SB its own unique look without being too intrusive, plus it no longer resembles that other (*cough* Gr**nB****r) product quite so much...
[Ini] ;When dragging a sandboxed window, hide the border during drag hideBorderOnDrag=1 ;round the border corners (0-1) - Off, purely for CPU cycles fancyCorners=0 ;What color to make the border for the active window (RRGGBB) - Yellow for sand of course borderColor=0xFFFF00 ;Border transparency for active windows (0-255, with '255' being opaque) borderTrans=150 ;How thick to make the window border (0-?) borderThickness=8 [Localization] menuSettings=Settings menuAbout=About menuExit=Exit Cheers all, Me Dynarx |
||||||||||||
|
|
|||||||||||||
|
semerra
|
Is it possible to modify borderguard so that the left edge of the browser window is not colored ?
This would enable it to work with the MileWideBack extension which i use in Firefox. MileWideBack is an extension that allows you to navigate back and forth in the browser by left-clicking or right-clicking on the left edge of the browser window. This works best when the browser window is maximized in which the left edge becomes the left most part of the screen. Then, to navigate back and forth, simply " throw" the mouse to the left until it can go no more and then click in that space. edit: disregard this request. I started using the FireGestures extension instead. |
||||||||||||
|
|
|||||||||||||
|
Micahs
|
@semerra
Yep, the latest version has a setting in the ini file called 'leftOffset'. Use this to make the left side of the border inset. A value of 5 on my system leaves 1 pixel of the left frame of the window free. To make the left side of the border gone altogether, set 'leftOffset' equal to 'borderThickness'. [EDIT] Oops, I didn't see your edit until after I posted. Oh well, I'll leave it there in case others want it. This version also allows having a different border color for each sandbox. To add a red border for a sandbox called 'test' put this in your ini file:
You can use color names instead of RGB values for any colors, default or per sandbox. EG: red, blue, green (see HERE for complete list.) borderGuard |
||||||||||||||
|
|
|||||||||||||||
| Border sandboxed indicator |
|
||
|






Use the RSS feed to watch this topic for replies