Cmd+Alt+<Arrow key> shortcuts not saved correctly #538

Closed
jleben opened this Issue Sep 24, 2012 · 11 comments

Comments

Projects
None yet
4 participants
Owner

jleben commented Sep 24, 2012

Cmd+Alt+ shortcuts work OK just after being set via configuration dialog, but are not saved correctly, so fail after IDE restart.

Seems like the string to represent the arrow key is not representable by the saving/parsing encoding? Afaik, the string should be simply "Left", "Right", etc.., but as a matter of fact it is not. Maybe the combination of modifiers before the arrow key make Qt produce a weird character instead of the aforementioned strings.

Owner

jleben commented Sep 24, 2012

@ifranco: are you able to compile latest SC, so I could send you some patches to try regarding this issue?

ifranco commented Sep 24, 2012

I tried to compile per instructions on "README_OS_X.txt" and I get:

CMake Error at external_libraries/CMakeLists.txt:2 (message):
nova-simd submodule is missing: please run `git submodule init && git
submodule update' from the toplevel of your git working tree

Are there any dependencies that need to be installed?

Owner

joshpar commented Sep 24, 2012

yes, as the error tells you, run git submodule init && git submodule update

Josh

On Sep 24, 2012, at 9:16 AM, ifranco notifications@github.com wrote:

I tried to compile per instructions on "README_OS_X.txt" and I get:

CMake Error at external_libraries/CMakeLists.txt:2 (message):
nova-simd submodule is missing: please run `git submodule init && git
submodule update' from the toplevel of your git working tree

Are there any dependencies that need to be installed?


Reply to this email directly or view it on GitHub.


/* Joshua D. Parmenter
http://www.realizedsound.net/josh/

“Every composer – at all times and in all cases – gives his own interpretation of how modern society is structured: whether actively or passively, consciously or unconsciously, he makes choices in this regard. He may be conservative or he may subject himself to continual renewal; or he may strive for a revolutionary, historical or social palingenesis." - Luigi Nono
*/

ifranco commented Sep 24, 2012

Ok, so I cloned the full github project.
Compiling complains that I don't have QT installed.
Is there a binary available or must I compile QT too?
Could you just point me in the right direction?

Owner

jleben commented Sep 24, 2012

The file README_OS_X.txt that you have supposedly read, will point you to http://qt-project.org/downloads where you'll find Qt binaries to download. I suggest latest - Qt 4.8.3. Open source version, of course.

Owner

jleben commented Sep 24, 2012

Btw, you only need the Qt libraries, not necessarily the whole SDK.
Link: http://releases.qt-project.org/qt4/source/qt-mac-opensource-4.8.3.dmg

ifranco commented Sep 24, 2012

Ok, I get to errors when compiling, apparently related to Bluetooth. This is on OSX 10.8.1:


In file included from /Users/ifranco/Documents/supercollider/lang/LangPrimSource/SC_Wii.cpp:60:
/Users/ifranco/Documents/supercollider/lang/LangPrimSource/WiiMote_OSX/wiiremote.h:90:2: error:
unknown type name 'IOBluetoothDeviceInquiryRef'; did you mean
'IOBluetoothDeviceRef'?
IOBluetoothDeviceInquiryRef inquiry;
^~~~~~~~~~~~~~~~~~~~~~~~~~~
IOBluetoothDeviceRef
/System/Library/Frameworks/IOBluetooth.framework/Headers/IOBluetoothUserLib.h:34:47: note:
'IOBluetoothDeviceRef' declared here
typedef struct OpaqueIOBluetoothObjectRef * IOB...
^
/Users/ifranco/Documents/supercollider/lang/LangPrimSource/SC_Wii.cpp:304:6: error:
use of undeclared identifier 'IOBluetoothGetVersion'
if (IOBluetoothGetVersion(&outSoftwareVersion, ...
------------------------------------------------------------------ ^

Also several warnings about pi definition. Here's one of them:


In file included from /Users/ifranco/Documents/supercollider/lang/LangPrimSource/SC_Wii.cpp:47:
/Users/ifranco/Documents/supercollider/include/plugin_interface/SC_InlineUnaryOp.h:440:17: warning:
'pi' is deprecated: first deprecated in Mac OS X 10.8
[-Wdeprecated-declarations]

return sin(x * pi);

Maybe you want to move this discussion about my compiling issues somewhere else? You can mail me privately if you want.

Owner

joshpar commented Sep 24, 2012

On 10.8 you need to:

compile against the 10.7 SDK
build with the Xcode generator (add -GXcode to your cmake flags).

Then, build the install target in Xcode.

I started working on the bluetooth issues today actually, but the changes aren't trivial.

For some reason, the 10.7 SDK choice doesn't seem to percolate into the makefile version created by cmake.

Owner

joshpar commented Sep 24, 2012

(just added the above to the README for OS X)

ifranco commented Sep 24, 2012

Josh, do you build install with Xcode using the following?

$xcodebuild install

I get:

** BUILD FAILED **

The following build commands failed:
Strip server/plugins/UninstalledProducts/BinaryOpUGens.scx
(1 failure)

@scztt scztt modified the milestone: 3.7 Apr 18, 2015

Contributor

scztt commented May 23, 2015

Appears to be fixed in 3.7. I get this in my shortcuts, and they work fine after an app restart:
editor-go-to-next-region: Ctrl+Alt+Right
editor-go-to-prev-region: Ctrl+Alt+Left

scztt closed this May 23, 2015

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment