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 87250 - [MacOS] Only one bpel diagram is visible, even two BPEL Editor windows are opened and displayed at the same time
Summary: [MacOS] Only one bpel diagram is visible, even two BPEL Editor windows are op...
Status: VERIFIED WORKSFORME
Alias: None
Product: soa
Classification: Unclassified
Component: BPEL (show other bugs)
Version: 5.x
Hardware: All Mac OS X
: P2 blocker (vote)
Assignee: Mikhail Kondratyev
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-10-17 02:01 UTC by _ hong_lin
Modified: 2007-03-22 23:16 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments
The lower bpel diagram is visible (52.49 KB, image/png)
2006-10-17 02:02 UTC, _ hong_lin
Details
The upper bpel diagram is visible (54.91 KB, image/png)
2006-10-17 02:03 UTC, _ hong_lin
Details
-J-Dapple.awt.graphics.UseQuarts=true (170.15 KB, image/png)
2006-10-19 02:26 UTC, _ hong_lin
Details
-J-Dapple.awt.graphics.UseQuarts=true, "Design" button is displayed (170.62 KB, image/png)
2006-10-19 02:26 UTC, _ hong_lin
Details
-J-Dapple.awt.graphics.UseQuarts=false (137.34 KB, image/png)
2006-10-19 02:27 UTC, _ hong_lin
Details
drag "Palette" to another place (157.19 KB, image/png)
2006-10-19 02:29 UTC, _ hong_lin
Details
messages.log file (38.04 KB, text/plain)
2006-10-19 02:30 UTC, _ hong_lin
Details

Note You need to log in before you can comment on or make changes to this bug.
Description _ hong_lin 2006-10-17 02:01:28 UTC
Found this bug when I tried to verify the fix for IZ86949.

Build: Coke milestone build 22

Steps to reproduce:
- Open 2 bpel diagrams in design mode. 
- Move window with one of them to another place to have both bpel diagrams 
visible at the same time.

Now two Editor windows are visible at the same time, but only one bpel diagram
is displayed. Please see the attached snapshot for more detail.
Comment 1 _ hong_lin 2006-10-17 02:02:53 UTC
Created attachment 35254 [details]
The lower bpel diagram is visible
Comment 2 _ hong_lin 2006-10-17 02:03:27 UTC
Created attachment 35255 [details]
The upper bpel diagram is visible
Comment 3 Alexey Anjeleevich 2006-10-17 08:57:49 UTC
I don't see "Design" and "Sources" buttons on screenshots, this is looks
strange. It seems that this well known problem with UseQuarts parameter, but
this problem was fixed 1 month ago.

I can not reproduce this bug, so please provide additional information:

1) Could you attach full screenshots not croped? 

2.1) Also, please, try to run Netbeans with parameter:
-J-Dapple.awt.graphics.UseQuarts=true 
and attach screenshots and Netbeans startup log to this issue

2.2) Try to run netbeans with parameter:
-J-Dapple.awt.graphics.UseQuarts=false
and attach screenshots and Netbeans startup log to this issue

2.3) Try to remove all Netbeans configuration settings. Uninstall netbeans.
Remove all footprints of Netbeans from your system.
Reinstall Netbeans and EntPack.

3) Also, please, attach detailed information about you system
(CPU, OS verstion, JRE version and so on).
Comment 4 Alexey Anjeleevich 2006-10-17 09:41:27 UTC
4) Try to drag another component (e.g. Palette, Properties) to another place.
Comment 5 _ hong_lin 2006-10-19 02:24:34 UTC
"Design" and "Sources" buttons will only be displayed after you move your mouse to the position where   
the button should be displayed.
==> See Picture1 and Picture2. The only different is the "Design" button shows in the editor window. 
That is because I moved my mouse to the position. No need to click the mouse.

1) Could you attach full screenshots not croped? 
==> See Picture1

2.1) Also, please, try to run Netbeans with parameter:
-J-Dapple.awt.graphics.UseQuarts=true 
and attach screenshots and Netbeans startup log to this issue
==> Same behavior.  Picture1 and Picture2 are the screenshots that I got. Messahes.log and server.log 
will be attached later.

2.2) Try to run netbeans with parameter:
-J-Dapple.awt.graphics.UseQuarts=false
and attach screenshots and Netbeans startup log to this issue
==> See Picture3

