Tiny Core Linux

Tiny Core Base => TCB Bugs => Topic started by: bmarkus on October 10, 2009, 03:25:05 AM

Title: wbar refresh issue
Post by: bmarkus on October 10, 2009, 03:25:05 AM
When a window overlapping wbar is moved up, wbar background area is not updated and part of moved window is left there:

(http://tc.hasix.org/scrcap/screenshot_1010091339.png)

Taken on 2.4, Xvesa.
Title: Re: wbar refresh issue
Post by: curaga on October 10, 2009, 04:33:30 AM
Known feature, comes from the light approach to a panel. It only takes a shot at startup, saving considerable resources compared to, say, aterm fake transparency, or real composite transparency, which would be even heavier and depend on Xorg.

Right-click on wbar, or select "restart wbar" from the menu.
Title: Re: wbar refresh issue
Post by: bmarkus on October 10, 2009, 04:56:01 AM
Thanks, I can survive with manual refresh  :)
Title: Re: wbar refresh issue
Post by: roberts on October 10, 2009, 09:27:17 AM
It is in the FAQ!  http://www.tinycorelinux.com/faq.html#wbar
Title: Re: wbar refresh issue
Post by: vinnie on October 10, 2009, 09:34:23 AM
you could not remove the transparency? , since it is useless  ???
Title: Re: wbar refresh issue
Post by: bmarkus on October 10, 2009, 11:46:26 AM
It is in the FAQ!  http://www.tinycorelinux.com/faq.html#wbar

Yes, it is there. For me the key point wasn't how to refresh but the reason of the behavior (feature or bug  :) ) what curage answered.
Title: Re: wbar refresh issue
Post by: curaga on October 10, 2009, 12:50:05 PM
you could not remove the transparency? , since it is useless  ???
Remove? What would you like on the background of it instead? A solid color?
Title: Re: wbar refresh issue
Post by: vinnie on October 11, 2009, 05:39:11 AM
Yes, something that does not cause problems.
I'm not a fan of transparency, but i think fake trasparency is most annoying than anything.
Title: Re: wbar refresh issue
Post by: Guy on October 12, 2009, 05:28:13 AM
It is transparent so you can have a background image.

If it was a solid color, it would cover the background image.
Title: Re: wbar refresh issue
Post by: MikeLockmoore on October 12, 2009, 09:31:34 AM
Maybe there could be a script to automatically restart Wbar every 5 seconds or so?  So if it bugs you, you can have this script running that will clear up the problem within a few seconds?
--
Mike L.
Title: Re: wbar refresh issue
Post by: Guy on October 12, 2009, 09:45:34 AM
Quote
Maybe there could be a script to automatically restart Wbar every 5 seconds or so?  So if it bugs you, you can have this script running that will clear up the problem within a few seconds?

I think that would use computer resources unnecessarily.


Keep in mind, it is only a cosmetic issue, everything works ok, and it can be restarted manually.
Title: Re: wbar refresh issue
Post by: MikeLockmoore on October 12, 2009, 12:45:33 PM
Guy: yes, I probably should have said it would be a user-level customization to set up such a script.  I would not advocate to add it to TC base. -ML
Title: Re: wbar refresh issue
Post by: roberts on October 12, 2009, 12:57:48 PM
We have crond. Setup crontab on wbar.sh
Title: Re: wbar refresh issue
Post by: jur on October 12, 2009, 08:47:58 PM
Also, you can specify transparentness in .wbar - play around with -falfa and -balfa. type wbar -help.
Title: Re: wbar refresh issue
Post by: baz on January 01, 2010, 05:57:58 PM
Even with -balfa at 100, there are still the ugly edges around it (see screenshot attachment - must be logged in to see attachments). No matter what you do wbar is always aesthetically lacking!

BTW how do you display a screenshot right in the msg rather than an attachment? Does it have to be hosted somewhere else then you use (http://)?
Title: Re: wbar refresh issue
Post by: curaga on January 02, 2010, 02:59:47 AM
If you need true transparency, you'll need Xorg and an app for that. I think that only Xfce has a panel with transparency in our current extensions.
Title: Re: wbar refresh issue
Post by: Arslan S. on January 02, 2010, 05:21:45 AM
http://www.xfce.org/documentation/4.2/manuals/xfce4-panel#panel-transparency (http://www.xfce.org/documentation/4.2/manuals/xfce4-panel#panel-transparency)

xfwm should be built with --enable compositor for that i think
dunno how to check that at the moment
 
Title: Re: wbar refresh issue
Post by: Arslan S. on January 02, 2010, 05:29:50 AM
it is enabled i think settings-> window manager teaks-> compositor and transparent windows and panel  :)

here is a screenshot
http://farm5.static.flickr.com/4010/4236926944_8a754bc78f_o.png (http://farm5.static.flickr.com/4010/4236926944_8a754bc78f_o.png)