Wrong Keyboard Translation in RDP Sessions

Re: Wrong Keyboard Translation in RDP Sessions

Postby johan » Sat Mar 24, 2012 8:33 am

Hello,

Thanks for the info, Marcus! This is quite a serious bug when using keyboard layouts heavily dependent on the alt key. I do a lot of programming over RDP for work and that gets pretty much impossible since I can't produce curly or square brackets. Any news on a fix and/or workaround?

/Johan
johan
 
Posts: 3
Joined: Wed Mar 21, 2012 4:34 am

Re: Wrong Keyboard Translation in RDP Sessions

Postby raf » Sat Apr 07, 2012 12:36 am

I'm definitely getting this corrected for the next release.

I apologize for the late reply. I've added this issue to trac with high priority:
http://trac.remoterlabs.com/index.fcgi/ticket/417

Thanks!,
Raf.
raf
Site Admin
 
Posts: 1691
Joined: Sat Oct 09, 2010 12:17 am

Re: Wrong Keyboard Translation in RDP Sessions

Postby johan » Mon Apr 09, 2012 9:29 am

OK! Thanks for the answer! :)
johan
 
Posts: 3
Joined: Wed Mar 21, 2012 4:34 am

Re: Wrong Keyboard Translation in RDP Sessions

Postby raf » Sat Apr 21, 2012 4:43 pm

I'm getting ready to release a new Mac version of Remoter, and this is one of the outstanding issues. I cannot recreate it. I'm thinking the Alt key mapping is different in some international keyboards, and this is causing the problem.
Could you post the log information Remoter sends to the console when the alt key is pressed?

Thanks!,
Raf.
raf
Site Admin
 
Posts: 1691
Joined: Sat Oct 09, 2010 12:17 am

Re: Wrong Keyboard Translation in RDP Sessions

Postby marcus » Sun Apr 22, 2012 3:58 pm

Hi raf,

Do I need to tweak anything? There is no output, when I press a key (no output for any key). I had this behavior with the latest stable and the new beta (1.0.6A).

Following you can see my output. First is after opening Remoter and second after starting a RDP session (to a WinXP-client).

Thanks and regards,
marcus.

PS: I had a little bug: for testing purposes, I wanted to change the layout but I could not click on any settings. After a restart of Remoter all went ok.

