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 138971 - [65cat] CASA Editor continuously refreshing when external modules showing.
Summary: [65cat] CASA Editor continuously refreshing when external modules showing.
Status: VERIFIED FIXED
Alias: None
Product: soa
Classification: Unclassified
Component: Composite Application (show other bugs)
Version: 6.x
Hardware: PC Linux
: P1 blocker with 3 votes (vote)
Assignee: Jun Qian
URL:
Keywords:
: 150448 152455 (view as bug list)
Depends on:
Blocks:
 
Reported: 2008-07-03 19:10 UTC by esmithbss
Modified: 2009-12-11 17:04 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
Screen Capture showing constant refresh situation (1.54 MB, image/gif)
2008-07-31 19:48 UTC, esmithbss
Details
Log File from v 200809220201 (68.36 KB, text/plain)
2008-09-24 05:14 UTC, esmithbss
Details

Note You need to log in before you can comment on or make changes to this bug.
Description esmithbss 2008-07-03 19:10:54 UTC
When I open a new Composite Application Project, the CASA editor continuously refreshes with significant shaking when
External Modules is displayed.

If I shrink NetBeans down "to hide the External Modules page", the shakes/jitters on the screen, caused by the refresh
go away.

Eric M. Smith
Comment 1 esmithbss 2008-07-31 19:47:15 UTC
This is also a major issue in NB 6.5 when developing a SOA Composite App.

See attached screenshot (animated GIF)
Comment 2 esmithbss 2008-07-31 19:48:02 UTC
Created attachment 66217 [details]
Screen Capture showing constant refresh situation
Comment 3 esmithbss 2008-07-31 19:49:30 UTC
Steps to reproduce in 6.5

1) Create a new SOA -> Composite Application Project

2) Make sure both sides (where Partner Links are placed) of the CASA editor are visible (beyond simple elipsis size).

Comment 4 Tomas Danek 2008-08-21 12:17:05 UTC
-> SOA
Comment 5 Tientien Li 2008-09-09 21:16:07 UTC
We couldn't reproduce this problem locally. Can you reproduce this problem and provide us with more detailed 
information, e.g., version of Linux and JDK used.

Thanks,
Comment 6 Tientien Li 2008-09-10 21:54:17 UTC
We couldn't reproduce this problem locally. Lower the priority to p3 for now. We will re-evaluate this issue when
receiving more detailed instructions on how to reproduce this problem.
Comment 7 esmithbss 2008-09-11 06:35:03 UTC
Okay,  more detailed instructions.

1) Start NetBeans.

2) Maximize the IDE.  I run on a 1280x800 screen so I always run maximized when editing.

3) Create a new Composite Application.

4) Open the CASA Editor for the Composite Application.  At this point, you should have the Project tree, the "local"
windows below the editor, and the CASA Editor open.

5) Adjust all non CASA Editor windows so that the CASA Editor shows all 3 vertical sections of the CASA Editor (left,
center, and right).

At this point, on every version of NB I have tried (6.5 m1 -> 200809071401 so far), my CASA Editor goes crazy with a
continuous refresh.

6) Adjust the Project tree pane so that the CASA Editor only shows the left 2 vertical sections (left, center).

At this point, on every version of NB I have tried, my CASA Editor stabilizes.

7) Adjust all non CASA Editor windows so that the CASA Editor shows all 3 vertical sections of the CASA Editor (left,
center, and right).

At this point, the IDE is back to a continuous refresh with a jumping screen.


Comment 8 Tientien Li 2008-09-11 16:52:51 UTC
Hi,

Can you tell us the Linux and JDK versions used on your system? For example, the first few lines from the NetBeans log 
will be helpful:

Log Session: Wednesday, September 3, 2008 10:23:33 PM PDT
System Info:
  Product Version         = NetBeans IDE Dev (Build 080731)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.5.0_14; Java HotSpot(TM) Client VM 1.5.0_14-b03; Sun Microsystems Inc.
  Runtime                 = Java(TM) 2 Runtime Environment, Standard Edition 1.5.0_14-b03
  Java Home               = C:\javatools\jdk1.5.0_14\jre
  System Locale; Encoding = en_US (nb); Cp1252
  Home Directory          = C:\Documents and Settings\tli
  Current Directory       = D:\darkhorse\main\nbbuild\netbeans\bin
  User Directory          = D:\nb61\usrdir
  Installation            = D:\darkhorse\main\nbbuild\netbeans\nb6.5

Because we could not reproduce this problem locally, any additional information such as system configuration,  graphic 
card and display setting may help us to reproduce this.

Thanks,

--
Tientien Li
Comment 9 esmithbss 2008-09-24 05:14:06 UTC
Created attachment 70394 [details]
Log File from v 200809220201
Comment 10 esmithbss 2008-09-24 05:46:44 UTC
I have just attached a log file from a quick run using 200809220201.  The problem still appears on my machine using this
version.

I have checked against JDK 1.6.0_07, 1.6.0_10beta, and 1.6.0_10rc1 and the issue exists on my machine for all 3 JDK's.

Comment 11 Sergey Lunegov 2008-10-01 15:44:49 UTC
Changed target milestone.
Comment 12 Tientien Li 2008-10-01 22:36:15 UTC
We could not reproduce this problem locally with our Linux PC. This could be a graphic HW or driver related issue. I 
will try to post a message to the user group to see anyone else can reproduce it.
Comment 13 iforster 2008-10-02 09:39:52 UTC
I can confirm that problem with Fedora 8, a resolution of 1600x1200, NVidia Quadro NVS 285, NVidia driver version
173.14.05, JDK 1.6.0_07 and Netbeans 6.1.
Comment 14 adam_t 2008-10-02 17:01:18 UTC
I see this problem too, 90% of the time in CASA on Linux (Ubuntu 8.04) and OpenSolaris. In both cases with JDK 1.6.x, or
OpenJDK.

