On Sun, Oct 12, 2003 at 03:36:51PM +0300, Mikhael Goikhman wrote:
> I suggest these colorset usability things:
> 
> 1) New colorset option "Clear" or "NoEffects" depending on what it does
> that removes all effects from a colorset, it may be aproximately
> equivalent to:
> 
>   Colorset N NoDither, \     # not sure about this one
>     Tint, fgTint, bgTint, Alpha, fgAlpha, IconTint, IconAlpha, \
>     Plain, NoShape, fg, bg   # not sure about these 4
> 
> This is intended to be used in dynamical configurations as in:
> 
>   Colorset N Clear, fg .., bg .., VGradient ..  # set completely new colors
> 
> I.e. it either resets all effects leaving only fg/bg/image/gradient or
> resets everything. Both are ok for me. Probably reseting everything is
> preferred. In this case Clear may work like CleanupColorsets just on a
> single colorset.
> 
> 2) It seems to me that whenever I do "Tint color percent" I always want
> to do "bgTint color percent" too, otherwise the sh/hi colors look
> incorrectly. So I think, "Tint" should also set "bgTint". If someone
> really wants the current behaviour (doubtly), he may always reset
> "bgTint", i.e. "Tint cyan 20, bgTint". For most of cases bgTint will be
> redundant with this proposal.
>

What about using fvwm functions

AddToFunc SetClearColorset
+ I Colorset $0 ... clearing ...
+ I Colorset $*
 
AddToFunc SetColorsetTint
+ I Colorset $0 Tint $1, bgTint $1

The colorset code is delicate. As we are in feature freeze I am not
very motivated to change some code which seems bug free (for some
minor feature).
 
> 3) It seems to me that whenever I do "Transparent" or "RootTransparent"
> I always want to do "bg average" after that. I remember the last time we
> discussed this it was rejected, since it takes time to evaluate average.
> However most of users will need to do it anyway, just explicitely.
> I think "bg average" should be implicetely set after every background
> image/gradient/transparent change.
> 
> I think this may be solved nicely in this way. Initially or after "Clear"
> or after "bg average", bg is set to be "average"-ed on every background
> change, hovewer after explicit bg setting, the auto-averaging is off.
> 

I disagree. "bg average" can be very slow and can use a lot of
(dynamical) memory. It can also reduce fvwm usability under certain
situation, e.g., FvwmBacker big bgs => 2 secs or more for switching
between desks (colorset FvwmBacker bg can solve this but you should
have all your bg in memory ...). I think that it is better that the
user set "bg average" itself (there is a "warning" in the man page, he
takes his responsibility).

By the way, I think we should fix this problem: when the bg is big
the average bg colour can be computed on a random subset of points
of the bg.

Regards, Olivier 
--
Visit the official FVWM web page at <URL:http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm-workers" in the
body of a message to [EMAIL PROTECTED]
To report problems, send mail to [EMAIL PROTECTED]

Reply via email to