NetBeans Forums

 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
  

Strange rendering bug (Netbeans 6.5, Ubuntu 8.10)
Goto page Previous  1, 2, 3  Next
 
Post new topic   Reply to topic    NetBeans Forums -> PHP Users
View previous topic :: View next topic  
Author Message
ako



Joined: 21 Nov 2008
Posts: 11

PostPosted: Wed Nov 26, 2008 9:55 am    Post subject: Re: Strange rendering bug (Netbeans 6.5, Ubuntu 8.10) Reply with quote

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.





PostPosted: Wed Nov 26, 2008 10:14 am    Post subject: Strange rendering bug (Netbeans 6.5, Ubuntu 8.10) Reply with quote

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

PostPosted: Wed Nov 26, 2008 10:28 am    Post subject: Re: Strange rendering bug (Netbeans 6.5, Ubuntu 8.10) Reply with quote

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

PostPosted: Wed Nov 26, 2008 10:39 am    Post subject: Reply with 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!



screenshot1.jpg
 Description:
 Filesize:  131.55 KB
 Viewed:  20895 Time(s)

screenshot1.jpg


Back to top
Jan Chalupa
Posted via mailing list.





PostPosted: Wed Nov 26, 2008 11:47 am    Post subject: Strange rendering bug (Netbeans 6.5, Ubuntu 8.10) Reply with quote

ako wrote:
Quote:
Jan Chalupa wrote:

Quote:
Hmm, the forum seems to filter the email addresses. Please send the info to


Quote:
address-removed

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.





PostPosted: Wed Nov 26, 2008 2:53 pm    Post subject: Strange rendering bug (Netbeans 6.5, Ubuntu 8.10) Reply with quote

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

PostPosted: Wed Nov 26, 2008 3:02 pm    Post subject: Reply with 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
Jan Chalupa
Posted via mailing list.





PostPosted: Wed Nov 26, 2008 3:52 pm    Post subject: Strange rendering bug (Netbeans 6.5, Ubuntu 8.10) Reply with quote

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

PostPosted: Wed Nov 26, 2008 3:54 pm    Post subject: Reply with 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
Jan Chalupa
Posted via mailing list.





PostPosted: Wed Nov 26, 2008 4:01 pm    Post subject: Strange rendering bug (Netbeans 6.5, Ubuntu 8.10) Reply with quote

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

PostPosted: Wed Nov 26, 2008 4:08 pm    Post subject: Reply with quote

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

PostPosted: Wed Nov 26, 2008 4:17 pm    Post subject: Reply with 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
ako



Joined: 21 Nov 2008
Posts: 11

PostPosted: Wed Nov 26, 2008 4:18 pm    Post subject: Reply with quote

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

PostPosted: Wed Nov 26, 2008 4:25 pm    Post subject: Reply with quote

Smile Thx Ako.
Back to top
Jan Chalupa
Posted via mailing list.





PostPosted: Wed Nov 26, 2008 5:05 pm    Post subject: Strange rendering bug (Netbeans 6.5, Ubuntu 8.10) Reply with quote

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
Display posts from previous:   
Post new topic   Reply to topic    NetBeans Forums -> PHP Users All times are GMT
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2012, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo