Qt4 applications show wrong number format, making them unusable

Bug #1423659 reported by Erdal Ronahi
14
This bug affects 1 person
Affects Status Importance Assigned to Milestone
qt4-x11 (Ubuntu)
New
Undecided
Unassigned
qtbase-opensource-src (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

I am using Scribus 1.4.2 on Ubuntu Gnome 14.04 with the locale ku_TR, which uses roman script, and arabic numbers like 123456789.

All numbers in Scribus are displayed in Arabic-Indic numerals like ٠١٢٣٤٥٦٧٨٩ . For people who are not used to these numerals, Scribus becomes practically unusable.

This is independent from the user interface language of Scribus.

Revision history for this message
Mattia Rizzolo (mapreri) wrote :

Hi!
I'm not a locale expert, nor I have ever heard of the kurdish locale.

I'm wondering if you can try a more recent version of scribus, 1.4.4, available in more recent versions of ubuntu (since utopic, 14.10).

Revision history for this message
Erdal Ronahi (erdalronahi) wrote :

This actually seems to be a Qt problem, since it appears in several Qt based applications.

Revision history for this message
Mattia Rizzolo (mapreri) wrote :

Then please test a more recent version of ubuntu, with new version of QT. better of all should to try out the current development version, with qt 5.4.

affects: scribus (Ubuntu) → qtbase-opensource-src (Ubuntu)
Revision history for this message
Erdal Ronahi (erdalronahi) wrote :

I will, but I sure would like to see this fixed in this LTS version. I filed bug 1434874, actually against qtcore-l10n, but seems I made a mistake there.

Mattia Rizzolo (mapreri)
summary: - Scribus almost unusable with Kurdish locale
+ Qt4 applications show wrong number format, making them unusable
Revision history for this message
Rohan Garg (rohangarg) wrote :

Maybe this should be reported upstream in the Qt bug tracker if its a bug in Qt4?

Revision history for this message
Erdal Ronahi (erdalronahi) wrote :

Created upstream bug for Qt: https://bugreports.qt.io/browse/QTBUG-45168

Revision history for this message
Dmitry Shachnev (mitya57) wrote :

As a work-around, you can try to set LC_NUMERIC=C in your environment — that should help.

Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

The kurdish locale was added back in Qt 5.5 (https://codereview.qt-project.org/#/c/109166/), and the problem would hopefully be otherwise too in Qt 5.

It is possible to test Qt 5.5 currently with Ubuntu 15.10 with https://wiki.ubuntu.com/Touch/QtTesting

Qt 5.5 targets to the next release cycle, hopefully in November.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package qtbase-opensource-src - 5.5.1+dfsg-6ubuntu4

---------------
qtbase-opensource-src (5.5.1+dfsg-6ubuntu4) xenial; urgency=medium

  * Update symbols for s390x.

 -- Timo Jyrinki <email address hidden> Tue, 08 Dec 2015 13:35:46 +0000

Changed in qtbase-opensource-src (Ubuntu):
status: New → Fix Released
Revision history for this message
Timo Jyrinki (timo-jyrinki) wrote :

qtbase-opensource-src (5.5.1+dfsg-6ubuntu3) xenial; urgency=medium

  * debian/patches/enable-tests.patch:
    - Replace the non-DFSG-free RFC files with public domain content.
    - Adjust tests to the new files.
    (LP: #1522442)
  * debian/copyright: mention the replacement.
  * Switch to opt-in for architectures to run tests on.

 -- Timo Jyrinki <email address hidden> Mon, 07 Dec 2015 14:02:11 +0000

qtbase-opensource-src (5.5.1+dfsg-6ubuntu2) xenial; urgency=high

  * Skip largefile test on s390x too, in addition to amd64.
  * Make tests to keep going till the end with -k.

 -- Dimitri John Ledkov <email address hidden> Fri, 04 Dec 2015 16:54:28 +0000

qtbase-opensource-src (5.5.1+dfsg-6ubuntu1) xenial; urgency=medium

  * New upstream release. (LP: #1437206) (LP: #1450137) (LP: #1474313)
    (LP: #1470700) (LP: #1504631) (LP: #1423659) (LP: #1474775) (LP: #1508945)
  * Replace load_testability_from_env_var.patch with upstreamed
    Add-environment-variable-support-for-testability-lib.patch
  * Drop patches in upstream:
    - Correct-typo-in-the-Gujarati-openType-identififer.patch
  * Rebase enable-tests.patch. Disable one failing QtWidgets test.
  * Build depend on GStreamer 1.0 and add a configure option for it.
  * Update symbols.
  * Mark/unmark private symbols.
  * Replace two Ubuntu patches with upstreamed patches:
    - Drop disable-generic-plugin-when-others-available.patch, replace with
      Add-an-option-to-skip-the-generic-bearer-engine.patch
    - Drop qopenglframebufferobject_powervrworkaround.patch, replace with
      Blacklist-PowerVR-Rogue-G6200-v1.3-from-supporting-B.patch
  * debian/patches/Make-sure-networkAccessibilityChanged-is-emitted.patch:
    - Include a network fix from Qt 5.5 branch (merged after 5.5.1)
      (LP: #1470700)
  * debian/patches/Use-Node-name-if-Node-logicalModuleName-is-empty-for.patch:
    - Fix a qdoc issue (LP: #1447182)
  * Remove disable_overlay_scrollbars.diff as overlay scrollbars were dropped.
  * debian/patches/Prefer-QT_PLUGIN_PATH-over-compiled-in-paths.patch:
    - Backport. Prefer QT_PLUGIN_PATH over compiled-in paths (LP: #1519927)
  * debian/patches/Fix-crash-on-exit-caused-by-QStringLiterals.patch
    - Backport. Fix a crasher on exit (LP: #1436973)
  * Replace our workaround for font rendering with new backported upstream
    patches:
    - Add debian/patches/Fix-falsely-reported-style-for-fallback-font.patch
    - Add debian/patches/Remove-historical-4-padding-in-QFontEngine-alphaMapF.patch
    - Remove debian/patches/enable_fonts_always_smoothly.patch
      (LP: #1475205)

 -- Timo Jyrinki <email address hidden> Tue, 01 Dec 2015 06:16:35 +0000

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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