~ubuntu-desktop/gtk/ubuntu

« back to all changes in this revision

Viewing changes to debian/patches/022_disable-viqr-im-for-vi-locale.patch

  • Committer: Gianfranco Costamagna
  • Date: 2018-07-02 10:05:37 UTC
  • Revision ID: costamagnagianfranco@yahoo.it-20180702100537-q9b1n6o6cmd9q9ev
Tags: 2.24.32-2ubuntu1
releasing package gtk+2.0 version 2.24.32-2ubuntu1

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
Index: gtk+2.0-2.22.0/modules/input/imviqr.c
2
 
===================================================================
3
 
--- gtk+2.0-2.22.0.orig/modules/input/imviqr.c  2010-09-23 05:00:38.000000000 +0200
4
 
+++ gtk+2.0-2.22.0/modules/input/imviqr.c       2010-09-23 20:29:37.333633329 +0200
5
 
@@ -244,7 +244,7 @@
 
1
From: Ming Hua <minghua@ubuntu.com>
 
2
Date: Thu, 13 Mar 2008 18:09:25 -0500
 
3
Subject: Do not use VIQR input method for vi locale by default
 
4
MIME-Version: 1.0
 
5
Content-Type: text/plain; charset="utf-8"
 
6
Content-Transfer-Encoding: 8bit
 
7
 
 
8
In the Vietnamese Quoted-Readable input method, punctuation following a
 
9
base letter is converted into diacritical marks, for example a( → ă.
 
10
(See <https://en.wikipedia.org/wiki/Vietnamese_Quoted-Readable>.)
 
11
A 2008 bug report in Ubuntu argued that this is a problematic default,
 
12
particularly when typing passwords, where the effect of the punctuation
 
13
is non-obvious.
 
14
 
 
15
According to the bug reporter, VIQR is popular with Vietnamese users
 
16
living elsewhere in the world, where Vietnamese keyboards are unlikely
 
17
to be readily available, but is not a popular choice within Vietnam,
 
18
where the Telex or VNI input modes are preferred.
 
19
 
 
20
[smcv: Add a summary of the Ubuntu bug]
 
21
Bug-Debian: https://bugs.debian.org/895043
 
22
Bug-Ubuntu: https://bugs.launchpad.net/ubuntu/+source/gtk+2.0/+bug/191451
 
23
Forwarded: no
 
24
---
 
25
 modules/input/imviqr.c | 2 +-
 
26
 1 file changed, 1 insertion(+), 1 deletion(-)
 
27
 
 
28
diff --git a/modules/input/imviqr.c b/modules/input/imviqr.c
 
29
index 5994894..5b30233 100644
 
30
--- a/modules/input/imviqr.c
 
31
+++ b/modules/input/imviqr.c
 
32
@@ -244,7 +244,7 @@ static const GtkIMContextInfo viqr_info = {
6
33
   N_("Vietnamese (VIQR)"), /* Human readable name */
7
34
   GETTEXT_PACKAGE,        /* Translation domain */
8
35
    GTK_LOCALEDIR,         /* Dir for bindtextdomain (not strictly needed for "gtk+") */