Bug 691162 - The width of the description/comment field is too narrow
Summary: The width of the description/comment field is too narrow
Status: RESOLVED FIXED
Alias: None
Product: Bug Tracker
Classification: Unclassified
Component: General (show other bugs)
Version: unspecified
Hardware: PC Linux
: P4 enhancement
Assignee: Marcos H. Woehrmann
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-08 03:03 UTC by Marcos H. Woehrmann
Modified: 2011-12-09 03:10 UTC (History)
2 users (show)

See Also:
Customer:
Word Size: ---


Attachments
new.png (35.21 KB, image/png)
2010-03-08 03:03 UTC, Marcos H. Woehrmann
Details
old.png (24.82 KB, image/png)
2010-03-08 03:03 UTC, Marcos H. Woehrmann
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Marcos H. Woehrmann 2010-03-08 03:03:09 UTC
Many of the bugs I enter include either sample command lines or debugging output.  The current bugzilla wraps these lines where the previous version did not (see attached screen shots).  Ideally the wrapping should be based on the width the user's browser window, but just having it as wide as the previous bugzilla would be good enough.
Comment 1 Marcos H. Woehrmann 2010-03-08 03:03:29 UTC
Created attachment 6034 [details]
new.png
Comment 2 Marcos H. Woehrmann 2010-03-08 03:03:43 UTC
Created attachment 6035 [details]
old.png
Comment 3 Marcos H. Woehrmann 2010-03-08 19:54:28 UTC
Changing:

  use constant COMMENT_COLS => 80;

in Bugzilla/Constants.pm doesn't seem to do anything (perhaps this file isn't automatically re-read?).
Comment 4 Marcos H. Woehrmann 2010-03-08 19:57:21 UTC
Removing the 'FILTER wrap_comment' near the end of comments.html.tmpl helps, but not enough and I'm not happy removing code I don't understand.
Comment 5 Marcos H. Woehrmann 2010-03-08 20:10:54 UTC
Bugzilla appears to be willing to display comments outside the box (if it thinks they are replies to previous comments), see Bug #691161
Comment 6 Max Kanat-Alexander 2010-03-08 23:48:47 UTC
  You are running under mod_perl. If you make code changes, you must restart httpd for them to take effect.
Comment 7 Marcos H. Woehrmann 2011-12-09 00:18:02 UTC
I've changed the COMMENT_COLS value and restarted httpd (actually I restarted apache2, but I'm thinking that's the same thing).
Comment 8 Marcos H. Woehrmann 2011-12-09 00:23:17 UTC
I've changed the COMMENT_COLS value and restarted httpd (actually I restarted apache2, but I'm thinking that's the same thing).
Comment 9 Marcos H. Woehrmann 2011-12-09 00:25:18 UTC
I've changed the COMMENT_COLS value and restarted httpd (actually I restarted apache2, but I'm thinking that's the same thing).
Comment 10 Marcos H. Woehrmann 2011-12-09 00:34:42 UTC
Fixed by changing the value in Constants.pm and restarting apache2.
Comment 11 Marcos H. Woehrmann 2011-12-09 03:10:29 UTC
After more testing this change caused problems with blocks of text, so I've reverted it and ill just live with the wrapping of command lines.