Tiny Core Linux
Tiny Core Base => TCB Bugs => Topic started by: perthie on November 12, 2009, 04:50:20 PM
-
I have an extension that makes a menu item but not a wbar icon. If I load it after bootup by mounting, it does not get immediately added to the menu. So it looks like the extension was never installed. But if I install it to memory, it does get added.
This happens both when I load it from the repo and from my optional folder.
-
Which extension is it? I "Mount" all the extensions I use, and all the expected menu entries are shown in the applications menu. Is the entry listed in /usr/local/tce.menu/?
-
The two extensions I'm working with are epdfview-cups and sgmixer. I also saw the same effect with OSS.tczm. The items were never added to tce.menu. [Edit] They were.
I tried again with "base norestore" and the results were inconsistent. Sometimes, a menu item would be added and sometimes not. Both extensions pass the extaudit test. This is with 2.5 final.
Maybe it's just me.
-
This happened to me also. The extension was mtpaint and some others. The menu didn't refresh until I restarted x. TC 2.5 and extensions loaded to ram.
-
The menu didn't refresh until I restarted x.
Yes. That does a menu refresh for me too.
-
After some more testing, there appears to be a pattern.
Load extension A. Both its menu entry and wbar icon are installed.
Then load extension B. The icon is installed, but not the menu entry.
Restarting X puts both A and B on the menus.
Load extension B. Both its menu entry and wbar icon are installed.
Then load extension A. The icon is installed, but not the menu entry.
Restarting X puts both B and A on the menus.
This happens both when extensions are mounted and installed to RAM.
-
There is a bug with flwm_topside. Hard to believe that Private Preview QA and Public RC did not catch it.
I personally do not use flwm_topside, thus gives me pause that perhaps I should switch to what I do use, flwm the classic version.
The fix for topside is:
/usr/bin/flwm_topside_restart
#!/bin/sh
kill -s USR2 `pidof flwm_topside`
.wmx/Refresh_Menu
#!/bin/sh
exec flwm_topside_restart
It is only the /usr/bin/flwm_topside_restart that is crucial, so adding
usr/bin/flwm_topside_restart to /opt/.filetool.lst
(note no leading / ), should make dynamic menus work.
-
There is a bug with flwm_topside.
Is this a bug in the flwm_topside executable (which would need a sourcecode change) or a bug in the scripts that call/signal flwm_topside?
--
Mike L.
-
The script ..._restart as above, as the signal is sent to a pid and the menu to be re-read is in the unchanged directory scructure .wmx/
-
OK. I can confirm that with those changes, menus are now updated correctly each time tce-load installs an extension.
Thanks.
-
Thanks to you for reporting the error. Glad to hear it is now working.