Bug 706007 - alacarte changes to the gnome-shell "system tools" submenu have no influence on that gnome-shell submenu, only on the alacarte menu structure.
Summary: alacarte changes to the gnome-shell "system tools" submenu have no influence...
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Fedora
Classification: Fedora
Component: alacarte
Version: 15
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Ray Strode [halfline]
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2011-05-19 07:11 UTC by Joachim Backes
Modified: 2012-08-07 18:23 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2012-08-07 18:23:27 UTC
Type: ---


Attachments (Terms of Use)

Description Joachim Backes 2011-05-19 07:11:33 UTC
Description of problem:
If adding a menu item to the gnome-shell "system tools" sub-menu by using alacarte, the entry is made in the alacarte menu structure, by it still not appears in the gnome-shell menu structure. 

Version-Release number of selected component (if applicable):
alacarte-0.13.2-3.fc15.noarch

How reproducible:
alöways

Steps to Reproduce:
1.alacarte
2.add an entry to the "applications->system tools" submenu structure
3.
  
Actual results:
The added item appears within alacarte, but not in the gnome-shell "Applications->system tools" submenu. 

Expected results:
New entry in the gnome-shell system tools submenu.

Additional info:
1. Logging out and relogging in does not help.
2. Even if trying to perform this procedure in a freshly created user does not help

Comment 1 Bob Gustafson 2012-06-25 22:12:34 UTC
I tried adding a new item to the Programming menu. See below

[root@hoho6 ffcs]# alacarte

(gnome-desktop-item-edit:7220): GVFS-RemoteVolumeMonitor-WARNING **: cannot connect to the session bus: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

(gnome-desktop-item-edit:7220): GVFS-RemoteVolumeMonitor-WARNING **: cannot connect to the session bus: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

(gnome-desktop-item-edit:7220): GVFS-RemoteVolumeMonitor-WARNING **: cannot connect to the session bus: org.freedesktop.DBus.Error.NoReply: Did not receive a reply. Possible causes include: the remote application did not send a reply, the message bus security policy blocked the reply, the reply timeout expired, or the network connection was broken.

** (gnome-desktop-item-edit:7220): WARNING **: The connection is closed

** (gnome-desktop-item-edit:7220): WARNING **: The connection is closed

** (gnome-desktop-item-edit:7220): WARNING **: The connection is closed
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 69, in menuChanged
    self.loadUpdates()
  File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 106, in loadUpdates
    self.on_menu_tree_cursor_changed(menu_tree)
  File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 354, in on_menu_tree_cursor_changed
    self.loadItems(self.menu_store[menu_path][2], menu_path)
  File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 218, in loadItems
    icon = util.getIcon(item)
  File "/usr/lib/python2.7/site-packages/Alacarte/util.py", line 151, in getIcon
    pixbuf = info.load_icon()
  File "/usr/lib64/python2.7/site-packages/gi/types.py", line 43, in function
    return info.invoke(*args, **kwargs)
gi._glib.GError: Can't open directory
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 69, in menuChanged
    self.loadUpdates()
  File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 106, in loadUpdates
    self.on_menu_tree_cursor_changed(menu_tree)
  File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 354, in on_menu_tree_cursor_changed
    self.loadItems(self.menu_store[menu_path][2], menu_path)
  File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 218, in loadItems
    icon = util.getIcon(item)
  File "/usr/lib/python2.7/site-packages/Alacarte/util.py", line 151, in getIcon
    pixbuf = info.load_icon()
  File "/usr/lib64/python2.7/site-packages/gi/types.py", line 43, in function
    return info.invoke(*args, **kwargs)
gi._glib.GError: Can't open directory
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 69, in menuChanged
    self.loadUpdates()
  File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 106, in loadUpdates
    self.on_menu_tree_cursor_changed(menu_tree)
  File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 354, in on_menu_tree_cursor_changed
    self.loadItems(self.menu_store[menu_path][2], menu_path)
  File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 218, in loadItems
    icon = util.getIcon(item)
  File "/usr/lib/python2.7/site-packages/Alacarte/util.py", line 151, in getIcon
    pixbuf = info.load_icon()
  File "/usr/lib64/python2.7/site-packages/gi/types.py", line 43, in function
    return info.invoke(*args, **kwargs)
