Project

General

Profile

Actions

Defect #7568

open

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

Defect #7568: Long combination of characters without spaces goes beyond the edge of the window

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

Status:
Reopened
Priority:
Low
Assignee:
-
Category:
Text formatting
Target version:
-
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 3 (0 open — 3 closed)

Has duplicate Redmine - Defect #7592: Problems with long phrases in the description in issuesClosedActions
Has duplicate Redmine - Defect #8636: Redmine doesn't wrap long words when using default themeClosedActions
Has duplicate Redmine - Defect #34219: The text inside the wiki section does not wrap - cssClosedActions

Updated by Etienne Massip almost 16 years ago Actions #1

Use a pre tag and it will be scrollable ?

123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456

Updated by Иван Сентюров almost 16 years ago Actions #2

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.

Updated by Etienne Massip almost 16 years ago Actions #3

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.

Updated by Иван Сентюров almost 16 years ago Actions #4

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

Updated by Etienne Massip almost 16 years ago Actions #5

  • Status changed from New to Closed
  • Resolution set to Wont fix

Updated by Jean-Baptiste Barth almost 16 years ago Actions #6

  • 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 ?

Updated by Etienne Massip almost 16 years ago Actions #7

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 =)

Updated by Jean-Baptiste Barth almost 16 years ago Actions #8

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.

Updated by Etienne Massip almost 16 years ago Actions #9

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 ?

Updated by Jean-Baptiste Barth almost 16 years ago Actions #10

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 ;)

Updated by Alexey Fyodorov over 15 years ago Actions #11

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?

Updated by Jean-Baptiste Barth over 14 years ago Actions #12

  • Assignee deleted (Jean-Baptiste Barth)

Updated by Go MAEDA almost 6 years ago Actions #13

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

Also available in: PDF Atom