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 173481 - Background not set properly in chat window
Summary: Background not set properly in chat window
Status: NEW
Alias: None
Product: connecteddeveloper
Classification: Unclassified
Component: Chat (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Jan Becicka
URL:
Keywords:
: 181577 (view as bug list)
Depends on:
Blocks:
 
Reported: 2009-10-01 13:04 UTC by Jaromir Uhrik
Modified: 2010-08-03 07:23 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screenshot attached... (21.05 KB, image/png)
2009-10-01 13:05 UTC, Jaromir Uhrik
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jaromir Uhrik 2009-10-01 13:04:46 UTC
Product Version: NetBeans IDE Dev (Build 200909301401)
Java: 1.5.0_20; Java HotSpot(TM) Client VM 1.5.0_20-141
System: Mac OS X version 10.5.8 running on i386; MacRoman; en_US (nb)

When the horizontal scrollbar appears in chat window then the right side of the window content has not correct
background (items that have not text wider than the window width have the white border in the area that is out of the
scene). See attached screenshot...
Comment 1 Jaromir Uhrik 2009-10-01 13:05:35 UTC
Created attachment 88659 [details]
Screenshot attached...
Comment 2 Petr Dvorak 2009-10-01 20:52:59 UTC
Not so easy to fix as this is how JText/EditorPane renders HTML formated document.

All tables have 100% width, which is the same width as the width of the component. If the message is too wide (link/long
word), the table with message does not fit and is rendered wider (horiz. scrollbar appears) but there is no nice way how
to make the table that was already rendered wider.

The problem could be also solved by hard word wrap (horiz. scrollbar would never show up, this is how pidgin works), but
this is also a little hell to implement in Java (or at least I believe...).
Comment 3 Jan Becicka 2009-10-02 10:24:36 UTC
Fix should not be that difficult. We can for instance put the whole content into one table. 
Or we can somehow shorten links. It will fix it as well.
Comment 4 Quality Engineering 2009-10-07 12:42:46 UTC
Integrated into 'main-golden', will be available in build *200910070250* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/612dce51c80e
User: Jan Becicka <jbecicka@netbeans.org>
Log: #173481: Background not set properly in chat window
Comment 5 Jan Becicka 2009-10-12 13:19:44 UTC
previous commit has nothing to do with this issue. Wrong number in commit message... sorry
Comment 6 Jan Becicka 2010-03-05 08:34:38 UTC
*** Bug 181577 has been marked as a duplicate of this bug. ***