I am using both the 5.34.18 and the 5.99/06 (3 April 2014) ROOT versions on my Mavericks Mac. It looks like I can no longer enter special characters using the Canvas’ toolbar editor, since if I want to type “#mu” for the corresponding Greek letter, I type as before “Alt+3mu” but it is now writing this as “3mu”. In other words it ignores the “Alt”… So I cannot enter any more Greek letters, apart from doing it in my script of course, rather then on the canvas after it is produced.
Can you reproduce this on a Mac, and if so, is there a fix to it?
I am using both the 5.34.18 and the 5.99/06 (3 April 2014) ROOT versions on my Mavericks Mac. It looks like I can no longer enter special characters using the Canvas’ toolbar editor, since if I want to type “#mu” for the corresponding Greek letter, I type as before “Alt+3mu” but it is now writing this as “3mu”. In other words it ignores the “Alt”… So I cannot enter any more Greek letters, apart from doing it in my script of course, rather then on the canvas after it is produced.
Can you reproduce this on a Mac, and if so, is there a fix to it?
Thank you,
Cristian[/quote]
Hmm, just use shift + 3.
Shift is a standard key to switch to the upper case. Alt+3 gives me a “pound” character in any text editing application I have. And in keyboard handling routines I’m not treating Alt as a Shift while generating a key event for ROOT. And ‘Alt’ + ‘#’ is what I receive from Cocoa’s event loop.
[quote=“cbungau”]Hi,
I will do it from script for the moment.
Cristian[/quote]
It will be always like this: ROOT can not treat ‘Alt’ key as something else. ‘Shift’ is ‘Shift’.
I have built ROOT with X11 - Alt + 3 does not work and no settings in XQuartz can affect this, I have
‘3mu’. What kind of keyboard/layout do you have?
May be you where able to do it in the ugly interface on the canvas… But I guess you were not able to enter it in any GUI text field or on the ROOT prompt.
The problem is more general. It was working by chance in that interface. You were not able to enter the # in a GUI text field anyway. This interface did not work properly: it was breaking the ROOT event loop and it was impossible to delete a character. So we cannot say it was doing the job.
All right, thank you, I was hoping you will want to check, but I thought you will consider it a minor case for a particular keyboard. Please let me know if any fix comes up.