! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfce4-keyboard-settings garbles keyboard list in non-UTF locale
Status:
RESOLVED: FIXED
Product:
Xfce4-settings
Component:
Keyboard Settings

Comments

Description Mikhail T. 2014-11-20 05:26:58 CET
The list of possible keyboards and layouts is internationalized, which is nice. However, when the LANG is set to a non-UTF locale (such as my uk_UA.KOI8-U), the list appears garbled.

Again, the problem affects both -- list of keyboard models and list of available keyboard layouts.

To actual add new layouts I had to unset the LANG environment variable in one xterm, start xfce4-keyboard-settings command-line and do the needful in English.
Comment 1 Igor Slepchin editbugs 2015-02-07 01:13:04 CET
Fixed in master.
Comment 2 Mikhail T. 2019-05-01 22:20:00 CEST
Created attachment 8470 
Reduce string copy/freeing...

With the strings being used verbatim now, do we even need to dup/free destroy them?

How about this patch?..

Bug #11317

Reported by:
Mikhail T.
Reported on: 2014-11-20
Last modified on: 2019-05-01

People

Assignee:
Igor Slepchin
CC List:
4 users

Version

Version:
4.10.1

Attachments

Reduce string copy/freeing... (2.24 KB, patch)
2019-05-01 22:20 CEST , Mikhail T.
mi+xfce-2014 : review? ( igor.slepchin )

Additional information