Re: FVWM: fvwm-themes stalls when using root menu

From: Mikhael Goikhman <migo_at_homemail.com>
Date: Fri, 23 May 2003 10:43:37 +0000

On 23 May 2003 08:46:35 +0200, Klaus Zeitler wrote:
>
> >>>>> "Mikhael" == Mikhael Goikhman <migo_at_homemail.com> writes:
> Mikhael>
> Mikhael> On 22 May 2003 09:01:54 +0200, Klaus Zeitler wrote:
> >>
> Mikhael> You may instead kill fvwm-menu-directory process although I never
> Mikhael> saw it may stall in many years, I don't see anything that may
> Mikhael> stall in it.
>
> no, killing fvwm-menu-directory doesn't help.
> But ps shows that the call to fvwm-menu-directory contains more parameters
> than just '-d "/"'.
>
> kzeitler 10861 794 0 14:53:40 pts/3 0:00 sh -c fvwm-menu-directory -d "/" --exec-file ^emacs --check-subdir --links --wm
>
> seems to be from functions-appbind in default theme:
>
> DestroyFunc FuncFvwmMenuDirectory
> AddToFunc FuncFvwmMenuDirectory
> + I PipeRead 'fvwm-menu-directory -d "$0" --exec-file ^emacs --check-subdir --links --wm-icons'
>
> I can run the whole command (with and without the additional options) just
> fine in a shell.

This all is strange. Please create a minimal config ~/.fvwm/minimal that
looks like:

  DestroyFunc FuncFvwmMenuDirectory
  AddToFunc FuncFvwmMenuDirectory
  + I PipeRead 'fvwm-menu-directory -d "$0"'

  AddToMenu MenuFvwmRoot
  + MissingSubmenuFunction FuncFvwmMenuDirectory
  + "Root directory" Popup /

Then do "Restart fvwm -f minimal" from FvwmConsole.
The default root menu should contain the last submenu.
Does it stall for you when you enter it?

If it does not stall (I think it will on your system), add this command
using FvwmConsole that is in the root menu, and enter this submenu again:

  BusyCursor DynamicMenu True, Read True

In case it does not stall (unlikely), type this into FvwmConsole:

  Restart fvwm-themes-start

> What amazes me is that fvwm stalls when I simply move the mouse over
> one of the 2 menu entries "Root dir" or "Home dir", i.e. I don't click
> any of these two entries. I'd expect fvwm to run the
> fvwm-menu-directory command as soon as I select, i.e. click one of
> these entries.

All popup submenus work on enter + optional delay, not on click, there
are some MenuStyle options to control this, try menustyle_at_brushedmetal.
I don't see anything to be amazed of, these 2 menus behave exactly like
other popup submenus except that they are dynamically built every time.
For example there are 2 Menu entries (not Popup) in the same System menu
labeled Browser. They are separate menus not submenus, i.e. work on click.
I hope they actually work ok for you.

Regards,
Mikhael.
--
Visit the official FVWM web page at <URL: http://www.fvwm.org/>.
To unsubscribe from the list, send "unsubscribe fvwm" in the body of a
message to majordomo_at_fvwm.org.
To report problems, send mail to fvwm-owner_at_fvwm.org.
Received on Fri May 23 2003 - 05:46:51 BST

This archive was generated by hypermail 2.3.0 : Mon Aug 29 2016 - 19:37:54 BST