word wrap mix words when going to next line

Bug #455434 reported by LeLandais
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
kde4libs (Ubuntu)
Invalid
Undecided
Andreas Wenning

Bug Description

Binary package hint: kile

If static word wrap is enabled and if I want to add a word before another which is at the and of the line, when the words goes to the next line, they are mixed.

Example with static word wrap set to 20 word, I have :
111 222 333 444 555
666 777 888

I want to add 999 just before 555, so I move my cursor just before 555 with no space between and I got :

111 222 333 444
995559 666 777 888

Same thing with Kate

ProblemType: Bug
Architecture: amd64
DistroRelease: Ubuntu 9.04
NonfreeKernelModules: nvidia
Package: kile 1:2.1.0~svn942443-0ubuntu4.1
ProcEnviron:
 SHELL=/bin/bash
 LANG=fr_FR.UTF-8
 LANGUAGE=
SourcePackage: kile
Uname: Linux 2.6.28-15-generic x86_64

Revision history for this message
LeLandais (jguilhemsang) wrote :
Revision history for this message
Carsten Block (cblock) wrote :

It affects me too (Ubuntu Karmic, Kile 2.0.83 beta) and I'd love to see this bug resolved quickly as it really "bugs" me when writing texts with fixed width.

Revision history for this message
Andreas Wenning (andreas-wenning) wrote :

Just tested using final karmic, and can't reproduce the problem (at least not the example pointed out in the description of the bug). Is this still a problem? And can anyone provide an example of how to trigger it?

Changed in kile (Ubuntu):
assignee: nobody → Andreas Wenning (andreas-wenning)
status: New → Incomplete
Revision history for this message
LeLandais (jguilhemsang) wrote :

Obviously the problem is solved in the final Karmic. (Kile 2.0.83 with kde 2.3.3)

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

Likely an issue with the kate part. Glad it's fixed though. :)

affects: kile (Ubuntu) → kde4libs (Ubuntu)
Changed in kde4libs (Ubuntu):
status: Incomplete → Fix Released
Revision history for this message
Germán Bassi (germanbassi) wrote :

I've experienced this bug since installing jaunty (kile 2.1). This didn't happened in kile 2.0. I've upgraded to karmic and it still happens to me with static word wrap. I'd try to explain it.

If you have a word at the end of a line and you begin to write just before this word with no space between the new word and the old one (this is important) when you reach the line limit the _whole_ word goes to the next line. The whole word is the combination of the new word and the old one (because there was no space between them in the first place).

The bug is that the cursor is placed at the end of the whole word (right after the old word). So is you continue writing you get the old world right between the new one.

This didn't happened in kile 2.0 because if you put a new word right before another when you reached the end of line only the old word went to the next line.

I hope you can reproduce the bug now =)

Changed in kde4libs (Ubuntu):
status: Fix Released → Incomplete
Revision history for this message
Andreas Wenning (andreas-wenning) wrote :

@moonkey: This bug seems to be fixed in karmic. Have you reproduced this bug in karmic?

If you have, can you try to provide some steps to reproduce it (like in the initial description of the bug). The steps there is no longer reproducable (at least not by me) in karmic.

Revision history for this message
Germán Bassi (germanbassi) wrote :

Andreas, thanks for your reply. As I said in my earlier comment I can reproduce the bug in karmic. Did you read it? I tried to explain the issue but if it's not clear I can try better.

I can trigger the bug using the steps in the initial description as well.

Revision history for this message
LeLandais (jguilhemsang) wrote :

Which version of kde do you use ?

Revision history for this message
Germán Bassi (germanbassi) wrote :

Hello again, i've made a clean install of karmic 32bits inside a virtualbox and I still experience the bug. In this VM I have:

kdelibs5: 4:4.3.2-0ubuntu7
kile: 1:2.1.0~svn1014763beta2-1ubuntu1

I will show next the steps to reproduce the bug. These are the steps in the original bug report. The underscore (_) shows where the cursor is in kile. I've added this character, it doesn't appear in kile.

Kile 2.1
======

1) Original text
111 222 333 444 _555
666 777 888

2) One '9' added, the 20 character limit is reached
111 222 333 444 9_555
666 777 888

3) Second '9', we go to the next line and the cursor goes to the "end" of the word
111 222 333 444
99555_ 666 777 888

4) Third '9', the words get mixed :(
111 222 333 444
995559_ 666 777 888

And this is the behavior in kile 2.0:

Kile 2.0
======

1) Original text
111 222 333 444 _555
666 777 888

2) One '9' added, the 20 character limit is reached
111 222 333 444 9_555
666 777 888

3) Second '9', we go to the next line and the cursor stays where it should
111 222 333 444
99_555 666 777 888

4) Third '9', we are happy :)
111 222 333 444
999_555 666 777 888

Sorry for the long comment but it's the only way to show you how it happens.

Revision history for this message
LeLandais (jguilhemsang) wrote :

I use kde version 4:4.3.3 with kubuntu-ppa repos.

Maybe the problem is solved in this version.

Revision history for this message
LeLandais (jguilhemsang) wrote :

Ok I don't have check before post my comment, sorry.

The problem still persists. You are right.

Revision history for this message
Germán Bassi (germanbassi) wrote :

I was just going to tell you that. I've installed the packages in kubuntu-ppa and the problem is still there. These are the versions of the packages I have now:

kdelibs5: 4:4.3.3-0ubuntu1~ppa1
kile: 1:2.1.0~svn1014763beta2-1ubuntu1
kate: 4:4.3.3-0ubuntu1~ppa1

Revision history for this message
Soldberg (heph) wrote :

I can confirm this really annoying bug under Ubuntu 9.10 (amd64) and Kile 2.0.83. Is there a solution yet?

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

This should be filed as a bug at bugs.kde.org against the Kate Part. Closing since we don't track upstream kdelibs issues in Launchpad.

Changed in kde4libs (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Germán Bassi (germanbassi) wrote :

Jonathan, you're right. The bug's been reported since 08/08 [1]. Hope they can fix it.

[1] https://bugs.kde.org/show_bug.cgi?id=168534

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.