MantisBT - CMake
View Issue Details
0011722CMakeQtDialogpublic2011-01-19 05:272011-01-19 14:36
arrowdodger 
Clinton Stimpson 
normalminoralways
closedfixed 
CMake-2-8 
CMake 2.8.4CMake 2.8.4 
0011722: CMake.desktop: wrong Exec field
cmake-gui uses a path to build as it's argument, not CMakeCache.txt itself.
So, %f should be replaced with %d.
Using Dolphin or any other file manager program try to open CMakeCache.txt file using CMake program.
It will open last used project, not the excepted one.
No tags attached.
duplicate of 0011388closed Clinton Stimpson cmake-gui desktop file does not work as expected 
Issue History
2011-01-19 05:27arrowdodgerNew Issue
2011-01-19 08:37Brad KingAssigned To => Clinton Stimpson
2011-01-19 08:37Brad KingStatusnew => assigned
2011-01-19 08:39Brad KingNote Added: 0024906
2011-01-19 09:31arrowdodgerNote Added: 0024908
2011-01-19 11:01Clinton StimpsonNote Added: 0024917
2011-01-19 11:24arrowdodgerNote Added: 0024919
2011-01-19 11:27Brad KingRelationship addedduplicate of 0011338
2011-01-19 11:27Brad KingRelationship addedduplicate of 0011388
2011-01-19 11:28Brad KingRelationship deleted0011338
2011-01-19 11:29Brad KingNote Added: 0024920
2011-01-19 11:30Brad KingStatusassigned => closed
2011-01-19 11:30Brad KingResolutionopen => fixed
2011-01-19 11:30Brad KingFixed in Version => CMake 2.8.4
2011-01-19 14:36David ColeTarget Version => CMake 2.8.4

Notes
(0024906)
Brad King   
2011-01-19 08:39   
According to

http://standards.freedesktop.org/desktop-entry-spec/desktop-entry-spec-latest.html#exec-variables [^]

the "%d" argument is deprecated.

IIRC the old CMakeSetup MFC dialog on Windows supported drag-and-drop of the CMakeCache.txt from a build tree.
(0024908)
arrowdodger   
2011-01-19 09:31   
Well, i don't know which solution is best, but i just want to mention, that opening cmake-gui by clicking on CMakeCache.txt is very nice feature.
I would be glad to see it in future releases.
(0024917)
Clinton Stimpson   
2011-01-19 11:01   
There was a regression in previous version of cmake-gui (I can't remember which one - but can look up if necessary). Which one are you using?

The clicking on CMakeCache.txt works with cmake 2.8.4 and drag-and-drop of CMakeCache.txt does too.
(0024919)
arrowdodger   
2011-01-19 11:24   
I'm using CMake 2.8.3.
(0024920)
Brad King   
2011-01-19 11:29   
This was reported as issue 0011388 and fixed here:

  http://cmake.org/gitweb?p=cmake.git;a=commitdiff;h=0476715b [^]

which is included in 2.8.4-rc1.