Project

General

Profile

Bug #380

Text isn't split or properly truncated

Added by Daisuke_Ido about 16 years ago. Updated almost 16 years ago.

Status:
Resolved
Priority:
High
Assignee:
Category:
General / Unspecified
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Version:
0.13.1
OS:
Any

Description

If a message is too long for the IRC server to handle, it is trucated for everyone else, but isn't shown to the user. Max line length should be 512 characters, is a hard limit in the input field possible?

In addition, is it possible to split pasted messages that are longer than that length to more than one message?

History

#1 Updated by Daisuke_Ido about 16 years ago

It appears that other clients may truncate before the 512 character limit... Not sure exactly what's wrong now...

#2 Updated by EgS about 16 years ago

Quassel splits messages when they are too long automatically. Do you have a proper example where it fails?

To make sure I just retested it:

I pasted 2 paragraphs:
"Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Curabitur vel nunc vel dolor feugiat lacinia. Integer scelerisque dolor molestie dolor. Cras pellentesque. Curabitur varius. Fusce magna. Aliquam augue odio, varius nec, accumsan ut, convallis sit amet, nulla. Suspendisse sed felis. Vestibulum dapibus enim. Donec elementum, est a ornare venenatis, nulla felis imperdiet mi, et semper ante elit in sem. Duis sit amet elit nec nibh auctor faucibus. Cras justo risus, luctus vitae, blandit non, faucibus quis, est. Curabitur porta aliquet odio.

Morbi condimentum mollis tellus. Curabitur condimentum dolor et elit. Aenean velit enim, bibendum eget, convallis a, sollicitudin quis, libero. Nunc ornare, pede vel sodales mattis, magna risus semper urna, at feugiat dui magna auctor dolor. Nulla ut neque. Pellentesque quis elit id nulla lobortis vehicula. Fusce faucibus. Suspendisse vel dolor et enim mollis auctor. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Phasellus tempor hendrerit augue. Praesent porttitor venenatis lectus."

Which in Quasel looked like this:
[16:04:15] <EgS> Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Curabitur vel nunc vel dolor feugiat lacinia. Integer scelerisque dolor molestie dolor. Cras pellentesque. Curabitur varius. Fusce magna. Aliquam augue odio, varius nec, accumsan ut, convallis sit amet, nulla. Suspendisse sed felis. Vestibulum dapibus enim. Donec elementum, est a ornare venenatis, nulla felis imperdiet mi, et semper ante elit in sem. Duis sit amet elit nec nibh auctor faucibus. Cras justo risus, luctus vitae, blandit non, faucibus quis, est. Curabitur porta aliquet odio.
[16:04:15] <EgS> Morbi condimentum mollis tellus. Curabitur condimentum dolor et elit. Aenean velit enim, bibendum eget, convallis a, sollicitudin quis, libero. Nunc ornare, pede vel sodales mattis, magna risus semper urna, at feugiat dui magna auctor dolor. Nulla ut neque. Pellentesque quis elit id nulla lobortis vehicula. Fusce faucibus. Suspendisse vel dolor et enim mollis auctor. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Phasellus tempor hendrerit augue. Praesent porttitor venenatis lectus.

And for other users (here weechat in use):
[16:04] EgS | Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Curabitur vel nunc vel dolor feugiat lacinia.
Integer scelerisque dolor molestie dolor. Cras pellentesque. Curabitur varius. Fusce magna. Aliquam
augue odio, varius nec, accumsan ut, convallis sit amet, nulla. Suspendisse sed felis. Vestibulum
dapibus enim. Donec elementum, est a ornare venenatis, nulla felis imperdiet mi, et semper ante elit in
sem. Duis sit amet elit nec nibh auctor faucibus.
[16:04] EgS | Cras justo risus, luctus vitae, blandit non, faucibus quis, est. Curabitur porta aliquet odio.
[16:04] EgS | Morbi condimentum mollis tellus. Curabitur condimentum dolor et elit. Aenean velit enim, bibendum eget,
convallis a, sollicitudin quis, libero. Nunc ornare, pede vel sodales mattis, magna risus semper urna,
at feugiat dui magna auctor dolor. Nulla ut neque. Pellentesque quis elit id nulla lobortis vehicula.
Fusce faucibus. Suspendisse vel dolor et enim mollis auctor. Cum sociis natoque penatibus et magnis dis
parturient montes, nascetur ridiculus mus.
[16:04] EgS | Phasellus tempor hendrerit augue. Praesent porttitor venenatis lectus.

I'm gonna watch this BR for a week.

#3 Updated by EgS about 16 years ago

As discussed on IRC, it's not a Quassel issue:

[00:03:56] <Daisuke_Ido> EgS: go ahead and close the report on the text truncation - it turns out that it's not quassel that isn't truncating text, other clients are truncating too soon, so it's not a problem with quassel

Also available in: Atom PDF