Code: Select all
22.04.12 21:28:15.851 RemoterBeta: ************************************************
22.04.12 21:28:15.851 RemoterBeta: ************ Remoter 3.4.10 Starting ***********
22.04.12 21:28:15.852 RemoterBeta: ************************************************
22.04.12 21:28:15.855 RemoterBeta: rootResetUI
22.04.12 21:28:15.855 RemoterBeta: RootVC viewDidLoad Starts
22.04.12 21:28:15.863 RemoterBeta: RemoterConfig::loadRemoterAddOns: Looking for config file '/Users/marcus/Library/Application Support/Remoter/.config/remoteraddons.bin'
22.04.12 21:28:15.864 RemoterBeta: Loading sessions file...
22.04.12 21:28:15.864 RemoterBeta: Reading sessions plist
22.04.12 21:28:15.865 RemoterBeta: populateFromSessionsPlist Reading sessions file '/Users/marcus/Library/Application Support/Remoter/sessions.plist'
22.04.12 21:28:15.880 RemoterBeta: populateFromSessionsPlist name=Home - Jumpstation
...
...
...
22.04.12 21:28:15.892 RemoterBeta: Removing invalid session
22.04.12 21:28:15.893 RemoterBeta: populateFromSessionsPlist: 1 Sessions Retrieved
22.04.12 21:28:15.893 RemoterBeta: Adding special entries
22.04.12 21:28:15.896 RemoterBeta: loadRKLFile file=000Direct.rkl fullPath=/Users/marcus/Library/Application Support/Remoter/000Direct.rkl
22.04.12 21:28:15.897 RemoterBeta: loadRKLFile file=010UnitedStates.rkl fullPath=/Users/marcus/Library/Application Support/Remoter/010UnitedStates.rkl
22.04.12 21:28:15.898 RemoterBeta: loadRKLFile file=015Danish.rkl fullPath=/Users/marcus/Library/Application Support/Remoter/015Danish.rkl
22.04.12 21:28:15.899 RemoterBeta: loadRKLFile file=019Finnish.rkl fullPath=/Users/marcus/Library/Application Support/Remoter/019Finnish.rkl
22.04.12 21:28:15.901 RemoterBeta: loadRKLFile file=020French.rkl fullPath=/Users/marcus/Library/Application Support/Remoter/020French.rkl
22.04.12 21:28:15.902 RemoterBeta: loadRKLFile file=021French_Alt.rkl fullPath=/Users/marcus/Library/Application Support/Remoter/021French_Alt.rkl
22.04.12 21:28:15.903 RemoterBeta: loadRKLFile file=022French_Canadian_CSA.rkl fullPath=/Users/marcus/Library/Application Support/Remoter/022French_Canadian_CSA.rkl
22.04.12 21:28:15.906 RemoterBeta: loadRKLFile file=030German.rkl fullPath=/Users/marcus/Library/Application Support/Remoter/030German.rkl
22.04.12 21:28:15.907 RemoterBeta: loadRKLFile file=040Russian.rkl fullPath=/Users/marcus/Library/Application Support/Remoter/040Russian.rkl
22.04.12 21:28:15.908 RemoterBeta: loadRKLFile file=050Spanish.rkl fullPath=/Users/marcus/Library/Application Support/Remoter/050Spanish.rkl
22.04.12 21:28:15.909 RemoterBeta: loadRKLFile file=060SwissGerman.rkl fullPath=/Users/marcus/Library/Application Support/Remoter/060SwissGerman.rkl
22.04.12 21:28:15.918 RemoterBeta: Bonjour: Commencing Scan...
22.04.12 21:28:15.919 RemoterBeta: RootVC viewDidLoad Ends
22.04.12 21:28:15.919 RemoterBeta: NetBIOS: Commencing Scan...
22.04.12 21:28:16.085 RemoterBeta: Bonjour: Scan Completed.
22.04.12 21:28:18.223 RemoterBeta: NetBIOS resolution: w.x.y.z ABC
22.04.12 21:28:20.710 RemoterBeta: NetBIOS: Scan Completed.


Code: Select all
22.04.12 21:32:49.235 RemoterBeta: resetUI Home - Jumpstation_0x1861210:1
22.04.12 21:32:49.235 RemoterBeta: setWindowSize: 'Home - Jumpstation_0x1861210:1' Req={1280, 1024}(1.25) Set={1280, 1024}(1.25)
22.04.12 21:32:49.305 RemoterBeta: resetUI Home - Jumpstation_0x1861210:1
22.04.12 21:32:50.613 RemoterBeta: resetUI Home - Jumpstation_0x1861210:1
22.04.12 21:32:50.614 RemoterBeta: Starting rdp connection to fit:3389
22.04.12 21:32:50.618 RemoterBeta: RDP log_handler: connected to fit:3389
22.04.12 21:32:50.682 RemoterBeta: RDP: processConnectionThread: Entering main loop.
22.04.12 21:32:50.683 RemoterBeta: resetUI Home - Jumpstation_0x1861210:1
22.04.12 21:32:50.686 RemoterBeta: saveConfigData save returns=YES path=/Users/marcus/Library/Application Support/Remoter/.config/remoterconfig.plist
22.04.12 21:32:50.687 RemoterBeta: RemoterConfig: saveRemoterAddOnsData. Using config file '/Users/marcus/Library/Application Support/Remoter/.config/remoteraddons.bin'
22.04.12 21:32:50.725 RemoterBeta: resetUI Home - Jumpstation_0x1861210:1
22.04.12 21:32:50.726 RemoterBeta: setWindowSize: 'Home - Jumpstation_0x1861210:1' Req={1280, 1024}(1.25) Set={1280, 1024}(1.25)
22.04.12 21:32:50.726 RemoterBeta: resetOnSetScreenSize window:1 Remote bufferResolution=1280x1024, local res=1280x1024
22.04.12 21:32:50.726 RemoterBeta: resetUI Home - Jumpstation_0x1861210:1
22.04.12 21:32:50.726 RemoterBeta: setInitialZoomLevel min=1.00 max=5.00 (minzoomx=1.00 minzoomy=1.00) (scrollViewWidth=1280.00, imageViewWidth=1280.00)(imageWidth=0.00 imageHeight=0.00)
22.04.12 21:32:50.727 RemoterBeta: resetUI Home - Jumpstation_0x1861210:1
marcus
 
