Bug 112846 - GNOME menu is not updating after an application is installed.
Summary: GNOME menu is not updating after an application is installed.
Status: VERIFIED FIXED
: 114659 (view as bug list)
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: GNOME (show other bugs)
Version: Beta 3
Hardware: Other All
: P5 - None : Critical
Target Milestone: ---
Assignee: Stefan Dirsch
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-08-24 21:43 UTC by Joe Harmon
Modified: 2008-05-22 18:18 UTC (History)
5 users (show)

See Also:
Found By: Other
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joe Harmon 2005-08-24 21:43:38 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.
Comment 1 Chris Lahey 2005-08-30 16:16:42 UTC
Fixed in gnome-menus.  Bug number in changelog.
Comment 2 Mark Gordon 2005-09-01 14:24:01 UTC
*** Bug 114659 has been marked as a duplicate of this bug. ***
Comment 3 Joe Harmon 2005-09-01 14:32:21 UTC
Chris, what build was this fixed in? I just tried this in beta 4 and it is not
fixed.
Comment 4 JP Rosevear 2005-09-02 11:32:43 UTC
It was fixed post beta 4.
Comment 5 Joe Harmon 2005-09-08 16:29:12 UTC
It is still happening in RC1
Comment 6 Joe Harmon 2005-09-08 18:36:09 UTC
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.
Comment 7 Stanislav Brabec 2005-09-08 18:45:27 UTC
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.
Comment 8 Joe Harmon 2005-09-08 18:54:30 UTC
(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?

Comment 9 Stanislav Brabec 2005-09-08 19:00:11 UTC
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.
Comment 10 Joe Harmon 2005-09-08 19:06:45 UTC
(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?

Comment 11 Mark Gordon 2005-09-08 19:15:07 UTC
(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.
Comment 12 Mark Gordon 2005-09-08 19:20:07 UTC
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.
Comment 13 Stanislav Brabec 2005-09-08 19:21:28 UTC
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.
Comment 14 JP Rosevear 2005-09-08 19:24:32 UTC
Stansilav, we changed gnome-menus to use gnome-vfs to monitor the files.  So
either fam or gamin should be working.
Comment 15 Joe Harmon 2005-09-08 19:27:26 UTC
(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?

Comment 16 Stanislav Brabec 2005-09-08 19:29:15 UTC
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.
Comment 17 Daniel Secareanu 2005-09-08 19:59:48 UTC
This has happened before in 9.3...
Bug 66812 - Desktop does not refresh automatically
It was the same fam/gamin problem...

Daniel

Comment 18 Andreas Jaeger 2005-09-09 06:47:13 UTC
So, what should be done:
- Add gamin and fam to all media?
- Add gamin to selections?

Anything else?
Comment 19 Andreas Jaeger 2005-09-09 06:57:55 UTC
Stefan, could you add gamin to the GNOME selection, please?

Just put it as assigned after that, I'll take care of the rest.
Comment 20 Stefan Dirsch 2005-09-09 08:53:23 UTC
done.
Comment 21 Stanislav Brabec 2005-09-09 09:06:54 UTC
Add gamin to all selections, where is gnome-vfs2 or libgda.

Including fam is not needed.
Comment 22 Stefan Dirsch 2005-09-09 09:14:15 UTC
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.
Comment 23 Stanislav Brabec 2005-09-09 09:48:44 UTC
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.
Comment 24 Stefan Dirsch 2005-09-09 10:21:42 UTC
gimp needs gnome-vfs2. I added gamin to Mono and removed enchant, fribidi from
Gnome.
Comment 25 Andreas Jaeger 2005-09-13 09:27:20 UTC
Ad #23: Let's add something to the release notes.  karl, could you write
something, please?

Everything else looks fixed.
Comment 26 Karl Eichwalder 2005-09-13 09:48:21 UTC
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?
Comment 27 Stanislav Brabec 2005-09-13 10:39:06 UTC
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
Comment 28 Stanislav Brabec 2005-09-13 10:48:36 UTC
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.)
Comment 29 Karl Eichwalder 2005-09-13 12:22:51 UTC
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>
Comment 30 Stanislav Brabec 2005-09-13 12:33:46 UTC
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.
Comment 31 Karl Eichwalder 2005-09-13 13:14:49 UTC
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.
Comment 32 Karl Eichwalder 2005-09-14 08:17:50 UTC
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>
Comment 33 Vladimir Nadvornik 2005-09-14 15:24:35 UTC
If I choose Minimal with X selection on RC3, then there is still unresolved
dependency and I must manually select gamin or fam-server.
Comment 34 JP Rosevear 2005-09-14 15:33:07 UTC
This bug is morphing again, should probably go back to stanislav on the
selection issue.
Comment 35 Stanislav Brabec 2005-09-14 15:50:43 UTC
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.
Comment 36 Stanislav Brabec 2005-09-14 15:52:24 UTC
Reassigning to Stefan Dirsch. I don't know, why Minimal + X requires gnome-vfs2,
but if it does, it must add gamin, too.
Comment 37 Vladimir Nadvornik 2005-09-14 16:21:30 UTC
There was also laptop selection.
Comment 38 Stefan Dirsch 2005-09-14 16:41:07 UTC
Indeed. It's the Laptop selection, which requires gnome-vfs2
(configure-thinkpad). Andreas, should I add gnome-vfs2 and gamin to Laptop
selection?
Comment 39 Andreas Jaeger 2005-09-14 17:40:51 UTC
Yes, for after 10.0 - too late for 10.0.
Comment 40 Stefan Dirsch 2005-09-14 22:16:24 UTC
fixed.