Closed
Bug 1058846
Opened 11 years ago
Closed 11 years ago
Improper handling of ">" Quotes. That it is a quote doesn't mean it shouldn't be wrapped
Categories
(Bugzilla :: Bugzilla-General, defect)
Tracking
()
RESOLVED
DUPLICATE
of bug 688205
People
(Reporter: teo8976, Unassigned)
Details
User Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/36.0.1985.125 Safari/537.36
Steps to reproduce:
I wrote a comment with a long quote, starting with a ">" and then a long text without any line break
Actual results:
The text starting with ">" is displayed as a quote (so far so good) and is not wrapped, resulting in a super long line that extends indefinitely to the right, which is just ridiculous.
Expected results:
The text should be wrapped, and the whole text should be formatted in some way that make it look like a quote.
The quote should end at the first line break (that should be the correct behavior) or at the next empty line (which is what most every other bugtracker, unfortunately, does).
Look for example at how SourceForge or Github issue trackers behave. On those bugtrackers (or any other modern one that I've seen), if you want to copy a paragraph and format it as a quote, you just need to add a single ">" before it.
In Bugzilla, you have to manually break it into lines and add a ">" at the beginning of each line. That is ridiculously painful. We are in 2014, this is like going back to the 1970s.
I see this is documented: http://bugzilla.readthedocs.org/en/latest/using.html#server-side-comment-wrapping
"Bugzilla stores comments unwrapped and wraps them at display time. This ensures proper wrapping in all browsers. Lines beginning with the ">" character are assumed to be quotes, and [WHY ON EARTH?] are not wrapped."
Let's try it for demonstration purposes:
> Look for example at how SourceForge or Github issue trackers behave. On those bugtrackers (or any other modern one that I've seen), if you want to copy a paragraph and format it as a quote, you just need to add a single ">" before it.
Well I notice that here, at least, a scrollbar appears. Which is still wrong, but better than what I've seen at WireShark's bugzilla instance, which they claim is using the last version (perhaps they're using a different theme). There, the result is worst, having the long line overflow the container.
But even with the scrollbar, the behavior is wrong.
I also notice there's a "wrap/unwrap" link above comments. Hitting "wrap" results in the correct rendering of quotes.
So, the only issue is that quotes should be wrapped by default.
I also wonder if the wrap/unwrap button applies both to quotes and code (is there a specific markup for code?) If so, then it should only apply to code, because it makes sense to be able to display code in both wrapped and unwrapped mode, but quotes should only be wrapped.
Indeed, the wrap/unwrap option would make much more sense if made available for every individual piece of wrappable/unwrappable text (i.e. each quote or piece of code) rather than globally for the comment.
BTW I'm assuming that the bugtracker being used here to track Bugzilla's bugs is Bugzilla itself.
![]() |
||
Updated•11 years ago
|
Status: UNCONFIRMED → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•