Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "Albireo SWT AWT bugs"

(Fatal Bugs: Update status of 126931)
(Drag and Drop)
 
(24 intermediate revisions by 2 users not shown)
Line 4: Line 4:
  
 
Others are listed in [http://bugs.eclipse.org/bugs/ Bugzilla]: The list of open SWT_AWT bugs is [https://bugs.eclipse.org/bugs/buglist.cgi?bug_file_loc=&bug_file_loc_type=allwordssubstr&bug_id=&bugidtype=include&chfieldfrom=&chfieldto=Now&chfieldvalue=&email1=&email2=&emailtype1=substring&emailtype2=substring&field-1-0-0=resolution&field-1-1-0=short_desc&field0-0-0=noop&keywords=&keywords_type=allwords&long_desc=&long_desc_type=allwordssubstr&query_format=advanced&remaction=&resolution=WONTFIX&resolution=LATER&resolution=REMIND&resolution=---&short_desc=SWT_AWT&short_desc_type=allwordssubstr&status_whiteboard=&status_whiteboard_type=allwordssubstr&type-1-0-0=anyexact&type-1-1-0=allwordssubstr&type0-0-0=noop&value-1-0-0=WONTFIX%2CLATER%2CREMIND%2C---&value-1-1-0=SWT_AWT&value0-0-0=&votes=&order=bugs.op_sys%2Cbugs.op_sys%2Cbugs.resolution&query_based_on= here]. Among these, the following might fall into the scope of Albireo (if not otherwise fixed in AWT or in SWT_AWT):
 
Others are listed in [http://bugs.eclipse.org/bugs/ Bugzilla]: The list of open SWT_AWT bugs is [https://bugs.eclipse.org/bugs/buglist.cgi?bug_file_loc=&bug_file_loc_type=allwordssubstr&bug_id=&bugidtype=include&chfieldfrom=&chfieldto=Now&chfieldvalue=&email1=&email2=&emailtype1=substring&emailtype2=substring&field-1-0-0=resolution&field-1-1-0=short_desc&field0-0-0=noop&keywords=&keywords_type=allwords&long_desc=&long_desc_type=allwordssubstr&query_format=advanced&remaction=&resolution=WONTFIX&resolution=LATER&resolution=REMIND&resolution=---&short_desc=SWT_AWT&short_desc_type=allwordssubstr&status_whiteboard=&status_whiteboard_type=allwordssubstr&type-1-0-0=anyexact&type-1-1-0=allwordssubstr&type0-0-0=noop&value-1-0-0=WONTFIX%2CLATER%2CREMIND%2C---&value-1-1-0=SWT_AWT&value0-0-0=&votes=&order=bugs.op_sys%2Cbugs.op_sys%2Cbugs.resolution&query_based_on= here]. Among these, the following might fall into the scope of Albireo (if not otherwise fixed in AWT or in SWT_AWT):
 +
 +
<!-- Icons that can be used to denote the status:
 +
<br>Albireo status: [[Image:Ok green.gif]]
 +
<br>Albireo status: [[Image:Questionmark.gif]]
 +
<br>Albireo status: [[Image:Fail.gif]]
 +
-->
  
 
=== All Platforms ===
 
=== All Platforms ===
Line 11: Line 17:
  
 
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=58308 58308] SWT_AWT - Embedded JSplitPane resizable arrows
 
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=58308 58308] SWT_AWT - Embedded JSplitPane resizable arrows
<br>Albireo status: [[Image:Questionmark.gif]]
+
<br>Albireo status: [[Image:Ok green.gif]] Fixed. Albireo's <tt>SwingControl</tt> creates the required component hierarchy with a <tt>java.awt.Panel</tt> instance at the top.
  
 
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=216346 216346] NullPointerException in Display.asyncExec
 
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=216346 216346] NullPointerException in Display.asyncExec
<br>Albireo status: [[Image:Ok green.gif]] Worked around. Albireo includes a <tt>ThreadingHandler</tt> class that has a method <tt>asyncExec</tt> that works around the problem.
+
<br>Albireo status: [[Image:Ok green.gif]] Worked around. Albireo includes a <tt>ThreadingHandler</tt> class that has a method <tt>asyncExec</tt> that works around the problem. Also fixed in Eclipse 3.4.
 +
 
 +
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=66615 66615] SWT_AWT.new_Frame occasionally hangs, and <br>
 +
