Le Wed, 9 Feb 2011 18:10:30 +0000,
Thomas Adam <tho...@xteddy.org> a écrit :

> On Wed, Feb 09, 2011 at 05:22:32PM +0100, Dominique Michel wrote:
> > Later yesterday, I begin to modify the Corner recipe with the same
> > fixes I made in Clean and Clean Vertical. But it is not working into
> > the Corner recipe, FvwmPager is still crashing at restart once on 2
> > or 3 times (it show up and disappear, and I cannot find it with the
> > debug window). It was late and I will investigate this further
> > today.
> 
> Then ensure you compile FVWM with "-g" and "-ggdb", because if it
> really is a crash, there should be a corefile left behind.  You'll
> have also ensure, before starting FVWM in this case, that your ulimit
> values are set to allow corefile creation, typically:
> 
> ulimit -c unlimited
> 
> will suffice.
> 
> > But I already have a question: In order to be sure than FvwmPager
> > will work fine, do I need to swallow it into some button, or will
> > such a swallowing, if it work, just be a workaround instead of a
> > real fix?
> 
> No, there is no requirement to swallow it at all.

I found something. Some recipes do have a swallowed FvwmPager, some
other do have a non swallowed pager. The configuration for the pager is
the same in fvwm-crystal-3.0.6 and into the svn. I try 3.0.6 with my
current fvwm-2.5.31. The pager is working fine with all the recipe.

That imply than this must be no problem with the pager configuration. I
was hopping than this is issue is not caused by the huge changes I made
into the style loading order. It must not be the case because of the
following:

I modified the wallpaper configuration in order to be able to specify a
common wallpaper and/or wallpapers on a per page basis. This new code
use FvwmBacker.

In order to resume, from the corner recipe:


SetEnv Desk_Pages_X "8"
SetEnv Desk_Pages_Y "1"
PipeRead 'echo DesktopSize $[Desk_Pages_X]x$[Desk_Pages_Y]'
PipeRead 'echo SetEnv FvwmPager_Width $((28*$[Desk_Pages_X])); echo
SetEnv FvwmPager_Height $((24*$[Desk_Pages_Y]))'

All (FvwmPager) Close
DestroyModuleConfig FvwmPager: *
PipeRead "echo *FvwmPager: Geometry $[FvwmPager_Width]x24--1+-1"
*FvwmPager: MiniIcons
*FvwmPager: Font none
*FvwmPager: WindowBorderWidth 1
*FvwmPager: Window3DBorders
*FvwmPager: UseSkipList
*FvwmPager: Colorset * $[cs_panel_inactive]
*FvwmPager: HilightColorset * $[cs_panel_active]
*FvwmPager: WindowColorsets $[cs_panel_wininactive]
$[cs_panel_winactive]

Module FvwmPager

# Change desktop pages using mouse wheel on pager
Mouse (FvwmPager) 4 W $[Mod] GotoPage-Right
Mouse (FvwmPager) 5 W $[Mod] GotoPage-Left

#########################
### From preferences/LastChoosenWallpaper :

# the pager work fine with
Exec exec habak
-ms /home/dom/.fvwm-crystal/wallpapers/Stars/orion_gendler_big.jpg

# the pager work sometime, fail sometime, with
Wallpaper-Pref-Write *
* /home/dom/.fvwm-crystal/wallpapers/Stars/orion_gendler_big.jpg
Wallpaper-Pref-Write 5
0 /home/dom/.fvwm-crystal/wallpapers/Cuba/05_Trinidad/raw_DSC_0202.jpg
Wallpaper-Pref-Write 7
0 /home/dom/.fvwm-crystal/wallpapers/Art/jose_correa_w3csg002_lever_de_lune.jpg
Wallpaper-Pref-Write 4
0 /home/dom/.fvwm-crystal/wallpapers/Cuba/08_Playa/raw_DSC_0256.jpg

# and
DestroyFunc Wallpaper-Pref-Write
AddToFunc Wallpaper-Pref-Write
+ I Test (x habak) *FvwmBacker: Command (Desk *, Page $0 $1) Exec habak
-ms $2

Dominique

-- 
"We have the heroes we deserve."

_______________________________________________
fvwm-crystal-users mailing list
fvwm-crystal-users@gna.org
https://mail.gna.org/listinfo/fvwm-crystal-users

Reply via email to