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 153857 - Editor shuffed the letters when very large file
Summary: Editor shuffed the letters when very 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 blocker (vote)
Assignee: paulononaka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-11-25 13:35 UTC by paulononaka
Modified: 2008-11-26 20:08 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Image of the bug (261.82 KB, image/png)
2008-11-25 13:43 UTC, paulononaka
Details
Problem resolveld! (219.61 KB, image/png)
2008-11-26 19:21 UTC, paulononaka
Details

Note You need to log in before you can comment on or make changes to this bug.
Description paulononaka 2008-11-25 13:35:36 UTC
When you open a extense code file (around 5k lines), the code are totally blurred, shuffed.
This is a PHP project.
Product Version: NetBeans IDE 6.5 (Build 200811100001)
Java: 1.6.0_02; Java HotSpot(TM) Client VM 1.6.0_02-b05
System: Linux version 2.6.26.3 running on i386; ISO-8859-1; pt_BR (nb)
Comment 1 paulononaka 2008-11-25 13:43:05 UTC
Created attachment 74134 [details]
Image of the bug
Comment 2 Petr Dvorak 2008-11-25 13:59:15 UTC
I think we already had issue similar to this one ("Source text becomes garbled when scrolling down large files under
Linux", issue 149260) and the problem was in Intel driver of a video card... From an e-mail:

> I'm afraid I've wasted some of your time, the problem was not in
> Netbeans as I could replicate it in a standard Java program opening
> the same file in a JEditorPane. It appears to be a problem with Java
> and the Intel i915 driver of the video card in the motherboard I am
> using. A similar machine I have with a NVidia card and driver works
> fine.

Can you please tell us if this might be your case (if yes, I am afraid we cannot do much on our side)?
Comment 3 paulononaka 2008-11-25 16:14:56 UTC
Yes, it's the same problem. This problem occurs in large files until of the line 2187 (around).
I do not believe to be a problem of Java, because the problem does not happen in others aplication, for example in jEdit
with the same source file.
I updating my Java to version "1.6.0_10" and the problem persists.
Maybe really the problem has to do with the video card.
This is my video card presented by command lspci:
VGA compatible controller: Intel Corporation 82945G/GZ Integrated Graphics Controller (rev 02)
I could not say where the problem is.
Comment 4 Petr Dvorak 2008-11-25 18:41:20 UTC
Yes, it probably is a duplicate of #149260 - you can help us with one more test:

Open the problematic file in other Swing application - you can use Notepad JDK sample (see below). If the issue is
reproducible there, the problem is in your video card (and this issue will be marked as duplicate)...

If you are using Ubuntu-like distro, you can download and run Notepad demo with following commands:

$ sudo apt-get install sun-java6-demo
$ java -jar /usr/lib/jvm/java-6-sun/demo/jfc/Notepad/Notepad.jar

Note: jEdit, Eclipse, etc. do not fully rely on JDK components - they often use some platform dependent components, so
testing in jEdit is not sufficient, IMO...
Comment 5 Michel Graciano 2008-11-25 19:30:53 UTC
I updated http://www.netbeans.org/issues/show_bug.cgi?id=149260 with comments which probably solved my problem. Try and
see if it works for you.

Regards.
Comment 6 paulononaka 2008-11-26 19:21:33 UTC
Created attachment 74197 [details]
Problem resolveld!
Comment 7 paulononaka 2008-11-26 19:25:15 UTC
The problem was solved!
Just change the lines in xorg.conf as suggested by hmichel:
        Option          "AccelMethod"           "xaa"
        Option          "RenderAccel"           "true"
Thank you all for your help!

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