Style IconSize

2003-01-07 Thread Marcus Lundblad
I'd like to propose a name change of the style "IconSize" to
"IconPictureSize" or "IconBackgroundSize".
Since the size of the icon is really (IMHO) the total size of the
picture+padding+relief+title.
Also if (when) there will be an extra configurable border the name might
be misleading.
Since this style is new in 2.5.x I guess it would be possible to rename it
if considered a good idea.

//Marcus

--
Visit the official FVWM web page at 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]


Re: Style IconSize and application supplied icon windows

2002-11-15 Thread Marcus Lundblad


On Fri, 15 Nov 2002, Steve Talley wrote:

> Good point.  A little harder to implement, but might be worth
> considering in the future.

Yep.
I looked a little at the code.
MWM does someting like this, clipping the window into a frame.
And I guess since you work at Sun you have some familiarty with dtwm.

Pardon if I made some spellingmistakes (after 2 litres of beer :-) )

> 
> Steve
> 
> Marcus Lundblad wrote:
> 
> > On Thu, 14 Nov 2002, Steve Talley wrote:
> >
> > > Application-provided icon windows are purposely not resized by
> > > IconSize because the application may need the window to be a
> > > certain size.  The window could provide more than just an icon, so
> > > resizing may adversely affect the application's functionality.
> >
> > Wouldn't it be possible to use the same technique as with swallowed
> > windows in FvwmButtons?  Just a thought. (Those icons break the nice
> > symmetry :-) )
> >
> > //Marcus
> 

--
Visit the official FVWM web page at 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]


Re: Style IconSize and application supplied icon windows

2002-11-15 Thread Steve Talley
Good point.  A little harder to implement, but might be worth
considering in the future.

Steve

Marcus Lundblad wrote:

> On Thu, 14 Nov 2002, Steve Talley wrote:
>
> > Application-provided icon windows are purposely not resized by
> > IconSize because the application may need the window to be a
> > certain size.  The window could provide more than just an icon, so
> > resizing may adversely affect the application's functionality.
>
> Wouldn't it be possible to use the same technique as with swallowed
> windows in FvwmButtons?  Just a thought. (Those icons break the nice
> symmetry :-) )
>
> //Marcus

--
Visit the official FVWM web page at 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]


Re: Style IconSize and application supplied icon windows

2002-11-14 Thread Mikhael Goikhman
On 14 Nov 2002 23:14:43 +0100, Marcus Lundblad wrote:
> 
> (Those icons break the nice symmetry :-) )

You may probably like:

  Style * IconOverride

Regards,
Mikhael.
--
Visit the official FVWM web page at 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]


Re: Style IconSize and application supplied icon windows

2002-11-14 Thread Marcus Lundblad


On Thu, 14 Nov 2002, Steve Talley wrote:

> Application-provided icon windows are purposely not resized by
> IconSize because the application may need the window to be a certain
> size.  The window could provide more than just an icon, so resizing
> may adversely affect the application's functionality.

Wouldn't it be possible to use the same technique as with
swallowed windows in FvwmButtons?
Just a thought. (Those icons break the nice symmetry :-) )

//Marcus


--
Visit the official FVWM web page at 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]


Re: Style IconSize and application supplied icon windows

2002-11-14 Thread Steve Talley
Application-provided icon windows are purposely not resized by
IconSize because the application may need the window to be a certain
size.  The window could provide more than just an icon, so resizing
may adversely affect the application's functionality.

There is a quick note about application-provided icons in the fvwm man
page.

Steve

Marcus Lundblad wrote:

> When an application supplies it's own window as an icon (for example
> XJewel), the style IconSize has no effect.  I guess this is known
> problem, since this feature (IconSize) is quite new.  Just thought
> to point this out just incase...
>
> //Marcus

--
Visit the official FVWM web page at 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]


Style IconSize and application supplied icon windows

2002-11-14 Thread Marcus Lundblad
When an application supplies it's own window as an icon (for example
XJewel), the style IconSize has no effect.
I guess this is known problem, since this feature (IconSize) is quite new.
Just thought to point this out just incase...

//Marcus

--
Visit the official FVWM web page at 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]


Re: Style * IconSize...

2002-09-20 Thread Olivier Chapuis
On Wed, Sep 18, 2002 at 06:00:25PM -0600, S. Anderson wrote:
> greetings.
> I might have some bugs for you guys.
> 
> Using fvwm 2.5.4 (from cvs) updated on Sep 18 2002
> with support for: ReadLine, XPM, PNG, GNOME WM hints, EWMH hints, Shape,
> SM, Xinerama, XFT
> 
> First of all when I issue a "Style * IconSize 64 64" in FvwmConsole
> nothing happens, to get it to work I have to put it in my .fvwm2rc
> and restart, not sure if its supposed to work like that.
> 
> When I use a png Icon that is smaller than the IconSize, The png Icon
> gets messed up.
>

