id
int64 1
6.5k
| bug_id
int64 2.03k
426k
| summary
stringlengths 9
251
| description
stringlengths 1
32.8k
⌀ | report_time
stringlengths 19
19
| report_timestamp
int64 1B
1.39B
| status
stringclasses 6
values | commit
stringlengths 7
9
| commit_timestamp
int64 1B
1.39B
| files
stringlengths 25
32.8k
| project_name
stringclasses 6
values |
---|---|---|---|---|---|---|---|---|---|---|
1,461 | 231,776 |
Bug 231776 [SWT Mac] Incorrect mouseExit event generated when balloon ToolTip is shown
|
Build ID: 3.4 Steps To Reproduce: 1. In SWT control's mouseHover event handler, create and show a balloon ToolTip. 2. On Mac OS X 10.5, When the ToolTip is shown, the background control will receive an extra (incorrect) mouseExit event (which is generated in Display.runEnterExit). The extra mouseExit event is not generated on Windows & Linux. 3. You can try compile and run the example. On Windows, the tooltip will show normally, but on Mac, the tooltip will disappear immediately after it is shown. 4. Also, the mouseHover interval on Mac seems much bigger than Windows, but that's another story. More information: import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; import org.eclipse.swt.events.*; import org.eclipse.swt.graphics.Point; public class TooltipTest { /** * @param args */ public static void main(String[] args) { final Display display = new Display(); final Shell main = new Shell(); main.setText("Hello"); main.setBounds(100, 100, 200, 200); main.setVisible(true); main.addMouseTrackListener(new MouseTrackListener() { private ToolTip tip = null; public void mouseEnter(MouseEvent e) { } public void mouseHover(MouseEvent e) { main.setText("mouseHover"); // Show the tooltip if (tip == null) { tip = new ToolTip(main, SWT.ICON_INFORMATION | SWT.BALLOON); tip.setMessage("Message"); tip.setVisible(true); } } public void mouseExit(MouseEvent e) { main.setText("mouseExit"); // Hide the tooltip if (tip != null) { tip.dispose(); tip = null; } } }); while (!main.isDisposed()) { display.readAndDispatch(); } } }
|
2008-05-13 06:55:49
| 1,210,680,000 |
resolved fixed
|
9220027
| 1,219,420,000 |
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/carbon/org/eclipse/swt/dnd/DropTarget.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/ToolTip.java
|
SWT
|
1,462 | 239,965 |
Bug 239965 Application menu does not share application name
|
When self hosting, the application menu in Eclipse reads "java". This SHOULD be a simple fix - I'll attach a patch that looks like it should work. But it doesn't. It doesn't work in Cocoa either so there may be some magic required to update the main menu that I'm not aware of... I cant update the name of anything that is currently visible. For instance, a simple app with an app delegate that looks like this also fails: #import "AppDelegate.h" @implementation AppDelegate -(void)applicationDidFinishLaunching:(NSNotification*)aNotification { NSMenu *menu = [[NSApplication sharedApplication] mainMenu]; NSMenuItem *appMenuItem = [menu itemAtIndex: 0]; NSString *original = [item title]; NSLog(@"old title = %@", original); [item setTitle: @"Wuggu?"]; NSString *newTitle = [item title]; NSLog(@"new title = %@", newTitle); } @end the title method on the item does return the new value but the menu is still rendered with the old title.
|
2008-07-08 09:10:17
| 1,215,520,000 |
resolved fixed
|
b4b4915
| 1,219,420,000 |
bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSString.java bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java
|
SWT
|
1,463 | 196,884 |
Bug 196884 [OpenGL] GLCanvas doesn't work on Vista
|
I've observed this on two separate machines running Vista, one with an NVIDIA GeForce 7400 and one without a graphics card at all (using an emulated opengl driver). Both machines are able to run OpenGL games just fine, so I'm fairly certain it's an SWT problem. For a snippet illustrating the bug I suggest the LWJGLExample.java which is included in your org.eclipse.swt.opengl.examples plugin. This is supposed to show an animated rotating and expanding/contracting taurus, but when I run it under Vista, at first a blank window comes up. If I resize the window I can get the taurus to appear, but it is frozen. Sometimes when I stop dragging it starts animating just fine, but after another drag it's frozen again!
|
2007-07-17 17:46:32
| 1,184,710,000 |
resolved fixed
|
44efb8e
| 1,219,340,000 |
bundles/org.eclipse.swt/Eclipse SWT OpenGL/win32/org/eclipse/swt/opengl/GLCanvas.java bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Canvas.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java
|
SWT
|
1,464 | 244,396 |
Bug 244396 [DND] Combo on Linux does not fire DragSourceEvent.
|
Build ID: I20080617-2000 Environment: - ON: Suse Linux ED10 - Eclipse 3.4GM Steps To Reproduce: 1. Run snippet code on SLED10. 2. Input some text in combo area and highlight the text. 3. Drag the text to the Text area on the right. [Result]: "dragStart" and "dragSetData" can not be triggered at all during drag process. [Expected]: "dragStart" and "dragSetData" should be triggered during drag process. More information:
|
2008-08-18 04:10:37
| 1,219,050,000 |
resolved fixed
|
498c28f
| 1,219,260,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java
|
SWT
|
1,465 | 244,234 |
Bug 244234 losing keybindings...
|
I started tracking this down this afternoon, but didn't get finished and I have to get to the airport now. 1 - start Eclipse 2 - in editor notice that ctrl-space works 3 - pretzel-tab to another application 4 - pretzel-tab back to eclipse --> ctrl-space doesn't work anymore. When you come back to eclipse, the org.eclipse.ui.window and org.eclipse.ui.dialogAndWindow contexts get removed from ContextManager. Stack to removeActiveContext call (note that I've been hacking around a lot so line number may be off): Daemon Thread [Thread-0] (Suspended (breakpoint at line 227 in ContextManager)) ContextManager.removeActiveContext(String) line: 227 ContextAuthority.updateContext(String, boolean) line: 773 ContextAuthority.deactivateContext(IContextActivation) line: 368 ContextAuthority.unregisterShell(Shell) line: 750 ContextService.unregisterShell(Shell) line: 257 WorkbenchWindow.hardClose() line: 1583 WorkbenchWindow.busyClose() line: 722 WorkbenchWindow.access$0(WorkbenchWindow) line: 698 WorkbenchWindow$3.run() line: 814 BusyIndicator.showWhile(Display, Runnable) line: 70 WorkbenchWindow.close() line: 812 WindowManager.close() line: 109 Workbench$16.run() line: 912 SafeRunner.run(ISafeRunnable) line: 37 Workbench.busyClose(boolean) line: 909 Workbench.access$15(Workbench, boolean) line: 838 Workbench$23.run() line: 1082 BusyIndicator.showWhile(Display, Runnable) line: 70 Workbench.close(int, boolean) line: 1080 Workbench.close() line: 1052 Workbench$56.handleEvent(Event) line: 2253 EventTable.sendEvent(Event) line: 84 Display.sendEvent(int, Event) line: 2830 Display.applicationDelegateProc(int, int, int) line: 3466 OS.objc_msgSend(int, int, int) line: not available [native method] NSApplication.terminate(id) line: 326 Display.applicationDelegateProc(int, int, int) line: 3453 OS.objc_msgSendSuper(objc_super, int, int) line: not available [native method] Display.applicationSendEvent(int, int, int) line: 3408 Display.applicationProc(int, int, int) line: 3419 OS.objc_msgSend(int, int, int) line: not available [native method] NSApplication.sendEvent(NSEvent) line: 253 Display.readAndDispatch() line: 2493 Workbench.runEventLoop(Window$IExceptionHandler, Display) line: 2382 Workbench.runUI() line: 2346 Workbench.access$4(Workbench) line: 2198 Workbench$5.run() line: 493 Realm.runWithDefault(Realm, Runnable) line: 288 Workbench.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 488 PlatformUI.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 149 IDEApplication.start(IApplicationContext) line: 113 EclipseAppHandle.run(Object) line: 193 EclipseAppLauncher.runApplication(Object) line: 110 EclipseAppLauncher.start(Object) line: 79 EclipseStarter.run(Object) line: 382 EclipseStarter.run(String[], Runnable) line: 179 NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method] NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39 DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25 Method.invoke(Object, Object...) line: 585 Main.invokeFramework(String[], URL[]) line: 549 Main.basicRun(String[]) line: 504 Main.run(String[]) line: 1236 Main.main(String[]) line: 1212
|
2008-08-14 16:16:02
| 1,218,740,000 |
resolved fixed
|
836e6cc
| 1,219,100,000 |
bundles/org.eclipse.swt/Eclipse SWT Browser/cocoa/org/eclipse/swt/browser/Safari.java bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSWindow.java bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java
|
SWT
|
1,466 | 244,108 |
Bug 244108 [WorkbenchLauncher] ArrayIndexOutOfBoundsException in IDEApplication.start() when launching partially branded product
|
Eclipse 3.4 If you create a product that contains a splash screen, but no window images, it will fail with: java.lang.ArrayIndexOutOfBoundsException: 0 at org.eclipse.swt.widgets.Decorations.setImages(Decorations.java:536) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:100) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504) at org.eclipse.equinox.launcher.Main.run(Main.java:1236) at org.eclipse.equinox.launcher.Main.main(Main.java:1212) To reproduce: Create a plugin Copy the Eclipse splash.bmp into the plugin Create a feature that contains said plugin In the plugin, create a product configuration. On the Overview page, create a new product and select org.eclipse.ui.ide.workbench as the application Set the configuration to be based on features On the Configuration page, add the feature created above, and org.eclipse.platform Back on the Overview page, click Launch an Eclipse application
|
2008-08-13 22:26:21
| 1,218,680,000 |
resolved fixed
|
f33c93a
| 1,218,740,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Decorations.java
|
SWT
|
1,467 | 244,072 |
Bug 244072 Tree and Table setBackground doesn't work
|
setBackground doesn't work on Tree or Table
|
2008-08-13 16:06:03
| 1,218,660,000 |
resolved fixed
|
5177de6
| 1,218,720,000 |
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Tree.java
|
SWT
|
1,468 | 243,924 |
Bug 243924 Debugger crashes on Step out.
|
Simple test case that crashes the same way: public static void main(String[] args) { try { final Display display = new Display(); final Shell shell = new Shell(display); shell.setText("Test Shell"); final Tree tree = new Tree(shell, SWT.BORDER | SWT.VIRTUAL); tree.setBounds(10, 10, 100, 200); tree.addListener(SWT.SetData, new Listener() { public void handleEvent(Event event) { TreeItem item = (TreeItem) event.item; item.setText("0x"+Integer.toHexString(event.index)); } }); shell.open(); tree.setItemCount(100); final TreeItem item = tree.getItem(0); item.setItemCount(300); item.setExpanded(true); tree.clearAll(true); item.setItemCount(2); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } catch (Throwable t) { t.printStackTrace(); } }
|
2008-08-12 14:57:56
| 1,218,570,000 |
resolved fixed
|
2741d2d
| 1,218,570,000 |
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Tree.java
|
SWT
|
1,469 | 241,062 |
Bug 241062 [consistency] Font#getFontData() not safe from non-ui thread on MacOS
|
This seems to have worked before in 3.3 and changed in 3.4. A call to Font#getFontData() from a non-ui thread results in a SWT exception. For one, the JavaDoc is not speced to throw this exception and second, it works fine on Windows and Linux. The call to Device#getDPI() from getFontData() calls checkDevice() and causes this issue.
|
2008-07-16 06:39:03
| 1,216,200,000 |
resolved fixed
|
c21fa84
| 1,218,030,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/Device.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/Font.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Device.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Font.java
|
SWT
|
1,470 | 243,012 |
Bug 243012 Password fields can be copied to the clipboard on Mac OS X
|
Build ID: I20080617-2000 Steps To Reproduce: 1. Start Eclipse 2. Open Eclipse -> Preferences 3. Navigate to General -> Network Connections 4. Enable Manual Proxy Configuration and Enable proxy authentication 5. Enter some text in the Password field 6. Select the text and press command-c to copy it 7. Paste it in the User Name field 8. Notice the password is visible in plain text More information: This seems to happen with any SWT password field.
|
2008-08-03 21:49:23
| 1,217,810,000 |
resolved fixed
|
81792a1
| 1,217,970,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Text.java
|
SWT
|
1,471 | 243,232 |
Bug 243232 Child shells don't stay above their parent
|
There is currently no parent-child relationship between shells on SWT-Cocoa. Also note that while NSWindow provides an addChild call, it causes children to move when the parent shell moves which is undesirable for SWT.
|
2008-08-05 16:21:10
| 1,217,970,000 |
resolved fixed
|
515557d
| 1,217,970,000 |
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Shell.java
|
SWT
|
1,472 | 243,037 |
Bug 243037 SWT.getPlatform() should list all valid values
| null |
2008-08-04 04:35:31
| 1,217,840,000 |
resolved fixed
|
61b97c8
| 1,217,970,000 |
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/SWT.java
|
SWT
|
1,473 | 242,603 |
Bug 242603 Solaris crash: symbol gnome_icon_theme_new: referenced symbol not found
|
Build ID: 3.4 Steps To Reproduce: 1. Fire up Eclipse on Solaris 9 2. Open preference page "File Associations" 3. Add new assoc: *.doesnotmatter 4. Associate the "Text Editor" with that new extension 5. Push the default button 6. Push the OK button : crash More information: In the shell that started Eclipse the following can be found: ld.so.1: ./eclipse: fatal: relocation error: file /tmp/helmuth/deleteme/org.eclipse.osgi/bundles/128/1/.cp/libswt-gnome-gtk-3448.so: symbol gnome_icon_theme_new: referenced symbol not found [1] Killed ./eclipse -configuration /tmp/helmuth/deleteme -data /tmp/helmuth/deleteme More info: gtk version: [97 helmuth@szg-anar 3.4/SunOS]# pkginfo -l SUNWgnome-base-libs PKGINST: SUNWgnome-base-libs NAME: GNOME base GUI libraries - platform dependent files, /usr filesystem CATEGORY: GNOME2,application ARCH: sparc VERSION: 2.0.2,REV=9.4.2003.05.14.06.42 BASEDIR: /usr VENDOR: Sun Microsystems, Inc. DESC: GNOME base GUI libraries - platform dependent files, /usr filesystem PSTAMP: gnome2-20030514 INSTDATE: Sep 15 2004 20:42 HOTLINE: Please contact your local service provider STATUS: completely installed FILES: 87 installed pathnames 4 shared pathnames 9 directories 51 executables 12109 blocks used (approx)
|
2008-07-30 13:34:39
| 1,217,440,000 |
resolved fixed
|
b0eddb1
| 1,217,950,000 |
bundles/org.eclipse.swt/Eclipse SWT Program/gtk/org/eclipse/swt/program/Program.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java
|
SWT
|
1,474 | 210,441 |
Bug 210441 setBackground/setBackgroundImage not implemented.
|
Neither of these are implemented. This should be pretty easy using Core Animation layers. I'll take a kick at this if you're not interested.
|
2007-11-20 14:48:29
| 1,195,590,000 |
resolved fixed
|
1b86173
| 1,217,530,000 |
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Control.java
|
SWT
|
1,475 | 242,484 |
Bug 242484 org.eclipse.swt.graphics.Rectangle.contains(int, int) returns incorrect results
|
The implementation of Rectangle.contains(int, int) does not account for possible overflow or underflow and can return incorrect results if it occurs. Here is an example that shows SWT's Rectangle.contains(int, int) incorrectly returning true. It also shows AWT's and draw2d's implementations returning the correct value (false): public class Rectmangler { public static void main(String[] args) { int x = 800; int y = Integer.MAX_VALUE; org.eclipse.swt.graphics.Rectangle swt = new org.eclipse.swt.graphics.Rectangle(0, -1024, 1280, 1024); System.out.printf("SWT says %s\n", swt.contains(x, y)); java.awt.Rectangle awt = new java.awt.Rectangle(0, -1024, 1280, 1024); System.out.printf("AWT says %s\n", awt.contains(x, y)); org.eclipse.draw2d.geometry.Rectangle draw2d = new org.eclipse.draw2d.geometry.Rectangle(0, -1024, 1280, 1024); System.out.printf("draw2d says %s\n", draw2d.contains(x, y)); } } When I run this I get: SWT says true AWT says false draw2d says false
|
2008-07-29 19:53:30
| 1,217,380,000 |
resolved fixed
|
50b5846
| 1,217,520,000 |
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/Rectangle.java
|
SWT
|
1,476 | 242,263 |
Bug 242263 Problems with read-only text boxes on Linux
|
I have some UI in the WTP project where I am attempting to follow the Eclipse accessibility guidelines by turning free-standing labels into border-less read-only text boxes so that screen readers can get at them. The text boxes are located in a tab panel. This works fine on WinXP and Vista. The text box background is truly transparent. On WinXP the gradient on the tab panel comes through correctly. However, on Linux the text box background is white while tab panel is gray. I tried setting the text box background explicitly to SWT.COLOR_WIDGET_BACKGROUND, which makes the UI render correctly on Linux (at least in my setup), but of course breaks WinXP. Is this a bug in SWT Linux implementation? If not, is my only option to include OS-specific code branches in my UI code?
|
2008-07-28 11:48:29
| 1,217,260,000 |
resolved fixed
|
51bddbd
| 1,217,440,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Text.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java
|
SWT
|
1,477 | 242,414 |
Bug 242414 AntiAlias does not work in TextLayout
|
Build ID: M20070921-1145 Steps To Reproduce: 1. Run the code snippet below: 2. Four pieces of text are displayed, the first thre (using TextLayout) are not antiAliased More information: import org.eclipse.swt.SWT; import org.eclipse.swt.events.PaintEvent; import org.eclipse.swt.events.PaintListener; import org.eclipse.swt.graphics.Color; import org.eclipse.swt.graphics.Font; import org.eclipse.swt.graphics.FontData; import org.eclipse.swt.graphics.GC; import org.eclipse.swt.graphics.Image; import org.eclipse.swt.graphics.Rectangle; import org.eclipse.swt.graphics.TextLayout; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.widgets.Canvas; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; public class TextLayoutTest_System { final static String longString = "A string that is too long should be wrapped, but it would be nice to be Anti aliased."; public static void main(String[] args) { final Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); final Canvas canvas = new Canvas(shell, SWT.NO_BACKGROUND); FontData fd = new FontData("Verdana", 12, SWT.NORMAL); final Font ourFont = new Font(null, fd); final Color itemBackground = new Color(null, 156, 202, 248); final Color itemForeground = new Color(null, 56, 104, 152); final TextLayout layout = new TextLayout(canvas.getDisplay()); layout.setText(longString); layout.setFont(ourFont); canvas.addPaintListener(new PaintListener() { public void paintControl(PaintEvent e) { Rectangle client = canvas.getClientArea(); layout.setWidth(client.width); // Option A - Top Quarter of Screen == Off Screen Bitmap Rectangle rectOptionA = new Rectangle(0, 0, client.width, client.height/4); Image imgOptionA = new Image(canvas.getDisplay(), rectOptionA); GC gcOptionA = new GC(imgOptionA); gcOptionA.setAdvanced(true); gcOptionA.setAdvanced(true); gcOptionA.setTextAntialias(SWT.ON); gcOptionA.setAntialias(SWT.ON); gcOptionA.setInterpolation(SWT.HIGH); gcOptionA.setBackground(itemBackground); gcOptionA.setForeground(itemForeground); gcOptionA.fillRectangle(rectOptionA); gcOptionA.setFont(ourFont); layout.draw(gcOptionA, rectOptionA.x, rectOptionA.y); e.gc.drawImage(imgOptionA, rectOptionA.x, rectOptionA.y); gcOptionA.dispose(); // Option B - Middle (Top) Quarter of Screen == Event GC Rectangle rectOptionB = new Rectangle(client.x, client.y + client.height/4, client.width, client.height/4); GC gcOptionB = e.gc; gcOptionB.setAdvanced(true); gcOptionB.setAdvanced(true); gcOptionB.setTextAntialias(SWT.ON); gcOptionB.setAntialias(SWT.ON); gcOptionB.setInterpolation(SWT.HIGH); gcOptionB.setBackground(itemBackground); gcOptionB.setForeground(itemForeground); gcOptionB.fillRectangle(rectOptionB); gcOptionB.setFont(ourFont); layout.draw(gcOptionB, rectOptionB.x, rectOptionB.y); // Option C - Middle (Bottom) Quartyer of Screen == Canvas GC Rectangle rectOptionC = new Rectangle(client.x, client.y + 2 * client.height/4, client.width, client.height/4); GC gcOptionC = new GC(canvas); gcOptionC.setAdvanced(true); gcOptionC.setAdvanced(true); gcOptionC.setTextAntialias(SWT.ON); gcOptionC.setAntialias(SWT.ON); gcOptionC.setInterpolation(SWT.HIGH); gcOptionC.setBackground(itemBackground); gcOptionC.setForeground(itemForeground); gcOptionC.fillRectangle(rectOptionC); gcOptionC.setFont(ourFont); layout.draw(gcOptionC, rectOptionC.x, rectOptionC.y); gcOptionC.dispose(); // Option D - Bottom Quarter of Screen == Off Screen Bitmap --> This IS Antialiased, but not wrapped Rectangle rectOptionD = new Rectangle(0, 0, client.width, client.height/4); Image imgOptionD = new Image(canvas.getDisplay(), rectOptionD); GC gcOptionD = new GC(imgOptionD); gcOptionD.setAdvanced(true); gcOptionD.setAdvanced(true); gcOptionD.setTextAntialias(SWT.ON); gcOptionD.setAntialias(SWT.ON); gcOptionD.setInterpolation(SWT.HIGH); gcOptionD.setBackground(itemBackground); gcOptionD.setForeground(itemForeground); gcOptionD.fillRectangle(rectOptionD); gcOptionD.setFont(ourFont); gcOptionD.drawString("This text is AntiAliased, but not Wrapped", rectOptionD.x, rectOptionD.y, true); e.gc.drawImage(imgOptionD, client.x, client.y + 3 * client.height/4); gcOptionA.dispose(); } }); shell.setSize(100, 600); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); ourFont.dispose(); itemBackground.dispose(); itemForeground.dispose(); layout.dispose(); } }
|
2008-07-29 12:19:11
| 1,217,350,000 |
resolved fixed
|
4f652c6
| 1,217,430,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java
|
SWT
|
1,478 | 97,496 |
Bug 97496 Table: setBackground is not deferred by setRedraw(false)
|
3.1RC1 - run the snippet at the bottom - click on the shell and Table.setRedraw(false) is invoked - click on the shell again and Table.setBackground(green) is invoked. This clears the entire table, including the header, to green. It seems like this should do nothing because of the previous setRedraw(false) - click on the shell again and Table.setRedraw(true) is invoked: now the header and table contents reappear public class Main { static int counter = 0; public static void main(String[] args) { final Display display = new Display(); final Shell shell = new Shell(display); shell.setBounds(10,10,300,300); final Table table = new Table(shell, SWT.NONE); table.setBounds(10,10,200,200); table.setHeaderVisible(true); table.setLinesVisible(true); new TableItem(table, SWT.NONE).setText("abc"); shell.addListener(SWT.MouseDown, new Listener() { public void handleEvent(Event event) { if (counter == 0) { System.out.println("setRedraw(false)"); table.setRedraw(false); counter++; return; } if (counter == 1) { System.out.println("setBackground(green): everything disappears"); table.setBackground(display.getSystemColor (SWT.COLOR_GREEN)); counter++; return; } if (counter == 2) { System.out.println("setRedraw(true), everything reappears"); table.setRedraw(true); counter++; return; } System.out.println("nothing left to do"); } }); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } }
|
2005-05-31 10:42:17
| 1,117,550,000 |
resolved fixed
|
d8985a1
| 1,217,360,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/List.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java
|
SWT
|
1,479 | 241,671 |
Bug 241671 Mouse cursor disappears in editor and gets progressively slower coming back
|
Build ID: 3.4.0 (I20080617-2000) Steps To Reproduce: It is standard behavior on OS X that the mouse cursor disappears while typing. However, after using Eclipse for a little while (in this case it was an hour that I started noticing it), the mouse cursor does not immediately reappear on mouse move, but takes about a second or so to come back. This can be really disconcerting. I have verification of this behavior from two other people, as well. More information: Incidentally, I was afraid this might be related to my Mac refresh provider causing slowdowns in the kernel, so I pulled it out just in case, and I get the same behavior.
|
2008-07-22 10:22:39
| 1,216,740,000 |
resolved fixed
|
5664dff
| 1,217,340,000 |
bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/OS.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Canvas.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Display.java
|
SWT
|
1,480 | 242,003 |
Bug 242003 Image buffer is allocated twice unnecessarily
|
- happens on all platforms except win32 - Image buffer gets allocated twice unnecessarily: Image.getImageData() { if (isDisposed()) SWT.error(SWT.ERROR_GRAPHIC_DISPOSED); int width = OS.CGImageGetWidth(handle); int height = OS.CGImageGetHeight(handle); int bpr = OS.CGImageGetBytesPerRow(handle); int bpp = OS.CGImageGetBitsPerPixel(handle); int dataSize = height * bpr; byte[] srcData = new byte[dataSize]; OS.memmove(srcData, data, dataSize); PaletteData palette = new PaletteData(0xFF0000, 0xFF00, 0xFF); ImageData data = new ImageData(width, height, bpp, palette); data.data = srcData; .... } new ImageData(width, height, bpp, palette) { ... ImageData(...) .... setAllFields( ..... data != null ? data : new byte[bytesPerLine * height], ..... ); } }
|
2008-07-24 13:23:06
| 1,216,920,000 |
resolved fixed
|
0658222
| 1,217,280,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/Image.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Image.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Image.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/Image.java
|
SWT
|
1,481 | 232,688 |
Bug 232688 Shell.setActive() is not implemented
| null |
2008-05-18 04:00:16
| 1,211,100,000 |
resolved fixed
|
8435be4
| 1,217,260,000 |
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Shell.java
|
SWT
|
1,482 | 241,443 |
Bug 241443 [Button] Paint event missed on traversal
| null |
2008-07-18 17:22:32
| 1,216,420,000 |
resolved fixed
|
1501c9b
| 1,216,940,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Button.java
|
SWT
|
1,483 | 242,030 |
Bug 242030 Filter in SWT.Paint event not delivered for table, tree and composite
|
I observed this while debugging something else. Test code to follow.
|
2008-07-24 16:51:05
| 1,216,930,000 |
resolved fixed
|
0aad010
| 1,216,940,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Composite.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
|
SWT
|
1,484 | 241,144 |
Bug 241144 SWT deletes libswt-cairo-motif if libcairo isn't found
|
Build ID: M20080221-1800 Steps To Reproduce: 1. Compile all the SWT libraries, including libswt-cairo-motif (which requires libcairo to be present) 2. Remove libcairo or make sure your SWT run won't find it. 3. Run a snippet like Snippet10 which will fail with an error because it can't find libcairo. Make sure it is using the new SWT libraries (-Dswt.library.path should be set). 4. Notice that it deleted the libswt-cairo-motif library you built earlier. More information: Although I've seen this problem on AIX with Motif, it may affect other platforms as well.
|
2008-07-16 15:30:36
| 1,216,240,000 |
resolved fixed
|
e70f7d5
| 1,216,830,000 |
bundles/org.eclipse.swt/Eclipse SWT PI/common_j2se/org/eclipse/swt/internal/Library.java
|
SWT
|
1,485 | 236,724 |
Bug 236724 [Browser] Eclipse causes JVM crash in libxul when editing Java
| null |
2008-06-11 16:04:35
| 1,213,210,000 |
resolved fixed
|
282f74d
| 1,216,760,000 |
bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/Mozilla.java
|
SWT
|
1,486 | 240,817 |
Bug 240817 SWT Tree: in 3.4, DragSourceEvent gives higher x-coordinate than in 3.3
| null |
2008-07-15 08:32:46
| 1,216,130,000 |
resolved fixed
|
d9d246e
| 1,216,750,000 |
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DNDEvent.java bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DragSourceEvent.java bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/DragSource.java bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/TableDragSourceEffect.java bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/TreeDragSourceEffect.java
|
SWT
|
1,487 | 241,720 |
Bug 241720 Padding wrong when vertical lines displayed in Tree and Table
|
Using GTK 2.12, setLinesVisible () will now display vertical lines. The padding for the text in each column needs to be adjusted to compensate for the new lines.
|
2008-07-22 13:55:53
| 1,216,750,000 |
resolved fixed
|
ec148bf
| 1,216,750,000 |
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java
|
SWT
|
1,488 | 241,380 |
Bug 241380 Ctrl+N doesn't work in the internal browser view
|
Build ID: I20080617-2000 Steps To Reproduce: 1. Open the internal Web Browser View 2. Open google.com 3. Press CTRL+N: nothing happens. In Eclipse 3.3 ( I20070621-1340) the New-Wizard was opened. I expect the same behaviour in 3.4 More information:
|
2008-07-18 07:42:01
| 1,216,380,000 |
resolved fixed
|
6c4ffa7
| 1,216,670,000 |
bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/WebSite.java
|
SWT
|
1,489 | 241,490 |
Bug 241490 GC.setAlpha() / GC.getAlpha() does not work properly on Linux
| null |
2008-07-21 02:01:49
| 1,216,620,000 |
resolved fixed
|
a3cc51f
| 1,216,660,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/GC.java
|
SWT
|
1,490 | 240,190 |
Bug 240190 OSX: TabFolder Images not shown if setImage before setText or setControl
| null |
2008-07-09 11:32:55
| 1,215,620,000 |
resolved fixed
|
850349f
| 1,216,300,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/TabItem.java
|
SWT
|
1,491 | 84,552 |
Bug 84552 The image of a checked action in a menu of a pulldown action is not displayed
|
When one checks the action in a menu of a pulldown action, the image of the action is not displayed under Linux GTK whereas under Windows the image is displayed
|
2005-02-07 06:12:52
| 1,107,770,000 |
resolved fixed
|
2f33060
| 1,215,640,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/MenuItem.java
|
SWT
|
1,492 | 239,482 |
Bug 239482 SWT.VIRTUAL Table Freezes under 3.4 when dragging (DND)
| null |
2008-07-03 12:34:45
| 1,215,100,000 |
resolved fixed
|
f623b20
| 1,215,630,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java
|
SWT
|
1,493 | 211,536 |
Bug 211536 RTFTransfer not implemented; code demonstrating NSPasteboard attached
|
The org.eclipse.swt.dnd.RTFTransfer isn't implemented
|
2007-11-29 20:27:12
| 1,196,390,000 |
resolved fixed
|
4dbd09d
| 1,215,630,000 |
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/cocoa/org/eclipse/swt/dnd/ByteArrayTransfer.java bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/cocoa/org/eclipse/swt/dnd/Clipboard.java bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/cocoa/org/eclipse/swt/dnd/DragSource.java bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/cocoa/org/eclipse/swt/dnd/DropTarget.java bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/cocoa/org/eclipse/swt/dnd/FileTransfer.java bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/cocoa/org/eclipse/swt/dnd/HTMLTransfer.java bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/cocoa/org/eclipse/swt/dnd/ImageTransfer.java bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/cocoa/org/eclipse/swt/dnd/RTFTransfer.java bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/cocoa/org/eclipse/swt/dnd/TableDropTargetEffect.java bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/cocoa/org/eclipse/swt/dnd/TextTransfer.java bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/cocoa/org/eclipse/swt/dnd/Transfer.java bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/cocoa/org/eclipse/swt/dnd/TransferData.java bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/cocoa/org/eclipse/swt/dnd/TreeDropTargetEffect.java bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/cocoa/org/eclipse/swt/dnd/URLTransfer.java bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSArray.java bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSData.java bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableArray.java bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Image.java
|
SWT
|
1,494 | 236,634 |
Bug 236634 Cannot dismiss attribute type combo
|
Open the schema editor on UI schema ... org.eclipse.ui/schema/menus.exsd Select an attribute and try and change the type. The type changes (and the section fields get updated) but the combo box won't go away, and continues to push changes to the attribute section. I tried the combos in the PDE editor and they did not exhibit the same problem. PW
|
2008-06-11 10:12:03
| 1,213,190,000 |
resolved fixed
|
840ffc9
| 1,215,540,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java
|
SWT
|
1,495 | 86,745 |
Bug 86745 Tree shows horizontal scrollbar although not required
| null |
2005-02-26 06:56:38
| 1,109,420,000 |
resolved fixed
|
9901dd4
| 1,215,440,000 |
bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/OS.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/List.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Tree.java
|
SWT
|
1,496 | 239,231 |
Bug 239231 Text.getCaretLineNumber() differs between Windows and Linux
|
Build ID: M20080221-1800 Steps To Reproduce: 1. Run attached test case on linux (I used redhat linux 5) 2. Click in text box - label displays "Caret line number is: 1" 3. Run same test case on windows: Label displays "Caret line number is: 0" More information: I would expect the line number to be 0 in both cases (as most positioning in Java is 0 based).
|
2008-07-02 08:26:00
| 1,215,000,000 |
resolved fixed
|
5976441
| 1,215,120,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java
|
SWT
|
1,497 | 236,312 |
Bug 236312 GTK Assertion for gdk_window_get_user_data
| null |
2008-06-09 16:25:15
| 1,213,040,000 |
resolved fixed
|
fc78f2f
| 1,215,120,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java
|
SWT
|
1,498 | 239,220 |
Bug 239220 Text.getText() returns empty string after calling setText() with non-empty string
|
Here is the (new as of June 23rd) code for Text on Carbon: public String getText () { checkWidget(); if (txnObject == 0) { return new String (getEditText (0, -1)); } else { return getTXNText (OS.kTXNStartOffset, OS.kTXNEndOffset); } } char [] getEditText (int start, int end) { int [] ptr = new int [1]; int [] actualSize = new int [1]; int result = OS.GetControlData (handle, (short)OS.kControlEntireControl, OS.kControlEditTextCFStringTag, 4, ptr, actualSize); if (result != OS.noErr) return new char [0]; int length = OS.CFStringGetLength (ptr [0]); end = Math.min (end, length - 1); if (start > end) return new char [0]; // method continues ... If txnObject == 0, getText() calls getEditText(0, -1) which returns an empty result if start > end. But start is 0 and end is -1, hence 0 > -1 is true, which cannot be right. This has caused the Mac-specific data binding test failures over the last couple of days, and also may have caused the other UI test failures on the Mac.
|
2008-07-02 07:30:29
| 1,215,000,000 |
resolved fixed
|
d2c1767
| 1,215,100,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Text.java tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Text.java
|
SWT
|
1,499 | 211,202 |
Bug 211202 StyledText#setSelection() does not reveal caret with non-zero selection
| null |
2007-11-28 07:08:08
| 1,196,250,000 |
resolved fixed
|
fc0ac2f
| 1,215,020,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
|
SWT
|
1,500 | 238,847 |
Bug 238847 Improve performance of shell creation on GTK
|
We have a benchmark that did "new Shell()" that was slower on GTK than Windows. Here is how we fixed it: Shell creation on a single monitor system takes longer then it needs to. It calls gdk_screen_get_monitor_at_window() when there is only ever one monitor possible. We optimized this case.
|
2008-06-27 16:49:43
| 1,214,600,000 |
resolved fixed
|
36bf32c
| 1,214,600,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java
|
SWT
|
1,501 | 233,261 |
Bug 233261 dialog window distorted after going out of "Not responding" state
| null |
2008-05-21 11:44:37
| 1,211,380,000 |
resolved fixed
|
5124c10
| 1,214,580,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Decorations.java
|
SWT
|
1,502 | 226,369 |
Bug 226369 [Browser] Provide a way to know which rendering is used
|
Build ID: 3.4M6 We pilot the browser with Javascript so we need to know the rendering to take the differences into account. We can achieve this distinction with a mix of SWT.getPlatform() and browser.getStyle(). However, it would be much better to have a clear way to know the rendering, something like "Browser.getBrowserType()" which would return SWT.IE, SWT.MOZILLA, SWT.SAFARI, etc.
|
2008-04-09 16:42:56
| 1,207,770,000 |
resolved fixed
|
2b38142
| 1,214,500,000 |
bundles/org.eclipse.swt/Eclipse SWT Browser/carbon/org/eclipse/swt/browser/Safari.java bundles/org.eclipse.swt/Eclipse SWT Browser/cocoa/org/eclipse/swt/browser/Safari.java bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/Browser.java bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/WebBrowser.java bundles/org.eclipse.swt/Eclipse SWT Browser/forms/org/eclipse/swt/browser/IE.java bundles/org.eclipse.swt/Eclipse SWT Browser/photon/org/eclipse/swt/browser/Voyager.java bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/IE.java bundles/org.eclipse.swt/Eclipse SWT Browser/wpf/org/eclipse/swt/browser/IE.java bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/Mozilla.java
|
SWT
|
1,503 | 211,363 |
Bug 211363 Weird resize behaviour in paint example
|
Run paint example Resize window a little -> paint area disappears completely, never to come back again
|
2007-11-28 19:33:53
| 1,196,300,000 |
resolved fixed
|
3f452be
| 1,214,330,000 |
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Scale.java
|
SWT
|
1,504 | 238,149 |
Bug 238149 Rollover tooltip for owner-drawn tree should be hidden when tree view changes
| null |
2008-06-23 12:35:48
| 1,214,240,000 |
resolved fixed
|
1975293
| 1,214,260,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
|
SWT
|
1,505 | 127,971 |
Bug 127971 Cannot remove caret in FocusOut handler
|
SWT-win32, v3224 - Run the test case below - The canvas on the left will initially have focus - Click on the button to make the canvas lose focus - Even though the caret is removed in the focus lost handler, it won't go away Note: I am aware that a caret will automatically be hidden on focus lost; The snippet below intentionally tries to completely remove it. --- import org.eclipse.swt.*; import org.eclipse.swt.layout.*; import org.eclipse.swt.widgets.*; public class CaretTest { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); final Canvas canvas = new Canvas(shell, SWT.NONE); final Caret caret = new Caret(canvas, SWT.NONE); caret.setBounds(32, 32, 1, 16); canvas.addListener(SWT.KeyDown, new Listener() { public void handleEvent(Event e) { } }); canvas.addListener(SWT.FocusOut, new Listener() { public void handleEvent(Event e) { System.out.println("Canvas has lost focus"); canvas.setCaret(null); caret.dispose(); } }); new Button(shell, SWT.PUSH).setText("Button"); shell.setSize(200, 150); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } }
|
2006-02-15 01:10:28
| 1,139,980,000 |
resolved fixed
|
cc93598
| 1,214,000,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Canvas.java
|
SWT
|
1,506 | 237,986 |
Bug 237986 XULRunner 1.9 sometimes crashes at shutdown
|
- only observed with XULRunner 1.9 on Windows - run snippet128, click around in the Browser, and close the Shell - this sometimes crashes, but does not produce an hs_err_* file
|
2008-06-20 16:04:58
| 1,213,990,000 |
resolved fixed
|
e499c52
| 1,213,990,000 |
bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/Mozilla.java
|
SWT
|
1,507 | 125,499 |
Bug 125499 Pixel corruption when setSelection() called from within SWT.SetData
|
Using I20060125-0800, while debugging, I sometimes get an erratic behavior when scrolling in debug or variable view. The labels in the view are incomplete on the first letter and the scrolling doesn't work. As soon as I released the mouse or stop using the rolling button on the mouse, the view jumps at the previous location. It is difficult to explain what happens exactly. I also don't have reproducable steps. It happens in an erratic and unpredicatable way. I didn't get this behavior with previous integration builds.
|
2006-01-27 11:26:56
| 1,138,380,000 |
resolved fixed
|
3c09346
| 1,213,820,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
|
SWT
|
1,508 | 54,525 |
Bug 54525 Radio group gets traversed (gets focus) when not visible
|
When you traverse controls with TAB, controls that are not visible do not get focus. This is great because I use custom controls that can collapse and I don't want their children to be traversed then. Unfortunately, this doesn't work for radio groups, which still get focus. Below is a snippet that shows the problem. Use the toggle button to show / hide some of the controls by collapsing their parent composite. When all the controls are visible, they're traversed in the following order: Button 1, Radio 1, Button 2, Button 3. However, when only Button 1 and Button 3 are visible, the order is: Button 1, Radio 1, Button 3 (Radio 1 shouldn't be traversed, Button 2 is not). I've found out that this is the Control.isShowing() method that checks whether the control is visible. This however is referenced only in Control.setTabItemFocus(), and that is always called from Control.setTabGroupFocus() BUT not always from Composite.setTabGroupFocus(). So maybe Button.setRadioFocus() should call Control.isShowing(). import org.eclipse.swt.SWT; import org.eclipse.swt.events.*; import org.eclipse.swt.graphics.Rectangle; import org.eclipse.swt.layout.*; import org.eclipse.swt.widgets.*; public class Main { private static DisapperingComposite dComposite; public static void main(String[] args) { final Display display = Display.getDefault(); final Shell shell = new Shell(SWT.DIALOG_TRIM); shell.setLayout(new GridLayout(3, false)); GridData gridData = new GridData(GridData.FILL_BOTH); gridData.horizontalSpan = 3; final Button button = new Button(shell, SWT.TOGGLE); button.setLayoutData(gridData); button.setSelection(true); button.setText("Show / Hide"); button.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { if (((Button) e.widget).getSelection()) { dComposite.appear(); } else { dComposite.disappear(); } } }); final Button button1 = new Button(shell, SWT.NONE); button1.setText("Button 1"); button1.addFocusListener(new FocusAdapter() { public void focusGained(FocusEvent e) { System.out.println("Button 1 gains focus"); } }); dComposite = new DisapperingComposite(shell, SWT.BORDER); dComposite.setLayout(new RowLayout()); final Button radio1 = new Button(dComposite, SWT.RADIO); radio1.setText("Radio 1"); radio1.addFocusListener(new FocusAdapter() { public void focusGained(FocusEvent e) { System.out.println("Radio 1 gains focus"); } }); final Button button2 = new Button(dComposite, SWT.NONE); button2.setText("Button 2"); button2.addFocusListener(new FocusAdapter() { public void focusGained(FocusEvent e) { System.out.println("Button 2 gains focus"); } }); final Button radio2 = new Button(dComposite, SWT.RADIO); radio2.setText("Radio 2"); radio2.addFocusListener(new FocusAdapter() { public void focusGained(FocusEvent e) { System.out.println("Radio 2 gains focus"); } }); final Button button3 = new Button(shell, SWT.NONE); button3.setText("Button 3"); button3.addFocusListener(new FocusAdapter() { public void focusGained(FocusEvent e) { System.out.println("Button 3 gains focus"); } }); shell.pack(); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } } display.dispose(); } } class DisapperingComposite extends Composite { private boolean visible = true; public DisapperingComposite(Composite parent, int style) { super(parent, style); } public void appear() { visible = true; getParent().pack(); } public void disappear() { visible = false; getParent().pack(); } public Rectangle computeTrim(int x, int y, int width, int height) { if (visible) return super.computeTrim(x, y, width, height); else return new Rectangle(x, y, 0, 0); } }
|
2004-03-11 15:08:35
| 1,079,040,000 |
resolved fixed
|
6cb5941
| 1,213,820,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Button.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Composite.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java
|
SWT
|
1,509 | 236,937 |
Bug 236937 Composite sending incorrect Move events
| null |
2008-06-12 13:44:18
| 1,213,290,000 |
resolved fixed
|
f726f3b
| 1,213,820,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Composite.java
|
SWT
|
1,510 | 226,090 |
Bug 226090 Clarify/improve TextLayout.setText(String)
|
3.4 M6. TextLayout.setText(String) has two undocumented side effects: 1. if the new string is not the same as the old one it sets the text *and* it resets all the style information 2. if the new string is the same it does nothing Currently - as there is no reset[Styles]() method clients have to read the code and then do the following to reset their text layout in order to reuse it: textLayout.setText(""); // ensure styles get cleared textLayout.setText(realText); A good fix for me would be: 1. document that setText also clears the style information 2. always clear the style information. I guess that is what clients would expect
|
2008-04-08 04:12:59
| 1,207,640,000 |
resolved fixed
|
bbcbb07
| 1,213,820,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java
|
SWT
|
1,511 | 237,138 |
Bug 237138 StyledText blank in Linux RedHat
| null |
2008-06-13 14:43:20
| 1,213,380,000 |
resolved fixed
|
5a6cf47
| 1,213,820,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
|
SWT
|
1,512 | 237,675 |
Bug 237675 Giving focus to other control during FocusIn doesn't reassign the Caret
|
Build 3.4 RC4 Run the snippet and type something. -> the chars are insert in the text control but the caret is over the canvas - and moves along as chars are insert/delete.
|
2008-06-18 14:14:40
| 1,213,810,000 |
resolved fixed
|
de21f7f
| 1,213,820,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Canvas.java
|
SWT
|
1,513 | 236,689 |
Bug 236689 [Browser] KeyDown/KeyUp events have wrong character for Delete key
|
- happens with IE and Safari, works with Mozilla
|
2008-06-11 13:37:36
| 1,213,210,000 |
resolved fixed
|
6690d67
| 1,213,810,000 |
bundles/org.eclipse.swt/Eclipse SWT Browser/carbon/org/eclipse/swt/browser/Safari.java bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/IE.java
|
SWT
|
1,514 | 236,524 |
Bug 236524 [Help browser] Search does not start on pressing <Enter>
|
Eclipse 3.4 RC3 Here. the help search does not start anymore in the help browser when entering a search term in the search box on top and hitting <Enter>.
|
2008-06-10 17:55:33
| 1,213,130,000 |
verified fixed
|
e7e4bd6
| 1,213,810,000 |
bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/WebSite.java
|
SWT
|
1,515 | 237,432 |
Bug 237432 [64] Add External JARs in Java Build Path fails consistently
|
Build ID: I20080609-1311 Steps To Reproduce: 1. Create a new Workspace 2. Create a Java Project 3. Go to Properties | Build Path and try to add an external jar. 4. Nothing happens, but an exception is logged in the Error Log. More information: Note: 64-bit build and 64-bit W2K3 OS. And I have removed that p2 package. eclipse.buildId=I20080207-1530 java.version=1.6.0_03 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=sv_SE Command-line arguments: -os win32 -ws win32 -arch x86_64 Error Tue Jun 17 09:30:33 CEST 2008 Unhandled event loop exception java.lang.NoSuchMethodError: OFNHookProc at org.eclipse.swt.internal.Callback.bind(Native Method) at org.eclipse.swt.internal.Callback.<init>(Callback.java:117) at org.eclipse.swt.internal.Callback.<init>(Callback.java:72) at org.eclipse.swt.internal.Callback.<init>(Callback.java:54) at org.eclipse.swt.widgets.FileDialog.open(FileDialog.java:334) at org.eclipse.jdt.ui.wizards.BuildPathDialogAccess.chooseExternalJAREntries(BuildPathDialogAccess.java:437) at org.eclipse.jdt.internal.ui.wizards.buildpaths.LibrariesWorkbookPage.openExtJarFileDialog(LibrariesWorkbookPage.java:783) at org.eclipse.jdt.internal.ui.wizards.buildpaths.LibrariesWorkbookPage.libaryPageCustomButtonPressed(LibrariesWorkbookPage.java:255) at org.eclipse.jdt.internal.ui.wizards.buildpaths.LibrariesWorkbookPage.access$0(LibrariesWorkbookPage.java:248) at org.eclipse.jdt.internal.ui.wizards.buildpaths.LibrariesWorkbookPage$LibrariesAdapter.customButtonPressed(LibrariesWorkbookPage.java:197) at org.eclipse.jdt.internal.ui.wizards.dialogfields.TreeListDialogField.buttonPressed(TreeListDialogField.java:168) at org.eclipse.jdt.internal.ui.wizards.dialogfields.TreeListDialogField.doButtonSelected(TreeListDialogField.java:386) at org.eclipse.jdt.internal.ui.wizards.dialogfields.TreeListDialogField.access$2(TreeListDialogField.java:382) at org.eclipse.jdt.internal.ui.wizards.dialogfields.TreeListDialogField$2.widgetSelected(TreeListDialogField.java:347) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at org.eclipse.ui.dialogs.PropertyDialogAction.run(PropertyDialogAction.java:157) at org.eclipse.jface.action.Action.runWithEvent(Action.java:498) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504) at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
|
2008-06-17 03:35:04
| 1,213,690,000 |
resolved fixed
|
1802dd1
| 1,213,730,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/FileDialog.java
|
SWT
|
1,516 | 225,265 |
Bug 225265 Cannot invoke a contextual menu from a perspective button.
|
Attempting to invoke a contextual menu from a perspective button in order to reset/customize/close/etc. the perspective has no effect.
|
2008-04-02 03:44:43
| 1,207,120,000 |
resolved fixed
|
0d62abd
| 1,213,390,000 |
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/ToolItem.java
|
SWT
|
1,517 | 230,120 |
Bug 230120 Mouse scrolling support in Cocoa applications
| null |
2008-05-04 09:33:23
| 1,209,910,000 |
resolved fixed
|
0479445
| 1,213,390,000 |
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Composite.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Scrollable.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Widget.java
|
SWT
|
1,518 | 230,118 |
Bug 230118 Typing in StyledText is accompanied with the error bell (Cocoa)
|
StyledText on Cocoa isn't usable since on every key press the error bell is played. After short debugging I had found that keyboard events sent to all Canvas-based controls are forwarded to NSWindow via super.windowSendEvent(id, event) call. NSView which is a base for Canvas doesn't handle them so the system plays the error bell. The attached patch solves this problem by overriding sendKeyEvent(NSEvent nsEvent, int type) method in the Canvas class and making it return "false", what blocks further processing of the event.
|
2008-05-04 09:12:41
| 1,209,910,000 |
resolved fixed
|
f820540
| 1,213,380,000 |
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Widget.java
|
SWT
|
1,519 | 237,106 |
Bug 237106 Composites with GridLayouts don't lay out
|
- to see this run Snippet6 - this appears to have been introduced by changes made since v3448e was tagged
|
2008-06-13 12:10:39
| 1,213,370,000 |
resolved fixed
|
bba33a1
| 1,213,380,000 |
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Shell.java
|
SWT
|
1,520 | 223,391 |
Bug 223391 unable to change button sizes
|
Build ID: I20080207-1530 Steps To Reproduce: 1. open control example 2. select Button tab 3. in Size section, select Preferred , 10X10 , 50X50 , and 100X100 radio buttons More information: Choosing any of these sizes has no effect on any kind of buttons
|
2008-03-20 15:34:27
| 1,206,040,000 |
resolved fixed
|
b61c3f1
| 1,213,370,000 |
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Control.java
|
SWT
|
1,521 | 210,988 |
Bug 210988 setEnabled() does not work for Widgets that are not NSControl
|
Group, ToolBar, ProgressBar, Label, Composite and a few other widgets that are not subclasses NSControl need to somehow reimplement Control.enableWidget(boolean).
|
2007-11-26 16:58:10
| 1,196,110,000 |
resolved fixed
|
211a0b5
| 1,213,370,000 |
bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Widget.java
|
SWT
|
1,522 | 223,390 |
Bug 223390 flat and border button in swt do not work
|
Build ID: I20080207-1530 Steps To Reproduce: 1. open control example 2. select Button tab 3. In Style, select SWT.FLAT and SWT.BORDER check boxes More information: When either or both SWT.FLAT and SWT.BORDER check boxes are checked, not changes to the buttons.
|
2008-03-20 15:22:47
| 1,206,040,000 |
resolved fixed
|
3f8e43b
| 1,213,370,000 |
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Button.java
|
SWT
|
1,523 | 236,669 |
Bug 236669 exception when removing TableItem
|
3.4RC4 - brand new eclipse workspace - File > Import... - Plug-in Development > Plug-ins and Fragments, Next - Next - select org.eclipse.jface from the left-side list, press the "Add -->" button, which moves this item to the right-side list - press the "Required Plug-ins -->" button, which moves a few other projects over to the right-side list -> NOTE that the org.eclipse.jface item has disappeared from the right-side list but shouldn't have - now press the "<-- Remove All" button, and you'll get the error below, possibly a side-effect of the disappeared org.eclipse.jface item: org.eclipse.swt.SWTError: Item not removed at org.eclipse.swt.SWT.error(SWT.java:3803) at org.eclipse.swt.SWT.error(SWT.java:3695) at org.eclipse.swt.SWT.error(SWT.java:3666) at org.eclipse.swt.widgets.Widget.error(Widget.java:681) at org.eclipse.swt.widgets.Table.remove(Table.java:2506) at org.eclipse.jface.viewers.TableViewer.doRemove(TableViewer.java:268) at org.eclipse.jface.viewers.AbstractTableViewer.internalRemove(AbstractTableViewer.java:788) at org.eclipse.jface.viewers.AbstractTableViewer.access$0(AbstractTableViewer.java:751) at org.eclipse.jface.viewers.AbstractTableViewer$3.run(AbstractTableViewer.java:818) at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1365) at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1328) at org.eclipse.jface.viewers.AbstractTableViewer.remove(AbstractTableViewer.java:816) at org.eclipse.jface.viewers.AbstractTableViewer.remove(AbstractTableViewer.java:840) at org.eclipse.pde.internal.ui.wizards.imports.PluginImportWizardDetailedPage.doRemove(PluginImportWizardDetailedPage.java:543) at org.eclipse.pde.internal.ui.wizards.imports.PluginImportWizardDetailedPage.handleRemoveAll(PluginImportWizardDetailedPage.java:566) at org.eclipse.pde.internal.ui.wizards.imports.PluginImportWizardDetailedPage.access$13(PluginImportWizardDetailedPage.java:554) at org.eclipse.pde.internal.ui.wizards.imports.PluginImportWizardDetailedPage$13.widgetSelected(PluginImportWizardDetailedPage.java:355) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1561) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1585) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1570) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1360) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3474) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3064) at org.eclipse.jface.window.Window.runEventLoop(Window.java:825) at org.eclipse.jface.window.Window.open(Window.java:801) at org.eclipse.ui.internal.handlers.WizardHandler$Import.executeHandler(WizardHandler.java:146) at org.eclipse.ui.internal.handlers.WizardHandler.execute(WizardHandler.java:273) at org.eclipse.ui.internal.handlers.HandlerProxy.execute(HandlerProxy.java:281) at org.eclipse.core.commands.Command.executeWithChecks(Command.java:476) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:508) at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:169) at org.eclipse.ui.internal.handlers.SlaveHandlerService.executeCommand(SlaveHandlerService.java:247) at org.eclipse.ui.internal.actions.CommandAction.runWithEvent(CommandAction.java:157) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:583) at org.eclipse.jface.action.ActionContributionItem.access$2(ActionContributionItem.java:500) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent(ActionContributionItem.java:411) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1561) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1585) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1570) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1360) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3474) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3064) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2382) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2346) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2198) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504) at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
|
2008-06-11 12:09:59
| 1,213,200,000 |
resolved fixed
|
9bc0098
| 1,213,220,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Table.java
|
SWT
|
1,524 | 236,419 |
Bug 236419 Printing does NOT work on Mac
|
Build ID: I20080530-1730 Steps To Reproduce: 1. Open a file with Text Editor 2. Select print from the toolbar Notice, that it doesn't print. The failure is in Print.java on line 367. It throws a NullPointer exception. The logic seems flawed because this method is trying to set the defaultFont. What's strange is the systemFont is null, yet the way you get the systemFont is to call getSystemFont(). But, this method will return the defaultFont, which is the very thing we're trying to set originally. More information: I'm using Java 5 on Mac OS X 10.5.3.
|
2008-06-10 08:47:41
| 1,213,100,000 |
resolved fixed
|
e24f72d
| 1,213,130,000 |
bundles/org.eclipse.swt/Eclipse SWT Printing/carbon/org/eclipse/swt/printing/Printer.java
|
SWT
|
1,525 | 232,689 |
Bug 232689 Label.setText() hides the label if called multiple times
| null |
2008-05-18 04:37:54
| 1,211,100,000 |
resolved fixed
|
3251985
| 1,213,040,000 |
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Label.java
|
SWT
|
1,526 | 235,847 |
Bug 235847 [Contributions] [Mac] Odd behaviour in help menu on OS X
|
I20080604-2000 I'm not even sure how to classify this bug. There are numerous bad things all happening at once. Steps to reproduce: 1) open the team synch view in change set mode (and have some change sets) 2) select one of the top level change sets 3) open the help menu Note that the menu is empty and not only that the content of the team view disappears! If you dismiss the menu the content returns. Opening the log you find the following stack: java.lang.ArrayStoreException at java.lang.System.arraycopy(Native Method) at org.eclipse.ui.internal.actions.ModifyWorkingSetDelegate.getItems(ModifyWorkingSetDelegate.java:260) at org.eclipse.ui.internal.actions.ModifyWorkingSetDelegate.fillMenu(ModifyWorkingSetDelegate.java:196) at org.eclipse.ui.internal.actions.AbstractWorkingSetPulldownDelegate$1.menuShown(AbstractWorkingSetPulldownDelegate.java:98) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:235) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1561) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1585) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1566) at org.eclipse.swt.widgets.Menu.kEventMenuOpening(Menu.java:803) at org.eclipse.swt.widgets.Widget.menuProc(Widget.java:1317) at org.eclipse.swt.widgets.Display.menuProc(Display.java:2861) at org.eclipse.swt.internal.carbon.OS.MenuSelect(Native Method) at org.eclipse.swt.widgets.Display.mouseProc(Display.java:2891) at org.eclipse.swt.internal.carbon.OS.SendEventToEventTarget(Native Method) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3047) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2387) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2351) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2203) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:382) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504) at org.eclipse.equinox.launcher.Main.run(Main.java:1236) at org.eclipse.equinox.launcher.Main.main(Main.java:1212) Problem 1: The working set delegate handler assumes (because of it's enablement clause) that if it is filling a menu it is doing it because the selections are adaptable. In this case, the selection is NOT adaptable (for unknown reasons) so the code fails. Problem 2: A bad delegate can destroy the menu. Problem 3: For some reason menushown is being invoked by SWT on a menu that ISN'T being shown. This is what puts us in the position where #1 is possible. Problem 4: The view content disappears. I dont even know where to start with this one...
|
2008-06-05 11:15:00
| 1,212,680,000 |
resolved fixed
|
5f3a843
| 1,212,700,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Menu.java
|
SWT
|
1,527 | 235,806 |
Bug 235806 improper usage of "Device" when setting font description in org.eclipse.swt.graphics.TextLayout constructor
|
Build ID: I20080516-1333 Steps To Reproduce: This defect mainly shows up on RetHat Linux 5. The constructor is coded-up like this: public TextLayout (Device device) { super(device); context = OS.gdk_pango_context_get(); if (context == 0) SWT.error(SWT.ERROR_NO_HANDLES); OS.pango_context_set_language(context, OS.gtk_get_default_language()); OS.pango_context_set_base_dir(context, OS.PANGO_DIRECTION_LTR); OS.gdk_pango_context_set_colormap(context, OS.gdk_colormap_get_system()); layout = OS.pango_layout_new(context); if (layout == 0) SWT.error(SWT.ERROR_NO_HANDLES); OS.pango_layout_set_font_description(layout, device.systemFont.handle); OS.pango_layout_set_wrap(layout, OS.PANGO_WRAP_WORD_CHAR); OS.pango_layout_set_tabs(layout, this.device.emptyTab); if (OS.GTK_VERSION >= OS.VERSION(2, 4, 0)) { OS.pango_layout_set_auto_dir(layout, false); } text = ""; ascent = descent = -1; styles = new StyleItem[2]; styles[0] = new StyleItem(); styles[1] = new StyleItem(); init(); } There is a problem with this code specifically in the following line: OS.pango_layout_set_font_description(layout, device.systemFont.handle); Here is the FIX: Instead of "device.systemFont.handle", it should be "this.device.systemFont.handle". This is because if the input parameter "device" in the constructor gets the value as null, then Resource class will execute Device.getDevice() to retrieve the device. And hence, the above code should be changed to reflect this value of the device. More information: Due to this, Arabic Language is not active/enabled in Rational Application Developer on RedHat Linux and incase, you have access to RATLC, here is the defect number: RATLC01167844 - BIDIAM75: Page Designer inactive on Arabic locale
|
2008-06-05 08:01:15
| 1,212,670,000 |
resolved fixed
|
5a9f76e
| 1,212,680,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/TextLayout.java
|
SWT
|
1,528 | 164,437 |
Bug 164437 Disable automatic horizontal scrolling on tree item selection
| null |
2006-11-14 03:52:15
| 1,163,490,000 |
resolved fixed
|
481b972
| 1,212,600,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
|
SWT
|
1,529 | 235,617 |
Bug 235617 The visibility of the constructor org.eclipse.swt.graphics.Resource.Resource() has been reduced
|
In the 3.4 stream, a default constructor was added to Resource that is only package visible. Before it was added, there were no constructors in the class so the new constructor reduces the visibility of the default constructor from public to package.
|
2008-06-04 10:59:53
| 1,212,590,000 |
resolved fixed
|
0619707
| 1,212,600,000 |
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/Resource.java
|
SWT
|
1,530 | 235,329 |
Bug 235329 vertical scroll bar remains in empty tree viewer
| null |
2008-06-03 09:31:21
| 1,212,500,000 |
resolved fixed
|
3526517
| 1,212,520,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Tree.java
|
SWT
|
1,531 | 235,348 |
Bug 235348 Exception in setItemCount
|
calling setItemCount(0) causes this exception. java.lang.ArrayIndexOutOfBoundsException: 100 at org.eclipse.swt.widgets.Tree.setItemCount(Tree.java:3023) at org.eclipse.swt.widgets.Tree.setItemCount(Tree.java:2997) at Stub.main(Stub.java:19)
|
2008-06-03 10:21:55
| 1,212,500,000 |
resolved fixed
|
750f6b6
| 1,212,510,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Tree.java
|
SWT
|
1,532 | 235,324 |
Bug 235324 Canvas#getCaret() should tell that caret can be null
|
I20080530-1730 Canvas#getCaret() should tell that the caret can be null. This snippet produces an NPE: Display display = new Display(); Shell shell = new Shell(display); Point size= shell.getCaret().getSize();
|
2008-06-03 09:19:51
| 1,212,500,000 |
resolved fixed
|
b3191bd
| 1,212,500,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Canvas.java
|
SWT
|
1,533 | 227,914 |
Bug 227914 IAE in TextLayout._getOffset()
|
Got this reported with 3.3.1 and 3.3.2 (stacktrace is from 3.3.1). Couldn't reproduce myself, steps to reproduce we received: 1. Type line 1 to almost fill an entire line 2. CR to new line, type something 3. Cursor up (and to the end) of line 1, and type until word wrap occurs. -> You should now only have a few characters on the newly visible line 2 with your cursor at the end of it (that's really wrap of line 1) 4. Backspace until it should revert back to one line. java.lang.IllegalArgumentException: Index out of bounds at org.eclipse.swt.SWT.error(SWT.java:3547) at org.eclipse.swt.SWT.error(SWT.java:3481) at org.eclipse.swt.SWT.error(SWT.java:3452) at org.eclipse.swt.graphics.TextLayout._getOffset(TextLayout.java:1437) at org.eclipse.swt.graphics.TextLayout.getPreviousOffset(TextLayout.java:1643) at org.eclipse.swt.custom.StyledText.doBackspace(StyledText.java:2106) at org.eclipse.swt.custom.StyledText.invokeAction(StyledText.java:5645) at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java:5033) at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:5054) at org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:4800) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:938) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:962) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:947) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:975) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:971) at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1285) at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3772) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3672) at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:291) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4351) at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2178) at org.eclipse.swt.internal.BidiUtil.windowProc(BidiUtil.java:649) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2264) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3291) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2389) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2353) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2219) at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:466) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:289) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:461) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:153) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:363) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:176) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
|
2008-04-20 11:12:58
| 1,208,700,000 |
resolved fixed
|
989cc69
| 1,212,440,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
|
SWT
|
1,534 | 235,219 |
Bug 235219 Cheese in tree
| null |
2008-06-02 16:40:07
| 1,212,440,000 |
resolved fixed
|
a7e3a11
| 1,212,440,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
|
SWT
|
1,535 | 232,685 |
Bug 232685 ScrollBar works incorrectly with StyledText
| null |
2008-05-18 03:17:26
| 1,211,100,000 |
resolved fixed
|
9ca4ea6
| 1,212,430,000 |
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/ScrollBar.java
|
SWT
|
1,536 | 232,686 |
Bug 232686 Shell doesn't send SWT.Move
| null |
2008-05-18 03:32:00
| 1,211,100,000 |
resolved fixed
|
17e81e2
| 1,212,420,000 |
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java
|
SWT
|
1,537 | 219,437 |
Bug 219437 Javadocs of get/setAlpha(..) should specify range of value
|
HEAD The Javadocs of all get/setAlpha(..) APIs (on Shell, GC, ImageData) should better specify the "alpha value": - allowed range - meaning (is 0 fully opaque and 255 fully transparent or vice versa?) ImageData.setAlpha(..) even throws an IAE when alpha is not in [0, 255], but this is not in the Javadoc.
|
2008-02-19 09:35:33
| 1,203,430,000 |
resolved fixed
|
152b200
| 1,212,420,000 |
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/ImageData.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Shell.java
|
SWT
|
1,538 | 217,378 |
Bug 217378 Event fields javadoc needs update due to ImeComposition event
|
Javadoc for the following org.eclipse.swt.widgets.Event fields: start, end, index, count now needs to mention that they can be set in the event handler. Returned values are used by the ImeComposition event.
|
2008-01-31 22:13:16
| 1,201,840,000 |
resolved fixed
|
5267279
| 1,212,180,000 |
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/Event.java
|
SWT
|
1,539 | 233,844 |
Bug 233844 CTabFolder#setSelection(CTabItem) IllegalArgumentException is wrong
|
Currently: ---------- @exception IllegalArgumentException <ul> * <li>ERROR_NULL_ARGUMENT - if the listener is null</li> * </ul> Should be: ---------- @exception IllegalArgumentException <ul> * <li>ERROR_NULL_ARGUMENT - if the item is null</li> * </ul>
|
2008-05-25 07:48:43
| 1,211,720,000 |
resolved fixed
|
15dbeb4
| 1,212,160,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java
|
SWT
|
1,540 | 234,823 |
Bug 234823 JavaDoc: ExpandBar#setSpacing doesn't describe the parameter passed
|
Maybe this is once more a worksforyou because the doc on OS-X is not up-to-date.
|
2008-05-30 07:47:07
| 1,212,150,000 |
resolved fixed
|
43b37a6
| 1,212,160,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ExpandBar.java
|
SWT
|
1,541 | 234,732 |
Bug 234732 WRAP break font fallback , DBCS does not show
| null |
2008-05-29 17:22:49
| 1,212,100,000 |
resolved fixed
|
fb11748
| 1,212,100,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java
|
SWT
|
1,542 | 234,437 |
Bug 234437 CCombo#setVisible() doesn't check if the popup shell is disposed
|
Before call CCombo#setVisible(false) we are checking if the CCombo is not already disposed. I guess CCombo Line 1539: -------8<------- if (!visible) popup.setVisible(false); -------8<------- Should have a check like this: -------8<------- if (!visible && popup != null && !popup.isDisposed()) popup.setVisible(false); -------8<------- The Exception: -------------- Exception in thread "main" org.eclipse.swt.SWTException: Widget is disposed at org.eclipse.swt.SWT.error(SWT.java:3775) at org.eclipse.swt.SWT.error(SWT.java:3693) at org.eclipse.swt.SWT.error(SWT.java:3664) at org.eclipse.swt.widgets.Widget.error(Widget.java:462) at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:335) at org.eclipse.swt.widgets.Shell.setVisible(Shell.java:1712) at org.eclipse.swt.custom.CCombo.setVisible(CCombo.java:1539) at org.eclipse.jface.viewers.CellEditor.deactivate(CellEditor.java:274) at org.eclipse.jface.viewers.CellEditor.deactivate(CellEditor.java:922) at org.eclipse.jface.viewers.ColumnViewerEditor.cancelEditing(ColumnViewerEditor.java:402) at org.eclipse.jface.viewers.ColumnViewerEditor$1.widgetDisposed(ColumnViewerEditor.java:133) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:116) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1002) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1026) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1007) at org.eclipse.swt.widgets.Widget.release(Widget.java:803) at org.eclipse.swt.widgets.Table.releaseChildren(Table.java:2831) at org.eclipse.swt.widgets.Widget.release(Widget.java:806) at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:755) at org.eclipse.swt.widgets.Canvas.releaseChildren(Canvas.java:171) at org.eclipse.swt.widgets.Decorations.releaseChildren(Decorations.java:770) at org.eclipse.swt.widgets.Shell.releaseChildren(Shell.java:1207) at org.eclipse.swt.widgets.Widget.release(Widget.java:806) at org.eclipse.swt.widgets.Widget.dispose(Widget.java:440) at org.eclipse.swt.widgets.Decorations.dispose(Decorations.java:445) at org.eclipse.swt.widgets.Shell.dispose(Shell.java:671) at org.eclipse.swt.widgets.Decorations.closeWidget(Decorations.java:307) at org.eclipse.swt.widgets.Decorations.WM_CLOSE(Decorations.java:1631) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3784) at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:334) at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1564) at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:1932) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4506) at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2341) at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:474) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3872) at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:334) at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1564) at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:1932) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4506) at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2341) at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:474) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3872) at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:334) at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1564) at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:1932) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4506) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:2346) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3398) at org.eclipse.jface.snippets.viewers.Snippet034CellEditorPerRowNewAPI.main(Snippet034CellEditorPerRowNewAPI.java:187)
|
2008-05-28 13:37:36
| 1,212,000,000 |
resolved fixed
|
8b0ef9c
| 1,212,100,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java
|
SWT
|
1,543 | 223,823 |
Bug 223823 ControlExample: Select Listeners dialog opens behind menu bar
| null |
2008-03-25 09:47:20
| 1,206,450,000 |
resolved fixed
|
9aaf151
| 1,212,090,000 |
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/Tab.java
|
SWT
|
1,544 | 234,271 |
Bug 234271 Invalid thread access logged in the .log file
|
I got this: org.eclipse.swt.SWTException: Invalid thread access at org.eclipse.swt.SWT.error(SWT.java:3775) at org.eclipse.swt.SWT.error(SWT.java:3693) at org.eclipse.swt.SWT.error(SWT.java:3664) at org.eclipse.swt.widgets.Display.error(Display.java:1158) at org.eclipse.swt.widgets.Display.checkDevice(Display.java:683) at org.eclipse.swt.widgets.Display.map(Display.java:2750) at org.eclipse.ui.internal.presentations.PaneFolder.layout(PaneFolder.java:524) at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.layout(DefaultTabFolder.java:382) at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.layout(PresentablePartFolder.java:408) at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:292) at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65) at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473) at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256) at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209) at org.eclipse.ui.internal.PerspectiveHelper.bringPartToTop(PerspectiveHelper.java:443) at org.eclipse.ui.internal.Perspective.bringToTop(Perspective.java:217) at org.eclipse.ui.internal.WorkbenchPage.internalBringToTop(WorkbenchPage.java:792) at org.eclipse.ui.internal.WorkbenchPage.activate(WorkbenchPage.java:609) at org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:1086) at org.eclipse.ui.internal.WorkbenchPage.busyShowView(WorkbenchPage.java:1057) at org.eclipse.ui.internal.WorkbenchPage$19.run(WorkbenchPage.java:3773) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:3770) at org.eclipse.ui.internal.WorkbenchPage.showView(WorkbenchPage.java:3746) at org.eclipse.ui.internal.progress.ProgressManagerUtil.openProgressView(ProgressManagerUtil.java:129) at org.eclipse.ui.internal.progress.ProgressRegion.processDoubleClick(ProgressRegion.java:199) at org.eclipse.ui.internal.progress.ProgressRegion$3.mouseDoubleClick(ProgressRegion.java:163) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:182) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1002) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3801) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3400) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2387) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2351) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2203) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:112) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:379) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:612) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504) at org.eclipse.equinox.launcher.Main.run(Main.java:1236) at org.eclipse.equinox.launcher.Main.main(Main.java:1212) using eclipse.buildId=I20080523-0100 java.fullversion=J2RE 1.6.0 IBM J9 2.4 Windows XP x86-32 jvmwi3260-20071121_15015 (JIT enabled) J9VM - 20071121_015015_lHdSMR JIT - r9_20071121_1330 GC - 20071031_AA BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=fr_CA Command-line arguments: -os win32 -ws win32 -arch x86 -consolelog -console Right after this, I got the NPE reported earlier.
|
2008-05-27 18:34:35
| 1,211,930,000 |
resolved fixed
|
82b24e6
| 1,212,010,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Widget.java
|
SWT
|
1,545 | 233,638 |
Bug 233638 Extreme performance degradation in TextLayout.shape()
|
I20080522-1800. I accidentally opened a small binary file (81KB) in the text editor which resulted in a very long freeze (40-50s). Afterwards typing, selecting etc. is unusably slow. Performance tracing reveals that all time is spent in TextLayout.shape(). Note that this is a huge regression compared to R3.3.x: there the file opens immediately and the editor is responsive. 1. download attached test file 2. add it to a workspace 3. open it with the default text editor
|
2008-05-23 06:20:31
| 1,211,540,000 |
verified fixed
|
e42c019
| 1,212,010,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java
|
SWT
|
1,546 | 234,158 |
Bug 234158 StyledText should stop blinking caret when losing focus in verify key listener
|
I20080526-2000, same in 3.3.2 StyledText should stop blinking the caret when losing focus in verify key listener. Run the snippet below and then press Tab. => Expected: Focus goes to popup shell, caret stops blinking (like when you click into the popup). => Was: Focus goes to popup shell, but caret still blinks. When "proposalsShell.setActive()" is executed in an asyncExec, the behavior is as expected. public class SnippetTransferFocus { public static void main(String[] args) { final Display display= new Display(); final Shell shell= new Shell(display); shell.setLayout(new FillLayout()); StyledText text= new StyledText(shell, SWT.NONE); text.setText("Press Tab or click proposals table"); shell.setBounds(100, 100, 320, 100); shell.open(); final Shell proposalsShell= new Shell(shell, SWT.ON_TOP | SWT.RESIZE); proposalsShell.setLayout(new FillLayout()); Table table= new Table(proposalsShell, SWT.H_SCROLL | SWT.V_SCROLL); new TableItem(table, SWT.NONE).setText("Item 1"); new TableItem(table, SWT.NONE).setText("Item 2"); table.select(0); proposalsShell.setBounds(150, 150, 160, 100); proposalsShell.setVisible(true); text.addVerifyKeyListener(new VerifyKeyListener() { public void verifyKey(VerifyEvent event) { if (event.keyCode == SWT.TAB) { event.doit= false; proposalsShell.setActive(); // display.asyncExec(new Runnable() { // public void run() { // proposalsShell.setActive(); // } // }); } } }); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } }
|
2008-05-27 10:00:35
| 1,211,900,000 |
verified fixed
|
3a3b000
| 1,212,010,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Control.java
|
SWT
|
1,547 | 234,433 |
Bug 234433 [Browser] Some characters cannot be entered in forms
|
Build ID: 3.4M7 Steps To Reproduce: 1. Open a Shell with a Browser. 2. Go to a page with forms or text fields (like Google home page). 3. Try to type the character ń (AltGr+n) which does not work. AltGr is the right Alt key, usually equivalent to Ctrl+Alt. More information: This bug was reported by a user and after investigation here is all the information we have. - The user is Polish and cannot enter 1 out of 9 national characters: ą (AltGr+a), ę (AltGr+e), ś (AltGr+s), ć (AltGr+c), ż (AltGr+z), ź (AltGr+x), o (AltGr+o) and ł (AltGr+l) work but ń (AltGr+n) does not. - It is a regression: replacing the SWT JAR from 3.4M7 to 3.3.2 seems to solve that particular issue. - This issue seems to affect the Browser only as this character can be entered in a Text widget. - This character can be entered in Firefox or Internet Explorer (when it is not in an SWT application). This is a major issue as 3.3.2 cannot be used due to other functionalities and bug fixes.
|
2008-05-28 13:20:51
| 1,212,000,000 |
resolved fixed
|
73a84b5
| 1,212,010,000 |
bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/WebSite.java
|
SWT
|
1,548 | 234,119 |
Bug 234119 Segfault when disposing shell in keylistener of browser
| null |
2008-05-27 06:37:28
| 1,211,880,000 |
verified fixed
|
0657c29
| 1,211,900,000 |
bundles/org.eclipse.swt/Eclipse SWT Browser/carbon/org/eclipse/swt/browser/Safari.java
|
SWT
|
1,549 | 233,598 |
Bug 233598 carriage return inserted twice when using text box in web browser
| null |
2008-05-22 20:02:54
| 1,211,500,000 |
resolved fixed
|
7c93e3a
| 1,211,840,000 |
bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/IE.java bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/WebSite.java
|
SWT
|
1,550 | 233,867 |
Bug 233867 Text#getPosition() is missing JavaDoc
|
like the summary says there's no JavaDoc for this method
|
2008-05-25 15:20:34
| 1,211,740,000 |
resolved fixed
|
4de988f
| 1,211,830,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Text.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Text.java
|
SWT
|
1,551 | 233,969 |
Bug 233969 NPE in Tree.windowProc when starting to drag elements
|
I20080523-0100 I got into a state where dragging any element from the Synchronize view resulted in the NPE below. Drag and drop from the Synchronize view to the editor area worked fine before. Worked fine after a restart of the workbench. java.lang.NullPointerException at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:5709) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4506) at org.eclipse.swt.internal.win32.OS.$$YJP$$SendMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.SendMessageW(OS.java) at org.eclipse.swt.internal.win32.OS.SendMessage(OS.java:3037) at org.eclipse.swt.dnd.TreeDragSourceEffect.getDragSourceImage(TreeDragSourceEffect.java:82) at org.eclipse.swt.dnd.TreeDragSourceEffect.dragStart(TreeDragSourceEffect.java:73) at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java:32) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1002) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1026) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1011) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:769) at org.eclipse.swt.dnd.DragSource.drag(DragSource.java:291) at org.eclipse.swt.dnd.DragSource.access$0(DragSource.java:284) at org.eclipse.swt.dnd.DragSource$1.handleEvent(DragSource.java:167) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1002) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3801) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3400) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2387) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2351) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2203) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:493) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:488) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:112) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:379) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504) at org.eclipse.equinox.launcher.Main.run(Main.java:1236) at org.eclipse.equinox.launcher.Main.main(Main.java:1212)
|
2008-05-26 11:30:17
| 1,211,820,000 |
resolved fixed
|
1abe344
| 1,211,830,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
|
SWT
|
1,552 | 233,595 |
Bug 233595 DragImage looks bad on vista (table+tree)
| null |
2008-05-22 18:54:21
| 1,211,500,000 |
resolved fixed
|
d1cccb0
| 1,211,830,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
|
SWT
|
1,553 | 233,485 |
Bug 233485 Compiler warnings in I20080522-0800
|
1. WARNING in /builds/I/src/plugins/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/List.java (at line 15) import org.eclipse.swt.internal.carbon.DataBrowserAccessibilityItemInfo; The import org.eclipse.swt.internal.carbon.DataBrowserAccessibilityItemInfo is never used
|
2008-05-22 12:16:18
| 1,211,470,000 |
resolved fixed
|
594f4b1
| 1,211,480,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/List.java
|
SWT
|
1,554 | 232,617 |
Bug 232617 TVT34:TCT301: The Update Preferences link is not active in Linux
|
<response_by> Mostafa Ali at 2008.05.15.10.30.05 </response_by> OS: Linux Build date: 0514 Component/Function name: BASE MANAGE CONFIGURATION Blocking: Yes Language: Arabic Tester Name: Mostafa Ali Steps to recreate the problem: Start Eclipse. Click on Help Click on Software Updates Click on the Chck for updates.. button Click on the Revert Configuration button Clck on the Available Software tab Click on the Add Site buton Click on the Update Preferences link Verify the panel below is correctly displayed Problem description: The "Update Preferences" link is inactive in Linux OS, but it is active in Windows OS. <response_by> Matthew Mazaika at 2008.05.16.16.18.02 </response_by> This is a problem with "right to left" running on linux. running "eclipse -dir rtl" in english on windows works properly running "eclipse -dir rtl" in english on linux does not create clickable links on linux, when clicking the ANY links, they are brought into focus, but they do not go to the destination page. but, if you press the space bar the proper page will be opened. to easily see this problem go to: window -> preferences -> general -> editors <response_by> Matthew Mazaika at 2008.05.16.16.18.21 </response_by> This article was reassigned from Category:''TVT/Testing,Inbox''.
|
2008-05-16 17:47:24
| 1,210,970,000 |
closed fixed
|
818a149
| 1,211,470,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Link.java
|
SWT
|
1,555 | 231,877 |
Bug 231877 WM_PRINT for ToolBar with SHADOW_OUT
| null |
2008-05-13 13:35:39
| 1,210,700,000 |
resolved fixed
|
aac5cc3
| 1,211,410,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Button.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Group.java
|
SWT
|
1,556 | 233,351 |
Bug 233351 fix leak in drag image
|
build rc1 3.4 TableDragSourceEffect and TreeDragSourceEffect are leaking himage returned from DI_GETDRAGIMAGE.
|
2008-05-21 17:41:14
| 1,211,410,000 |
resolved fixed
|
fb462ee
| 1,211,410,000 |
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/TableDragSourceEffect.java bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/TreeDragSourceEffect.java
|
SWT
|
1,557 | 233,099 |
Bug 233099 [Accessibility] Characters typed into Text are not accessible on Tiger
|
Run ControlExample, go to Text tab. Turn on VoiceOver (Command+F5). Type Tab key to give focus to Text. Type characters. VoiceOver should speak the characters, but it isn't. The problem appears to be fixed for Leopard but not for Tiger.
|
2008-05-20 18:27:22
| 1,211,320,000 |
resolved fixed
|
531e822
| 1,211,410,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Text.java
|
SWT
|
1,558 | 232,163 |
Bug 232163 [Accessibility] StyledText speaks entire value when asked for "line"
|
20080514 Mac OS X Carbon Run Eclipse (at least I20080513-2000) and open an editor on any java file. Turn on VoiceOver (command+F5). Use the down arrow key to move the cursor down to the next line. VoiceOver reads the whole file again, every time up or down arrow is typed. Also: the ctrl+alt+L VoiceOver command should just read the current line, but it reads the whole file. I am not sure which attribute VoiceOver wants in order to determine what the current line is, but it is likely one of the following: - kAXInsertionPointLineNumberAttribute (not a required attribute) - kAXLineForIndexParameterizedAttribute (given a character index, return line#) - kAXRangeForLineParameterizedAttribute (given a line#, return range of character indices)
|
2008-05-14 15:16:42
| 1,210,790,000 |
resolved fixed
|
eaeeb6c
| 1,211,400,000 |
bundles/org.eclipse.swt/Eclipse SWT Accessibility/carbon/org/eclipse/swt/accessibility/Accessible.java
|
SWT
|
1,559 | 232,965 |
Bug 232965 [breadcrumb] set top item in drop down is too aggressive on OSX
| null |
2008-05-20 09:56:35
| 1,211,290,000 |
verified fixed
|
02662f5
| 1,211,400,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Tree.java
|
SWT
|
1,560 | 232,499 |
Bug 232499 [JFace] Slower image painting due to fix for bug 224422 and bug 219432
| null |
2008-05-16 10:08:00
| 1,210,950,000 |
resolved fixed
|
61f597f
| 1,211,390,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Image.java
|
SWT
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.