プロジェクト

全般

プロフィール

Vote #69201

未完了

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

Admin Redmine さんが約2年前に追加. 約2年前に更新.

ステータス:
Reopend
優先度:
低め
担当者:
-
カテゴリ:
Text formatting_26
対象バージョン:
-
開始日:
2011/02/07
期日:
進捗率:

0%

予定工数:
category_id:
26
version_id:
0
issue_org_id:
7568
author_id:
28025
assigned_to_id:
0
comments:
13
status_id:
8
tracker_id:
1
plus1:
0
affected_version:
closed_on:
affected_version_id:
30
ステータス-->[Reopend]

説明

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.


journals

Use a pre tag and it will be scrollable ?

<pre>
123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456
</pre>
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
Thanks a lot, next time i`ll use preview to make sure that my text is readable.
--------------------------------------------------------------------------------

--------------------------------------------------------------------------------
We might be able to fix this with a simple CSS rule. Is there any caveat I missed Etienne ?
--------------------------------------------------------------------------------
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 =)
--------------------------------------------------------------------------------
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.
--------------------------------------------------------------------------------
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 ?
--------------------------------------------------------------------------------
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 ;)

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

--------------------------------------------------------------------------------

--------------------------------------------------------------------------------


related_issues

duplicates,Closed,7592,Problems with long phrases in the description in issues
duplicates,Closed,8636,Redmine doesn't wrap long words when using default theme
duplicates,Closed,34219,The text inside the wiki section does not wrap - css

Admin Redmine さんが約2年前に更新

  • カテゴリText formatting_26 にセット

他の形式にエクスポート: Atom PDF

いいね!0
いいね!0