This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 205099 - Comment fields not stretched to browser width
Summary: Comment fields not stretched to browser width
Status: REOPENED
Alias: None
Product: www
Classification: Unclassified
Component: Bugzilla (show other bugs)
Version: 7.1
Hardware: PC Windows XP
: P3 normal with 1 vote (vote)
Assignee: Jan Pirek
URL:
Keywords:
: 176249 (view as bug list)
Depends on:
Blocks: 186894
  Show dependency tree
 
Reported: 2011-11-14 14:34 UTC by Jiri Skrivanek
Modified: 2011-12-13 07:55 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screen shot. (27.09 KB, image/png)
2011-11-14 14:34 UTC, Jiri Skrivanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Skrivanek 2011-11-14 14:34:26 UTC
Created attachment 113191 [details]
Screen shot.

Description and comments fields are not stretched to browser width (see screen shot).
Comment 1 Marco Walther 2011-11-14 20:42:22 UTC
http://kenai.com/jira/browse/KENAI-3107
Comment 2 Jesse Glick 2011-11-16 01:42:53 UTC
It is "fixed" in the sense that the pink comment area will stretch according to the width of the comment text in the database. Unfortunately BZ seems to line-wrap any text you enter in the "Additional Comments" or "Description" fields at the time you enter it, thus irretrievably losing information about whether you actually typed ENTER (hard break) or just exceeded a certain number of characters in the line (soft break). So for example in this bug we see

+----------------------------------------------------------+
|Description ... not stretched to browser width (see screen|
|shot).                                                    |
+----------------------------------------------------------+

because the database contains

"Description ... not stretched to browser width (see screen\nshot)."

whereas we would rather have the database contain the text the user actually entered, presumably

"Description ... not stretched to browser width (see screen shot)."

to be wrapped as needed according to the actual dimensions of the browser when viewed:

+-----------------------------------------------------------------+
|Description ... not stretched to browser width (see screen shot).|
+-----------------------------------------------------------------+

This is bad because it means the read-only text will generally not really use available screen space - the only exception is if you enter some very long text with no spaces in it, such as a stack trace line. Worse, there is no way to retroactively fix it for issues which have already been entered.
Comment 3 Jesse Glick 2011-11-16 14:22:24 UTC
*** Bug 176249 has been marked as a duplicate of this bug. ***
Comment 4 Jesse Glick 2011-11-16 14:23:04 UTC
As in comment #2 I do not think this is really fixed.