Bug#657440: xkb-data: cannot switch between two kb layout in gnome

2012-12-20 Thread Luc Maisonobe
I confirm that manually editing the /usr/share/X11/xkb/symbols/keypad
file to change the ossmath configuration (replacing FOUR_LEVEL_X with
CTRL+ALT and adding VoidSymbol in the entries fpr KPDV, KPMU, KPSU and
KPAD) and restarting the gnome session does solve the problem.

Once the Gnome session is restarted, the fr1/fr2 swith at in the top
bar of the gnome-shell desktop responds correctly, and the keyboard
layout switches accordingly, even in application already launched.

I hope the fix will be applied to the debian packaging of xkb.

Thanks a lot,
Luc


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#657440: xkb-data: cannot switch between two kb layout in gnome

2012-12-14 Thread Sébastien Villemot
Control: reassign -1 xkb-data 2.5.1-2.1
Control: severity -1 important
Control: tags -1 + upstream fixed-upstream patch
Control: forwarded -1 https://bugs.freedesktop.org/show_bug.cgi?id=43541

Le jeudi 26 janvier 2012 à 12:20 +0100, Rémi Letot a écrit :
 Package: xkb-data
 Version: 2.5-1
 Severity: normal

 I upgraded my sid system, and xkb-data was upgraded to 2.5-1.
 
 Normaly, my X configuration is azerty Belgian at the time of gdm, 
 and switches to French bépo (façon dvorak) once in gnome.
 
 After upgrading xkb-data, the layout stays Belgian even after login.
 Gnome's keyboard applet says fr, and the bépo layout it selected in
 the menu if I expand it, but the real used layout is Belgian. More
 than that, I can't select the other option in the keyboard applet.
 
 Now if I open keyboard parameters and change the order of the 
 layouts (that is make Belgian first in the list), I can use the
 menu to switch layouts again.
 
 If I change the orders again, I can still switch but the layouts 
 are inverted: selecting be gets me bépo, and fr gets me be...
 
 Reverting to xkb-data 2.3-2 from testing fixes everything.

As a user of the fr(bepo) layout, I confirm this. This is actually an
xkb-data bug that has been fixed upstream and for which I attach the
relevant patch. I consider this issue to be of severity important,
because it severely affects several categories of users, like the Bépo
community and users of fr(oss) and Norwegian keymaps.

I think the fix should go into Wheezy. Kibi, what's your opinion? I can
NMU if this helps.

Cheers,

-- 
 .''`.Sébastien Villemot
: :' :Debian Developer
`. `' http://www.dynare.org/sebastien
  `-  GPG Key: 4096R/381A7594



signature.asc
Description: This is a digitally signed message part


Bug#657440: xkb-data: cannot switch between two kb layout in gnome

2012-12-14 Thread Sébastien Villemot
Le vendredi 14 décembre 2012 à 21:28 +0100, Sébastien Villemot a écrit :
 This is actually an xkb-data bug that has been fixed upstream and for which I 
 attach the
 relevant patch. 

Attaching the missing patch, sorry.

-- 
 .''`.Sébastien Villemot
: :' :Debian Developer
`. `' http://www.dynare.org/sebastien
  `-  GPG Key: 4096R/381A7594

diff -u xkeyboard-config-2.5.1/debian/changelog xkeyboard-config-2.5.1/debian/changelog
--- xkeyboard-config-2.5.1/debian/changelog
+++ xkeyboard-config-2.5.1/debian/changelog
@@ -1,3 +1,14 @@
+xkeyboard-config (2.5.1-2.2) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Add ossmath-is-five-levels.patch: some keymaps like fr/oss and fr/bepo
+fail to load because they include ossmath (via keypad(oss)) which
+misconfigures the keypad as 4-level when it should be 5-level. This
+patch from upstream fixes this by adding the 5th level to the ossmath
+definition. (Closes: #657440)
+
+ -- Sébastien Villemot sebast...@debian.org  Thu, 13 Dec 2012 21:29:57 +0100
+
 xkeyboard-config (2.5.1-2.1) unstable; urgency=low
 
   * Non-maintainer upload.
diff -u xkeyboard-config-2.5.1/debian/patches/series xkeyboard-config-2.5.1/debian/patches/series
--- xkeyboard-config-2.5.1/debian/patches/series
+++ xkeyboard-config-2.5.1/debian/patches/series
@@ -3,0 +4 @@
+ossmath-is-five-levels.diff
only in patch2:
unchanged:
--- xkeyboard-config-2.5.1.orig/debian/patches/ossmath-is-five-levels.diff
+++ xkeyboard-config-2.5.1/debian/patches/ossmath-is-five-levels.diff
@@ -0,0 +1,36 @@
+Description: ossmath is CTRL+ALT, not FOUR_LEVEL
+ Having KPMU defined as FOUR_LEVEL, with 4 symbols only, triggers an xkb error
+ when the keypad stuff picks up the CTRL+ALT (from x11) and waits for 5 symbols
+ instead.
+Origin: http://cgit.freedesktop.org/xkeyboard-config/commit/?id=49ed96928f6036bf07c8daa5aa886485fc3635e4
+Bug: https://bugs.freedesktop.org/show_bug.cgi?id=43541
+Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=657440
+Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/xkeyboard-config/+bug/985065
+Reviewed-by: Sébastien Villemot sebast...@debian.org
+Last-Update: 2012-12-13
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/symbols/keypad
 b/symbols/keypad
+@@ -267,13 +267,12 @@ xkb_symbols legacymath {
+ partial keypad_keys
+ xkb_symbols ossmath {
+ 
+-key.type[Group1]=FOUR_LEVEL_X ;
+-
+-key KPDV { [   KP_Divide, 0x1002215, 0x1F7, XF86_Ungrab ] }; // / ∕ ÷ XF86_Ungrab
+-key KPMU { [ KP_Multiply, 0x10022C5, 0x1D7,  XF86_ClearGrab ] }; // * ⋅ ×  XF86_ClearGrab
+-key KPSU { [ KP_Subtract, 0x1002212, 0x1002212, XF86_Prev_VMode ] }; // - − − XF86_Prev_VMode
++key.type[Group1]=CTRL+ALT ;
+ 
+-key KPAD { [  KP_Add, 0x12B, 0x12B, XF86_Next_VMode ] }; // + + + XF86_Next_VMode
++key KPDV { [   KP_Divide, 0x1002215, 0x1F7, VoidSymbol, XF86_Ungrab ] }; // / ∕ ÷ XF86_Ungrab
++key KPMU { [ KP_Multiply, 0x10022C5, 0x1D7, VoidSymbol,  XF86_ClearGrab ] }; // * ⋅ ×  XF86_ClearGrab
++key KPSU { [ KP_Subtract, 0x1002212, 0x1002212, VoidSymbol, XF86_Prev_VMode ] }; // - − − XF86_Prev_VMode
++key KPAD { [  KP_Add, 0x12B, 0x12B, VoidSymbol, XF86_Next_VMode ] }; // + + + XF86_Next_VMode
+ 
+ };
+ 
+-- 
+1.7.10.2
+


signature.asc
Description: This is a digitally signed message part


Bug#657440: xkb-data: cannot switch between two kb layout in gnome

2012-11-23 Thread Yann SOUBEYRAND
Hi everybody,

I would like to know if there's something new regarding this bug as I'm
still experiencing similar problems with a Sid installation. Did someone
report this bug upstream?

Thanks in advance


Yann


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#657440: xkb-data: cannot switch between two kb layout in gnome

2012-01-29 Thread Rémi Letot

Hi

Le 26/01/12 12:11, Cyril Brulebois a écrit :


I'm not sure if Gnome interferes here. Feel free to open a bare session
(http://x.debian.net/faq/general.html) and play with setxkbmap to see
whether the layout is fucked up, or if the layout switcher in gnome is
buggy.


I launched a bare X session as requested, and there setxkbmap works 
perfectly. So I guess it's an interraction between xkb-data and the 
layout switcher in gnome, but I don't know which one is buggy.


Please note as additionnal information that if I put the be layout as 
default in gnome and restart my session, I have no problem anymore in 
the layout switcher: it works fine directly after login, and the layouts 
are not inverted when I choose them.



Anyway, feel free to report your findings on an upstream bug
(https://bugs.freedesktop.org/ product xkeyboard-config) and let us know
about the URL for tracking.


I'm not sure xkeyboard-config is the real culprit as setxkbmap works 
fine. I would even say that the gnome layout switcher is now a more 
compelling suspect :-) What can I do to diagnose this further ?


Thanks,
--
Rémi



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#657440: xkb-data: cannot switch between two kb layout in gnome

2012-01-29 Thread Cyril Brulebois
Rémi Letot hob...@poukram.net (29/01/2012):
 I'm not sure xkeyboard-config is the real culprit as setxkbmap works
 fine. I would even say that the gnome layout switcher is now a more
 compelling suspect :-) What can I do to diagnose this further ?

Based on your checks I guess opening a bug against gnome's layout
switcher could be a nice starting point.

Mraw,
KiBi.


signature.asc
Description: Digital signature


Bug#657440: xkb-data: cannot switch between two kb layout in gnome

2012-01-26 Thread Rémi Letot
Package: xkb-data
Version: 2.5-1
Severity: normal

Dear Maintainer,

I upgraded my sid system, and xkb-data was upgraded to 2.5-1.

Normaly, my X configuration is azerty Belgian at the time of gdm, 
and switches to French bépo (façon dvorak) once in gnome.

After upgrading xkb-data, the layout stays Belgian even after login.
Gnome's keyboard applet says fr, and the bépo layout it selected in
the menu if I expand it, but the real used layout is Belgian. More
than that, I can't select the other option in the keyboard applet.

Now if I open keyboard parameters and change the order of the 
layouts (that is make Belgian first in the list), I can use the
menu to switch layouts again.

If I change the orders again, I can still switch but the layouts 
are inverted: selecting be gets me bépo, and fr gets me be...

Reverting to xkb-data 2.3-2 from testing fixes everything.

Thanks a lot, don't hesitate to ask for more info or tests.

-- 
Rémi


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=fr_BE.utf8, LC_CTYPE=fr_BE.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#657440: xkb-data: cannot switch between two kb layout in gnome

2012-01-26 Thread Cyril Brulebois
Hi Rémi.

Rémi Letot hob...@poukram.net (26/01/2012):
 Normaly, my X configuration is azerty Belgian at the time of gdm, 
 and switches to French bépo (façon dvorak) once in gnome.
 
 After upgrading xkb-data, the layout stays Belgian even after login.
 Gnome's keyboard applet says fr, and the bépo layout it selected in
 the menu if I expand it, but the real used layout is Belgian. More
 than that, I can't select the other option in the keyboard applet.
 
 Now if I open keyboard parameters and change the order of the 
 layouts (that is make Belgian first in the list), I can use the
 menu to switch layouts again.
 
 If I change the orders again, I can still switch but the layouts 
 are inverted: selecting be gets me bépo, and fr gets me be...
 
 Reverting to xkb-data 2.3-2 from testing fixes everything.
 
 Thanks a lot, don't hesitate to ask for more info or tests.

I'm not sure if Gnome interferes here. Feel free to open a bare session
(http://x.debian.net/faq/general.html) and play with setxkbmap to see
whether the layout is fucked up, or if the layout switcher in gnome is
buggy.

Anyway, feel free to report your findings on an upstream bug
(https://bugs.freedesktop.org/ product xkeyboard-config) and let us know
about the URL for tracking.

Mraw,
KiBi.


signature.asc
Description: Digital signature