Clicking on preinstalled /usr/share/applications/vim.desktop ends with "There was an error launching the application." and Vim is not launched

Bug #1887220 reported by Norbert
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
vim (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Steps to reproduce:
1. Have Ubuntu MATE installed
2. Open Caja, navigate to

   /usr/share/applications/

3. Click on Vim

Expected result:
* Vim is launched

Actual result:
* Vim is not launched, the error window is shown with text "There was an error launching the application."

Notes:

the /usr/share/applications/vim.desktop refers to `vim` executable which is not installed.
The /usr/share/applications/vim.desktop came from

```
$ dpkg -S /usr/share/applications/vim.desktop
vim-common: /usr/share/applications/vim.desktop

$ aptitude why vim-common
i vim-tiny Depends vim-common (= 2:7.4.1689-3ubuntu1.2)

$ aptitude why vim-tiny
i ubuntu-minimal Depends vim-tiny
```

So it is a dependency issue. Having vim.desktop without installed `vim` executable is useless.
All Ubuntu versions are affected.

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: ubuntu-minimal 1.361.2
ProcVersionSignature: Ubuntu 4.15.0-46.49~16.04.1-generic 4.15.18
Uname: Linux 4.15.0-46-generic x86_64
ApportVersion: 2.20.1-0ubuntu2.18
Architecture: amd64
CurrentDesktop: MATE
Date: Sat Jul 11 11:05:44 2020
InstallationDate: Installed on 2018-08-07 (703 days ago)
InstallationMedia: Ubuntu-MATE 16.04.3 LTS "Xenial Xerus" - Release amd64 (20170801)
SourcePackage: ubuntu-meta
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Norbert (nrbrtx) wrote :
Revision history for this message
Ubuntu QA Website (ubuntuqa) wrote :

This bug has been reported on the Ubuntu ISO testing tracker.

A list of all reports related to this bug can be found here:
http://iso.qa.ubuntu.com/qatracker/reports/bugs/1887220

tags: added: iso-testing
Norbert (nrbrtx)
tags: added: hirsute
removed: eoan
Norbert (nrbrtx)
no longer affects: ubuntu-meta (Ubuntu)
no longer affects: ubuntu-mate-meta (Ubuntu)
Changed in vim (Ubuntu):
status: New → Confirmed
Revision history for this message
Norbert (nrbrtx) wrote :

Blacklisted on MATE level.

Changed in vim (Ubuntu):
status: Confirmed → Fix Released
tags: added: impish
removed: groovy
Changed in vim (Ubuntu):
status: Fix Released → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.