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 178326 - garbled text when scrolling large file
Summary: garbled text when scrolling large file
Status: RESOLVED DUPLICATE of bug 149260
Alias: None
Product: editor
Classification: Unclassified
Component: Painting & Printing (show other bugs)
Version: 6.x
Hardware: PC Linux
: P3 normal (vote)
Assignee: issues@editor
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-12-08 14:46 UTC by danstr179
Modified: 2009-12-09 13:09 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
screenshot of garbled text in java editor (73.65 KB, image/png)
2009-12-08 14:46 UTC, danstr179
Details

Note You need to log in before you can comment on or make changes to this bug.
Description danstr179 2009-12-08 14:46:01 UTC
Created attachment 92302 [details]
screenshot of garbled text in java editor

In the ordinary java editor the text becomes garbled when scrolling through a large java source file.
The file contains about 4900 lines of comments and java code.
Smaller files containing approx 350 lines aren't affected.

I'm running ubuntu 9.04 with netbeans installed from the package from netbeans page (not installed through synaptic).

I have the problem on two separate x86 linux machines both running ubuntu 9.04 .
One is running netbeans 6.7 the other 6.7.1

The problem doesn't seem to exist on a couple of other machines running windows xp
Comment 1 danstr179 2009-12-08 14:52:55 UTC
From netbeans about dialog :
Product Version: NetBeans IDE 6.7 (Build 200906241340)
Java: 1.6.0_0; OpenJDK Client VM 14.0-b08
System: Linux version 2.6.28-17-generic running on i386; UTF-8; en_US (nb)
Userdir: /home/dan/.netbeans/6.7
Comment 2 danstr179 2009-12-09 13:09:45 UTC
I found the solution in:
http://wiki.netbeans.org/FaqSolvingEditorGarbledText

The problem seems to be solved by adding
-J-Dsun.java2d.pmoffscreen=false to netbeans_default_options
in netbeans.conf file

I didn't change the xorg.conf file.

I have an atix850xt in one machine and an ati mobility firegl v5200 in the other.
So it does seem to work even if it's not an intel graphics controller as in the faq.

*** This bug has been marked as a duplicate of bug 149260 ***