On Wed, 23 Nov 2005 10:05:57 +0100
Dominik Vogt <[EMAIL PROTECTED]> wrote:

> On Mon, Nov 21, 2005 at 07:09:09PM +0100, [EMAIL PROTECTED] wrote:
> > Hello everybody.
> > 
> > Does anyone know if there is any known problem when using 
> > ItemFormat strings in the menus without icons? I mean, something
> > like this:
> > MenuStyle "*" ItemFormat "%.5|%.4r%.|%.4s"
> 
> Can you please make a minimal config file that show the problem and
> post it to the mailing list?
> 
Sure :)

===================
SetEnv fvwm_home                        $[HOME]/.fvwm
SetEnv fvwm_menus                       $[fvwm_home]/menus
SetEnv fvwm_iconsets            $[fvwm_home]/iconsets
SetEnv fvwm_icon_path   $[fvwm_iconsets]/.iconset
ImagePath $[fvwm_icon_path];.png:+

Mouse   1       R   A   Menu menu_Root

DestroyMenu menu_Root
AddToMenu   menu_Root
+ "&Help%menu/help.png%"                                        Popup menu_Help
+ "&Configuration%menu/settings.png%"   Popup menu_Config
+ "&Tools%menu/tools.png%"                                      Popup 
menu_Utilities

MenuStyle "*" ItemFormat "%.5|%.4r%.|%.4s"
===================

I diged a bit, and that config can reproduce it, at least if the .iconset 
symlink is there. If I comment out the ImagePath, then all displays fine, but 
the point of a format string is precisely being able to decide if I want or not 
to show the icons in a given config.

Maybe is the fact that it is a symlink? Maybe.... I have many ideas that I will 
check, but this seems a bit strange thing to me. I you specify a non existing 
icon then all is ok, but if you give that variables a existing icon path and 
put a ItemFormat string not to show icons, then all this weirdness appears...

Thanks for sharing your time ;)

- Cheers, Jesús Guerrero :)

Reply via email to