After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 769955 - [WK2] Selecting Preformatted on a long link doesn't unwrap it
[WK2] Selecting Preformatted on a long link doesn't unwrap it
Status: RESOLVED FIXED
Product: evolution
Classification: Applications
Component: Composer
3.21.x (obsolete)
Other Linux
: Normal normal
: ---
Assigned To: Tomas Popela
Evolution QA team
Depends on:
Blocks:
 
 
Reported: 2016-08-15 21:01 UTC by Milan Crha
Modified: 2016-09-20 12:43 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Milan Crha 2016-08-15 21:01:09 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.
Comment 1 Milan Crha 2016-08-15 21:09:13 UTC
I added a test case for this in commit 5ba394e.
Comment 2 Milan Crha 2016-08-17 12:28:31 UTC
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.
Comment 3 Tomas Popela 2016-09-20 12:43:39 UTC
The test case is fixed in Evolution 3.22.