Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 82909 - Long [code] lines stop text line-wrapping, making reading difficult
Summary: Long [code] lines stop text line-wrapping, making reading difficult
Status: RESOLVED LATER
Alias: None
Product: Websites
Classification: Unclassified
Component: Forums (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Curtis Napier (RETIRED)
URL: http://forums.gentoo.org/viewtopic-t-...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-02-21 20:43 UTC by Prof. Jonathan King
Modified: 2005-08-11 07:38 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Prof. Jonathan King 2005-02-21 20:43:11 UTC
GentooForum has the nice feature that non-code non-quote text
wraps, so that it is on-screen and readable.

Certainly [code]stuff[/code] shouldn't wrap since --in that
context--  linebreaks count.

Unfortunately, one single long line *anywhere* in the thread
effectively stops all line-wrapping.  An example is 

http://forums.gentoo.org/viewtopic-t-285447.html

which has a long row of dots halfway down the first posting. (No
fault to the posters involved).  The thread is difficult to read,
since I am scrolling way-right and way-left several times in each
posting. 

What I've described so far seems to be a property of the browser,
and not fixable by Gentoo.  But could there be an option --a
browser-cookie or a "preference" attached to a
Gentoo-user-account-- which specified a "wrap at column 60" for
non-code non-quote text.  

An alternative would be to permit a stanza (like
"style=printable") that could be a attached to the URL to cause a
line-wrap at 60.  E.g "linewrap=60" or "linewrap=medium"?

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Wernfried Haas (RETIRED) gentoo-dev 2005-07-15 04:09:13 UTC
Bumping this as there hasn't been any input since the bug was opened, sorry for
that. As far i remember we already discussed that somewhere (just don't remember
where) and there was a nice solution that made boxes with scrollbars for code
fields. The reason why it hasn't been applied is that there is a rather nasty
bug with scrolling in firefox and we're waiting for that one to get fixed before
we do it on the forums.
Comment 2 Wernfried Haas (RETIRED) gentoo-dev 2005-07-15 04:14:44 UTC
Found it, just had looked in the wrong place before:
http://forums.gentoo.org/viewtopic-t-341722.html
Comment 3 Prof. Jonathan King 2005-08-09 11:59:00 UTC
Thanks for the pointer.  

Until the Firefox bug is fixed, would it be possible to make this
a user option, either via a URL stanza (like "style=printable"), e.g

style=CodeBlocks-have-scrollbars

or a browser "cookie"?  Alternatively, could this be a
"preference" attached to a Gentoo-user-account (like timezone)?
Comment 4 Curtis Napier (RETIRED) gentoo-dev 2005-08-10 09:08:18 UTC
I already planned on including the scroll in the redesign. tomk (or one of the
other admins) will most likely be helping me with that and we will address this
issue then. The redesign of the forums should be finished by the end of the
year. Hacking the existing code to make it a user option in the interim would be
more work than it's worth IMO.

I'm marking this bug as LATER, assigning it to myself and will close it when the
redesign goes live.
Comment 5 Curtis Napier (RETIRED) gentoo-dev 2005-08-10 09:09:28 UTC
Marking as LATER. Follow up will occur during the redesign of the forums template.
Comment 6 Prof. Jonathan King 2005-08-11 07:38:55 UTC
Thank you for the impending redesign.  --gentsquash