kile / kate in kde4 show wrong sign in long text using cyrillic script

Bug #409581 reported by simulation
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kile
Fix Released
Medium
kile (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

Binary package hint: kile

Environment: Kubuntu 9.04, KDE 4.3.0, Kile 1:2.1.0~svn942443-0ubuntu4.1 0
(same problem appeared using Kile (version as above) with Kubuntu 9.04, KDE 4.2.2, 4.2.3, 4.3rc2)
(same problem appeared using Kile 2.1 beta 1 on KDE 4.3.0)
(same problem appears using Kate 4:4.3.0-0ubuntu1~jaunty1~ppa1 0)
(problem does not appear using OpenSuse, KDE 4.x, Kile 2.1 beta 1)
(problem does not appear using other (non-KDE-)programs like OpenOffice or Nano in Kubuntu / KDE 4.x)

When opening tex-files with a lot of cyrillic script in (KDE4-)Kile, errors occur in form of wrong signs (questionmark in a »box«, �).
Please see attachment 01.tex filled with »small cyrillic letter o« (bottom of file, in the last block: line 1448, col 65). This can be reproduced with other cyrillic letters, eg. »small cyrillic letter m«, but not with latin script:

Problem seems not to occur with a file of the same style using the »small latin letter o« over and over again, at least not withing the first 6000 lines (please see attachment 02.tex).

In 01.tex it seems like the wrong sign is added to the rest (line is longer). In the document where i initially found the problem it seemed more like the wrong sign would replace a »right« sign that was supposed to be shown.

When opened with OpenOffice (where it displays correctly) and saved again (as textfile), Kile opens the file without the error (attachment 03.tex).

Bug seems to have been introduced in Kubuntu with KDE 4.x. File works fine in KDE3-version of Kile.

Related branches

Revision history for this message
simulation (schlachtbank) wrote :
Revision history for this message
simulation (schlachtbank) wrote :
Revision history for this message
simulation (schlachtbank) wrote :
description: updated
Revision history for this message
simulation (schlachtbank) wrote :

the »questionmark« actually replaces a sign, the line only appears longer because of the higher width of the questionmark compared to the small cyrillic o.

i attach a screenshot in case you cannot reproduce the problem. the screenshot shows the very last block of text in 01.tex when opened with kile 2.1.0~svn942443 (the standard version of kubuntu 9.04) in a KDE4-environment.

Revision history for this message
simulation (schlachtbank) wrote :

Bug can be reproduced using other non-latin unicode scripts. See attachments screenshot2.png and 04.tex using gothic letter small o (i used freeware font code2001). Gothic is encoded in unicode plane 1, double byte characters. i used 50 gothic letters o per line, bug appears in line 1434 col. 55. Errounous »questionmark« appears as single byte character replacing a double byte character.

Bug seems to generally affect non-latin unicode, not only cyrillic as stated in short description. Should i change the short description?

Revision history for this message
simulation (schlachtbank) wrote :
Revision history for this message
simulation (schlachtbank) wrote :

turns out opensuse is affected after all, so it is not a kubuntu-specific problem. i will report it to kde.

Changed in kile (Ubuntu):
importance: Undecided → Medium
status: New → Triaged
Changed in kile:
status: Unknown → New
Changed in kile:
status: New → Fix Released
Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Fix committed in upstream svn.

Changed in kile (Ubuntu):
status: Triaged → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package kile - 1:2.1.0~svn1079982-0ubuntu1

---------------
kile (1:2.1.0~svn1079982-0ubuntu1) lucid; urgency=low

  * New upstream svn snapshot including beta3.
    (LP: #409581, #432931, #429336, #267113, 476860, 427538)
  * debian/control: Recommend firefox instead of iceweasel to have it look like
    (konqueror | firefox); on default Ubuntu kile will then no longer install
    konqueror. (LP: #452079)
  * debian/rules: Use override_dh_compress to not compress index.docbook.
 -- Andreas Wenning <email address hidden> Wed, 27 Jan 2010 02:29:58 +0100

Changed in kile (Ubuntu):
status: Fix Committed → Fix Released
Changed in kile:
importance: Unknown → Medium
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.