Bug 240895 - Underline is drawn incorrectly at line end for justified text.
Summary: Underline is drawn incorrectly at line end for justified text.
Alias: None
Product: kword
Classification: Miscellaneous
Component: flake-texttool (show other bugs)
Version: 2.2
Platform: Ubuntu Linux
: NOR normal (vote)
Target Milestone: Persona: Santiago
Assignee: KOffice Bug Wranglers
Depends on:
Reported: 2010-06-06 14:27 UTC by Leonardo La Malfa
Modified: 2015-02-06 13:15 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:

screenshot (45.57 KB, image/png)
2010-06-06 14:27 UTC, Leonardo La Malfa
Screenshot2, Screenshot3 and Untitled 1 (370.82 KB, application/x-compressed-tar)
2010-06-06 16:37 UTC, Leonardo La Malfa

Note You need to log in before you can comment on or make changes to this bug.
Description Leonardo La Malfa 2010-06-06 14:27:06 UTC
Created attachment 47740 [details]

Version:           2.2 (using KDE 4.4.3) 
OS:                Linux

As shown in the screenshot, words close to the right margin don't show underline correctly. It's still there, for if I delete some words from the beginning of the sentence, they're correctly underlined, so it's a visual glitch, I guess. Sometimes this effect is present in single words two or thee words away from the right margin, and not necessarily part of a long sentence that continue in the following line, like in the examples from the screenshot.

This is not always reproducible, so in the same text sometimes it happens, sometimes I doesn't. It is worth noting, also, that the document had been created in OpenOffice. However, I tried reproducing the same issue in a new KWord document, and the effect was exactly the same.

Reproducible: Didn't try

OS: Linux (i686) release 2.6.32-22-generic
Compiler: cc
Comment 1 Thomas Zander 2010-06-06 15:20:30 UTC
Your report doesn't allow any way to reproduce this issue, please consider attaching a test document if this problem shows consistently for you.
Comment 2 Leonardo La Malfa 2010-06-06 16:37:40 UTC
Created attachment 47742 [details]
Screenshot2, Screenshot3 and Untitled 1

Alright, sorry. This is how you can reproduce it:

1. Go to: http://www.unita.it/news/culture/99646/rai_chi_firma_per_saviano_appello_contro_il_taglio_delle_puntate_?
2. Copy the first paragraph.
3. Open OO Writer.
4. Paste the copied content in the new OO window.
5. Select all text, then apply Justified alignment.
6. Underline some random sentences, or single words, preferably closer to the right margin.
7. Save it, then open the document with KWord.

Screenshot2 and Screenshot3 show how the same text is shown in OpenOffice and KOffice, respectively, at my end. Attachment Untitled 1.odt is the file saved with OO. It's worth noting my KDE version is 4.4.4 but couldn't choose it because it doesn't show up in the options when filing bugs. Please let me know if I can be of further assistance.
Comment 3 Christoph Feck 2015-02-06 13:15:28 UTC
Thank you for your bug report or feature suggestion.

The "KOffice" application suite is no longer maintained, and all tickets are now closed.

We recommend to switch to the "Calligra" application suite, which has replacements for all unmaintained KOffice applications:

- KWord was replaced with Calligra Words
- KPlato was replaced with Calligra Plan

For more information, see http://en.wikipedia.org/wiki/Calligra_Suite

(This is an automatic message from the KDE bug triaging team)