Fixed in the current cvs.
Regards, Olivier
--
Visit the official FVWM web page at 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]


Re: Style * IconSize...

2002-09-19 Thread Dominik Vogt
On Thu, Sep 19, 2002 at 10:47:52AM +0200, fvwm-workers wrote:
> On Thu, Sep 19, 2002 at 12:29:41AM +, Mikhael Goikhman wrote:
> > On 18 Sep 2002 18:00:25 -0600, S. Anderson wrote:
> > > 
> > > Using fvwm 2.5.4 (from cvs) updated on Sep 18 2002
> > > with support for: ReadLine, XPM, PNG, GNOME WM hints, EWMH hints, Shape,
> > > SM, Xinerama, XFT
> > > 
> > > First of all when I issue a "Style * IconSize 64 64" in FvwmConsole
> > > nothing happens, to get it to work I have to put it in my .fvwm2rc
> > > and restart, not sure if its supposed to work like that.
> > 
> > It requires Recapture.
> 
> Then it must be rewritten not to require a recapture.

Done.

Bye

Dominik ^_^  ^_^

 --
Dominik Vogt, mail: [EMAIL PROTECTED], phone: 0721/91374-382
Schlund + Partner AG, Erbprinzenstr. 4-12, D-76133 Karlsruhe
--
Visit the official FVWM web page at 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]


Re: Style * IconSize...

2002-09-19 Thread Dominik Vogt
On Thu, Sep 19, 2002 at 12:29:41AM +, Mikhael Goikhman wrote:
> On 18 Sep 2002 18:00:25 -0600, S. Anderson wrote:
> > 
> > Using fvwm 2.5.4 (from cvs) updated on Sep 18 2002
> > with support for: ReadLine, XPM, PNG, GNOME WM hints, EWMH hints, Shape,
> > SM, Xinerama, XFT
> > 
> > First of all when I issue a "Style * IconSize 64 64" in FvwmConsole
> > nothing happens, to get it to work I have to put it in my .fvwm2rc
> > and restart, not sure if its supposed to work like that.
> 
> It requires Recapture.

Then it must be rewritten not to require a recapture.

> > When I use a png Icon that is smaller than the IconSize, The png Icon
> > gets messed up.
> 
> Yes, I also saw this. But only if png has alpha channel, non-transparent
> pngs seem to be ok.

Bye

Dominik ^_^  ^_^

 --
Dominik Vogt, mail: [EMAIL PROTECTED], phone: 0721/91374-382
Schlund + Partner AG, Erbprinzenstr. 4-12, D-76133 Karlsruhe
--
Visit the official FVWM web page at 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]


Re: Style * IconSize...

2002-09-18 Thread Mikhael Goikhman
On 18 Sep 2002 18:00:25 -0600, S. Anderson wrote:
> 
> Using fvwm 2.5.4 (from cvs) updated on Sep 18 2002
> with support for: ReadLine, XPM, PNG, GNOME WM hints, EWMH hints, Shape,
> SM, Xinerama, XFT
> 
> First of all when I issue a "Style * IconSize 64 64" in FvwmConsole
> nothing happens, to get it to work I have to put it in my .fvwm2rc
> and restart, not sure if its supposed to work like that.

It requires Recapture.

> When I use a png Icon that is smaller than the IconSize, The png Icon
> gets messed up.

Yes, I also saw this. But only if png has alpha channel, non-transparent
pngs seem to be ok.

Regards,
Mikhael.
--
Visit the official FVWM web page at 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]


Style * IconSize...

2002-09-18 Thread S. Anderson
greetings.
I might have some bugs for you guys.

Using fvwm 2.5.4 (from cvs) updated on Sep 18 2002
with support for: ReadLine, XPM, PNG, GNOME WM hints, EWMH hints, Shape,
SM, Xinerama, XFT

First of all when I issue a "Style * IconSize 64 64" in FvwmConsole
nothing happens, to get it to work I have to put it in my .fvwm2rc
and restart, not sure if its supposed to work like that.

When I use a png Icon that is smaller than the IconSize, The png Icon
gets messed up.

You can reproduce this by putting just the following in your .fvwm2rc
(test.png attached to this mail)

Style * IconSize 64 64
Style * icon test.png
Mouse 0 2 A Iconify
Mouse 0 I A Iconify

thanks,
sa


test.png
Description: Binary data