I've tried it on various machines with different graphics cards and resolutions from 1400x1050 up to 1920x1200.
Comment 15 mfort 2008-10-02 23:26:16 UTC
Same thing here. The steps to reproduce are actually quite simple. Create a new Composite Application and maximize the
CASA editor. The screen starts to flicker.

As for the cause, it seems to me that once the CASA editor area is large enough so that the scrollbars are not needed,
the editor starts to constantly hide and show them at a very rapid pace, which results in the screen flickering.

Also note that this occurs only under the GTK+ look and feel. When I start NetBeans with the Metal LAF, the problem does
not occur.

--
Milan Fort
http://www.milanfort.com/
Comment 16 esmithbss 2008-10-03 04:43:48 UTC
It also appears on my machine using the new Nimbus LAF.
Comment 17 oswaldodantas 2008-10-28 18:10:44 UTC
Same thing here.
Two different computers with Ubuntu 8.04, onboard video cards (one Intel and the other SiS, so, different dysplay
drivers) running Netbeans 6.1 and 6.5 RC1 on Java 6 u10
Comment 18 Tientien Li 2008-10-31 22:15:56 UTC
Just like to report another failed attempt to reproduce this problem.

This week, I was given the remote access to an old linux box (Ubuntu 6.06). After few hours spending on setting up 
JDK1.6, download and install NB 6.1, I could not reproduce this bug. I had exactly the same experience as last time 
working with head-less soalaris build machines. IMO, this is not a very efficient way of utilizing resources. The total 
amount of time that I have spent working on this bug is probably costing much more than a linux box. I will *NOT* 
attempt to work this bug again unless there is a physical linux/solaris machine available that can reproduce the 
problem. Remote access is just not useful for this type of problems.

Comment 19 esmithbss 2008-11-02 06:16:21 UTC
I just updated to Ubuntu 8.10 (Intrepid) with a new installation of JDK 1.6_10 final and NetBeans RC-2.  This problem
still exists.

My machine:

Gateway M460
2GB Mem
80GB Hard Drive
Ubuntu 8.10 (clean install on newly formatted and partitioned hard-drive)
Sun Java JDK 1.6_10 (downloaded from Sun)
NetBeans 6.5 RC-2

Steps to reproduce:

1) Start NetBeans
2) Maximize IDE
3) New Composite Application Project

When the project opens and scanning is finished, the window starts adding and removing the scrollbars multiple times per
second.


The card in my machine 
Comment 20 Tientien Li 2009-02-04 21:25:09 UTC
*** Issue 152455 has been marked as a duplicate of this issue. ***
Comment 21 kalali 2009-02-11 14:38:24 UTC
I am experiencing the same problem in Ubunut 8.10, and Ubuntu 8.4. I event tested with latest JDK ( jdk-6u12-linux-i586)
and the problem still exists.  Before this we were using jdk1.6.0_05.
Comment 22 iforster 2009-02-12 09:49:03 UTC
As already indicated by Milan this problem only occurs when using the GTK+ Look and Feel. Just wanted to point that out
again...
Comment 23 trondstromme 2009-03-13 12:29:19 UTC
In OpenSolaris snv_108b this issues exists with the nimbus L&F for NetBeans.
A workaround is setting the L&F to metal

./netbeans --laf javax.swing.plaf.metal.MetalLookAndFeel
Comment 24 rbalada 2009-03-26 13:53:49 UTC
Hi Tientien,

I guess you did not use the GTK look and feel, if you were unable to reproduce. Please make sure, that you started
netbeans 6.1 with option "--laf com.sun.java.swing.plaf.gtk.GTKLookAndFeel". That's essential for successful
reproduction. You can specify this option either on commandline when starting netbeans or in
${netbeans_install_dir}/etc/netbeans.conf file.

On command line it's

$ cd ${netbeans_install_dir}/bin
$ ./netbeans --laf com.sun.java.swing.plaf.gtk.GTKLookAndFeel


In  --laf com.sun.java.swing.plaf.gtk.GTKLookAndFeel it's modification of line starting with
"netbeans_default_options=", where you have to add the option into the list of options and (re)start NetBeans.

If it doesn't help, I've prepared Virtualbox image with Ubuntu 8.10 and NetBeans 6.1 where it can be easily reproduced,
just let me know how can I deliver 7.8 GB to you (I can burn it to DVD+R DL).

Raising priority due to Sun-internal escalation.

Comment 25 Jun Qian 2009-04-04 00:53:51 UTC
Yes, we are able to reproduce this issue now. The sustaining team is currently preparing a dev environment for debugging. 
Comment 26 Jun Qian 2009-04-15 20:21:18 UTC
Temp workaround the flicking issue by always showing CASA scrollbars if the LnF is GTK or if the system property
"casa.scrollbars.always" is set to "true".

http://hg.netbeans.org/soa-dev65/rev/f3eafa82bed0
Comment 27 rbalada 2009-04-16 14:42:06 UTC
I've verified this workaround fixes the issue.
Comment 28 Jun Qian 2009-12-11 17:04:01 UTC
*** Bug 150448 has been marked as a duplicate of this bug. ***