The cause of the issue lies in using g_app_info_get_executable(…) in
combination with g_spawn_command_line_async(…) to launch the application
associated with the desktop file.

The proper way of launching the application is to invoke
g_app_info_launch(…). This will require modifying the way shortcuts are
stored to keep a reference to the desktop file id instead of just the
executable.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/913885

Title:
  Custom dash shortcut to desktop file drops Exec args

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/unity/+bug/913885/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to