Re: [Rd] AltGr not working in R GUI Script Editor (PR#9430)

From: Duncan Murdoch <murdoch_at_stats.uwo.ca>
Date: Sat 23 Dec 2006 - 18:00:11 GMT

On 12/23/2006 6:07 AM, zoran.bosnic@fri.uni-lj.si wrote:
> Full_Name: Zoran Bosnic
> Version: 2.4.0
> OS: Windows XP SP2
> Submission from: (NULL) (212.235.140.146)
>
>
> This is a problem that occurs in R GUI Script Editor and is connected to Windows
> regional settings.
>
> Since I live in Slovenia, my computer has a keyboard with additional slovenian
> international characters. I am therefore using Windows XP SP2 with Input
> Language (=Keyboard Locale, Control Panel/Regional and Language
> Options/Languages/Details/Input language) set to Slovenian.
>
> On slovenian keyboards characters as [, ], {, } are produced by pressing key
> combinations AltGr+F, AltGr+G, AltGr+B and AltGr+N, respectively. These
> combinations generally work in all Windows programs and also in R Console.
> However, R Script editor produces behaves wrongly and causes:
> AltGr+F to open Find dialog box,
> AltGr+N to open new Script window.

I see in comments in the source (in
https://svn.r-project.org/trunk/src/gnuwin32/graphapp/events.c, around line 930) that this is a known bug, but I don't know how to fix it. I'm working on an American keyboard, that doesn't have an AltGr key, so it's hard to test anything.

One solution would be to add an option to disable handling of shortcut keys in menus. There's probably a better solution, but without being able to test it, I don't think I could find it.

Are you familiar enough with Windows internals to work on this and submit a patch, or do you know someone who is?

Duncan Murdoch

>
> Consequentially, it is not possible to type ] and } brackets using slovenian
> input settings in script editor. Meanwhile, AltGr+G and AltGr+B work fine.
>
> ______________________________________________
> R-devel@r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Sun Dec 24 05:03:16 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Sat 23 Dec 2006 - 18:31:03 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.