Bug 302324

Summary: Install software and control center icons are missing from main-menu
Product: [openSUSE] openSUSE 11.0 Reporter: Tim Lee <timlee>
Component: GNOMEAssignee: Scott Reeves <sreeves>
Status: RESOLVED FIXED QA Contact: E-mail List <qa-bugs>
Severity: Normal    
Priority: P1 - Urgent CC: coolo, dimstar, forgotten_h13THG8RK1, infernux, ma, neiskam, pmladek, sbrabec, sreeves, vuntz
Version: Beta 3   
Target Milestone: ---   
Hardware: i586   
OS: Other   
Whiteboard: gnome-wrong-out-of-the-box
Found By: Integration Test Services Priority:
Business Priority: Blocker: ---
Marketing QA Status: --- IT Deployment: ---

Description Tim Lee 2007-08-21 21:57:40 UTC
* clean default install of build 20070821 from gnome CD iso
* clicked on main-menu icon in panel
* in system section of slab there were there were the following entries:

  Help
  Lock Screen
  Logout 
  Shutdown

Control panel and install software appear to be missing.

gnome-main-menu version 0.9.8-64

last changelog entry Aug 18, "Logout item to use libssui.."
Comment 1 Magnus Boman 2007-08-25 06:28:19 UTC
*** Bug 304639 has been marked as a duplicate of this bug. ***
Comment 2 Aaron Bockover 2007-09-05 20:56:28 UTC
This is still broken in 10.3. I'm bumping the severity to critical at this point (but it should probably be blocker - Don't take this the wrong way Jim! :) since Install Software and Control Center are two hugely critical actions in the main menu.

Unless a user knows the shell commands to launch to access said missing actions, they're hosed. 
Comment 3 James Krehl 2007-09-07 15:14:19 UTC
This has been submitted to autobuild.
Comment 4 Magnus Boman 2007-09-09 00:10:08 UTC
*** Bug 309025 has been marked as a duplicate of this bug. ***
Comment 5 Mark Gordon 2007-09-12 16:12:06 UTC
*** Bug 309881 has been marked as a duplicate of this bug. ***
Comment 6 Mark Gordon 2007-09-18 19:50:18 UTC
*** Bug 325714 has been marked as a duplicate of this bug. ***
Comment 7 Mark Gordon 2007-09-24 19:01:43 UTC
*** Bug 327556 has been marked as a duplicate of this bug. ***
Comment 8 Stanislav Brabec 2008-05-16 11:36:18 UTC
Again in openSUSE 11.0 beta2.
Comment 9 Stanislav Brabec 2008-05-27 16:31:46 UTC
Looking at create_applications_menu: Handled by /etc/xdg/menus/settings.menu.

gnomecc.desktop is there, but upstream added NoDisplay=true to gnomecc.desktop. It is granted in this sub-menu and nothing is displayed.

The rest is missing in settings.menu and I propose to sync it with gnome-main-menu.
Comment 10 Stanislav Brabec 2008-05-27 17:17:47 UTC
It seems that the latest change from vuntz in gnome-menus fixed part of the bug.

Following minor issues are still missing:

1) gnomecc.desktop is ignored there. To fix it, we need to remove NoDisplay=true from gnomecc.desktop. It would be better to show gnomecc.desktop twice than never. Reported upstream as http://bugzilla.gnome.org/show_bug.cgi?id=535114

2) Syncing with gnome-main-menu. It may look as follows:

--- /etc/xdg/menus/settings.menu
+++ /etc/xdg/menus/settings.menu
@@ -14,6 +14,8 @@
 
   <Include>
     <Filename>gnomecc.desktop</Filename>
+    <Filename>YaST.desktop</Filename>
+    <Filename>package-manager.desktop</Filename>
   </Include>
 
   <!-- Merge in these other files as submenus -->

Exactly reverse problem could be observed for "Lock Screen" and "Logout", which are present in the menu and in unsorted area of "System" sub-menu (and in gnome-main-menu).
Comment 11 Vincent Untz 2008-05-27 20:43:45 UTC
Stanislav: hrm, isn't the original bug about gnome-main-menu (and no the upstream menu bar/main menu)?

Not sure about having the control center shell menu item here: it's redundant with the content of the menu that is being shown.

Also, YaST is already there, in the system submenu (at least for me :-)).
Comment 12 Stanislav Brabec 2008-05-28 09:31:04 UTC
Ah, I assumed that the bug was about traditional menu.


Regarding YaST (both menus):

I guess it is a core application and should be high in the menu.

Especially in the gnome-main-menu, it is deep in the menu (Computer->More applications->scroll, scroll->System->YaST).

Yes, it is in System->System traditional menu, which is much better.


Regarding package-manager (traditional menu):

It is another core application and I cannot find it anywhere in the traditional menu. In gnome-main-menu it is OK.


