Public bug reported:

1. In Region & Language settings, add a keyboard layout that contains RTL 
characters and uses AltGr, e.g. "Arabic (QWERTY)" or "Indonesian (Arab Melayu, 
ext. phonetic)".
2. Open the keyboard layout window by pressing the eye icon.

Expected: on each key, the corresponding characters are displayed:
- (A) without modifier: bottom left
- (B) with Shift: top left
- (C) with AltGr: bottom right
- (D) with Shift+AltGr: top right

Actual: there are keys which contain overlapping character, (A) and (B)
are rendered on the right side, overlap (C) and (D) respectively.

I've seen the source code somewhere in the past, it seems the text area
for (A) and (B) fill the key width. It's okay when the text of (A) and
(B) are short and LTR. However, if (A) or (B) are RTL, it is right
aligned so it takes (C) or (D) place. So a simple fix probably by
reducing (A) by half of the key width if there's (C) for that key, and
so for (B) and (D).

ProblemType: Bug
DistroRelease: Ubuntu 21.04
Package: gkbd-capplet 3.26.1-1
ProcVersionSignature: Ubuntu 5.11.0-22.23-generic 5.11.21
Uname: Linux 5.11.0-22-generic x86_64
ApportVersion: 2.20.11-0ubuntu65.1
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: ubuntu:GNOME
Date: Sun Jul  4 20:25:51 2021
InstallationDate: Installed on 2021-06-02 (31 days ago)
InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420)
RebootRequiredPkgs: evolution-data-server
SourcePackage: libgnomekbd
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: libgnomekbd (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug hirsute wayland-session

-- 
You received this bug notification because you are a member of Desktop
Packages, which is subscribed to libgnomekbd in Ubuntu.
https://bugs.launchpad.net/bugs/1934597

Title:
  Overlapping texts in Show Keyboard Layout window (RTL, AltGr)

Status in libgnomekbd package in Ubuntu:
  New

Bug description:
  1. In Region & Language settings, add a keyboard layout that contains RTL 
characters and uses AltGr, e.g. "Arabic (QWERTY)" or "Indonesian (Arab Melayu, 
ext. phonetic)".
  2. Open the keyboard layout window by pressing the eye icon.

  Expected: on each key, the corresponding characters are displayed:
  - (A) without modifier: bottom left
  - (B) with Shift: top left
  - (C) with AltGr: bottom right
  - (D) with Shift+AltGr: top right

  Actual: there are keys which contain overlapping character, (A) and
  (B) are rendered on the right side, overlap (C) and (D) respectively.

  I've seen the source code somewhere in the past, it seems the text
  area for (A) and (B) fill the key width. It's okay when the text of
  (A) and (B) are short and LTR. However, if (A) or (B) are RTL, it is
  right aligned so it takes (C) or (D) place. So a simple fix probably
  by reducing (A) by half of the key width if there's (C) for that key,
  and so for (B) and (D).

  ProblemType: Bug
  DistroRelease: Ubuntu 21.04
  Package: gkbd-capplet 3.26.1-1
  ProcVersionSignature: Ubuntu 5.11.0-22.23-generic 5.11.21
  Uname: Linux 5.11.0-22-generic x86_64
  ApportVersion: 2.20.11-0ubuntu65.1
  Architecture: amd64
  CasperMD5CheckResult: pass
  CurrentDesktop: ubuntu:GNOME
  Date: Sun Jul  4 20:25:51 2021
  InstallationDate: Installed on 2021-06-02 (31 days ago)
  InstallationMedia: Ubuntu 21.04 "Hirsute Hippo" - Release amd64 (20210420)
  RebootRequiredPkgs: evolution-data-server
  SourcePackage: libgnomekbd
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libgnomekbd/+bug/1934597/+subscriptions

-- 
Mailing list: https://launchpad.net/~desktop-packages
Post to     : desktop-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~desktop-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to