2.3) Try to remove all Netbeans configuration settings. Uninstall netbeans.
Remove all footprints of Netbeans from your system.
Reinstall Netbeans and EntPack.
==> This is a new installation. Coke RC3 build.

3) Also, please, attach detailed information about you system
(CPU, OS verstion, JRE version and so on).
==> Processor: Dual 2 GHz PowerPC G5, Memory 1.5GB DDR2 SDRAM
        OS: Mac OS X 10.4.5
        JRE version: 1.6.0-dp

4) Try to drag another component (e.g. Palette, Properties) to another place.
==> See Picture4
Comment 6 _ hong_lin 2006-10-19 02:26:04 UTC
Created attachment 35354 [details]
-J-Dapple.awt.graphics.UseQuarts=true
Comment 7 _ hong_lin 2006-10-19 02:26:49 UTC
Created attachment 35355 [details]
-J-Dapple.awt.graphics.UseQuarts=true,  "Design" button is displayed
Comment 8 _ hong_lin 2006-10-19 02:27:43 UTC
Created attachment 35356 [details]
-J-Dapple.awt.graphics.UseQuarts=false
Comment 9 _ hong_lin 2006-10-19 02:29:05 UTC
Created attachment 35357 [details]
drag "Palette" to another place
Comment 10 _ hong_lin 2006-10-19 02:30:44 UTC
Created attachment 35358 [details]
messages.log file
Comment 11 Alexey Anjeleevich 2006-10-19 06:05:00 UTC
Thank you very much.

I'am sorry, I've made missprint in parameter name. 
Correct is "UseQuartz" not "UseQuarts".

Could you make one more test?
Please, run Netbeans with parameter:
-J-Dapple.awt.graphics.UseQuartz=true

If rendering will be broken, please, attach a screenshot and message log (I need
this log to be sure, that parameter was not ignored by netbeans). If all will be
fine, just write small comment, and we will try to understand why wrong
parameter value is used by default.

Sorry.
Thank you.

Comment 12 Mikhail Kondratyev 2006-10-19 06:22:09 UTC
I think this bug is related to the issue
http://www.netbeans.org/issues/show_bug.cgi?id=86850

When running Netbeans with jdk 1.6 you have to explicitly set the UseQuartz
option  to avoid repaint ptoblems. This will be release noted in Netbeans. 

Unfortunately, I think BPEL developers can't do anything about this

I could not reproduce the issue with JDK 1.5
Comment 13 Michael Frisino 2006-11-20 14:07:23 UTC
To summarize: This is problem with JDK 1.6 but not problem with JDK 1.5?

If so, maybe we can test with newer versions of JDK 1.6?

Yes / No?
Comment 14 Mikhail Kondratyev 2006-11-20 14:58:41 UTC
Yes, this is a JDK related issue as far as I know.
We will retest this with newer JDK build.
Comment 15 Sergey Lunegov 2007-02-09 09:39:50 UTC
Mikhail, Hong, please retest it with JDK 1.6 FCS
Comment 16 _ hong_lin 2007-02-13 01:21:14 UTC
Installed Gavotte milestone build 6a on a Mac OS machine. The feature works
fine. I am using latest jdk 1.5.0_7, which was released on Jan 12, 2007.

The latest jdk 1.6.0_b88 was released on Sep, 2006, which was very close to the
build jdk 1.6.0_b85 we tested. I did not have time to try that today.
Comment 17 Sergey Lunegov 2007-02-13 15:46:31 UTC
Hong, please use JDK 1.6 FCS version. All JDK 1.6 version between beta and FCS
are not applicable. We can release note this issue but certainly will not fix it
if problem occurs on some not FCS version of JDK 1.6.
Comment 18 _ hong_lin 2007-02-13 15:50:34 UTC
The jdk 1.6.0 FCS for MAC OS is not ready yet.
Comment 19 Sergey Lunegov 2007-02-13 16:00:46 UTC
Hong, inthis case please verify is it reproducible on last JDK 1.6 version for
MacOS. If yes then add EP551_RN into status whiteboard. I close it as worksforme.
Comment 20 _ hong_lin 2007-02-20 21:34:31 UTC
Verified with new jdk, the problem is gone.
Comment 21 Peter Lam 2007-03-22 22:58:31 UTC
Hong, I'm curious which jdk version & build you verified that the problem is
gone. Thanks.
Comment 22 _ hong_lin 2007-03-22 23:16:54 UTC
It was jdk 1.5.0_7 that I used to test. I used Gavotte daily build.