Bug#952731: xkb-data: Italian keyboard layout not working in some apps

2020-02-29 Thread Jean-Luc Coulon (f5ibh)
Le 28/02/2020 à 20:50, Timo Aaltonen a écrit :
> 
> I'm pretty sure the reason for the failure is that our xkbcomp is too
> old, the newer versions ignore errors caused by having keycodes above
> 255.. and launching Xwayland in weston clearly shows a bunch of errors
> from xkbcomp. Our version (1.4.0) is almost 2y old and this was fixed
> upstream in 1.4.1 in June 2018.
> 
> So I'll update x11-xkb-utils, thanks for the patience..
>
I've updated x11-xkb-utils and xkb-data (to 2.29-2) together with other
related packages with the update of debien sid today.

This fixes the problem [for me].

Thanks and regards

Jean-Luc



Bug#952731: xkb-data: Italian keyboard layout not working in some apps

2020-02-28 Thread Timo Aaltonen
On 28.2.2020 18.50, Domenico Cufalo wrote:
> This is my output:
> 
> $ gsettings get org.gnome.desktop.input-sources sources
> [('xkb', 'it'), ('xkb', 'gr'), ('xkb', 'de')]
> 
> Obviously the command "setxkbmap it" solves the problem, at least for
> the current session.
> 
> In Italian keyboard, for example, round brackets are above the numbers 8
> and 9, instead of 9 and 0.
> 
> The issue arose after updating the following packages:
> 
> Start-Date: 2020-02-28  00:30:26
> Commandline: apt upgrade
> Requested-By: domenico (1000)
> Upgrade: libqt5test5:amd64 (5.12.5+dfsg-8, 5.12.5+dfsg-9),
> qt5-gtk-platformtheme:amd64 (5.12.5+dfsg-8, 5.12.5+dfsg-9),
> libqt5dbus5:amd64 (5.12.5+dfsg-8, 5.12.5+dfsg-9),
> libqt5sql5-sqlite:amd64 (5.12.5+dfsg-8, 5.12.5+dfsg-9),
> libqt5widgets5:amd64 (5.12.5+dfsg-8, 5.12.5+dfsg-9), xkb-data:amd64
> (2.26-2, 2.29-1), libqt5xml5:amd64 (5.12.5+dfsg-8, 5.12.5+dfsg-9),
> libqt5printsupport5:amd64 (5.12.5+dfsg-8, 5.12.5+dfsg-9),
> libqt5concurrent5:amd64 (5.12.5+dfsg-8, 5.12.5+dfsg-9), libqt5gui5:amd64
> (5.12.5+dfsg-8, 5.12.5+dfsg-9), libqt5core5a:amd64 (5.12.5+dfsg-8,
> 5.12.5+dfsg-9), libxml2:amd64 (2.9.10+dfsg-3, 2.9.10+dfsg-4),
> libqt5network5:amd64 (5.12.5+dfsg-8, 5.12.5+dfsg-9), libqt5sql5:amd64
> (5.12.5+dfsg-8, 5.12.5+dfsg-9)
> End-Date: 2020-02-28  00:30:33
> 
> In the meantime, I think I will downgrade the package...
> 
> Regards,
> Domenico
> 

I'm pretty sure the reason for the failure is that our xkbcomp is too
old, the newer versions ignore errors caused by having keycodes above
255.. and launching Xwayland in weston clearly shows a bunch of errors
from xkbcomp. Our version (1.4.0) is almost 2y old and this was fixed
upstream in 1.4.1 in June 2018.

So I'll update x11-xkb-utils, thanks for the patience..


-- 
t



Bug#952731: xkb-data: Italian keyboard layout not working in some apps

2020-02-28 Thread Domenico Cufalo
This is my output:

$ gsettings get org.gnome.desktop.input-sources sources
[('xkb', 'it'), ('xkb', 'gr'), ('xkb', 'de')]

Obviously the command "setxkbmap it" solves the problem, at least for the
current session.

In Italian keyboard, for example, round brackets are above the numbers 8
and 9, instead of 9 and 0.

The issue arose after updating the following packages:

