| View previous topic :: View next topic |
| Author |
Message |
ako
Joined: 21 Nov 2008 Posts: 11
|
Posted: Wed Nov 26, 2008 9:55 am Post subject: Re: Strange rendering bug (Netbeans 6.5, Ubuntu 8.10) |
|
|
I will try these steps today after work...
| Jan Chalupa wrote: |
(You can email them to me directly. No need to attach them to this thread.)
|
How can I find your email address, since you don't seem to have profile page?
|
|
| Back to top |
|
 |
Jan Chalupa Posted via mailing list.
|
Posted: Wed Nov 26, 2008 10:14 am Post subject: Strange rendering bug (Netbeans 6.5, Ubuntu 8.10) |
|
|
ako wrote:
| Quote: | I will try these steps today after work...
|
Thank you.
| Quote: | How can I find your email address, since you don't seem to have profile page?
|
Hmm, the forum seems to filter the email addresses. Please send the info to
address-removed
Thanks,
-Honza
|
|
| Back to top |
|
 |
ako
Joined: 21 Nov 2008 Posts: 11
|
Posted: Wed Nov 26, 2008 10:28 am Post subject: Re: Strange rendering bug (Netbeans 6.5, Ubuntu 8.10) |
|
|
| Jan Chalupa wrote: |
Hmm, the forum seems to filter the email addresses. Please send the info to
address-removed
Thanks,
-Honza |
Hmm, that didn't work either. Maybe you can send it to me using the forum's PM functionality?
|
|
| Back to top |
|
 |
cesc
Joined: 26 Nov 2008 Posts: 6
|
Posted: Wed Nov 26, 2008 10:39 am Post subject: |
|
|
Hi.
I have same problem with:
- Ubuntu 8.10
- Linux cesc-desktop 2.6.27-7-generic #1 SMP Tue Nov 4 19:33:06 UTC 2008 x86_64 GNU/Linux
- NetBeans IDE 6.5 (Build 200811100614)
- Java-6-sun
Thx!
| Description: |
|
| Filesize: |
131.55 KB |
| Viewed: |
5165 Time(s) |

|
|
|
| Back to top |
|
 |
Jan Chalupa Posted via mailing list.
|
Posted: Wed Nov 26, 2008 11:47 am Post subject: Strange rendering bug (Netbeans 6.5, Ubuntu 8.10) |
|
|
ako wrote:
| Quote: | Jan Chalupa wrote:
| Quote: | Hmm, the forum seems to filter the email addresses. Please send the info to
|
|
Grrr, how about
jchalupa at netbeans dot org
| Quote: | Hmm, that didn't work either. Maybe you can send it to me using the forum's PM functionality?
|
That might work, but I haven't used the forum interface yet. I'm posting
directly to the address-removed mailing list.
I'll check the forum.
-Honza
|
|
| Back to top |
|
 |
Jan Chalupa Posted via mailing list.
|
Posted: Wed Nov 26, 2008 2:53 pm Post subject: Strange rendering bug (Netbeans 6.5, Ubuntu 8.10) |
|
|
Thanks for the report.
Which JDK 6 update do you use? Is it Update 10? If so, could you please
try with JDK 6 update 7 as described earlier in this thread?
Thanks a lot!
-Honza
cesc wrote:
| Quote: | Hi.
I have same problem with:
- Ubuntu 8.10
- Linux cesc-desktop 2.6.27-7-generic #1 SMP Tue Nov 4 19:33:06 UTC 2008 x86_64 GNU/Linux
- NetBeans IDE 6.5 (Build 200811100614)
- Java-6-sun
Thx!
Attachments:
http://forums.netbeans.org//files/screenshot1_179.jpg
|
|
|
| Back to top |
|
 |
cesc
Joined: 26 Nov 2008 Posts: 6
|
Posted: Wed Nov 26, 2008 3:02 pm Post subject: |
|
|
Hi!
I'm use: java-6-sun-1.6.0.10 version.
But I think it is already fixed, because I have edit the netbeans.conf and replace netbeans_default_options for:
netbeans_default_options="-J-Dsun.java2d.pmoffscreen=false"
Now, all is Ok. No problems with rendering fonts in large php documents.
Thx!!
|
|
| Back to top |
|
 |
Jan Chalupa Posted via mailing list.
|
Posted: Wed Nov 26, 2008 3:52 pm Post subject: Strange rendering bug (Netbeans 6.5, Ubuntu 8.10) |
|
|
Cool! This is exactly the info we've been looking for. Thanks!
ako, Micel, Alexander, can you please confirm that the same trick works
for you? Just add "-J-Dsun.java2d.pmoffscreen=false" to the list of
netbeans_default_options in {nb-install}/etc/netbeans.conf
Do not delete the other options that are already there, just add this
new one.
Thank you,
-Honza
cesc wrote:
| Quote: | Hi!
I'm use: java-6-sun-1.6.0.10 version.
But I think it is already fixed, because I have edit the netbeans.conf and replace netbeans_default_options for:
netbeans_default_options="-J-Dsun.java2d.pmoffscreen=false"
Now, all is Ok. No problems with rendering fonts in large php documents.
Thx!!
|
|
|
| Back to top |
|
 |
ako
Joined: 21 Nov 2008 Posts: 11
|
Posted: Wed Nov 26, 2008 3:54 pm Post subject: |
|
|
So, I tried the notepad example with the previous java update, but the bug is the same there.
| Code: |
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)
|
But it works when I use the parameter, just like the last poster reported.
| Code: | | -Dsun.java2d.pmoffscreen=false |
|
|
| Back to top |
|
 |