[https://bugs.eclipse.org/221205 221205] Provide asynchronous SWT_AWT API to prevent deadlocks.
 +
<br>Albireo status: [[Image:Questionmark.gif]] Partially fixed on Eclipse 3.4 on the Windows platform. On Windows, the remaining problem occurs only if SWT_AWT.new_Frame is invoked during a syncExec() call.
 +
 
 +
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=91896 91896] SWT_AWT: Incorrect layout of AWT frame when SWT.BORDER style is set on the Composite
 +
<br>Albireo status: [[Image:Ok green.gif]] Fixed. Albireo provides an intermediate Composite if a border is requested.
 +
 
 +
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=60967 60967] SWT_AWT + Swing focus problem
 +
<br>Albireo status: [[Image:Ok green.gif]] Fixed. A permanent focus lost event is forced by Albireo when another component in the same shell is activated.  
  
 
=== Windows ===
 
=== Windows ===
Line 21: Line 37:
  
 
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=70918 70918] SWT_AWT doesn't propogate mouse events in JDK 1.3
 
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=70918 70918] SWT_AWT doesn't propogate mouse events in JDK 1.3
<br>Albireo status: [[Image:Questionmark.gif]]
+
<br>Albireo status: [[Image:Ok green.gif]] Fixed. Albireo's <tt>SwingControl</tt> creates the required component hierarchy with a <tt>java.awt.Panel</tt> instance at the top.
  
 
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=95540 95540] Another SWT_AWT bridge problems
 
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=95540 95540] Another SWT_AWT bridge problems
<br>Albireo status: [[Image:Questionmark.gif]]
+
<br>Albireo status: [[Image:Ok green.gif]] Fixed. Albireo's <tt>SwingControl</tt> creates the required component hierarchy with a <tt>java.awt.Panel</tt> instance at the top.
  
 
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=105507 105507] SWT_AWT.new_Frame windows in multimonitor have performance problems
 
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=105507 105507] SWT_AWT.new_Frame windows in multimonitor have performance problems
<br>Albireo status: [[Image:Questionmark.gif]]
+
<br>Albireo status: [[Image:Questionmark.gif]] Requires testing on a machine with two screens.
  
 
==== Focus ====
 
==== Focus ====
  
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=60967 60967] SWT_AWT + Swing focus problem
+
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=170459 170459] SWT_AWT: Focus problem in Java 6<br>
<br>Albireo status: [[Image:Questionmark.gif]]
+
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=201988 201988] SWT_AWT: Swing JTextPane cannot receive focus<br>
 +
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=207082 207082] SWT_AWT.new_Frame focus events not received correctly<br>
 +
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=216431 216431] SWT_AWT: sun.awt.EmbeddedFrame is activated incorrectly
 +
<br>Albireo status: [[Image:Ok green.gif]] Worked around. See [[Albireo Focus Management Test Cases]].
  
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=170459 170459] SWT_AWT: Focus problem in Java 6
+
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=221241 221241] getFocusControl unreliable for embedded AWT composites
<br>Albireo status: [[Image:Questionmark.gif]]
+
<br>Albireo status: [[Image:Ok green.gif]] Worked around. See [http://dev.eclipse.org/mhonarc/lists/albireo-dev/msg00132.html] and [http://dev.eclipse.org/mhonarc/lists/albireo-dev/msg00134.html]
 
+
==== Multithread ====
+
 
+
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=66615 66615] SWT_AWT.new_Frame occasionally hangs
+
<br>Albireo status: [[Image:Questionmark.gif]]
+
  
 
==== Cursor ====
 
==== Cursor ====
Line 50: Line 64:
  
 
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=109403 109403] SWT_AWT does not behave correctly with Swing or AWT modal dialogs
 
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=109403 109403] SWT_AWT does not behave correctly with Swing or AWT modal dialogs
<br>Albireo status: [[Image:Questionmark.gif]]
+
<br>Albireo status: [[Image:Ok green.gif]] Worked around. Albireo detects the opening of AWT modal dialogs and disables SWT input.
  
 
==== Tooltips ====
 
==== Tooltips ====
  
 
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=186857 186857] SWT_AWT bridge problem: AWT componet tooltip doen't shown if it doesn't have focus
 
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=186857 186857] SWT_AWT bridge problem: AWT componet tooltip doen't shown if it doesn't have focus
<br>Albireo status: [[Image:Questionmark.gif]]
+
<br>Albireo status: [[Image:Ok green.gif]] Partially worked around. If using JDK1.6+, Albireo will configure the Swing UI manager to display tooltips for inactive windows.
  
 
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=187405 187405] SWT_AWT Swing component tooltip stays on the primary monitor even when the shell is on the 2nd monitor
 
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=187405 187405] SWT_AWT Swing component tooltip stays on the primary monitor even when the shell is on the 2nd monitor
<br>Albireo status: [[Image:Questionmark.gif]]
+
<br>Albireo status: [[Image:Questionmark.gif]] Requires testing on a machine with two screens.
 +
 
 +
==== Key Events ====
 +
 
 +
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=214503 214503] Incorrect KeyEvents returned using SWT_AWT
 +
<br>Albireo status: [[Image:Ok green.gif]] Fixed in SWT 3.4
  
 
=== Unix/Linux/Solaris ===
 
=== Unix/Linux/Solaris ===
Line 68: Line 87:
  
 
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=136700 136700] Gp in Snippet156 - SWT_AWT on motif
 
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=136700 136700] Gp in Snippet156 - SWT_AWT on motif
<br>Albireo status: [[Image:Questionmark.gif]]
+
<br>Albireo status: [[Image:Questionmark.gif]] Requires testing on Linux/Motif.
  
 
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=171432 171432] Using SWT_AWT bridge on Linux can lead to StackOverflowError
 
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=171432 171432] Using SWT_AWT bridge on Linux can lead to StackOverflowError
Line 74: Line 93:
  
 
==== Methodology ====
 
==== Methodology ====
 
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=91896 91896] SWT_AWT: Incorrect layout of AWT frame when SWT.BORDER style is set on the Composite
 
<br>Albireo status: [[Image:Questionmark.gif]]
 
  
 
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=162219 162219] SWT_AWT does not work on Solaris GTK x86 (early access) using web start
 
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=162219 162219] SWT_AWT does not work on Solaris GTK x86 (early access) using web start
<br>Albireo status: [[Image:Questionmark.gif]]
+
<br>Albireo status: [[Image:Questionmark.gif]] Requires testing on Solaris or AIX.
  
 
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=168330 168330] SWT_AWT frame resize event not passed to the frame
 
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=168330 168330] SWT_AWT frame resize event not passed to the frame
<br>Albireo status: [[Image:Questionmark.gif]]
+
<br>Albireo status: [[Image:Ok green.gif]] Albireo notifies the AWT frame of changes in the size of the SWT Composite (through an override of the setBounds method).
  
 
==== Flickering ====
 
==== Flickering ====
  
 
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=91157 91157] embedded SWT_AWT frames flicker when the SWT window is resized
 
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=91157 91157] embedded SWT_AWT frames flicker when the SWT window is resized
<br>Albireo status: [[Image:Questionmark.gif]]
+
<br>Albireo status: [[Image:Fail.gif]] Reproducible with the Albireo <tt>TestResizeView</tt> view on Linux/gtk, JDK 1.5.
  
 
==== Focus ====
 
==== Focus ====
  
 
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=82599 82599] Tab behaves incorrectly in Swing components when using SWT_AWT bridge
 
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=82599 82599] Tab behaves incorrectly in Swing components when using SWT_AWT bridge
<br>Albireo status: [[Image:Questionmark.gif]]
+
<br>Albireo status: [[Image:Ok green.gif]] Reproducible without Albireo. Not reproducible with Albireo.
  
 
==== Dialogs ====
 