Start-Date: 2020-02-28  00:30:26
Commandline: apt upgrade
Requested-By: domenico (1000)
Upgrade: libqt5test5:amd64 (5.12.5+dfsg-8, 5.12.5+dfsg-9),
qt5-gtk-platformtheme:amd64 (5.12.5+dfsg-8, 5.12.5+dfsg-9),
libqt5dbus5:amd64 (5.12.5+dfsg-8, 5.12.5+dfsg-9), libqt5sql5-sqlite:amd64
(5.12.5+dfsg-8, 5.12.5+dfsg-9), libqt5widgets5:amd64 (5.12.5+dfsg-8,
5.12.5+dfsg-9), xkb-data:amd64 (2.26-2, 2.29-1), libqt5xml5:amd64
(5.12.5+dfsg-8, 5.12.5+dfsg-9), libqt5printsupport5:amd64 (5.12.5+dfsg-8,
5.12.5+dfsg-9), libqt5concurrent5:amd64 (5.12.5+dfsg-8, 5.12.5+dfsg-9),
libqt5gui5:amd64 (5.12.5+dfsg-8, 5.12.5+dfsg-9), libqt5core5a:amd64
(5.12.5+dfsg-8, 5.12.5+dfsg-9), libxml2:amd64 (2.9.10+dfsg-3,
2.9.10+dfsg-4), libqt5network5:amd64 (5.12.5+dfsg-8, 5.12.5+dfsg-9),
libqt5sql5:amd64 (5.12.5+dfsg-8, 5.12.5+dfsg-9)
End-Date: 2020-02-28  00:30:33

In the meantime, I think I will downgrade the package...

Regards,
Domenico


Bug#952731: xkb-data: Italian keyboard layout not working in some apps

2020-02-28 Thread Jean-Luc Coulon (f5ibh)



Le 28/02/2020 à 15:55, Gunnar Hjalmarsson a écrit :
> On 2020-02-28 15:20, Michael Meskes wrote:
>> Anyway, it seems all layouts are not working, for me it's "de". A
>> manual "setxkbmap de" does fix the issue, though.
> 
> That makes me suspect that there is some issue in some GNOME package on
> Debian, which is not present on Ubuntu for some reason.
> 
> @Jean-Luc: Can you please run:
> 
> setxkbmap fr -variant oss
>
> and let us know if that workaround makes a difference for you too.
>

This is overwritten by gnome.

If I enter the connand it works for the session. If I reboot, I've the
keyboard is back to us.

I already tried that before reporting the bug.

--- From an other message 
>
> I see from the gsettings command output that you have two layouts
> enabled, and both those layouts work as expected for me.
>
> Can you please switch to "French (legacy, alt.)" and then back to >
"French (alt.)" and let us know if it makes a difference. Can you also
>check if the "French (legacy, alt.)" layout works as expected.

Nope, it is the same.

J-L



Bug#952731: xkb-data: Italian keyboard layout not working in some apps

2020-02-28 Thread Gunnar Hjalmarsson

On 2020-02-28 15:20, Michael Meskes wrote:

Anyway, it seems all layouts are not working, for me it's "de". A
manual "setxkbmap de" does fix the issue, though.


That makes me suspect that there is some issue in some GNOME package on 
Debian, which is not present on Ubuntu for some reason.


@Jean-Luc: Can you please run:

setxkbmap fr -variant oss

and let us know if that workaround makes a difference for you too.

--
Gunnar Hjalmarsson
https://launchpad.net/~gunnarhj



Bug#952731: xkb-data: Italian keyboard layout not working in some apps

2020-02-28 Thread Gunnar Hjalmarsson

Thanks for additional info, Jean-Luc.

On 2020-02-28 14:14, Jean-Luc Coulon (f5ibh) wrote:

Well, maybe it is difficult to explain as everything is… in French
;)


You can start Settings by pressing + and enter:

env LANGUAGE=en_US gnome-control-center

to get it temporarily in English.


but please see the attached screenshot of what I get from the gnome
preferences.


Just did. Looks good to me.


I suppose "Français(variante)" is "French(alt.)"


It is.


If I use 2.29, I get the same layout from the preferences but the
actual keybord is a us (at least qwerty) layout.


I see from the gsettings command output that you have two layouts 
enabled, and both those layouts work as expected for me.


Can you please switch to "French (legacy, alt.)" and then back to 
"French (alt.)" and let us know if it makes a difference. Can you also 
check if the "French (legacy, alt.)" layout works as expected.


--
Gunnar Hjalmarsson
https://launchpad.net/~gunnarhj



Bug#952731: xkb-data: Italian keyboard layout not working in some apps

2020-02-28 Thread Michael Meskes
> Sorry to hear that, but I wonder if this is actually triggered by
> something else.. at least I'm not able to reproduce it with .fi layout
> on ubuntu focal..

Even if the package is exactly the same I don't see how a "I cannot reproduce
on Ubuntu" is helpful, sorry. There may be any number of packages that make it
work there but not here. 