Jan Chalupa Posted via mailing list.
|
Posted: Wed Nov 26, 2008 4:01 pm Post subject: Strange rendering bug (Netbeans 6.5, Ubuntu 8.10) |
|
|
Great! Thanks for all your help. I'll update the bug report accordingly.
-Honza
ako wrote:
| Quote: | So, I tried the notepad example with the previous java update, but the bug is the same there.
Code:
java version "1.6.0_07"
Java(TM) SE Runtime Environment (build 1.6.0_07-b06)
Java HotSpot(TM) Client VM (build 10.0-b23, mixed mode, sharing)
But it works when I use the parameter, just like the last poster reported.
Code:
-Dsun.java2d.pmoffscreen=false
|
|
|
| Back to top |
|
 |
cesc
Joined: 26 Nov 2008 Posts: 6
|
Posted: Wed Nov 26, 2008 4:08 pm Post subject: |
|
|
Hi again,
I have remove all options of "netbeans_default_options". Only keep "-J-Dsun.java2d.pmoffscreen=false".
This:
netbeans_default_options="-J-Dsun.java2d.pmoffscreen=false"
If a keep the original options plus and add pmoffscreen....
netbeans_default_options="-J-Dorg.glassfish.v3.installRoot=\"/home/cesc/glassfish-v3-prelude-b15b\" -J-Dcom.sun.aas.installRoot=\"/home/cesc/glassfish-v2ur2\" -J-client -J-Xverify:none -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m -J-Dapple.laf.useScreenMenuBar=true -J-Dsun.java2d.noddraw=true -Dsun.java2d.pmoffscreen=false"
.... this not run ok. With this options I have problems with rendering fonts. Only I don't have problems with:
- netbeans_default_options="-J-Dsun.java2d.pmoffscreen=false"
And another question. I have problems only with a big files. Files that contain 2000-2500 code lines...
Thx.
PD: Sorry because I speak litle english.
|
|
| Back to top |
|
 |
cesc
Joined: 26 Nov 2008 Posts: 6
|
Posted: Wed Nov 26, 2008 4:17 pm Post subject: |
|
|
Opps, sorry, I had been wrong to write options. I had forgotten to pu "-J".
With this options:
netbeans_default_options="-J-Dorg.glassfish.v3.installRoot=\"/home/cesc/glassfish-v3-prelude-b15b\" -J-Dcom.sun.aas.installRoot=\"/home/cesc/glassfish-v2ur2\" -J-client -J-Xverify:none -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m -J-Dapple.laf.useScreenMenuBar=true -J-Dsun.java2d.noddraw=true -J-Dsun.java2d.pmoffscreen=false"
ALL RUN OK! I DON'T HAVE ANY PROBLEM.
Thx for all!
|
|
| Back to top |
|
 |
ako
Joined: 21 Nov 2008 Posts: 11
|
Posted: Wed Nov 26, 2008 4:18 pm Post subject: |
|
|
Hi, your appended parameter is wrong, you have to append
"-J-Dsun.java2d.pmoffscreen=false" at the end of the options.
Your posted string missed the "-J".
BTW: I have added it to my netbeans.conf, and it works.
| cesc wrote: | Hi again,
I have remove all options of "netbeans_default_options". Only keep "-J-Dsun.java2d.pmoffscreen=false".
This:
netbeans_default_options="-J-Dsun.java2d.pmoffscreen=false"
If a keep the original options plus and add pmoffscreen....
netbeans_default_options="-J-Dorg.glassfish.v3.installRoot=\"/home/cesc/glassfish-v3-prelude-b15b\" -J-Dcom.sun.aas.installRoot=\"/home/cesc/glassfish-v2ur2\" -J-client -J-Xverify:none -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m -J-Dapple.laf.useScreenMenuBar=true -J-Dsun.java2d.noddraw=true -Dsun.java2d.pmoffscreen=false"
.... this not run ok. With this options I have problems with rendering fonts. Only I don't have problems with:
- netbeans_default_options="-J-Dsun.java2d.pmoffscreen=false"
And another question. I have problems only with a big files. Files that contain 2000-2500 code lines...
Thx.
PD: Sorry because I speak litle english. |
|
|
| Back to top |
|
 |
cesc
Joined: 26 Nov 2008 Posts: 6
|
Posted: Wed Nov 26, 2008 4:25 pm Post subject: |
|
|
Thx Ako.
|
|
| Back to top |
|
 |
Jan Chalupa Posted via mailing list.
|
Posted: Wed Nov 26, 2008 5:05 pm Post subject: Strange rendering bug (Netbeans 6.5, Ubuntu 8.10) |
|
|
Uff! Thanks for catching this!
I definitely would not recommend deleting all of the other options. Some
of them are probably useless (and harmless) in your case, but some of
them override the default JVM runtime options and are quite important.
You might experience various performance and stability issues without
those later.
-Honza
cesc wrote:
| Quote: | Opps, sorry, I had been wrong to write options. I had forgotten to pu "-J".
With this options:
netbeans_default_options="-J-Dorg.glassfish.v3.installRoot=\"/home/cesc/glassfish-v3-prelude-b15b\" -J-Dcom.sun.aas.installRoot=\"/home/cesc/glassfish-v2ur2\" -J-client -J-Xverify:none -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m -J-Dapple.laf.useScreenMenuBar=true -J-Dsun.java2d.noddraw=true -J-Dsun.java2d.pmoffscreen=false"
ALL RUN OK! I DON'T HAVE ANY PROBLEM.
Thx for all!
|
|
|
| Back to top |
|
 |
|