decimal point problem in ibus-libpinyin

Bug #1870609 reported by Ping-Wu
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
ibus-libpinyin (Ubuntu)
Fix Released
Medium
Gunnar Hjalmarsson

Bug Description

When in Chinese input mode, the "decimal point" is incorrectly shown as the Chinese punctuation "period". For example, 20.04 will be shown as 20。04。

That is:

(in English input mode) 3 divided by 6 is 0.5.
(in Chinese input mode) 3 除于 6 等于 0。5。

This problem has been solved in ibus-libpinyin 1.11.92:

https://github.com/libpinyin/ibus-libpinyin/commit/1eb70ce12bed9d6b53c02ac8693ec52abe1d0216

Please update the ibus-libpinyin version in Ubuntu 20.04.

Revision history for this message
Sebastien Bacher (seb128) wrote :

Thank you for your bug report, looks like a ibus-libpinyin bug though? reassigning

affects: gnome-settings-daemon (Ubuntu) → ibus-libpinyin (Ubuntu)
Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

Thanks for your investigation!

TBH I don't understand how to reproduce the problem. Anyway, I submitted a merge request to Debian:

https://salsa.debian.org/debian/ibus-libpinyin/-/merge_requests/1

and made a test upload to this PPA:

https://launchpad.net/~gunnarhj/+archive/ubuntu/ibus-libpinyin

Can you please install from the PPA and confirm that it fixes the issue?

Changed in ibus-libpinyin (Ubuntu):
assignee: nobody → Gunnar Hjalmarsson (gunnarhj)
importance: Undecided → Medium
status: New → In Progress
Revision history for this message
Boyuan Yang (hosiet) wrote :

@Gunnar: Do you think preparing a version with minimal changes in Debian (applying the referenced commit as patch) works for Ubuntu?

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

@Boyuan: Yes, that is what I had in mind.

Revision history for this message
Ping-Wu (wliauh) wrote :

Tried the PPA; works great!

(before)

3 除于 6 等于 0。5。(3 divided by 6 equals 0.5.)

(after)

3 除于 6 等于 0.5。(3 divided by 6 equals 0.5.)

!!!

Ubuntu 20.04 is looking very good. At least as far as Chinese input is concerned.

Revision history for this message
Gunnar Hjalmarsson (gunnarhj) wrote :

That's good to hear. The change has been uploaded to Debian (thanks Boyuan!) and is now waiting in focal's upload queue.

Changed in ibus-libpinyin (Ubuntu):
status: In Progress → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package ibus-libpinyin - 1.11.1-3

---------------
ibus-libpinyin (1.11.1-3) unstable; urgency=high

  * Team upload.
  * Prepare for Ubuntu 20.04 LTS release.
  * debian/patches:
    + Cherry-pick upstream patches on fixing period handling.
      (LP: #1870609)

 -- Boyuan Yang <email address hidden> Fri, 03 Apr 2020 17:56:51 -0400

Changed in ibus-libpinyin (Ubuntu):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.