menuprog time out too low for icewm-menu-fdo on old computers
Brought to you by:
captnmark
System : debian 11 (MX 21) with icewm_2.1.2
Computer : Toshiba Tecra A10-11T
My .icewm/menu file contains :
menuprog "Applications" folder /usr/bin/icewm-menu-fdo
when I open the menu and put the mouse pointer on "Applications", it opens an empty menu and I get the following message in .xsession-errors :
IceWM: Attention : '/usr/bin/icewm-menu-fdo' timed out!
It appears the TIMEOUT_MS value at line 16 of wmmenu.cc, which is set to 700, is too low for my computer CPU power. Setting it to 2000 solves the problem.
In fact, I had to set TIMEOUT_MS up to 10000 to have it work every time.
That's a lot but icewm-menu-fdo is very slow in some circumstances.