Project

General

Profile

Actions

Defect #7568

open

Long combination of characters without spaces goes beyond the edge of the window

Added by Иван Сентюров almost 14 years ago. Updated over 12 years ago.

Status:
Reopened
Priority:
Low
Assignee:
-
Category:
Text formatting
Target version:
-
Start date:
2011-02-07
Due date:
% Done:

0%

Estimated time:
Resolution:
Wont fix
Affected version:

Description

Try to enter long combination of characters without spaces. For example: 123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456

It should stay in text form, but after submittimg a report text goes beyond the edge of the window.

Please, see screenshots in attachment.


Files

Long_text.jpg (320 KB) Long_text.jpg Иван Сентюров, 2011-02-07 16:01
Long_text_before_submitting.jpg (221 KB) Long_text_before_submitting.jpg Иван Сентюров, 2011-02-07 16:01
Long_text___banner.jpg (233 KB) Long_text___banner.jpg Иван Сентюров, 2011-02-07 16:29

Related issues

Has duplicate Redmine - Defect #7592: Problems with long phrases in the description in issuesClosed2011-02-09

Actions
Has duplicate Redmine - Defect #8636: Redmine doesn't wrap long words when using default themeClosed2011-06-17

Actions
Has duplicate Redmine - Defect #34219: The text inside the wiki section does not wrap - cssClosed

Actions
Actions #1

Updated by Etienne Massip almost 14 years ago

Use a pre tag and it will be scrollable ?

123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456
Actions #2

Updated by Иван Сентюров almost 14 years ago

Sure, it is scrollable.

But when i insert long text in textform without this tag it divided into parts fit into textform. Text goes beyond the edge of the window only after submit. It make me think that it is bug. Also, see please new screenshot in attachment. Part of text is hidden by banner.

Actions #3

Updated by Etienne Massip almost 14 years ago

Textform is not a wysiwyg component, you should compare final result to preview, and this string renders the same in preview pane and final div.

Actions #4

Updated by Иван Сентюров over 13 years ago

Thanks a lot, next time i`ll use preview to make sure that my text is readable.

Actions #5

Updated by Etienne Massip over 13 years ago

  • Status changed from New to Closed
  • Resolution set to Wont fix
Actions #6

Updated by Jean-Baptiste Barth over 13 years ago

  • Status changed from Closed to Reopened
  • Assignee set to Jean-Baptiste Barth
  • Affected version (unused) set to 1.1.1
  • Affected version set to 1.1.1

We might be able to fix this with a simple CSS rule. Is there any caveat I missed Etienne ?

Actions #7

Updated by Etienne Massip over 13 years ago

Nope, as I said in #7592, does fixing this really make sense ?

I fear that, trying to find a "fix" that is not really useful, we break something in the page layout in some cases (e.g. the issue div could take the sidebar out of the screen).

BTW, good to see you back =)

Actions #8

Updated by Jean-Baptiste Barth over 13 years ago

Ok, got it. We can be careful about the selector: maybe a div.wiki > p { word-wrap:break-word; } is not too risky and would be good enough in most cases.

Actions #9

Updated by Etienne Massip over 13 years ago

Actually, both the issues were related to formatting text in issue description, not in wiki.

It may be useful to add this thing in wiki (at least more than in issue description), I don't know if this behavior is also present in wiki ?

Actions #10

Updated by Jean-Baptiste Barth over 13 years ago

Etienne Massip wrote:

Actually, both the issues were related to formatting text in issue description, not in wiki.

Yes actually, div's containing textilized text in issue page have the "wiki" class, I know it's a bit confusing ;)

Actions #11

Updated by Alexey Fyodorov over 13 years ago

Etienne Massip wrote:

Actually, both the issues were related to formatting text in issue description, not in wiki.

It may be useful to add this thing in wiki (at least more than in issue description), I don't know if this behavior is also present in wiki ?

Yes, this behavior is also presents in wiki.

a "fix" that is not really useful

we break something in the page layout in some cases

I want to fix it in my local redmine installation at least. And I want to do it as accurately as it possible. Could you cite an instance of such breaking, please?

Actions #12

Updated by Jean-Baptiste Barth over 12 years ago

  • Assignee deleted (Jean-Baptiste Barth)
Actions #13

Updated by Go MAEDA almost 4 years ago

  • Has duplicate Defect #34219: The text inside the wiki section does not wrap - css added
Actions

Also available in: Atom PDF