==== Dialogs ====
  
 
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=169562 169562] SWT_AWT Swing modal dialogs do not stay on top on Unix
 
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=169562 169562] SWT_AWT Swing modal dialogs do not stay on top on Unix
<br>Albireo status: [[Image:Questionmark.gif]]
+
<br>Albireo status: [[Image:Questionmark.gif]]. Not reproducible on Linux/GTK. Not tested on the other unix platforms mentioned in the bug.
  
 
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=173218 173218] [SWT_AWT] SWT needs to support ModalityListener interface
 
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=173218 173218] [SWT_AWT] SWT needs to support ModalityListener interface
<br>Albireo status: [[Image:Questionmark.gif]]
+
<br>Albireo status: [[Image:Questionmark.gif]]. We may be able to simplify our modal dialog support by using this interface, but probably only when it is available on all the platforms/JDK versions we support.
  
 
==== Drag and Drop ====
 
==== Drag and Drop ====
  
 
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=167677 167677] [DND] Problem with drop event when using SWT_AWT bridge on Solaris and Linux (GTK)
 
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=167677 167677] [DND] Problem with drop event when using SWT_AWT bridge on Solaris and Linux (GTK)
<br>Albireo status: [[Image:Questionmark.gif]]
+
<br>Albireo status: [[Image:Questionmark.gif]]. Sun bug [http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=6640765 6640765] filed.
  
 
==== Cursor ====
 
==== Cursor ====

Latest revision as of 16:57, 3 September 2008

Albireo in particular attempts to work around some SWT_AWT bugs.

Some of the bugs/problems are listed in Gordon Hirsch's article.

Others are listed in Bugzilla: The list of open SWT_AWT bugs is here. Among these, the following might fall into the scope of Albireo (if not otherwise fixed in AWT or in SWT_AWT):


All Platforms

51729 Need a good way to set the look and feel for Swing in SWT_AWT
Albireo status: Ok green.gif Fixed. Albireo includes a customizable LookAndFeelHandler class.

58308 SWT_AWT - Embedded JSplitPane resizable arrows
Albireo status: Ok green.gif Fixed. Albireo's SwingControl creates the required component hierarchy with a java.awt.Panel instance at the top.

216346 NullPointerException in Display.asyncExec
Albireo status: Ok green.gif Worked around. Albireo includes a ThreadingHandler class that has a method asyncExec that works around the problem. Also fixed in Eclipse 3.4.

66615 SWT_AWT.new_Frame occasionally hangs, and
221205 Provide asynchronous SWT_AWT API to prevent deadlocks.
Albireo status: Questionmark.gif Partially fixed on Eclipse 3.4 on the Windows platform. On Windows, the remaining problem occurs only if SWT_AWT.new_Frame is invoked during a syncExec() call.

91896 SWT_AWT: Incorrect layout of AWT frame when SWT.BORDER style is set on the Composite
Albireo status: Ok green.gif Fixed. Albireo provides an intermediate Composite if a border is requested.

60967 SWT_AWT + Swing focus problem
Albireo status: Ok green.gif Fixed. A permanent focus lost event is forced by Albireo when another component in the same shell is activated.

Windows

Methodology

70918 SWT_AWT doesn't propogate mouse events in JDK 1.3
Albireo status: Ok green.gif Fixed. Albireo's SwingControl creates the required component hierarchy with a java.awt.Panel instance at the top.

95540 Another SWT_AWT bridge problems
Albireo status: Ok green.gif Fixed. Albireo's SwingControl creates the required component hierarchy with a java.awt.Panel instance at the top.

105507 SWT_AWT.new_Frame windows in multimonitor have performance problems
Albireo status: Questionmark.gif Requires testing on a machine with two screens.

Focus

170459 SWT_AWT: Focus problem in Java 6
201988 SWT_AWT: Swing JTextPane cannot receive focus
207082 SWT_AWT.new_Frame focus events not received correctly
216431 SWT_AWT: sun.awt.EmbeddedFrame is activated incorrectly
Albireo status: Ok green.gif Worked around. See Albireo Focus Management Test Cases.

