Main menu entry for GVim not created when installing vim-gtk
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vim (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
[Description]
On a fresh 11.10 Lubuntu install no Main Menu -> Accessories entry is created for 'GVim Text Editor' when installing package vim-gtk even though there is a gvim .desktop file located in /usr/share/
As I understand it LXDE looks for .desktop files in /usr/share/
I have managed to get the menu entry to appear by opening /usr/share/
Furthermore, once the menu item has appeared (using method above), uninstalling vim-gtk does not remove the menu entry. It remains there but has no effect when clicked. In order for it to go away you must do a re-intsallation of package vim-gui-common.
[Expected Result]
Main menu entry is created when vim-gtk is installed, menu item is removed when vim-gtk is uninstalled.
[Actual Result]
Main menu entry is not created when vim-gtk is installed. Can be remedied by manually re-saving /usr/share/
Main menu entry is not removed when uninstalling vim-gtk. User must also reinstall vim-gui-common package (which is where the gvim.desktop file comes from.
[Steps To Reproduce]
1. Fresh install of 11.10 Lubuntu (vim-gui-common installed by default, gvim.desktop already present in /usr/share/
2. Install vim-gtk
3. Open main menu -> Accessories, note GVim is not present
5. Open terminal, run 'sudo vim /usr/share/
6.Open main menu -> Accessories, note GVim is now present
[Operating System]
Description: Ubuntu 11.10
Release: 11.10
[Package Versions]
vim:
Installed: (none)
Candidate: 2:7.3.154+
Version table:
2:
500 http://
vim-gtk:
Installed: 2:7.3.154+
Candidate: 2:7.3.154+
Version table:
*** 2:7.3.154+
500 http://
100 /var/lib/
vim-gui-common:
Installed: 2:7.3.154+
Candidate: 2:7.3.154+
Version table:
*** 2:7.3.154+
500 http://
100 /var/lib/
Status changed to 'Confirmed' because the bug affects multiple users.