Summary: | Export graph feature tries to use kghostview, which is not in KDE 4 | ||
---|---|---|---|
Product: | [Developer tools] kcachegrind | Reporter: | Sami Liedes <sami.liedes> |
Component: | general | Assignee: | Josef Weidendorfer <josef.weidendorfer> |
Status: | CONFIRMED --- | ||
Severity: | normal | CC: | pino |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | ||
Sentry Crash Report: |
Description
Sami Liedes
2009-07-28 11:39:46 UTC
Better no such dependence at all. Running the PS viewer is only a convenience here. Similar to the PNG export, it probably simply should provide a "Save as..." dialog for the .dot file. The user can convert this himself. Git commit c2b9d1a38fda41b3c514aa573f12debc8be392f5 by Pino Toscano. Committed on 09/03/2013 at 01:54. Pushed by pino into branch 'KDE/4.10'. use xdg-open instead of kghostview instead of hardcoding kghostview as PS viewer, use xdg-open (which will open the default handler); still not ideal (it should properly use temporary files and different QProcess'es for the tasks), but better than nothing for now M +1 -1 kcachegrind/toplevel.cpp M +1 -1 qcachegrind/qcgtoplevel.cpp http://commits.kde.org/kcachegrind/c2b9d1a38fda41b3c514aa573f12debc8be392f5 The call graph view already has a context menu option to export the graph as dot/png (we could add PS or better PDF there). So, what about simply removing that menu item completely? I remember that I added that item to make it easier for users to see that such a feature is there at all. On the other hand, quite some stuff is hidden in context menus in KCachegrind anyway. Thank you for the bug report. As this report hasn't seen any changes in 5 years or more, we ask if you can please confirm that the issue still persists. If this bug is no longer persisting or relevant please change the status to resolved. |