VirtualBox Unity menu icon should have the same function as on windows

Bug #1507324 reported by David Baumann
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
virtualbox (Ubuntu)
Fix Released
Low
Unassigned

Bug Description

Whenever I start a virtualbox, and close "Oracle VM VirtualBox Manager", I have to start it again using the main menu.
On Windows, I can start the manager later. It should work like for Chrome "Open new tab", "Open new incognito tab" etc.

ProblemType: Feature
DistroRelease: Ubuntu 15.10
Package: virtualbox 5.0.4-dfsg-2
ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
Uname: Linux 4.2.0-16-generic x86_64
NonfreeKernelModules: nvidia
ApportVersion: 2.19.1-0ubuntu2
Architecture: amd64
CurrentDesktop: Unity
Date: Sun Oct 18 17:30:01 2015
EcryptfsInUse: Yes
InstallationDate: Installed on 2014-06-13 (491 days ago)
InstallationMedia: Xubuntu 14.04 LTS "Trusty Tahr" - Release amd64 (20140416.2)
SourcePackage: virtualbox
UpgradeStatus: Upgraded to wily on 2015-07-20 (89 days ago)

Revision history for this message
David Baumann (davidbaumann) wrote :
description: updated
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

Hi, this is true and annoying... can you please report it upstream?
https://www.virtualbox.org/wiki/Community

thanks!

Revision history for this message
Rolf Leggewie (r0lf) wrote :

Confirming as per Debian Maintainer's comment

Changed in virtualbox (Ubuntu):
importance: Undecided → Low
status: New → Confirmed
Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

Actually you can run it from the shell to see the window reappear

Revision history for this message
David Baumann (davidbaumann) wrote :

Actually, there is only need to add these lines to the virtualbox.desktop file:

Actions=Manager;

[Desktop Action Manager]
Name=Open Oracle VM VirtualBox Manager
Name[de]=Oracle VM VirtualBox Manager öffnen
Exec=VirtualBox

Next step for me will be to try to create a pull request about that.

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

@David,
here you can see the Debian vbox file
https://anonscm.debian.org/cgit/pkg-virtualbox/virtualbox.git/tree/debian/virtualbox-qt.files/virtualbox.desktop

and here the upstream one
https://anonscm.debian.org/cgit/pkg-virtualbox/virtualbox.git/tree/src/VBox/Installer/common/virtualbox.desktop.in

where do you want to add such changes?
I don't find references to such syntax on the documentation

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

(BTW vbox devs are not on github, you might want to send a mail to vbox-dev and tell them the patch is released under MIT)
https://www.virtualbox.org/wiki/Contributor_information

Revision history for this message
David Baumann (davidbaumann) wrote :

Actually it's

[Desktop Entry]
Name=VirtualBox
...
Categories=Emulator;Utility;
Actions=Manager;

[Desktop Action Manager]
Name=Open Oracle VM VirtualBox Manager
Name[de]=Oracle VM VirtualBox Manager öffnen
Exec=VirtualBox

Revision history for this message
Gianfranco Costamagna (costamagnagianfranco) wrote :

Hi, I committed it on git, following upstream implementation of your patch
https://anonscm.debian.org/cgit/pkg-virtualbox/virtualbox.git/commit/?id=2f46d9df8407626f71590713c30de2b750b0473d

it will be part of the next upload (mostly for sure before zesty is released)

Changed in virtualbox (Ubuntu):
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package virtualbox - 5.1.16-dfsg-1

---------------
virtualbox (5.1.16-dfsg-1) unstable; urgency=medium

  [ David Baumann ]
  * Fix desktop file (LP: #1507324)

  [ Gianfranco Costamagna ]
  * New upstream release, patch refresh.
  * Drop upstream patch for linux 4.10

 -- Gianfranco Costamagna <email address hidden> Mon, 06 Mar 2017 15:09:23 +0100

Changed in virtualbox (Ubuntu):
status: Fix Committed → Fix Released
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.