Posts: 12
Joined: Tue Dec 20, 2011 7:53 am

Re: Wrong Keyboard Translation in RDP Sessions

Postby raf » Mon Apr 23, 2012 12:10 am

Thanks for your help!, could you actually use this version (1.0.6B) from here:
http://goo.gl/GWzik

This version actually logs when modifier keys are pressed. I need the log information for when the alt key is pressed. It will look like this:

Code: Select all
4/23/12 12:10:01.751 AM RemoterBeta: Mac keyboard modifier flags: 0x80120
4/23/12 12:10:01.807 AM RemoterBeta: Mac keyboard modifier flags: 0x100


Which is what I get when I press and release the Alt key.

Thank you!,
Raf.
raf
Site Admin
 
Posts: 1691
Joined: Sat Oct 09, 2010 12:17 am

Re: Wrong Keyboard Translation in RDP Sessions

Postby marcus » Mon Apr 23, 2012 3:05 am

Hi raf,

First, here is the output:

Left alt key:
Code: Select all
23.04.12 08:25:50.687 RemoterBeta: Mac keyboard modifier flags: 0x80120
23.04.12 08:25:51.087 RemoterBeta: Mac keyboard modifier flags: 0x100


Rigth alt key:
Code: Select all
23.04.12 08:27:40.688 RemoterBeta: Mac keyboard modifier flags: 0x80140
23.04.12 08:27:40.826 RemoterBeta: Mac keyboard modifier flags: 0x100


Now, during this post I tested a little bit, and I think I found something interesting for you. The alt key is mapped correctly into the RDP session. But, for some special characters, (like @, |, {}, [], ...), we need another key called 'alt gr'. This means, we can not use this characters. As comparison, VMware Fusion maps every key to the 'normal' Swiss German keyboard layout (differs a lot from the Mac Swiss German keyboard layout).

Thanks and regards,
marcus.
marcus
 
Posts: 12
Joined: Tue Dec 20, 2011 7:53 am

Re: Wrong Keyboard Translation in RDP Sessions

Postby raf » Mon Apr 23, 2012 4:24 pm

This is proving a difficult problem.
Please try this beta: http://goo.gl/STrmz

It now handles both the left alt and right alt keys differently (the right alt key is what is called "Alt Gr" in some international keyboards.

Thanks!,
Raf.
raf
Site Admin
 
Posts: 1691
Joined: Sat Oct 09, 2010 12:17 am

Re: Wrong Keyboard Translation in RDP Sessions

Postby marcus » Tue Apr 24, 2012 1:31 am

Hi raf,

We are getting close. The 'Alt Gr' is mapped correctly, but both 'Alt' keys are mapped to 'Alt Gr' now.

Regards,
marcus
marcus
 
Posts: 12
Joined: Tue Dec 20, 2011 7:53 am

Re: Wrong Keyboard Translation in RDP Sessions

Postby raf » Tue Apr 24, 2012 4:15 pm

Very interesting. I'm posting a new beta now. I hope it also corrects this issue.

Thanks!,
Raf.
raf
Site Admin
 
Posts: 1691
Joined: Sat Oct 09, 2010 12:17 am

PreviousNext

Return to Support

Who is online

Users browsing this forum: No registered users and 11 guests