View Issue Details Jump to Notes ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0011722CMakeQtDialogpublic2011-01-19 05:272011-01-19 14:36
Reporterarrowdodger 
Assigned ToClinton Stimpson 
PrioritynormalSeverityminorReproducibilityalways
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionCMake-2-8 
Target VersionCMake 2.8.4Fixed in VersionCMake 2.8.4 
Summary0011722: CMake.desktop: wrong Exec field
Descriptioncmake-gui uses a path to build as it's argument, not CMakeCache.txt itself.
So, %f should be replaced with %d.
Steps To ReproduceUsing 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.
TagsNo tags attached.
Attached Files

 Relationships
duplicate of 0011388closedClinton Stimpson cmake-gui desktop file does not work as expected 

  Notes
(0024906)
Brad King (manager)
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 (reporter)
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 (developer)
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 (reporter)
2011-01-19 11:24

I'm using CMake 2.8.3.
(0024920)
Brad King (manager)
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.

 Issue History
Date Modified Username Field Change
2011-01-19 05:27 arrowdodger New Issue
2011-01-19 08:37 Brad King Assigned To => Clinton Stimpson
2011-01-19 08:37 Brad King Status new => assigned
2011-01-19 08:39 Brad King Note Added: 0024906
2011-01-19 09:31 arrowdodger Note Added: 0024908
2011-01-19 11:01 Clinton Stimpson Note Added: 0024917
2011-01-19 11:24 arrowdodger Note Added: 0024919
2011-01-19 11:27 Brad King Relationship added duplicate of 0011338
2011-01-19 11:27 Brad King Relationship added duplicate of 0011388
2011-01-19 11:28 Brad King Relationship deleted 0011338
2011-01-19 11:29 Brad King Note Added: 0024920
2011-01-19 11:30 Brad King Status assigned => closed
2011-01-19 11:30 Brad King Resolution open => fixed
2011-01-19 11:30 Brad King Fixed in Version => CMake 2.8.4
2011-01-19 14:36 David Cole Target Version => CMake 2.8.4


Copyright © 2000 - 2018 MantisBT Team