xdg-open should probably open file in existing qtcreator instance
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
desktop-file-utils (Ubuntu) |
Fix Released
|
Low
|
Unassigned | ||
qtcreator (Ubuntu) |
Fix Committed
|
Medium
|
Unassigned | ||
qtcreator-plugin-ubuntu (Ubuntu) |
Fix Released
|
Low
|
Unassigned |
Bug Description
When I execute "xdg-open" from the command line on a C++ source file that file gets opened in a new instance of qtcreator, even if one is already running. It might make sense to open the file in an existing instance ("qtcreator -client"). Feel free to close this as "won't fix" if you disagree.
ProblemType: Bug
DistroRelease: Ubuntu 13.04
Package: qtcreator 2.7.0-0ubuntu3
ProcVersionSign
Uname: Linux 3.8.0-14-generic x86_64
ApportVersion: 2.9.2-0ubuntu8
Architecture: amd64
Date: Thu Apr 25 20:44:11 2013
InstallationDate: Installed on 2012-11-27 (149 days ago)
InstallationMedia: Ubuntu 12.10 "Quantal Quetzal" - Release amd64 (20121017.5)
MarkForUpload: True
SourcePackage: qtcreator
UpgradeStatus: Upgraded to raring on 2013-03-27 (29 days ago)
Related branches
Changed in desktop-file-utils (Ubuntu): | |
importance: | Undecided → Low |
Changed in qtcreator (Ubuntu): | |
importance: | Undecided → Low |
Changed in qtcreator-plugin-ubuntu (Ubuntu): | |
importance: | Undecided → Low |
Changed in desktop-file-utils (Ubuntu): | |
status: | New → Fix Committed |
Changed in qtcreator-plugin-ubuntu (Ubuntu): | |
status: | New → Fix Committed |
The desktop-file-utils will set the ubuntusdk.desktop to be the default handler for the text/x-c++hdr, text/x-c++src and text/x-xsrc, types in the /usr/share/ applications/ defaults. list
Additionally the ubuntusdk.desktop file's exec line is extended with the -client parameter to open the edited files in anexisting instance of the QtCreator.