Bug 114906 - Missing keyboard locale fr-ca when using RDP
Summary: Missing keyboard locale fr-ca when using RDP
Status: RESOLVED FIXED
Alias: None
Product: krdc
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: NOR wishlist
Target Milestone: ---
Assignee: Jaison Lee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-22 22:49 UTC by Xavier Douville
Modified: 2006-09-09 23:49 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Xavier Douville 2005-10-22 22:49:20 UTC
Version:            (using KDE KDE 3.4.2)
Installed from:    Debian testing/unstable Packages
OS:                Linux

It would be nice if you could add fr-ca (French Canadian) to the list of availables keyboard layouts in the RDP preferences.
This keyboard layout is used by about 7M people.

It is called "ca_enhanced" in the KDE control pannel, "French (Canada)" in Microsoft Windows, and "-k fr-ca" is the argument that we need to pass to rdesktop.
Comment 1 Brad Hards 2005-12-03 08:13:52 UTC
This can't be added to KDE 3.5, because of the string freeze. It might be a candidate for KDE4.
Comment 2 Yves Glodt 2005-12-29 08:46:53 UTC
As you are at, fr-ch is missing as well... Used in Switzerland of course,
and in other coutries which write german and french language.

As far as I can see it should be only a matter of adding the fr-ch layout to the available choices, so, out of curiosity,  why would a string change be necessary...?
Comment 3 Yves Glodt 2006-01-21 10:36:28 UTC
On the same subject...

How about (optinoally) detecting the user's keyboard layout and automatically
using it...?

I guess 99,9% of people want to use *their* keyboard layout...
Comment 4 Andreas Kling 2006-07-27 22:15:32 UTC
SVN commit 567025 by kling:

Adding a bunch of new RDP keymaps.
Will backport this to 3.5 if we do a new release.

BUG: 114906
BUG: 124196
BUG: 127102


 M  +10 -2     rdphostpref.h  
 M  +38 -3     rdpprefs.ui  


--- trunk/KDE/kdenetwork/krdc/rdp/rdphostpref.h #567024:567025
@@ -23,21 +23,29 @@
 #include "hostpreferences.h"
 
 static const QString rdpKeymaps[] = { "ar",
+                                      "cs",
                                       "da",
                                       "de",
+                                      "de-ch",
                                       "en-gb",
                                       "en-us",
                                       "es",
+                                      "et",
                                       "fi",
                                       "fr",
                                       "fr-be",
+                                      "fr-ca",
+                                      "fr-ch",
                                       "hr",
                                       "hu",
+                                      "is",
                                       "it",
                                       "ja",
                                       "lt",
                                       "lv",
                                       "mk",
+                                      "nl",
+                                      "nl-be",
                                       "no",
                                       "pl",
                                       "pt",
@@ -47,8 +55,8 @@
                                       "sv",
                                       "th",
                                       "tr" };
-static const int rdpNumKeymaps = 25;
-static const int rdpDefaultKeymap = 4; // en-us
+static const int rdpNumKeymaps = 34;
+static const int rdpDefaultKeymap = 8; // en-us
 
 inline int keymap2int(QString &keymap)
 {
--- trunk/KDE/kdenetwork/krdc/rdp/rdpprefs.ui #567024:567025
@@ -161,6 +161,11 @@
                     </item>
                     <item>
                         <property name="text">
+                            <string>Czech (cs)</string>
+                        </property>
+                    </item>
+                    <item>
+                        <property name="text">
                             <string>Danish (da)</string>
                         </property>
                     </item>
@@ -171,6 +176,11 @@
                     </item>
                     <item>
                         <property name="text">
+                            <string>Swiss German (de-ch)</string>
+                        </property>
+                    </item>
+                    <item>
+                        <property name="text">
                             <string>British English (en-gb)</string>
                         </property>
                     </item>
@@ -186,6 +196,11 @@
                     </item>
                     <item>
                         <property name="text">
+                            <string>Estonian (et)</string>
+                        </property>
+                    </item>
+                    <item>
+                        <property name="text">
                             <string>Finnish (fi)</string>
                         </property>
                     </item>
@@ -196,21 +211,36 @@
                     </item>
                     <item>
                         <property name="text">
-                            <string>Belgium (fr-be)</string>
+                            <string>Belgian (fr-be)</string>
                         </property>
                     </item>
                     <item>
                         <property name="text">
-                            <string>Croation (hr)</string>
+                            <string>French Canadian (fr-ca)</string>
                         </property>
                     </item>
                     <item>
                         <property name="text">
+                            <string>Swiss French (fr-ca)</string>
+                        </property>
+                    </item>
+                    <item>
+                        <property name="text">
+                            <string>Croatian (hr)</string>
+                        </property>
+                    </item>
+                    <item>
+                        <property name="text">
                             <string>Hungarian (hu)</string>
                         </property>
                     </item>
                     <item>
                         <property name="text">
+                            <string>Icelandic (is)</string>
+                        </property>
+                    </item>
+                    <item>
+                        <property name="text">
                             <string>Italian (it)</string>
                         </property>
                     </item>
@@ -236,11 +266,16 @@
                     </item>
                     <item>
                         <property name="text">
-                            <string>Norwegian (no)</string>
+                            <string>Dutch (nl)</string>
                         </property>
                     </item>
                     <item>
                         <property name="text">
+                            <string>Belgian Dutch (nl-be)</string>
+                        </property>
+                    </item>
+                    <item>
+                        <property name="text">
                             <string>Polish (pl)</string>
                         </property>
                     </item>
Comment 5 Yves Glodt 2006-09-06 22:11:41 UTC
^^ I just noticed that the patch above obviously contains a copy/paste error: :-)

+                            <string>French Canadian (fr-ca)</string>
                         </property>
                     </item>
                     <item>
                         <property name="text">
+                            <string>Swiss French (fr-ca)</string>
Comment 6 Jaison Lee 2006-09-09 23:49:49 UTC
Comment #5: Fixed in svn.