Notice: This Wiki is now read only and edits are no longer possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.
Difference between revisions of "Albireo SWT AWT bugs"
(→Methodology: remark) |
(→Drag and Drop) |
||
(14 intermediate revisions by the same user not shown) | |||
Line 24: | Line 24: | ||
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=66615 66615] SWT_AWT.new_Frame occasionally hangs, and <br> | [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. | [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. | + | <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 | [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. | <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 44: | Line 47: | ||
==== Focus ==== | ==== Focus ==== | ||
− | [https://bugs.eclipse.org/bugs/show_bug.cgi?id= | + | [https://bugs.eclipse.org/bugs/show_bug.cgi?id=170459 170459] SWT_AWT: Focus problem in Java 6<br> |
− | <br> | + | [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= | + | [https://bugs.eclipse.org/bugs/show_bug.cgi?id=216431 216431] SWT_AWT: sun.awt.EmbeddedFrame is activated incorrectly |
− | <br>Albireo status: [[Image: | + | <br>Albireo status: [[Image:Ok green.gif]] Worked around. See [[Albireo Focus Management Test Cases]]. |
[https://bugs.eclipse.org/bugs/show_bug.cgi?id=221241 221241] getFocusControl unreliable for embedded AWT composites | [https://bugs.eclipse.org/bugs/show_bug.cgi?id=221241 221241] getFocusControl unreliable for embedded AWT composites | ||
Line 61: | 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: | + | <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: | + | <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 79: | 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 90: | Line 98: | ||
[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: | + | <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 ==== | ||
Line 100: | Line 108: | ||
[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: | + | <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):
Contents
All Platforms
51729 Need a good way to set the look and feel for Swing in SWT_AWT
Albireo status: Fixed. Albireo includes a customizable LookAndFeelHandler class.
58308 SWT_AWT - Embedded JSplitPane resizable arrows
Albireo status: 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: 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: 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: Fixed. Albireo provides an intermediate Composite if a border is requested.
60967 SWT_AWT + Swing focus problem
Albireo status: 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: 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: 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: 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: Worked around. See Albireo Focus Management Test Cases.
221241 getFocusControl unreliable for embedded AWT composites
Albireo status: Worked around. See [1] and [2]
Cursor
199383 A "BusyIndicator" disappears over an "SWT_AWT" component.
Albireo status:
Dialogs
109403 SWT_AWT does not behave correctly with Swing or AWT modal dialogs
Albireo status: 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: 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: Requires testing on a machine with two screens.
Key Events
214503 Incorrect KeyEvents returned using SWT_AWT
Albireo status: 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: 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: Requires testing on Linux/Motif.
171432 Using SWT_AWT bridge on Linux can lead to StackOverflowError
Albireo status:
Methodology
162219 SWT_AWT does not work on Solaris GTK x86 (early access) using web start
Albireo status: Requires testing on Solaris or AIX.
168330 SWT_AWT frame resize event not passed to the frame
Albireo status: 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: 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: Reproducible without Albireo. Not reproducible with Albireo.
Dialogs
169562 SWT_AWT Swing modal dialogs do not stay on top on Unix
Albireo status: . 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: . 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: . 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:
MacOS X
Methodology
162035 BUTTON_2 events/ctrl-click in embedded SWT_AWT components received incorrectly
Albireo status:
Focus
146957 SWT_AWT fails to deliver events reliably on Mac OS X
Albireo status:
Mouse Events
162036 SWT_AWT interferes with native SWT mouse events
Albireo status:
162038 Embedded SWT_AWT components don't receive mouse events until they've been clicked in
Albireo status:
Dialogs
160896 SWT_AWT: second Swing subdialog does not respond to mouse clicks
Albireo status: