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 182212 - [69cat] Commit dialog text doesn't paint properly
Summary: [69cat] Commit dialog text doesn't paint properly
Status: RESOLVED FIXED
Alias: None
Product: editor
Classification: Unclassified
Component: Spellchecker (show other bugs)
Version: 6.x
Hardware: PC Windows XP
: P3 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-17 14:27 UTC by swpalmer
Modified: 2010-10-06 07:36 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screen shot showing bad painting in the commit dialog (994.35 KB, image/png)
2010-03-17 14:28 UTC, swpalmer
Details

Note You need to log in before you can comment on or make changes to this bug.
Description swpalmer 2010-03-17 14:27:18 UTC
[ BUILD # : 201003160201 ]
[ JDK VERSION : 1.6.* ]

When the commit dialog (subversion) is brought up the last commit message is in
the comment area... but it does not paint.  Moving the cursor in the edit box
will cause some painting to occur.
Comment 1 swpalmer 2010-03-17 14:28:34 UTC
Created attachment 95306 [details]
Screen shot showing bad painting in the commit dialog
Comment 2 swpalmer 2010-03-17 14:31:48 UTC
You can see from the attached screen shot that there are red underlines where "mispelled" words are supposed to be shown.  The text of the previous commit message is there, but it hasn't painted.
Comment 3 Ondrej Vrabec 2010-03-17 14:54:36 UTC
Please attach the message log: ~/.netbeans/dev/var/log/message.log
Comment 4 Ondrej Vrabec 2010-03-17 15:26:48 UTC
Does it happen reguarly or is it random? Could you also try disabling Spellchecker module (Tools > Plugins > Installed)?
Comment 5 Ondrej Vrabec 2010-03-17 18:29:52 UTC
Reproducible on Windows with:
Product Version: NetBeans IDE Dev (Build 201003160201)
Java: 1.6.0_17; Java HotSpot(TM) Client VM 14.3-b01
System: Windows XP version 5.1 running on x86; Cp1250; cs_CZ (nb)
Userdir: C:\Documents and Settings\Ondra Vrabec\.netbeans\dev

and spellchecker activated. When i disabled the spellchecker plugin, the problem went away.
Comment 6 swpalmer 2010-03-17 20:52:41 UTC
I assume the message log is no longer needed.
Comment 7 Ondrej Vrabec 2010-03-18 13:59:52 UTC
This seems to happen only with the spellchecker enabled. Most likely because we select all text in the commit message area (TA.selectAll() called from addNotify, see in http://hg.netbeans.org/cdev/file/b9c9834cffc5/subversion/src/org/netbeans/modules/subversion/ui/commit/CommitPanel.java#l188). IMHO we do nothing wrong, just call swing methods.
Comment 8 Jan Lahoda 2010-10-05 14:40:11 UTC
Does this still happen with 6.9/dev build? There were some changes to coloring of the commit dialog before 6.9, so it might have go away. Thanks.
Comment 9 swpalmer 2010-10-06 03:28:12 UTC
It does not happen on 6.9.1.  Marking as resolved.
Comment 10 Jan Lahoda 2010-10-06 07:36:35 UTC
Thanks.