Bug 1228962 - evolution line-wrap handles whitespace incorrectly
Summary: evolution line-wrap handles whitespace incorrectly
Keywords:
Status: CLOSED UPSTREAM
Alias: None
Product: Fedora
Classification: Fedora
Component: evolution
Version: 22
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Milan Crha
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-07 06:49 UTC by Matthew Saltzman
Modified: 2015-06-09 13:29 UTC (History)
4 users (show)

Fixed In Version:
Clone Of:
Environment:
Last Closed: 2015-06-09 13:29:17 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
GNOME Bugzilla 750636 0 None None None Never

Description Matthew Saltzman 2015-06-07 06:49:57 UTC
Description of problem:


Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Matthew Saltzman 2015-06-07 07:04:23 UTC
Sorry, must have submitted an empty bug.  Here's the description.

Version-Release number of selected component (if applicable):
evolution-3.16.2.1-2.fc22.x86_64

How reproducible:
Always

Steps to Reproduce:
1. In composer, in normal mode, type a line of text long enough to wrap.
2. At the point where the wrap occurs, add whitespace.
3.

Actual results:
Some whitespace appears at start of wrapped line.

Expected results:
Whitespace at start of wrapped line is suppressed.

Additional info:
Split occurs with an even number of spaces, but not an odd number, and only the last space is on the new line.  Once there are nine spaces, all additional spaces wrap to the new line.

Regression from the version in FC21.

Very bothersome for those of us that double-space between sentences.

Comment 2 Milan Crha 2015-06-08 10:42:56 UTC
Thanks for a bug report. I tried to reproduce this in Fedora 21, evolution 3.12.11, and the extra spaces on at the end of the lines are not hidden anywhere, they are left there. The difference between 3.16.x and 3.12.1x might be that if there are enough spaces to have them wrapped between two lines, the word before the spaces sequence is also wrapped, thus the line doesn't start with a white-space.

Is this what you want, to not start a line with a wrapped white-space, please?

Comment 3 Matthew Saltzman 2015-06-08 13:23:31 UTC
(In reply to Milan Crha from comment #2)
> 
> Is this what you want, to not start a line with a wrapped white-space,
> please?

That's correct.  The whitespace can (should) be left on the previous line, but a wrapped line should never start with whitespace.  (In case of a new paragraph, the preceding line would end with a hard return and the writer would put the indentation in explicitly, or the writer would include vertical whitespace.)

Comment 4 Milan Crha 2015-06-09 13:29:17 UTC
Thanks for the update and confirmation. I moved this upstream [1], for better visibility. Please see [1] for any further updates, eventually CC yourself there, in case an upstream developer would have any questions.

[1] https://bugzilla.gnome.org/show_bug.cgi?id=750636


Note You need to log in before you can comment on or make changes to this bug.