Anyway, it seems all layouts are not working, for me it's "de". A manual
"setxkbmap de" does fix the issue, though. 

Michael
-- 
Michael Meskes
Michael at Fam-Meskes dot De, Michael at Meskes dot (De|Com|Net|Org)
Meskes at (Debian|Postgresql) dot Org
Jabber: michael at xmpp dot meskes dot org
VfL Borussia! Força Barça! Go SF 49ers! Use Debian GNU/Linux, PostgreSQL



Bug#952731: xkb-data: Italian keyboard layout not working in some apps

2020-02-28 Thread Jean-Luc Coulon (f5ibh)
Hi

Le 28/02/2020 à 13:29, Gunnar Hjalmarsson a écrit :
> I tested on Ubuntu, which has the very same version of xkb-data
> (2.29-1), and both the Italian - it and French (alt.) - fr+oss layouts
> seem to work for me.
> 
> $ gsettings get org.gnome.desktop.input-sources sources
> [('xkb', 'se'), ('xkb', 'us'), ('xkb', 'it'), ('xkb', 'fr+oss')]

> @Domenico and @Jean-Luc: It would be good if you could clarify exactly
> which keyboard layouts were problematic for you, and in which way(s).
Well, maybe it is difficult to explain as everything is… in French ;)
but please see the attached screenshot of what I get from the gnome
preferences.

If I use 2.26, I get the attached layout [Français(variante)] from the
preferences AND it works as exected.

I suppose "Français(variante)" is "French(alt.)"

If I use 2.29, I get the same layout from the preferences but the actual
keybord is a us (at least qwerty) layout.

If I switch from 2.26/2.29 (and restart the window manager), I
repeatedly get the same behaviour (correct with 2.26 et wrong with 2.29).

> Good if you too run the above command and show us the output.
I get the following, with both the version of xkb-data.[('xkb',
'fr+oss'), ('xkb', 'fr+latin9')]
> 
> Btw, @Domenico: Is the "Use the same source for all windows" option
> enabled in Settings?
Yes and BTW, I did nothing but a reboot after upgrading xkb-data.








Bug#952731: xkb-data: Italian keyboard layout not working in some apps

2020-02-28 Thread Gunnar Hjalmarsson
I tested on Ubuntu, which has the very same version of xkb-data 
(2.29-1), and both the Italian - it and French (alt.) - fr+oss layouts 
seem to work for me.


$ gsettings get org.gnome.desktop.input-sources sources
[('xkb', 'se'), ('xkb', 'us'), ('xkb', 'it'), ('xkb', 'fr+oss')]

@Domenico and @Jean-Luc: It would be good if you could clarify exactly 
which keyboard layouts were problematic for you, and in which way(s). 
Good if you too run the above command and show us the output.


Btw, @Domenico: Is the "Use the same source for all windows" option 
enabled in Settings?


--
Gunnar Hjalmarsson
https://launchpad.net/~gunnarhj



Bug#952731: xkb-data: Italian keyboard layout not working in some apps

2020-02-28 Thread Timo Aaltonen
On 28.2.2020 10.35, Domenico Cufalo wrote:
> Package: xkb-data
> Version: 2.29-1
> Severity: grave
> Justification: renders package unusable
> 
> Dear Maintainer,
> 
> Latest version of xkb-data (2.29.1) renders Italian keyboard unusable in some
> apps.
> 
> In short, in applications like Firefox or Chrome, even if I use an Italian
> keyboard, the English layout is activated.
> 
> In gedit, gnome-terminal, Libreoffice, reportbug itself and maybe other apps,
> Italian keyboard works fine.
> 
> Thank you very much in advance,
> Domenico

Sorry to hear that, but I wonder if this is actually triggered by
something else.. at least I'm not able to reproduce it with .fi layout
on ubuntu focal..



-- 
t



Bug#952731: xkb-data: Italian keyboard layout not working in some apps

2020-02-28 Thread Domenico Cufalo
Package: xkb-data
Version: 2.29-1
Severity: grave
Justification: renders package unusable

Dear Maintainer,

Latest version of xkb-data (2.29.1) renders Italian keyboard unusable in some
apps.

In short, in applications like Firefox or Chrome, even if I use an Italian
keyboard, the English layout is activated.

In gedit, gnome-terminal, Libreoffice, reportbug itself and maybe other apps,
Italian keyboard works fine.

Thank you very much in advance,
Domenico




-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing')
Architecture: amd64 (x86_64)

Kernel: Linux 5.4.0-4-amd64 (SMP w/8 CPU cores)
Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8), 
LANGUAGE=it_IT.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

-- no debconf information