gi._glib.GError: Can't open directory

Comment 2 Bob Gustafson 2012-06-25 22:22:12 UTC
I restarted alacarte and then clicked on Programming item in the GUI

This is what appeared:

[root@hoho6 ffcs]# alacarte
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 354, in on_menu_tree_cursor_changed
    self.loadItems(self.menu_store[menu_path][2], menu_path)
  File "/usr/lib/python2.7/site-packages/Alacarte/MainWindow.py", line 218, in loadItems
    icon = util.getIcon(item)
  File "/usr/lib/python2.7/site-packages/Alacarte/util.py", line 151, in getIcon
    pixbuf = info.load_icon()
  File "/usr/lib64/python2.7/site-packages/gi/types.py", line 43, in function
    return info.invoke(*args, **kwargs)
gi._glib.GError: Can't open directory

Stepping through the directories, I see:

[user1@hoho6 site-packages]$ cd Alacarte
bash: cd: Alacarte: No such file or directory
[user1@hoho6 site-packages]$ pwd
/usr/lib64/python2.7/site-packages
[user1@hoho6 site-packages]$

It appears that some things are looked for in

    /usr/lib/python2.7
and other things in
    /usr/lib64/python2.7 

where they are not.

Comment 3 Bob Gustafson 2012-06-25 22:34:33 UTC
[user1@hoho6 Alacarte]$ pwd
/usr/lib/python2.7/site-packages/Alacarte
[user1@hoho6 Alacarte]$ 

util.py line 151 seems to be looking for an icon file.

Comment 4 Bob Gustafson 2012-06-25 22:53:58 UTC
Hmm, clicking on all other Alacarte menus does not provoke the above 'Can't open directory error message.

Perhaps there is something messed up in a directory from my previous attempt to insert a new item in the Programming Menu.

Comment 5 Bob Gustafson 2012-06-25 23:46:26 UTC
When I look at the screen Activities->Applications, I can see the application I added (FreeFem++-cs). In fact, it is shown 3x, once with an icon and 2x without an icon.  (Clicking on it does not bring up the application though)

If I right-click on the icon, I see 'New Window' and 'Add to Favorites'. At this stage, it would be handy to be able to 'Delete'.

These 3 application icons (one with icon, the other 2 without) have been added to the 'Other' category.

However, when I go into the Alacarte application and Main-Menu-> Other  I don't see those icons or applications.

Comment 6 Bob Gustafson 2012-06-26 00:04:21 UTC
OK, one of the icon-less icons of FreeFem++-cs in Activities->Applications does indeed work. The application pops up. The other clones of FreeFem++-cs point to an earlier version of FreeFem, which was deleted.

However, Alacarte does not show FreeFem++-cs in any of its menus

Comment 7 Fedora End Of Life 2012-08-07 18:23:29 UTC
This message is a notice that Fedora 15 is now at end of life. Fedora
has stopped maintaining and issuing updates for Fedora 15. It is
Fedora's policy to close all bug reports from releases that are no
longer maintained. At this time, all open bugs with a Fedora 'version'
of '15' have been closed as WONTFIX.

(Please note: Our normal process is to give advanced warning of this
occurring, but we forgot to do that. A thousand apologies.)

Package Maintainer: If you wish for this bug to remain open because you
plan to fix it in a currently maintained version, feel free to reopen
this bug and simply change the 'version' to a later Fedora version.

Bug Reporter: Thank you for reporting this issue and we are sorry that
we were unable to fix it before Fedora 15 reached end of life. If you
would still like to see this bug fixed and are able to reproduce it
against a later version of Fedora, you are encouraged to click on
"Clone This Bug" (top right of this page) and open it against that
version of Fedora.

Although we aim to fix as many bugs as possible during every release's
lifetime, sometimes those efforts are overtaken by events. Often a
more recent Fedora release includes newer upstream software that fixes
bugs or makes them obsolete.

The process we are following is described here:
http://fedoraproject.org/wiki/BugZappers/HouseKeeping


Note You need to log in before you can comment on or make changes to this bug.