Bug 332602

Summary: Preferences menu item erroneously configures project
Product: [Applications] kdevelop Reporter: Marko Käning <mk-lists>
Component: All build toolsAssignee: kdevelop-bugs-null
Status: RESOLVED FIXED    
Severity: normal CC: rjvbertin
Priority: NOR    
Version: 4.6.0   
Target Milestone: ---   
Platform: MacPorts   
OS: macOS   
Latest Commit: Version Fixed In:
Attachments: This file shows the menu "Prefences..." menu item in KDevelop's main menu on MacOSX

Description Marko Käning 2014-03-25 20:46:18 UTC
The preferences menu item on MacOS below "KDevelop/Preferences..." suggests that the application would open the KDevelop preferences (which could also be accessed via "Settings/Configure KDevelop...").

But seemingly erroneously the application instead configures the project by calling "cmake" in the "Build" window.

Reproducible: Always

Steps to Reproduce:
1. Click on menu item "KDevelop/Preferences..."
2. Inspect "Build" window and observe that the application has run out "cmake" 
Actual Results:  
CMake run

Expected Results:  
Open "Settings/Configure KDevelop..." dialog

I can upload screenshots for further illustration if required.
Comment 1 Kevin Funk 2014-03-26 08:12:27 UTC
Hey.

Yes, please attach some screenshots. I fail to see where we have a "KDevelop/Preferences..." menu item.
Comment 2 Marko Käning 2014-03-26 20:38:26 UTC
Created attachment 85773 [details]
This file shows the menu "Prefences..." menu item in KDevelop's main menu on MacOSX
Comment 3 RJVB 2014-09-14 10:40:02 UTC
See https://git.reviewboard.kde.org/r/120195 for an explanation and solution.
Comment 4 RJVB 2014-10-04 23:20:47 UTC
Git commit ef04be98b35df03f4d8a8117bf38416d19399063 by René J.V. Bertin.
Committed on 04/10/2014 at 23:20.
Pushed by rjvbb into branch 'kde4-legacy'.

OS X: Don't confuse Qt's text-matching heuristic so that it won't put
the "Configure Selection" or "Configure Editor" menu actions under the Mac's Preferences menu item
nor "About KDevelop Platform" under the "About KDevelop" menu item.

REVIEW: 120195
Related: bug 333180

M  +4    -0    plugins/projectmanagerview/projectmanagerviewplugin.cpp
M  +9    -0    shell/mainwindow_p.cpp

http://commits.kde.org/kdevplatform/ef04be98b35df03f4d8a8117bf38416d19399063