Regarding gnomecc (traditional menu):

There was an usability discussion about dropping gnomecc somewhere in past:

- People who want to change one aspect of their desktop will like submenus.

- People who want to spend some time by tuning their desktop would prefer gnome-control-center as an application.

- gnomecc is nowhere in the traditional menu
Comment 13 Petr Mladek 2008-05-28 09:49:15 UTC
See also the bug duplicates. People would appreciate if they found these core applications easily :-)
Comment 14 Stanislav Brabec 2008-05-30 14:12:27 UTC
jpr: vuntz: ping

It would be nice to do following changes for RC2:

1) Make YaST better especially gnome-main-menu (patch is not yet done), but maybe even in traditinal menu (see comment 10 for patch).

2) Display package-manager anywhere in the traditional menu (see comment 10 for patch).

3) Display control-center in the traditional menu (only minor usability hint, see comment 12 and comment 10 for patch).
Comment 15 Vincent Untz 2008-05-30 14:32:13 UTC
(In reply to comment #14 from Stanislav Brabec)
> jpr: vuntz: ping
> 
> It would be nice to do following changes for RC2:
> 
> 1) Make YaST better especially gnome-main-menu (patch is not yet done),

Nod. JP, I think we discussed this in the past and this was wanted?

> but maybe even in traditinal menu (see comment 10 for patch).

Hrm, not sure I agree here. It kind of breaks the consistency of the system menu (at least in my mind) where all items are in submenus. I'd prefer to stay the current way if possible.

> 2) Display package-manager anywhere in the traditional menu (see comment 10 for
> patch).

I'd put it in the system submenu. We have a "software update" (not sure if it's the correct name in english, I'm using the french locale) there, and I'd expect it to be there too. I wouldn't put it in the toplevel menu, like for YaST. Another approach would be to put it at the end of the applications menu, since people mainly use it to install applications, after all. Probably too late for 11.0, though (since it also affects KDE).

> 3) Display control-center in the traditional menu (only minor usability hint,
> see comment 12 and comment 10 for patch).

I'm more opposed to this one: having this by default creates a highly-visible redundancy. To me, it's much better to only have the control center shell item (and not submenus) or to only have the submenus (and not shell item). Going with both sounds to me like we couldn't decide what to do. I personally don't think a lot of people are changing many settings so often, so I like it the current way.
Comment 16 Stanislav Brabec 2008-05-30 14:42:02 UTC
"Software updates" cannot install packages. To install a new package from the traditional menu, you have to do:

System -> System -> YaST -> root password -> Software -> Software Management (starts package manager)

Applications -> System -> Unsorted -> Add/Remove Programs (starts gpk-application)
Comment 17 Vincent Untz 2008-06-04 09:39:47 UTC
So, if we want to fix this for 11.0, the things where we agree, I believe is:

 + fix gnome-main-menu to have a YaST item
 + add a package manager in the upstream menu (under System->System, at the same level as "software update")

The latter is just a matter of either changing the menu file or the desktop file of the package manager.
Comment 18 Stanislav Brabec 2008-06-04 13:49:37 UTC
> add a package manager in the upstream menu (under System->System, at the
same level as "software update")

Needs a minor change in libzypp:

Add X-SuSE-ControlCenter-System to Categories of package-manager.desktop in libzypp package, e. g. using %suse_update_desktop_file.
Comment 19 Jan Kupec 2008-06-04 13:54:52 UTC
Coolo, can i submit this yet?

$ svn diff libzypp.spec.cmake
Index: libzypp.spec.cmake
===================================================================
--- libzypp.spec.cmake  (revision 10340)
+++ libzypp.spec.cmake  (working copy)
@@ -117,7 +117,7 @@
 mkdir -p $RPM_BUILD_ROOT/etc/zypp/products.d

 %if 0%{?suse_version}
-%suse_update_desktop_file -G "" -C "" package-manager
+%suse_update_desktop_file -G "" -C "" package-manager X-SuSE-ControlCenter-System
 %endif

 make -C po install DESTDIR=$RPM_BUILD_ROOT
Comment 20 Stanislav Brabec 2008-06-04 14:56:56 UTC
Added YaST to the gnome-control-center system-items-opensuse.xbel.
Comment 21 Stephan Kulow 2008-06-05 06:00:32 UTC
should be harmless even though I would rather fix the desktop file itself.
Comment 22 Jan Kupec 2008-06-05 16:08:15 UTC
OK, done in the .desktop file in svn, will be submitted with next libzypp (>4.26.3).
Comment 23 Vincent Untz 2008-06-11 21:19:34 UTC
*** Bug 329637 has been marked as a duplicate of this bug. ***
Comment 24 JP Rosevear 2008-07-02 19:51:32 UTC
Can we close this now?
Comment 25 Stanislav Brabec 2008-07-03 09:07:05 UTC
Yes.