GNOME Bugzilla – Bug 769955
[WK2] Selecting Preformatted on a long link doesn't unwrap it
Last modified: 2016-09-20 12:43:39 UTC
One used to be able to set Preformatted on a long link, to avoid its split into multiple lines, but this doesn't work, despite the UI claiming the lines with the link are Preformatted. Steps: a) new composer, plain text b) paste this link (without the leading '> '): > http://www.example.com/this-is-a-very-long-link-which-should-not-be-wrapped-into-multiple-lines c) set Preformatted inside the link, to unwrap it Nothing happens and the send lefts the link wrapped in the sent message too.
I added a test case for this in commit 5ba394e.
I do not know whether intentionally, but there changed the behaviour a bit here. The link unwraps now, but when I pick preformatted when I stay inside the link it's only the link which gets preformatted, not the whole paragraph. Setting preformatted before the link preformats whole paragraph. The latter is more expected than the former, from my point of view, and both cases should work the same. I just realized that it also depends whether the paste action/Ctrl+V or Shift+Insert is used. I extended the test case for this bug report at commit 725a456.
The test case is fixed in Evolution 3.22.