221241 getFocusControl unreliable for embedded AWT composites
Albireo status: Ok green.gif Worked around. See [1] and [2]

Cursor

199383 A "BusyIndicator" disappears over an "SWT_AWT" component.
Albireo status: Questionmark.gif

Dialogs

109403 SWT_AWT does not behave correctly with Swing or AWT modal dialogs
Albireo status: Ok green.gif Worked around. Albireo detects the opening of AWT modal dialogs and disables SWT input.

Tooltips

186857 SWT_AWT bridge problem: AWT componet tooltip doen't shown if it doesn't have focus
Albireo status: Ok green.gif Partially worked around. If using JDK1.6+, Albireo will configure the Swing UI manager to display tooltips for inactive windows.

187405 SWT_AWT Swing component tooltip stays on the primary monitor even when the shell is on the 2nd monitor
Albireo status: Questionmark.gif Requires testing on a machine with two screens.

Key Events

214503 Incorrect KeyEvents returned using SWT_AWT
Albireo status: Ok green.gif Fixed in SWT 3.4

Unix/Linux/Solaris

Fatal Bugs

126931 "Xlib: unexpected async reply" errors using SWT_AWT bridge under JDK 1.6
Albireo status: Ok green.gif Worked around: The default look&feel setting in Albireo's LookAndFeelHandler class avoids the Gtk look&feel in JDK >= 1.6. (But it does not prevent the application nor the user to set this look&feel explicitly.)

136700 Gp in Snippet156 - SWT_AWT on motif
Albireo status: Questionmark.gif Requires testing on Linux/Motif.

171432 Using SWT_AWT bridge on Linux can lead to StackOverflowError
Albireo status: Questionmark.gif

Methodology

162219 SWT_AWT does not work on Solaris GTK x86 (early access) using web start
Albireo status: Questionmark.gif Requires testing on Solaris or AIX.

168330 SWT_AWT frame resize event not passed to the frame
Albireo status: Ok green.gif Albireo notifies the AWT frame of changes in the size of the SWT Composite (through an override of the setBounds method).

Flickering

91157 embedded SWT_AWT frames flicker when the SWT window is resized
Albireo status: Fail.gif Reproducible with the Albireo TestResizeView view on Linux/gtk, JDK 1.5.

Focus

82599 Tab behaves incorrectly in Swing components when using SWT_AWT bridge
Albireo status: Ok green.gif Reproducible without Albireo. Not reproducible with Albireo.

Dialogs

169562 SWT_AWT Swing modal dialogs do not stay on top on Unix
Albireo status: Questionmark.gif. Not reproducible on Linux/GTK. Not tested on the other unix platforms mentioned in the bug.

173218 [SWT_AWT] SWT needs to support ModalityListener interface
Albireo status: Questionmark.gif. We may be able to simplify our modal dialog support by using this interface, but probably only when it is available on all the platforms/JDK versions we support.

Drag and Drop

167677 [DND] Problem with drop event when using SWT_AWT bridge on Solaris and Linux (GTK)
Albireo status: Questionmark.gif. Sun bug 6640765 filed.

Cursor

177368 Display.getCursorControl returning null for complex Xlib widget on Eclipse/Gtk. Comment #9 claims this affects SWT_AWT.
Albireo status: Questionmark.gif

MacOS X

Methodology

162035 BUTTON_2 events/ctrl-click in embedded SWT_AWT components received incorrectly
Albireo status: Questionmark.gif

Focus

146957 SWT_AWT fails to deliver events reliably on Mac OS X
Albireo status: Questionmark.gif

Mouse Events

162036 SWT_AWT interferes with native SWT mouse events
Albireo status: Questionmark.gif

162038 Embedded SWT_AWT components don't receive mouse events until they've been clicked in
Albireo status: Questionmark.gif

Dialogs

160896 SWT_AWT: second Swing subdialog does not respond to mouse clicks
Albireo status: Questionmark.gif

Back to the top