Bugzilla – Bug 112846
GNOME menu is not updating after an application is installed.
Last modified: 2008-05-22 18:18:51 UTC
I found that the novell-ifolder-client wasn't installed so I went into Yast and installed it. I knew that it would be under the Applications, Utilities, Sync menu, but it wasn't there after the installation completed. I logged out and then back in and it was then in the menu. So it appears to be a refresh issue.
Fixed in gnome-menus. Bug number in changelog.
*** Bug 114659 has been marked as a duplicate of this bug. ***
Chris, what build was this fixed in? I just tried this in beta 4 and it is not fixed.
It was fixed post beta 4.
It is still happening in RC1
I assume it is the same problem, but I also notices that nautilus is not updating as well. I have to click on reload to see the current files.
Are you using fam or gamin? If gamin (when gamin is installed and fam is not running), you must not use NFS/AFS. If fam, please check, whether is fam daemon is running on both server and client and/or /var/run/fam exists.
(In reply to comment #7) > Are you using fam or gamin? I am using whatever is default with the installation. > If gamin (when gamin is installed and fam is not running), you must not use NFS/AFS. How do I tell whether or not it is gamin? And are you saying that if you NFS/AFS at all, the gamin doesn't work? Although I am not using NFS currently, I have in the past. > If fam, please check, whether is fam daemon is running on both server and client and/or /var/run/fam exists. Fam is off, so I can see why it is not updating, but why would this be the default for an installation? If the answer is because gamin is installed, then why is gamin not being updated?
libgda and gnome-vfs contains a wrapper: If fam is not running, gamin is preferred, if it is installed. If gamin is not installed, please install it and re-login. If it helps, it is a problem of gnome selection - I am not sure whether gamin is included.
(In reply to comment #9) > libgda and gnome-vfs contains a wrapper: If fam is not running, gamin is > preferred, if it is installed. If gamin is not installed, please install it and > re-login. If it helps, it is a problem of gnome selection - I am not sure > whether gamin is included. libgda is installed and gnome-vfs2 is installed. gnome-vfs is not installed. So I see two bugs here according to your comment. (1) Fam should be turned on regardless because if gamin is not present then fam will take over. If gamin is present then it will be the default regardless of whether or not fam is turned on. (2) gnome-vfs should be a part of the default install. right?
(1) fam has significant overhead; gamin is preferred in the general case, in which the fam overhead is best avoided. This should, of course, be documented. (2) gnome-vfs2 is part of the default install, however gamin is not; it's neither on the media nor in the default selection. I'm going to try this myself to see whether installing gamin will fix the problem. If so, I'll bounce it off AJ.
Confirmed, installing gamin fixes the problem. I also restarted the panel for good measure, though I'm not sure whether that was necessary. aj: We need gamin added to the Gnome selection and the media in order to fix this bug.
To comment #10: gnome-vfs is old package, gnome-vfs2 is gnome2. Wrapper is a part of gnome-vfs2. If gamin is not installed, it is a problem of selection - all selections containing gnome-vfs2 should also contain gamin to not need fam running. You are true, that SuSE-specific fam/gamin wrapper is not documented, with exception of gnome-vfs2 srpm.
Stansilav, we changed gnome-menus to use gnome-vfs to monitor the files. So either fam or gamin should be working.
(In reply to comment #13) > If gamin is not installed, it is a problem of selection - all selections > containing gnome-vfs2 should also contain gamin to not need fam running. It is not part of the media so it is also an issue of it needing to be there. Mark, where can I get it until the decision is made to include it?
Yes. But we expect, that gamin is installed. If gamin is installed and fam is installed and not running, change notification in GNOME does not work. In KDE does. YaST team changed default behavior - fam is not started by default in GNOME installation. But I forgot to to last step: add gamin to proper selections.
This has happened before in 9.3... Bug 66812 - Desktop does not refresh automatically It was the same fam/gamin problem... Daniel
So, what should be done: - Add gamin and fam to all media? - Add gamin to selections? Anything else?
Stefan, could you add gamin to the GNOME selection, please? Just put it as assigned after that, I'll take care of the rest.
done.
Add gamin to all selections, where is gnome-vfs2 or libgda. Including fam is not needed.
data/MONO:gnome-vfs2 data/GNOME2:gnome-vfs2 data/OFFICE_GNOME:gnome-vfs2 data/KDE-DESKTOP-DEPS:gnome-vfs2 <---------- data/MONO:libgda data/GNOME2:libgda You want to add it to KDE default selection? Really? I can add it to Mono.
I don't know, why gnome-vfs2 is part of KDE-DESKTOP-DEPS. But if any application uses gnome-vfs2, gamin is not installed and fam daemon is not running, such application lacks change notify support. It can be a problem for some applications, but other applications can live well without it. One of widget using change notification is file selection widget. Off topic: You can remove enchant and fribidi from GNOME selection. It was needed only for abiword.
gimp needs gnome-vfs2. I added gamin to Mono and removed enchant, fribidi from Gnome.
Ad #23: Let's add something to the release notes. karl, could you write something, please? Everything else looks fixed.
Stanislav, I need a hint what users have to do to solve the problem (missing change notify support). Install gamin and enable the FAM daemon? How?
For local filesystems: install gamin OR run fam daemon For remote filesystems: run fam on both server and client and open firewall for its RPC calls
Adrian can say more, what is needed to do with firewall to ewable network notification. He could also add better description into fam init script. Something like: # Description: If you want to support remote file access monitoring, FAM daemon must be running on both client and server. Technical description and rationale: GNOME (gnome-vfs2 and libgda) contains a wrapper, which picks one of gamin or fam to provide file change notification: - If fam daemon is not running, gamin is preferred. (Rationale: Inotify is supported only by gamin and it is more efficient for local file systems.) - If fam daemon is running, fam is preferred (Rationale: If FAM is running, you probably want remote notification, which is supported only by FAM.)
I'd like to keep it simple - is this snippet sufficient? <sect3 id="gnome_vfs2" status="2005-09-13"> <title>GNOME without Filesystem Change Notification Support</title> <para>For proper functionality, GNOME applications depend on filesystem change notification support. For local filesystems install the gamin package or run the FAM daemon. For remote filesystems run FAM on both the server and client and open the firewall for RPC calls by FAM. </para> </sect3>
Why the title contains "without"? Is it in the troubleshooting section? < For local filesystems install the gamin package or run the FAM daemon. It would be nice to say, that for local-only system, gamin is preferred: > For local filesystems install the gamin package (preferred) or run the FAM daemon. ...and open the firewall for RPC calls by FAM It's probably correct, but I don't know exactly, how to do it.
Yes, I still believe the RN are meant to help the user to solve problems. Thinking about it again, it's useful to add you technical rationale as well.
Rebecca approved the following text; probably too late for RC3: <sect3 id="gnome_vfs2" status="2005-09-13"> <title>File System Change Notification for GNOME Applications</title> <para>For proper functionality, GNOME applications depend on file system change notification support. For local-only file systems install the gamin package (preferred) or run the FAM daemon. For remote file systems run FAM on both the server and client and open the firewall for RPC calls by FAM. </para> <para> GNOME (gnome-vfs2 and libgda) contains a wrapper, which picks one of gamin or fam to provide filesystem change notification: </para> <itemizedlist> <listitem> <para>If the FAM daemon is not running, gamin is preferred. (Rationale: Inotify is supported only by gamin and it is more efficient for local file systems.) </para></listitem> <listitem> <para>If the FAM daemon is running, FAM is preferred (Rationale: If FAM is running, you probably want remote notification, which is supported only by FAM.)</para></listitem> </itemizedlist> </sect3>
If I choose Minimal with X selection on RC3, then there is still unresolved dependency and I must manually select gamin or fam-server.
This bug is morphing again, should probably go back to stanislav on the selection issue.
See comment #21: Add gamin to all selections, where is gnome-vfs2 or libgda. It seems that it was not done for all selection. Minimal + X selects gnome-vfs2, but does not select fam-server nor gamin. YaST does the work exactly as it should do - asks user, which of packages providing file_alteration should be selected.
Reassigning to Stefan Dirsch. I don't know, why Minimal + X requires gnome-vfs2, but if it does, it must add gamin, too.
There was also laptop selection.
Indeed. It's the Laptop selection, which requires gnome-vfs2 (configure-thinkpad). Andreas, should I add gnome-vfs2 and gamin to Laptop selection?
Yes, for after 10.0 - too late for 10.0.
fixed.