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
3,561
42,947
Bug 42947 StyledText - redraw problem on last line with word wrap
The situation is: Using StyledText with SWT.WRAP. The last word in the text is wrapped. When deleting characters from this last word until the word goes up one line (need not to be wrapped) then the widget does not redraw the last line (which should now be empty). This last word is now shown two times. This can be reproduced with the SWT Examples.
2003-09-11 09:26:25
1,063,290,000
resolved fixed
38942e3
1,066,240,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
SWT
3,562
44,832
Bug 44832 Opening a PRIMARY_MODAL dialog on top on another PRIMARY_MODAL dialog shoud not enable the parent of the first.
When you open a PRIMARY_MODAL dialog the parent becomes inactive until the dialog is closed. However if you open another PRIMARY_MODAL dialog on top of the first PRIMARY_MODAL dialog the parent of the first PRIMARY_MODAL dialog becomes enabled. PRIMARY_MODAL dialogs should disable the entire ancestry of modal shells not just the immediate parent shell. This can be accomplished by changing the isActive method of Control.java to this: boolean isActive () { Shell modal = display.getModalShell (); if (modal != null && modal != this) { if ((modal.style & SWT.PRIMARY_MODAL) != 0) { Shell shell = getShell (); Shell parent = (Shell)modal.parent; Shell child = modal; while (parent != null) { if (parent == shell) { if ((child.style & SWT.PRIMARY_MODAL) != 0) return false; else break; } child = parent; parent = (Shell)parent.parent; } } int bits = SWT.APPLICATION_MODAL | SWT.SYSTEM_MODAL; if ((modal.style & bits) != 0) { Control control = this; while (control != null) { if (control == modal) break; control = control.parent; } if (control != modal) return false; } } return getShell ().getEnabled (); }
2003-10-14 12:58:45
1,066,150,000
resolved fixed
67417a8
1,066,240,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java
SWT
3,563
44,778
Bug 44778 TableItem.getImage periodically throws ArrayOutOfBoundsException
In the final call to imageList.get (imageIndex), sometimes imageIndex == -1. This causes an ArrayIndexOutOfBounds exception in the call to imageList.get. This is happening because the index of ptr [0] is not in the table. Would it be possible to put in a check for this? It causes a bunch of other downstream errors.
2003-10-13 16:26:33
1,066,080,000
resolved fixed
10dcf45
1,066,160,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TableItem.java
SWT
3,564
38,022
Bug 38022 widget.forceFocus() causes shell.setActive() ?
Following code snippet causes the whole application window act something like SYSTEM_MODAL - a window containing a widget with such a focus listener is always on top! ----------------------------------------------------------------------------- widget.addFocusListener(new FocusListener() { public void focusLost(FocusEvent fe) { // grab keyboard focus again Display.getCurrent().asyncExec(new Runnable() { public void run() { widget.forceFocus(); } }); } });
2003-05-23 05:02:59
1,053,680,000
closed wontfix
be52203
1,066,150,000
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Decorations.java bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Sash.java bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Shell.java
SWT
3,565
43,281
Bug 43281 Text field throws StackOverflowError when full
Text text = new Text(parent, SWT.MULTI | SWT.WRAP); text.addKeyListener(new KeyAdapter() { public void keyPressed(KeyEvent e) { if (e.keyCode == SWT.CR) text.append("\nOK"); } }); After entering a few lines, we reach the bottom of the text field, and get the following message: Unhandled exception caught in event loop. Reason: java.lang.StackOverflowError If SWT.V_SCROLL is specified in the Text constructor, this problem does not occur.
2003-09-18 07:44:01
1,063,890,000
resolved fixed
41e8597
1,065,820,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Text.java
SWT
3,566
44,607
Bug 44607 Gtk critical warning when running swt app
Eclipse 20031009 The stack trace I got when running the CustomControlExample with debug flag on. (<unknown>:3951): GLib-GObject-CRITICAL **: file gtype.c: line 1942 (g_type_add_interface_static): assertion `g_type_parent (interface_type) == G_TYPE_INTERFACE' failed java.lang.Error at org.eclipse.swt.graphics.Device.logProc(Device.java:543) at org.eclipse.swt.internal.accessibility.gtk.ATK.g_type_add_interface_static(Native Method) at org.eclipse.swt.accessibility.AccessibleFactory.defineType(AccessibleFactory.java:191) at org.eclipse.swt.accessibility.AccessibleFactory.<init>(AccessibleFactory.java:153) at org.eclipse.swt.accessibility.AccessibleFactory.registerAccessible(AccessibleFactory.java:285) at org.eclipse.swt.accessibility.Accessible.<init>(Accessible.java:38) at org.eclipse.swt.accessibility.Accessible.internal_new_Accessible(Accessible.java:162) at org.eclipse.swt.widgets.Control.getAccessible(Control.java:353) at org.eclipse.swt.custom.CCombo.initAccessible(CCombo.java:578) at org.eclipse.swt.custom.CCombo.<init>(CCombo.java:135) at org.eclipse.swt.examples.controlexample.CComboTab.createExampleWidgets(CComboTab.java:70) at org.eclipse.swt.examples.controlexample.Tab.createTabFolderPage(Tab.java:369) at org.eclipse.swt.examples.controlexample.ControlExample.<init>(ControlExample.java:69) at org.eclipse.swt.examples.controlexample.CustomControlExample.<init>(CustomControlExample.java:27) at org.eclipse.swt.examples.controlexample.CustomControlExample.main(CustomControlExample.java:54)
2003-10-09 16:20:13
1,065,730,000
resolved fixed
4bc5ce2
1,065,810,000
bundles/org.eclipse.swt/Eclipse SWT Accessibility/gtk/org/eclipse/swt/accessibility/AccessibleFactory.java
SWT
3,567
44,508
Bug 44508 GC.getCharWidth JUnit test failure on Win98
I20031008 on Windows 98 Test_org_eclipse_swt_graphics_GC.test_getCharWidthC fails its assertion that the charWidth of 'a' is greater than 0. I believe this is because the test does not set a font, and it relies on the default font being valid. This appears not to be the case on Win98? Although other similar tests, like getTextExtent, getStringExtent, getAdvanceWidth, and getFontMetrics all pass. I will write a snippet to investigate further.
2003-10-08 18:42:44
1,065,650,000
resolved fixed
11cb6bc
1,065,800,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java
SWT
3,568
44,372
Bug 44372 NPE on hitting Esc to dismiss inline table edit
I20030930 Test case Window>Preferences>Java>Debug>Step Filtering>Add Filter Hit the 'Esc' key java.lang.NullPointerException at org.eclipse.swt.widgets.Control.WM_KEYUP(Control.java:3517) at org.eclipse.swt.widgets.Control.windowProc(Control.java:2916) at org.eclipse.swt.widgets.Display.windowProc(Display.java:2698) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1343) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1861) at org.eclipse.jface.window.Window.runEventLoop(Window.java:583) at org.eclipse.jface.window.Window.open(Window.java:563) at org.eclipse.ui.internal.OpenPreferencesAction.run (OpenPreferencesAction.java:53) at org.eclipse.jface.action.Action.runWithEvent(Action.java:842) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection (ActionContributionItem.java:543) at org.eclipse.jface.action.ActionContributionItem.access$4 (ActionContributionItem.java:496) at org.eclipse.jface.action.ActionContributionItem$6.handleEvent (ActionContributionItem.java:468) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:847) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2173) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1863) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2106) at org.eclipse.ui.internal.Workbench.run(Workbench.java:2089) at org.eclipse.core.internal.boot.InternalBootLoader.run (InternalBootLoader.java:858) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461) 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:324) at org.eclipse.core.launcher.Main.basicRun(Main.java:298) at org.eclipse.core.launcher.Main.run(Main.java:764) at org.eclipse.core.launcher.Main.main(Main.java:598) Problem does not occur on linux gtk build
2003-10-07 18:29:45
1,065,570,000
resolved fixed
cb6b5c8
1,065,710,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Text.java
SWT
3,569
44,212
Bug 44212 FocusEvents/KeyEvents from Scale not delivered
A scale does not respond to any KeyEvents or FocusEvents. Exactly the same code works for linux-gtk. System used: debian/stable j2sdk1.4.2 eclipse-platform3.03M-linux-motif problem occurs in every combination of KeyListeners / KeyAdapters and a scale object
2003-10-06 04:28:05
1,065,430,000
resolved fixed
b340579
1,065,540,000
bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/OS.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Scale.java
SWT
3,570
44,165
Bug 44165 update needed in javadoc for constructors ImageData specifying colorDepth
The javadoc for constructors of ImageData (where depth is specified) states that an SWTException is thrwown for ERROR_UNSUPPORTED_DEPTH - if the depth argument is not one of 1, 2, 4, 8, 16, 24 or 32. Actually an IllegalArgument exception is thrown. Here is an example to recreate: import org.eclipse.swt.*; import org.eclipse.swt.graphics.*; public class TestImageData_IllegalArgument { public static void main(String[] args) { try { new ImageData(1, 1, 3, new PaletteData(new RGB[] {new RGB(0, 0, 0)})); } catch (IllegalArgumentException e) { System.out.println("IllegalArgument thrown"); } catch (SWTException e) { System.out.println("SWTException thrown"); } } }
2003-10-03 18:23:17
1,065,220,000
resolved fixed
cc342f4
1,065,470,000
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/ImageData.java
SWT
3,571
44,164
Bug 44164 update needed in javadoc for constructor Image(Device , ImageData)
The constructor for Image(Device , ImageData) can also throw org.eclipse.swt.SWTException: Unsupported color depth. This should be added to the javadoc. Steps to recreate (note that the ImageData is successfully created, it is Image that is throwing the exception): import org.eclipse.swt.graphics.*; import org.eclipse.swt.widgets.*; public class TestImage_InvalidImage { public static void main(String[] args) { ImageData data = new ImageData(10, 10, 1, new PaletteData (0xff0000, 0x00ff00, 0x0000ff)); Image image = new Image(Display.getDefault(), data); // image.dispose(); } }
2003-10-03 18:08:06
1,065,220,000
resolved fixed
1d1ec73
1,065,470,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Image.java
SWT
3,572
44,161
Bug 44161 addImageLoadListener should check for null
the addImageLoaderListener(ImageLoaderListener) method of ImageLoder should check for null and throw ERROR_NULL_ARGUMENT - if the listener is null. This follows the pattern of the rest of SWT (see addDropListener(DropTargetListener) method of class DropTarget). Otherwise, the user's application could get a NullPointerException. Here is an example to recreate (I will attach the png file to this bug). import java.io.*; import org.eclipse.swt.graphics.*; public class TestImageLoader { public static void main(String[] args) { InputStream stream = null; try { ImageLoader loader = new ImageLoader(); loader.addImageLoaderListener(null); stream = TestImageLoader.class.getResourceAsStream ("interlaced_target.png"); loader.load(stream); } finally { try { stream.close(); } catch (Exception e) {} } } }
2003-10-03 17:25:46
1,065,220,000
resolved fixed
518da52
1,065,460,000
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/ImageLoader.java
SWT
3,573
43,918
Bug 43918 Some mouse clicks don't work
I20030930 - open Eclipse Welcome editor (or any other editor that shows "links", like PDE editors, or the F1 help hover) - click on a click Observe: nothing happens
2003-09-30 11:37:18
1,064,940,000
resolved fixed
fce9cad
1,064,960,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Display.java
SWT
3,574
43,177
Bug 43177 Text.setText() triggers two ModifyEvents
null
2003-09-16 16:33:20
1,063,740,000
resolved fixed
b3103c9
1,064,870,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/Text.java
SWT
3,575
43,576
Bug 43576 "Alt+Space" traversal cannot be blocked
Using snippet #25 on Windows XP, pressing "Alt+Space" generates the following: DOWN: stateMask=0x0, keyCode=0x10000, character=0x0 '\0' By clicking back on the shell, a subsequent event is triggered (note, if 'Alt' is still held, then the stateMask=0x10000): DOWN: stateMask=0x0, keyCode=0x20, character=0x20 ' ' Attaching a listener to SWT.Traverse events on the display registers a mnemonic traversal. However, setting "event.doit=false" has no effect. The system menu is still displayed. Using snippet #25 on Linux-GTK (GNOME), clicking back on the shell does not send a subsequent event. DESIRED RESULTS: "Alt+Space" should send a SWT.Traverse event that can be cancelled by setting "event.doit=false". If the event is not cancelled, then the key events sent should be consistent across platforms.
2003-09-24 10:43:13
1,064,410,000
resolved fixed
71ff025
1,064,860,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java
SWT
3,576
43,808
Bug 43808 StyledText deletes too many characters in some situations
The following situation reproduces the problem. In a styled text with double click word selection, enter the following text: hello world hi there! what happen!? Include an extra empty line after "what happen!?". Now double click "there". Press the home key. Press the down arrow to go down one line. Now, hold shift and press down arrow again. At this point, "what happen!?" is selected to the line below. Pressing delete at this point will result in the deletion of "there!" as well. The resulting text is: hello world hi Including a space after "hi".
2003-09-28 10:51:16
1,064,760,000
resolved fixed
6153095
1,064,850,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
SWT
3,577
43,778
Bug 43778 Browser - mozilla GTK into Motif appears in top level window
instead of being embedded into parent shell
2003-09-26 17:41:35
1,064,610,000
resolved fixed
0068e41
1,064,610,000
bundles/org.eclipse.swt/Eclipse SWT Browser/motif/org/eclipse/swt/browser/Browser.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Shell.java
SWT
3,578
43,757
Bug 43757 Table answers its Header as a child
null
2003-09-26 12:15:42
1,064,590,000
resolved fixed
e3b3895
1,064,590,000
bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/Table.java
SWT
3,579
43,599
Bug 43599 [KeyBindings] accelerators on Mac OS X 'application menu' should not always be active
Command+Q closes eclipse on Mac OS X due to this accelerator being registered on the mac- specific 'application menu'. This means you can close eclipse within a dialog, which causes unpredictable results (usually errors in the log regarding disposing of widgets..) Command+Q, perhaps all all accelerators in this menu, should be disabled when in dialogs. A more complete solution would provide us explicit control over these accelerators for rebinding. I remember Andre saying that he had a solution for this, and I know that the MRJ toolkit from apple has some (AWT dependant) API for managing this menu.
2003-09-24 14:41:09
1,064,430,000
resolved fixed
59b1d4d
1,064,530,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/Display.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Shell.java
SWT
3,580
43,394
Bug 43394 ImageAnalyzer example failed to read PNG file.
I attempted to feed the attached file to the image analyzer example and got an error dialog that said "Error loading file ... i/o error (java.lang.ArrayIndexOutOfBoundException: 0): java.lang.ArrayIndexOutOfBoundException: 0". Suspect this is a problem with the PNG reader.
2003-09-20 12:45:02
1,064,080,000
resolved fixed
02e0e6b
1,064,520,000
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/PngHuffmanTable.java bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/PngHuffmanTables.java bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/PngLzBlockReader.java
SWT
3,581
43,667
Bug 43667 New Synch View layout
I20030925 After a Team > Synchronize with Repository I got a strange layout for the new synch view (see attached screenshot).
2003-09-25 12:04:40
1,064,510,000
resolved fixed
06cfb24
1,064,510,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Label.java
SWT
3,582
43,597
Bug 43597 [SWT] Text.setText(..) can change font inappropriately on Mac OSX
see the attached test case to duplicate the problem. if you run the test case with just the first .setText call, you will see the correct unicode representation for the key sequence 'Command+X'. (Lucida Grande being the standard OS X font for menus and such) if you run the test case with all three .setText calls, you will notice that the 'cloverleaf' symbol is no longer displayed correctly. it seems that the .setText call with the empty string argument does something bad to the font. this problem is severe for our key sequence entry widget. marking as critical for M4.
2003-09-24 14:33:33
1,064,430,000
resolved fixed
a8b143b
1,064,510,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Text.java
SWT
3,583
43,610
Bug 43610 'Shift+Alt+' gives 0x00 as key code and character
Using snippet #25 on Eclipse-GTK-I20030924 (GNOME), do the following: 1.) Press and hold 'Shift' 2.) Press and release 'Alt' 3.) Release 'Shift' OBSERVED RESULTS: DOWN: stateMask=0x0, keyCode=0x20000, character=0x0 '\0' DOWN: stateMask=0x20000 SHIFT, keyCode=0x0, character=0x0 '\0' UP : stateMask=0x30000 ALT SHIFT, keyCode=0x0, character=0x0 '\0' UP : stateMask=0x20000 SHIFT, keyCode=0x20000, character=0x0 '\0' DESIRED RESULTS: keyCode=0x10000 on the second key down.
2003-09-24 16:28:16
1,064,440,000
resolved fixed
bbb8f48
1,064,440,000
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/OS.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Display.java
SWT
3,584
42,892
Bug 42892 BIDI: Images are misaligned in RTL menu items
BiDi bugs in CoolBar/ToolBar. Please see attachment for details.
2003-09-10 14:56:51
1,063,220,000
resolved wontfix
ca87977
1,064,440,000
bundles/org.eclipse.swt/Eclipse SWT Printing/win32/org/eclipse/swt/printing/Printer.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GCData.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Image.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/Display.java
SWT
3,585
40,085
Bug 40085 Cursor key scrolling in code assist table doesn't update scrollbars
I20030710 - open code assist - scroll vertically by using the cursor up- and down-keys Observe: scrollbar doesn't update its position
2003-07-15 05:00:45
1,058,260,000
resolved fixed
3c8e2ed
1,064,420,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/ScrollBar.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Scrollable.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
3,586
43,538
Bug 43538 Ctrl+Space gives two key down events
On Windows XP using I20030923, "Ctrl+Space" gives two key down events. This key binding is used by Eclipse for code assist. Affects keys preference page, and causes a flicker as the code assist is executed twice. If the key is bound to any other command, it can make the command completely unusable. Problem does not occur on Linux-GTK. This is required for M4. DOWN: stateMask=0x0, keyCode=0x40000, character=0x0 '\0' DOWN: stateMask=0x40000 CTRL, keyCode=0x20, character=0x20 ' ' DOWN: stateMask=0x40000 CTRL, keyCode=0x20, character=0x20 ' ' UP : stateMask=0x40000 CTRL, keyCode=0x20, character=0x20 ' ' UP : stateMask=0x40000 CTRL, keyCode=0x40000, character=0x0 '\0'
2003-09-23 17:16:10
1,064,350,000
resolved fixed
4294d7d
1,064,420,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java
SWT
3,587
42,225
Bug 42225 Can't assign command to Ctrl+Backspace
I20030827 Out of the box Ctrl+Backspace should delete the previous word. Somehow the key binding manager thinks this is Ctrl+Del and deletes the next word. If I try to reassing the key via key pref page it displays Ctrl+Del when I press Ctrl+Backspace. I have a Swiss German Keyboard using Swiss German Locale.
2003-08-28 11:51:35
1,062,090,000
resolved fixed
720594e
1,064,330,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Widget.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java
SWT
3,588
42,467
Bug 42467 Photon - implement the SWT browser widget
null
2003-09-03 14:25:26
1,062,610,000
resolved fixed
75fc9e9
1,064,010,000
bundles/org.eclipse.swt/Eclipse SWT Browser/photon/org/eclipse/swt/browser/Browser.java
SWT
3,589
20,841
Bug 20841 Hover help hides Ctrl+F1 help
Build 20020621 Linux-GTK 1. Hover a button until the hover help for the button appears. 2. Press Ctrl+F1 to summon the "F1 help." 3. The F1 help appears under the hover help, making it impossible to read the obscured text. Also, the original hover help is now stuck. It won't go away even when clicking elsewhere.
2002-06-21 16:15:51
1,024,690,000
resolved fixed
8a4b647
1,064,000,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolBar.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolItem.java
SWT
3,590
30,273
Bug 30273 [Key Bindings] DBCS: "F1" funtion key does NOT work on Linux_GTK.
Reporter: Amanda Lee Language: Korean /Simplfied Chinese /Traditional Chinese Build driver: M4_Linux_GTK Severity: OS: RedHat8 JDK Ver.: IBM JDK1.3.1 + SR3 Test case #: 11.1 Summary: DBCS: "F1" funtion key does NOT work on Linux_GTK. Description: Steps to recreate problem: 1-Open a eclipse. 2-Press "F1" function key. ==> [Error] Nothing responded to. 3-Press "SHIFT+F1". ==> [Error] The pop-up resources tab and eclipse session are blinking, then no 'help' displayed. <<Expected Result>> The key bindings works correctly.
2003-01-27 06:00:03
1,043,670,000
resolved fixed
c8a9fc3
1,064,000,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Menu.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/MenuItem.java
SWT
3,591
15,538
Bug 15538 Label requires border to draw correctly
The computeSize() method appears to be calculating the height incorrectly for a wrapped label on Linux-Motif. STEPS 1) Run the example below and the top and bottom of the text is cut off 2) Change the code so that the label is created with an SWT.BORDER 3) Run it again - the label is sized correctly import org.eclipse.swt.SWT; import org.eclipse.swt.layout.*; import org.eclipse.swt.widgets.*; public class LabelWithBorderWrapTest { public static void main(String[] args) { Display display = new Display (); Shell shell = new Shell (display); Composite outerComp = new Composite(shell, SWT.NULL); outerComp.setLayout(new GridLayout()); Composite pgComp = new Composite(outerComp, SWT.NULL); GridLayout layout = new GridLayout(); pgComp.setLayout(layout); pgComp.setLayoutData(new GridData(GridData.FILL_BOTH)); Label msgLabel = new Label(pgComp, SWT.LEFT | SWT.WRAP); msgLabel.setText("Here is a fairly long message that gets wrapped"); GridData gridData = new GridData(GridData.FILL_HORIZONTAL); msgLabel.setLayoutData(gridData); msgLabel.pack(); pgComp.setVisible(true); pgComp.pack(); outerComp.setBounds (0,0,200,400); shell.open (); while (!shell.isDisposed ()) { if (!display.readAndDispatch ()) display.sleep (); } display.dispose (); } }
2002-05-08 11:41:12
1,020,870,000
resolved fixed
32055ba
1,063,900,000
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Label.java
SWT
3,592
38,094
Bug 38094 [Enter] key doesn't work in text editors
I can't insert new line in text editors using [Enter] key on my Mandrake 9.1 (Gnome). Tried 2.0 version: [Enter] worked fine there.
2003-05-25 19:30:58
1,053,910,000
resolved fixed
184893b
1,063,830,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Widget.java
SWT
3,593
42,787
Bug 42787 CheckboxTableViewer does not clear selection
20030909 Sun 1.4.2 VM The following code does not clear the selection in CheckboxTableViewer (from CheckboxTableViewerTest) on the Sun 1.4.2 VM. It does using the Sidecar 1.3.1 VM and on Windows using the Sun 1.4.2 TestElement first= fRootElement.getFirstChild(); StructuredSelection selection= new StructuredSelection(first); fViewer.setSelection(selection); fViewer.setSelection(new StructuredSelection()); ISelection result= fViewer.getSelection(); assertTrue(result.isEmpty());
2003-09-09 10:15:22
1,063,120,000
resolved fixed
d615980
1,063,740,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/List.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java
SWT
3,594
41,774
Bug 41774 DBCS: DBCS named file drag&drop failure on GTK
Platform: RedHat 8.0, GTK+2.2.2 and RHEL 3.0 beta1 steps drag DBCS named file (will attach later) and drop it workbench package explore view. Error dialog will pop-up with message, resource 'build%C6%FC%CB%DC%B8% EC.xml' not exits in file system.
2003-08-21 03:28:47
1,061,450,000
resolved fixed
fb8beb1
1,063,650,000
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/FileTransfer.java bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java
SWT
3,595
37,863
Bug 37863 Text's focus border has wrong background
I20030516 MacOS X 10.2.6 - start Eclipse with new workspace - open New wizard - select Simple / New File - press Next - click in description "Create a new file resource" (transfers focus) - click in text field "Enter or select the parent folder" Observe: the focus border of the description field gets the striped background
2003-05-20 08:49:58
1,053,440,000
resolved fixed
0336ae9
1,063,400,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Widget.java
SWT
3,596
42,867
Bug 42867 Combo - Custom PopUp not displayed properly
I created a SWT Combo within an Eclipse View and set its popup menu. Now, when I right click on the Combo's text field I don't see my menu, but the native systems one (Copy/Paste/Cut ...). When I try not to click right on the Combo's text field directly, a little bit below it but still within the Combo Widget, I see my menu popping up. cmb_RegExp = new Combo(parent, SWT.DROP_DOWN); cmb_RegExp.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); Menu men=new Menu(cmb_RegExp); cmb_RegExp.setMenu(men); ...
2003-09-10 09:29:45
1,063,200,000
resolved fixed
0d66d44
1,063,400,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Combo.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/Display.java
SWT
3,597
43,011
Bug 43011 "Alt+" key strokes not always received on "zh_CN.GB18030"
Key strokes including the "Alt+" modifier are not received as expected by SWT in the "zh_CN.GB18030". ENVIRONMENT: Eclipse-GTK (I20030910), GNOME/Metacity, RedHat 9.0, Sun JDK 1.4.2, locale="zh_CN.GB18030" STEPS TO REPRODUCE: 1.) Run snippet #25 from the SWT development homepage (key logger) 2.) Press and hold "Alt". 3.) Press and release "F" three times. 4.) Release "Alt". ACTUAL RESULTS: DOWN: stateMask=0x0, keyCode=0x10000, character=0x0 '\0' DOWN: stateMask=0x0, keyCode=0x0, character=0x66 'f' UP : stateMask=0x10000 ALT, keyCode=0x0, character=0x66 'f' DOWN: stateMask=0x0, keyCode=0x0, character=0x66 'f' UP : stateMask=0x10000 ALT, keyCode=0x0, character=0x66 'f' DOWN: stateMask=0x0, keyCode=0x0, character=0x66 'f' UP : stateMask=0x10000 ALT, keyCode=0x0, character=0x66 'f' UP : stateMask=0x10000 ALT, keyCode=0x10000, character=0x0 '\0' EXPECTED RESULTS: The DOWN key events should have the "ALT" state mask.
2003-09-12 09:38:05
1,063,370,000
resolved fixed
475110f
1,063,390,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/Control.java
SWT
3,598
41,039
Bug 41039 Hitting the Enter/Return key in the Find/Replace dialog doesn't do anything on Mac OS X
Eclipse 3.0 M2 Build id: 200307181617 Mac OS X 10.2.6 1) Open the Find/Replace dialog (Edit -> Find/Replace). 2) Type in a search term into the text box. 3) Hit the return key. Nothing happens. Hitting the Return key should do a "Find" operation (the same as clicking on the "Find" button, which is highlighted as the "default" button in the Find/Replace dialog).
2003-07-31 19:48:46
1,059,700,000
resolved fixed
6a42d58
1,063,390,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Combo.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Display.java
SWT
3,599
42,897
Bug 42897 BIDI: CHECK style doesn't work with RTL Tree or Table
When set to mirrored, the checkbox appears grey
2003-09-10 15:07:00
1,063,220,000
resolved fixed
8d74a77
1,063,310,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
3,600
42,882
Bug 42882 remove platform code throwing ClassNotFound exception
Add a Platform class in a common platform specific folder with the Platform name. This change will benefit JavaWebStart apps using the lazy flag. from the newsgroup: I've run into an obstacle while deploying SWT through Java web start. The problem I'm experiencing is related to Library.getPlatform() in org.eclipse.swt.internal. The swt.jar is downloaded eagerly (ie. before the application starts) by the JNLP client, while other jars should be lazily downloaded (ie. after the application starts and when the jar is needed by the application). Here's a sample JNLP file: <jnlp> <resource> <jar href="AAA.jar" part="startup" download="eager"/> <jar href="BBB.jar" part="app" download="lazy"/> .... </resource> <resource os="Windows"> <nativelib href="win-swt/win-corelibs.jar" part="startup" download="eager"/> <jar href="win-swt/swt.jar" part="startup" download="eager"/> </resource> </jnlp> In an attempt to locate missing classes, Java Webstart will download all jars listed in the JNLP file when a particular class is not in the current classpath of the application, regardless of the download=lazy attribute. In my scenario, org.eclipse.swt.internal.motif.OS does not exist in the classpath (I'm using Windows SWT) and thus causes the download of every jar file. In Display.getPlatform(), the following piece of code exists: ----- String [] names = new String [] {"motif", "gtk", "win32", "photon", "carbon"}; for (int i = 0; i < names.length; i++) { try { Class.forName("org.eclipse.swt.internal."+names[i]+".OS"); return names[i]; } catch (ClassNotFoundException e) {} } return "unknown"; ----- The class org.eclipse.swt.internal.motif.OS will never exist in Windows SWT. Thus, Class.forName() will always trigger a ClassNotFoundException, causing webstart to download everything. I'm suggesting that the following be added to correct this problem. Other suggestions would be much appreciated. if (System.getProperty("swt.platform.type") != null) { return (System.getProperty("swt.platform.type")); } else { String [] names = new String [] {"motif", "gtk", "win32", "photon", "carbon"}; for (int i = 0; i < names.length; i++) { try { Class.forName("org.eclipse.swt.internal."+names[i]+".OS"); return names[i]; } catch (ClassNotFoundException e) {} } return ("unknown"); }
2003-09-10 13:04:11
1,063,210,000
resolved fixed
cf8dd9a
1,063,220,000
bundles/org.eclipse.swt/Eclipse SWT PI/common_j2me/org/eclipse/swt/internal/Library.java bundles/org.eclipse.swt/Eclipse SWT PI/common_j2se/org/eclipse/swt/internal/Library.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/internal/Platform.java bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/SWT.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/internal/Platform.java bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/internal/Platform.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/internal/Platform.java
SWT
3,601
42,818
Bug 42818 DirectoryDialog does not show its set message
The native selection dialog does not have a label for displaying text. It's easy to add one though, so we should consider doing so in order to appear consistent with other platforms.
2003-09-09 15:35:39
1,063,140,000
resolved fixed
21fbdc8
1,063,140,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/DirectoryDialog.java
SWT
3,602
42,724
Bug 42724 StyledText - selection rendered incorrectly on bidi platforms
build 20030903 The attached BidiUtil exposes a bug in the selection rendering code in DisplayRenderer.drawLineSelectionBackground Steps to reproduce: -using the attached BidiUtil type one english character followed by three or more Arabic/Hebrew characters -place the caret at the beginning of the line -select the next two characters, to include one bidi characters. ->The selection background includes unselected characters. When forcing a redraw of the entire client area the entire bidi segment is drawn with a selection background. The problem is that DisplayRenderer.drawLineSelectionBackground includes code to redraw the entire selection background and that code does not take bidi segments into account (direction runs). I don't believe we even need to redraw the entire selection background anymore because there is code in StyledTextRenderer.drawLine that creates a style range for the selection. The proper selection background is therefore drawn in StyledTextRenderer.drawStyledLine, taking bidi segments and tab stops into account. drawLineSelectionBackground should only be used to render the special line break selection.
2003-09-08 15:54:32
1,063,050,000
resolved fixed
1cb1a83
1,063,120,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/DisplayRenderer.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/PrintRenderer.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextRenderer.java
SWT
3,603
38,983
Bug 38983 StyledText - ignore WRAP when SINGLE style is specified
build 20030611 The WRAP style should be ignored when both it and the SINGLE style bit is specified in the StyledText constructor. Also, setWordWrap should do nothing when SINGLE is specified.
2003-06-16 16:47:28
1,055,800,000
resolved fixed
6b9cfdc
1,063,050,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
SWT
3,604
41,748
Bug 41748 [Keybindings] Keyboard Shortcuts not working
I just installed v. 2.1.1 under AIX v. 4 and most keyboard shortcuts are not working. Copy/Cut/Paste (CTRL+C,SHIFT+DELETE,CTRL+V) work but no others: Save, Undo, Find, etc.
2003-08-20 14:25:34
1,061,400,000
resolved fixed
ccbcb4f
1,063,050,000
bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/OS.java bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/XModifierKeymap.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/MenuItem.java
SWT
3,605
42,259
Bug 42259 StringIndexOutOfBoundsException in FontData.getLocale()
If the lang, country, and variant fields are all null in a FontData, the getLocale() method on win32 will throw a StringIndexOutOfBoundsException. The following program will generate the exception on my WinXP box: import org.eclipse.swt.widgets.*; import org.eclipse.swt.graphics.*; public class FontDataGetLocaleBug { public static void main(String[] args) { final Display display = new Display(); FontData[] fds = display.getFontList(null, true); for (int i=0; i<fds.length; ++i) fds[i].getLocale(); display.dispose(); }}
2003-08-29 12:07:25
1,062,170,000
resolved fixed
be925d0
1,062,800,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/FontData.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/FontData.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/FontData.java bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/graphics/FontData.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/FontData.java
SWT
3,606
42,293
Bug 42293 Menu item too large
null
2003-08-30 11:57:48
1,062,260,000
resolved wontfix
98d7b29
1,062,790,000
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/MenuItem.java
SWT
3,607
35,589
Bug 35589 StyledText - add getStyleRanges(start, offset) API
Currently you can get the style range at a particular offset and you can get all style ranges, but there is no API for getting the styles for a particular range of text. While getStyleRanges could be used to ascertain this information, this could be inefficient if your text has a lot of text (i.e., this method creates a copy of all style ranges).
2003-03-24 13:09:43
1,048,530,000
resolved fixed
09f6d18
1,062,780,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_StyledText.java
SWT
3,608
40,019
Bug 40019 BIDI: StyledText has problem with drawing of selection in both ltr and rtl orientation of this widget in the bidi locale.
null
2003-07-14 09:37:15
1,058,190,000
resolved fixed
7f1555a
1,062,690,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextBidi.java
SWT
3,609
39,074
Bug 39074 [CellEditors] [DBCS] canna input mode fires bogus event from Text Control
Steps: 1)Create simple file named foo.usr. 2)Open the propertysheet example editor on this file. 3)Select a department (or group or whatever) and go to edit the name of that object in the propertysheet 4) Shift+SPACE to enter canno input mode. 5) Type "nihongo" and press ENTER When you press ENTER, the propertysheet receives either a bogus widgetDefaultSelected event, or a bogus focusLost event. In either case, the entered canna text is lost. This affects anyone who displays a popup celleditor and is interested in the events mentioned above. This bug affects multiple GEF clients in WSAD
2003-06-18 11:38:29
1,055,950,000
verified fixed
d498e16
1,062,630,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/Text.java
SWT
3,610
40,800
Bug 40800 org.eclipse.swt.widgets.Text, method append(), bottom focusing error
When appending a line (or multiple) to the text-widget with append(), the last lines do not get focused. Contrary to the win32 version, the GTK version always stays at the top of all lines instead of focusing the bottom when an append() has been done.
2003-07-25 17:54:43
1,059,170,000
resolved fixed
273510c
1,062,620,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java
SWT
3,611
40,406
Bug 40406 Clicking in tree does not bring window to the front.
1) Start eclipse and make the Navigator visisble. 2) Bring some other application window in front of the Eclipse workbench (keeping the Navigator visible). 3) Click on an item in the Navigator 4) Notice that Eclipse is not brought to the front.
2003-07-17 13:26:22
1,058,460,000
resolved fixed
68db1ce
1,062,520,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Decorations.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/Shell.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
3,612
40,693
Bug 40693 Text - No Verify/Modify when a modifier key is down
Eclipse 3.0M2 It's not possible to create classpath variables with underscores. The dialog displays the error message "A variable name must be entered". When you remove the underscore and re-add it, the message has disappeared but the created classpath variable will not be created as specified. Sometimes the underscore is missing, sometimes characters at the end of the variable.
2003-07-24 02:33:52
1,059,030,000
resolved fixed
9b7228e
1,062,520,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Text.java
SWT
3,613
39,781
Bug 39781 Selection events not fired from Combo
null
2003-07-08 19:44:35
1,057,710,000
resolved fixed
2279139
1,062,100,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java
SWT
3,614
41,707
Bug 41707 Exception causes Members view to become empty
Occasionaly when I switch between editors, I get an exception and the Members view no longer shows any contents even when different Java files are selected. Closing and opening the Members view fixes the problem. I am running Eclipse GTK I20030813 on Red Hat 9.0. I will attach the log file.
2003-08-19 13:54:33
1,061,320,000
resolved fixed
47778c3
1,062,020,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TreeItem.java
SWT
3,615
40,560
Bug 40560 Label with text and image set tries to display both
Clients can change the thing that a Label displays from a string to an image (or vice versa) with the setText() and setImage() APIs. On Mac, invoking both of these on a Label results in it trying to display both, so the image overwrites the text wherever they intersect. On other platforms only the last thing that was set into the Label (ie.- either the string or the image) is displayed. Snippet: public static void main (String [] args) { Display display = new Display(); Shell shell = new Shell(display); Image image = new Image (display, 16, 16); Color red = display.getSystemColor (SWT.COLOR_RED); GC gc = new GC (image); gc.setBackground(red); gc.fillRectangle(image.getBounds()); gc.dispose(); final Label label = new Label(shell,SWT.NONE); label.setText("abcdefg"); label.setBounds(10,10,200,200); label.setImage(image); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } image.dispose(); display.dispose(); }
2003-07-21 11:40:44
1,058,800,000
resolved fixed
ce82c3c
1,062,010,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Label.java
SWT
3,616
41,619
Bug 41619 SWT does not render Unicode glyphs > 255
I20030813 - In MacOS X > System Preferences > Input Menu add the "Character Palette" to your input method menu - open the character palette and enter characters > 255 into the Eclipse text editor Observe: you only get empty boxes
2003-08-15 11:57:15
1,060,960,000
resolved fixed
76645e4
1,062,000,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/graphics/GC.java
SWT
3,617
41,980
Bug 41980 GP showing Workbench - Appearance preference page
null
2003-08-26 11:26:15
1,061,910,000
resolved fixed
9e166a9
1,061,920,000
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Composite.java
SWT
3,618
41,362
Bug 41362 GTK-BIDI: RTL support in Group
Text direction of label, which is used as title of SWT Group widget, should be set separately.
2003-08-10 09:51:05
1,060,520,000
resolved fixed
2bbd619
1,061,330,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Group.java
SWT
3,619
41,201
Bug 41201 GTK-BIDI: RTL support in Label
For some reason rtl-oriented wrapped Label need the opposite justification to be aligned correctly, when LEAD or TRAIL alignment are used.
2003-08-06 11:50:17
1,060,190,000
resolved fixed
8731946
1,061,330,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Label.java
SWT
3,620
41,455
Bug 41455 TableColumn#setWidth(int width) allow width=0 but GTK doesn't like it
build 20030806 Linux-GTK (GTK 2.2.2) from a chat on IRC: the call TableColumn#setWidth(0) generate a GTK error and doesn't hide the column in some case (I get the error on my computer, but the column is correctly resized). (<unknown>:6875): Gtk-CRITICAL **: file ../../gtk/gtktreeviewcolumn.c: line 1723 (gtk_tree_view_column_set_fixed_width): assertion `fixed_width > 0' failed
2003-08-12 18:55:34
1,060,730,000
resolved fixed
28ab2bb
1,061,240,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TableColumn.java
SWT
3,621
41,627
Bug 41627 Editable Combo incorrect width
The editable Combo drop-down box appears to size its width incorrectly. When the longest item is selected, a small piece of its last letter is chopped off by the drop-down arrow.
2003-08-17 16:36:34
1,061,150,000
resolved fixed
4e33ab6
1,061,220,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Combo.java
SWT
3,622
32,006
Bug 32006 Save dialog doesn't remove '&' from title string
I tried to add JavaDoc documentation to a JAR in the build-path of a project, and was prompted with a dialog box to select the JavaDoc location. The title of the dialog box was " &Select JavaDoc Location:" I'm not sure if the & is an artifact of being on a Mac OS X or whether it's a glitch for other OSs as well.
2003-02-17 09:51:01
1,045,490,000
verified fixed
1ac7936
1,060,800,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/DirectoryDialog.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Widget.java
SWT
3,623
40,899
Bug 40899 Eclipse 2.1.1 does not come up on HP when remotely attaching from a linux box
null
2003-07-29 11:56:17
1,059,490,000
resolved fixed
56124a7
1,060,370,000
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/Font.java
SWT
3,624
41,347
Bug 41347 CCombo shouldn't fire defaultSelection on mouse list selection
If you drop down the combo list using the mouse and then select an entry using the mouse, the CCombo fires a defaultSelection. It shouldn't do this. It should fire a selection instead. Default selection means something was selected and you should go and do something. The typical reaction is to process the selection and dismiss the dialog. A combo shouldn't fire default selection from just selecting an entry in the dropdown. A typical user of a combobox would be vert surprised to have the dialog be dismissed just because the entry was selected. Standard Combos won't do this. Because of this you can't tell the difference between just selecting an entry using the mouse and hitting enter from the text field of the CCombo. Hitting enter from the text field should be treated as default selection.
2003-08-08 13:44:21
1,060,360,000
resolved fixed
dd89921
1,060,370,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java
SWT
3,625
39,173
Bug 39173 Thread processing is extremely slow on GTK. (BBAWT)
SWT Version: 3009 Linux Version: RH 8 SWT thread processing is much slower on GTK than on any other platform. This seems subtle but it is important because we do so much thread processing in our AWT code. The following code demonstrates this. It creates a shell with 100 buttons on the display thread, and then does the same thing by spawning a thread and syncExecing for every SWT call (mimicking our implementation). It then displays how long it took in both instances. On Windows 2000, Motif, and QNX, the ratio between the time while off the display thread and while on is always less than 7:1. But on GTK, the ratio is usually around 45:1. Here is the output for each platform: Windows 2000: Main UI thread time = 210 Secondary UI thread time = 681 Motif (RH 8): Main UI thread time = 258 Secondary UI thread time = 1715 QNX: Main UI thread time = 406 Secondary UI thread time = 1000 GTK (RH 8): Main UI thread time = 441 Secondary UI thread time = 20016 Here's the test case: import org.eclipse.swt.SWT; import org.eclipse.swt.widgets.Button; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; public class SWTThreadTest extends Thread { long start; long end; Display display; Shell shell; Shell shell2; Button b; final int numIterations = 100; public void run() { display = new Display(); start = System.currentTimeMillis(); shell = new Shell(display, SWT.SHELL_TRIM); shell.setSize(900, 300); for (int i = 0; i < numIterations; i++) { b = new Button(shell, SWT.PUSH); b.setBounds(0, 0, 50 - (10 * i), 50 - (10 * i)); b.setText("d"); b.setVisible(true); } shell.setVisible(true); end = System.currentTimeMillis(); System.out.println("Main UI thread time = " + (end - start)); Thread thread2 = new Thread() { public void run() { while (display == null) { } createShell(); setupShell(); for (int i = 0; i < numIterations; i++) { createButton(); setButtonSize(i); setButtonText(); setButtonVisible(); } openShell(); end = System.currentTimeMillis(); System.out.println( "Secondary UI thread time = " + (end - start)); } public void setupShell() { display.syncExec(new Runnable() { public void run() { shell2.setSize(900, 300); } }); } public void openShell() { display.syncExec(new Runnable() { public void run() { shell2.setVisible(true); } }); } public void createShell() { display.syncExec(new Runnable() { public void run() { shell2 = new Shell(display, SWT.SHELL_TRIM); } }); } public void setButtonText() { display.syncExec(new Runnable() { public void run() { b.setText("d"); } }); } public void setButtonSize(final int i) { display.syncExec(new Runnable() { public void run() { b.setBounds(0, 0, 50 - (10 * i), 50 - (10 * i)); } }); } public void setButtonVisible() { display.syncExec(new Runnable() { public void run() { b.setVisible(true); } }); } public void createButton() { display.syncExec(new Runnable() { public void run() { b = new Button(shell2, SWT.PUSH); } }); } }; start = System.currentTimeMillis(); thread2.start(); while (!shell.isDisposed()) { display.readAndDispatch(); display.sleep(); } display.dispose(); System.exit(1); } public static void main(String[] args) { new SWTThreadTest().run(); } }
2003-06-20 10:34:11
1,056,120,000
resolved fixed
d0651c4
1,060,360,000
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Display.java
SWT
3,626
41,200
Bug 41200 GTK- contents of check and radio buttons can't be aligned to center and to the trailing edge of widget.
GTK container, which contains label of check and radio button, always remains with it's default width. Therefore text of label visually is always aligned to leading edge of corresponding SWT Button. We propose to resize this container "manually".
2003-08-06 11:01:10
1,060,180,000
resolved fixed
9435fef
1,060,290,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Button.java
SWT
3,627
40,884
Bug 40884 Eclipse crashes with Sun jdk 1.4.2
When we switch from jdk 1.4.1 to 1.4.2, Eclipse crashes at startup. To make it at least start, I tried with a blank workspace but Eclipses keeps crashing as soon as I try to open a perspective, a project or the configuration details, anything heavier than opening a menu. Eclipse 2.1.1 (Build id: 200306271545), Win2000 SP3, Sun JDK 1.4.2-b28. It happens on all the PCs (3) where we tried it. The regular .log contains nothing relevant. Here is the crash log: An unexpected exception has been detected in native code outside the VM. Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x78463C88 Function=RtlInitUnicodeString+0x1B Library=C:\WINNT\System32\ntdll.dll Current Java thread: at org.eclipse.swt.internal.win32.OS.ExpandEnvironmentStringsW(Native Method) at org.eclipse.swt.internal.win32.OS.ExpandEnvironmentStrings(OS.java:1353) at org.eclipse.swt.program.Program.getKeyValue(Program.java:113) at org.eclipse.swt.program.Program.getProgram(Program.java:135) at org.eclipse.swt.program.Program.getPrograms(Program.java:165) at org.eclipse.ui.internal.registry.EditorDescriptor.findProgram(EditorDescriptor.java:76) at org.eclipse.ui.internal.registry.EditorDescriptor.loadValues(EditorDescriptor.java:212) at org.eclipse.ui.internal.registry.EditorRegistry.loadAssociations(EditorRegistry.java:521) at org.eclipse.ui.internal.registry.EditorRegistry.initializeFromStorage(EditorRegistry.java:453) at org.eclipse.ui.internal.registry.EditorRegistry.<init>(EditorRegistry.java:64) at org.eclipse.ui.internal.WorkbenchPlugin.getEditorRegistry(WorkbenchPlugin.java:234) at org.eclipse.ui.internal.EditorManager$7.run(EditorManager.java:908) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1006) at org.eclipse.core.runtime.Platform.run(Platform.java:413) at org.eclipse.ui.internal.EditorManager.busyRestoreEditor(EditorManager.java:864) at org.eclipse.ui.internal.EditorManager$6.run(EditorManager.java:857) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.ui.internal.EditorManager.restoreEditor(EditorManager.java:853) at org.eclipse.ui.internal.EditorManager.restoreState(EditorManager.java:756) at org.eclipse.ui.internal.WorkbenchPage.restoreState(WorkbenchPage.java:2263) at org.eclipse.ui.internal.WorkbenchWindow.restoreState(WorkbenchWindow.java:1327) at org.eclipse.ui.internal.Workbench.restoreState(Workbench.java:1263) at org.eclipse.ui.internal.Workbench.access$10(Workbench.java:1223) at org.eclipse.ui.internal.Workbench$12.run(Workbench.java:1141) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1006) at org.eclipse.core.runtime.Platform.run(Platform.java:413) at org.eclipse.ui.internal.Workbench.openPreviousWorkbenchState(Workbench.java:1093) at org.eclipse.ui.internal.Workbench.init(Workbench.java:870) at org.eclipse.ui.internal.Workbench.run(Workbench.java:1373) at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.core.launcher.Main.basicRun(Main.java:291) at org.eclipse.core.launcher.Main.run(Main.java:747) at org.eclipse.core.launcher.Main.main(Main.java:583) Dynamic libraries: 0x00400000 - 0x00407000 C:\WINNT\system32\javaw.exe 0x78460000 - 0x784E1000 C:\WINNT\System32\ntdll.dll 0x77DA0000 - 0x77DFD000 C:\WINNT\system32\ADVAPI32.dll 0x77E70000 - 0x77F31000 C:\WINNT\system32\KERNEL32.DLL 0x770C0000 - 0x77131000 C:\WINNT\system32\RPCRT4.DLL 0x77E00000 - 0x77E65000 C:\WINNT\system32\USER32.dll 0x77F40000 - 0x77F7C000 C:\WINNT\system32\GDI32.DLL 0x78000000 - 0x78046000 C:\WINNT\system32\MSVCRT.dll 0x08000000 - 0x08136000 C:\Program Files\Java\j2re1.4.2\bin\client\jvm.dll 0x77540000 - 0x77571000 C:\WINNT\system32\WINMM.dll 0x10000000 - 0x10007000 C:\Program Files\Java\j2re1.4.2\bin\hpi.dll 0x007E0000 - 0x007EE000 C:\Program Files\Java\j2re1.4.2\bin\verify.dll 0x007F0000 - 0x00808000 C:\Program Files\Java\j2re1.4.2\bin\java.dll 0x00810000 - 0x0081D000 C:\Program Files\Java\j2re1.4.2\bin\zip.dll 0x24950000 - 0x24958000 C:\dev\eclipse\plugins\org.eclipse.core.resources.win32_2.1.0\os\win32\x86\core_2_1_0a.dll 0x24A70000 - 0x24AB7000 C:\dev\eclipse\plugins\org.eclipse.swt.win32_2.1.1\os\win32\x86\swt-win32-2135.dll 0x77A40000 - 0x77B35000 C:\WINNT\system32\ole32.dll 0x71710000 - 0x71794000 C:\WINNT\system32\COMCTL32.dll 0x76B00000 - 0x76B3D000 C:\WINNT\system32\comdlg32.dll 0x70BD0000 - 0x70C35000 C:\WINNT\system32\SHLWAPI.DLL 0x77580000 - 0x777CD000 C:\WINNT\system32\SHELL32.DLL 0x779A0000 - 0x77A3B000 C:\WINNT\system32\OLEAUT32.dll 0x75E00000 - 0x75E1A000 C:\WINNT\system32\IMM32.dll 0x66000000 - 0x6607D000 D:\Program Files\desktop\WindowBlinds\WBlind.dll 0x6B0E0000 - 0x6B0E5000 C:\WINNT\system32\msimg32.dll 0x62000000 - 0x62017000 D:\Program Files\desktop\WindowBlinds\wbhelp.dll 0x69440000 - 0x6945F000 C:\WINNT\system32\oleacc.dll 0x77910000 - 0x77933000 C:\WINNT\system32\imagehlp.dll 0x72970000 - 0x7299D000 C:\WINNT\system32\DBGHELP.dll 0x68EA0000 - 0x68EAB000 C:\WINNT\system32\PSAPI.DLL Heap at VM Abort: Heap def new generation total 4544K, used 1508K [0x10010000, 0x104f0000, 0x113c0000) eden space 4096K, 33% used [0x10010000, 0x10167168, 0x10410000) from space 448K, 30% used [0x10480000, 0x104a1ff0, 0x104f0000) to space 448K, 0% used [0x10410000, 0x10410000, 0x10480000) tenured generation total 60544K, used 4535K [0x113c0000, 0x14ee0000, 0x20010000) the space 60544K, 7% used [0x113c0000, 0x1182ddf8, 0x1182de00, 0x14ee0000) compacting perm gen total 7424K, used 7203K [0x20010000, 0x20750000, 0x24010000) the space 7424K, 97% used [0x20010000, 0x20718fd0, 0x20719000, 0x20750000) Local Time = Tue Jul 29 10:41:24 2003 Elapsed Time = 6 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.2-b28 mixed mode) #
2003-07-29 05:25:43
1,059,470,000
resolved fixed
ab9d66a
1,060,280,000
bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OLE.java bundles/org.eclipse.swt/Eclipse SWT Program/win32/org/eclipse/swt/program/Program.java
SWT
3,628
40,102
Bug 40102 [Viewers] ITreeViewerListener.treeExpanded() is called twice
I am using TreeViewer, and my ContentProvider class also listens to tree collapse and tree expansions in the viewer by registering itself as a ITreeViewerListener with the TreeViewer. It has the required methods to implement: public void treeExpanded(TreeExpansionEvent event), and public void treeCollapsed(TreeExpansionEvent event). The problem is that when an item in the tree is expanded for the first time only, treeExpanded(TreeExpansionEvent) is called twice. treeCollapsed is only called once, as expected, and treeExpanded is only called one upon subsequent expansions of tree items.
2003-07-15 10:05:30
1,058,280,000
resolved fixed
2c6e6ca
1,060,200,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/Tree.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TreeItem.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Widget.java
SWT
3,629
41,067
Bug 41067 OLE ref count problem when opening file for read
This chunk of code from OleClientSite constructors: OleFile oleFile = new OleFile(file, contentStream, OleFile.READ); IStorage storage = oleFile.getRootStorage(); storage.AddRef(); // Open a temporary storage object tempStorage = createTempStorage(); // Copy over contents of file int result = storage.CopyTo(0, null, null, tempStorage.getAddress()); storage.Release(); if (result != COM.S_OK) OLE.error(OLE.ERROR_CANNOT_OPEN_FILE, result); oleFile.dispose();
2003-08-01 19:02:26
1,059,780,000
resolved fixed
21af898
1,060,190,000
bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleClientSite.java bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleFile.java
SWT
3,630
38,415
Bug 38415 remove() function in combo behaves inconsistently (BBAWT)
On Linux (GTK AND Motif), if you remove() the last item in a combo, the text field of the combo still shows that item. But on Windows and QNX, it does not. The following test case demonstrates this, as there are no items remaining in the combo, but it still shows 'Item 2' in the textfield. import org.eclipse.swt.SWT; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.widgets.Combo; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; public class SWTChoiceTest { Display display; Shell shell; Combo combo; public void run(){ display = new Display(); shell = new Shell(display,SWT.SHELL_TRIM); combo = new Combo(shell,SWT.DROP_DOWN | SWT.READ_ONLY | SWT.CLIP_CHILDREN | SWT.CLIP_SIBLINGS); shell.setLayout(new FillLayout()); shell.setSize(400,400); combo.add("Item 1"); combo.add("Item 2"); combo.select(0); shell.open(); combo.remove(0); combo.remove(0); while(!shell.isDisposed()){ display.readAndDispatch(); display.sleep(); } display.dispose(); } public static void main(String [] args){ new SWTChoiceTest().run(); } }
2003-06-04 11:21:44
1,054,740,000
resolved fixed
da194ab
1,060,180,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Combo.java
SWT
3,631
40,156
Bug 40156 CTabFolder's client area is off by a few pixels when there are no tabs
build I20030715 - create a CTabFolder - create a child control, and set its bounds to be the tab folder's client area - it's off by a few pixels in x and y - getClientArea assumes that the extra borders shown when there are tabs are always there
2003-07-15 17:08:05
1,058,300,000
resolved fixed
41401bd
1,060,110,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java
SWT
3,632
37,095
Bug 37095 BIDI - When starting Eclipse from Arabic locale it is always RTL oriented
When starting an Eclipse instance from an Arabic Locale, the workbench and its components are RTL-oriented without giving the user the choice for otherwise.
2003-04-30 11:53:16
1,051,720,000
resolved fixed
dd1cc8d
1,059,670,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java
SWT
3,633
35,826
Bug 35826 GPs on exit
Start eclipse (platform only) with a new workspace 1) open all perspectives 2) open preference pages exit eclipse An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4CAB791A Function=_XmDSIGetChildPosition+0x1A2 Library=./libXm.so.2 Current Java thread: at org.eclipse.swt.internal.motif.OS.XtDestroyWidget(Native Method) - locked <0x48554350> (a java.lang.Class) at org.eclipse.swt.widgets.Widget.destroyWidget(Widget.java:296) at org.eclipse.swt.widgets.Widget.dispose(Widget.java:331) at org.eclipse.ui.internal.PartPane.dispose(PartPane.java:205) at org.eclipse.ui.internal.EditorPresentation.closeAllEditors(EditorPresentation.java:51) at org.eclipse.ui.internal.EditorManager.closeAll(EditorManager.java:81) at org.eclipse.ui.internal.WorkbenchPage.closeAllEditors(WorkbenchPage.java:760) at org.eclipse.ui.internal.WorkbenchPage.dispose(WorkbenchPage.java:1038) at org.eclipse.ui.internal.WorkbenchWindow.closeAllPages(WorkbenchWindow.java:513) at org.eclipse.ui.internal.WorkbenchWindow.hardClose(WorkbenchWindow.java:1127) at org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:384) at org.eclipse.ui.internal.WorkbenchWindow.access$0(WorkbenchWindow.java:367) at org.eclipse.ui.internal.WorkbenchWindow$2.run(WorkbenchWindow.java:479) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:477) at org.eclipse.jface.window.WindowManager.close(WindowManager.java:108) at org.eclipse.ui.internal.Workbench$6.run(Workbench.java:339) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:889) at org.eclipse.core.runtime.Platform.run(Platform.java:413) at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:336) at org.eclipse.ui.internal.Workbench.access$8(Workbench.java:292) at org.eclipse.ui.internal.Workbench$8.run(Workbench.java:455) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.ui.internal.Workbench.close(Workbench.java:453) at org.eclipse.ui.internal.Workbench.close(Workbench.java:445) at org.eclipse.ui.internal.Workbench.close(Workbench.java:439) at org.eclipse.ui.internal.QuitAction.run(QuitAction.java:37) at org.eclipse.jface.action.Action.runWithEvent(Action.java:842) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributionItem.java:456) at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionItem.java:403) at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:397) at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContributionItem.java:72) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:809) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1958) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1724) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1402) at org.eclipse.ui.internal.Workbench.run(Workbench.java:1385) at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:845) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461) 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:324) at org.eclipse.core.launcher.Main.basicRun(Main.java:291) at org.eclipse.core.launcher.Main.run(Main.java:747) at org.eclipse.core.launcher.Main.main(Main.java:583) Dynamic libraries: 08048000-0804e000 r-xp 00000000 00:0a 1420831 /bluebird/teamswt/fheidric/Eclipse/motif/jdk1.4.1_01/jre/bin/java 0804e000-0804f000 rw-p 00005000 00:0a 1420831 /bluebird/teamswt/fheidric/Eclipse/motif/jdk1.4.1_01/jre/bin/java 40000000-40012000 r-xp 00000000 03:01 17286 /lib/ld-2.2.5.so 40012000-40013000 rw-p 00011000 03:01 17286 /lib/ld-2.2.5.so 40014000-4001d000 r-xp 00000000 00:0a 69610740 /bluebird/teamswt/fheidric/Eclipse/motif/jdk1.4.1_01/jre/lib/i386/native_threads/libhpi.so 4001d000-4001e000 rw-p 00008000 00:0a 69610740 /bluebird/teamswt/fheidric/Eclipse/motif/jdk1.4.1_01/jre/lib/i386/native_threads/libhpi.so 4001f000-40022000 r--s 00000000 00:0a 170922548 /bluebird/teamswt/fheidric/Eclipse/motif/jdk1.4.1_01/jre/lib/ext/dnsns.jar 40022000-40023000 r--s 00000000 00:0a 486955263 /bluebird/teamswt/fheidric/Eclipse/motif/eclipse/plugins/org.eclipse.ui_2.1.0/ui.jar 40023000-40024000 r--p 00000000 03:01 131705 /usr/lib/locale/en_US/LC_IDENTIFICATION 40024000-40032000 r-xp 00000000 03:01 17308 /lib/libpthread.so.0 40032000-40039000 rw-p 0000e000 03:01 17308 /lib/libpthread.so.0 40039000-4003b000 r-xp 00000000 03:01 17296 /lib/libdl.so.2 4003b000-4003c000 rw-p 00001000 03:01 17296 /lib/libdl.so.2 4003c000-40150000 r-xp 00000000 03:01 17292 /lib/libc.so.6 40150000-40156000 rw-p 00113000 03:01 17292 /lib/libc.so.6 4015a000-40472000 r-xp 00000000 00:0a 101602500 /bluebird/teamswt/fheidric/Eclipse/motif/jdk1.4.1_01/jre/lib/i386/client/libjvm.so 40472000-40626000 rw-p 00317000 00:0a 101602500 /bluebird/teamswt/fheidric/Eclipse/motif/jdk1.4.1_01/jre/lib/i386/client/libjvm.so 40636000-40648000 r-xp 00000000 03:01 17299 /lib/libnsl.so.1 40648000-40649000 rw-p 00011000 03:01 17299 /lib/libnsl.so.1 4064b000-4066d000 r-xp 00000000 03:01 17297 /lib/libm.so.6 4066d000-4066e000 rw-p 00021000 03:01 17297 /lib/libm.so.6 4066e000-4067e000 r-xp 00000000 00:0a 50913488 /bluebird/teamswt/fheidric/Eclipse/motif/jdk1.4.1_01/jre/lib/i386/libverify.so 4067e000-40680000 rw-p 0000f000 00:0a 50913488 /bluebird/teamswt/fheidric/Eclipse/motif/jdk1.4.1_01/jre/lib/i386/libverify.so 40680000-406a1000 r-xp 00000000 00:0a 50913489 /bluebird/teamswt/fheidric/Eclipse/motif/jdk1.4.1_01/jre/lib/i386/libjava.so 406a1000-406a3000 rw-p 00020000 00:0a 50913489 /bluebird/teamswt/fheidric/Eclipse/motif/jdk1.4.1_01/jre/lib/i386/libjava.so 406a3000-406b8000 r-xp 00000000 00:0a 50913491 /bluebird/teamswt/fheidric/Eclipse/motif/jdk1.4.1_01/jre/lib/i386/libzip.so 406b8000-406ba000 rw-p 00014000 00:0a 50913491 /bluebird/teamswt/fheidric/Eclipse/motif/jdk1.4.1_01/jre/lib/i386/libzip.so 406ba000-41d88000 r--s 00000000 00:0a 19261675 /bluebird/teamswt/fheidric/Eclipse/motif/jdk1.4.1_01/jre/lib/rt.jar 41dcb000-41de2000 r--s 00000000 00:0a 19261909 /bluebird/teamswt/fheidric/Eclipse/motif/jdk1.4.1_01/jre/lib/sunrsasign.jar 41de2000-41e53000 r--s 00000000 00:0a 19261911 /bluebird/teamswt/fheidric/Eclipse/motif/jdk1.4.1_01/jre/lib/jsse.jar 41e53000-41e66000 r--s 00000000 00:0a 19261910 /bluebird/teamswt/fheidric/Eclipse/motif/jdk1.4.1_01/jre/lib/jce.jar 41e66000-42122000 r--s 00000000 00:0a 19261671 /bluebird/teamswt/fheidric/Eclipse/motif/jdk1.4.1_01/jre/lib/charsets.jar 441ca000-441cf000 r--s 00000000 00:0a 470508942 /bluebird/teamswt/fheidric/Eclipse/motif/eclipse/startup.jar 441cf000-441d0000 r--p 00000000 03:01 131745 /usr/lib/locale/en_US/LC_MEASUREMENT 4c250000-4c27b000 r--p 00000000 03:01 131859 /usr/lib/locale/en_US/LC_CTYPE 4c27b000-4c298000 r--s 00000000 00:0a 170922547 /bluebird/teamswt/fheidric/Eclipse/motif/jdk1.4.1_01/jre/lib/ext/sunjce_provider.jar 4c298000-4c337000 r--s 00000000 00:0a 170922549 /bluebird/teamswt/fheidric/Eclipse/motif/jdk1.4.1_01/jre/lib/ext/localedata.jar 4c337000-4c345000 r--s 00000000 00:0a 170922550 /bluebird/teamswt/fheidric/Eclipse/motif/jdk1.4.1_01/jre/lib/ext/ldapsec.jar 4c345000-4c35d000 r--s 00000000 00:0a 503636557 /bluebird/teamswt/fheidric/Eclipse/motif/eclipse/plugins/org.eclipse.core.boot_2.1.0/boot.jar 4c35d000-4c392000 r--s 00000000 00:0a 538257284 /bluebird/teamswt/fheidric/Eclipse/motif/eclipse/plugins/org.eclipse.core.runtime_2.1.0/runtime.jar 4c392000-4c3e1000 r--s 00000000 00:0a 455161444 /bluebird/teamswt/fheidric/Eclipse/motif/eclipse/plugins/org.eclipse.ui.views_2.1.0/views.jar 4c3e1000-4c5f8000 r--s 00000000 00:0a 319236461 /bluebird/teamswt/fheidric/Eclipse/motif/eclipse/plugins/org.eclipse.ui.workbench_2.1.0/workbench.jar 4c5f8000-4c664000 r--s 00000000 00:0a 645821 /bluebird/teamswt/fheidric/Eclipse/motif/eclipse/plugins/org.eclipse.jface_2.1.0/jface.jar 4c664000-4c73f000 r--s 00000000 00:0a 134612820 /bluebird/teamswt/fheidric/Eclipse/motif/eclipse/plugins/org.eclipse.swt.motif_2.1.0/ws/motif/swt.jar 4c73f000-4c7cc000 r--s 00000000 00:0a 640975273 /bluebird/teamswt/fheidric/Eclipse/motif/eclipse/plugins/org.eclipse.core.resources_2.1.0/resources.jar 4c7cc000-4c7e2000 r--s 00000000 00:0a 521328588 /bluebird/teamswt/fheidric/Eclipse/motif/eclipse/plugins/org.apache.xerces_4.0.7/xmlParserAPIs.jar 4c7e2000-4c901000 r--s 00000000 00:0a 521328590 /bluebird/teamswt/fheidric/Eclipse/motif/eclipse/plugins/org.apache.xerces_4.0.7/xercesImpl.jar 4c901000-4c917000 r--s 00000000 00:0a 19183721 /bluebird/teamswt/fheidric/Eclipse/motif/eclipse/plugins/org.eclipse.help.ui_2.1.0/helpworkbench.jar 4c917000-4c97e000 r--s 00000000 00:0a 184798629 /bluebird/teamswt/fheidric/Eclipse/motif/eclipse/plugins/org.eclipse.team.cvs.core_2.1.0/cvs.jar 4c97e000-4c9df000 r--s 00000000 00:0a 201334527 /bluebird/teamswt/fheidric/Eclipse/motif/eclipse/plugins/org.eclipse.compare_2.1.0/compare.jar 4c9df000-4ca12000 r--s 00000000 00:0a 438269573 /bluebird/teamswt/fheidric/Eclipse/motif/eclipse/plugins/org.eclipse.search_2.1.0/search.jar 4ca12000-4ca54000 r-xp 00000000 00:0a 184798670 /bluebird/teamswt/fheidric/Eclipse/motif/eclipse/plugins/org.eclipse.swt.motif_2.1.0/os/linux/x86/libswt-motif-2133.so 4ca54000-4ca57000 rw-p 00042000 00:0a 184798670 /bluebird/teamswt/fheidric/Eclipse/motif/eclipse/plugins/org.eclipse.swt.motif_2.1.0/os/linux/x86/libswt-motif-2133.so 4ca57000-4cbdb000 r-xp 00000000 00:0a 470478350 /bluebird/teamswt/fheidric/Eclipse/motif/eclipse/libXm.so.2.1 4cbdb000-4cbee000 rw-p 00183000 00:0a 470478350 /bluebird/teamswt/fheidric/Eclipse/motif/eclipse/libXm.so.2.1 4cbef000-4cbf0000 r--p 00000000 03:01 312256 /usr/lib/locale/en_US/LC_TELEPHONE 4cbf0000-4cbf1000 r--p 00000000 03:01 312251 /usr/lib/locale/en_US/LC_ADDRESS 4cbf1000-4cbf2000 r--p 00000000 03:01 312255 /usr/lib/locale/en_US/LC_NAME 4cbf2000-4cbf3000 r--p 00000000 03:01 410815 /usr/lib/locale/en_US/LC_PAPER 4cbf3000-4cbf4000 r--p 00000000 03:01 180665 /usr/lib/locale/en_US/LC_MESSAGES/SYS_LC_MESSAGES 4cbf4000-4cbf5000 r--p 00000000 03:01 131746 /usr/lib/locale/en_US/LC_MONETARY 4cbf5000-4cbf6000 r--p 00000000 03:01 131706 /usr/lib/locale/en_US/LC_TIME 4cbf6000-4cbf7000 r--p 00000000 03:01 131863 /usr/lib/locale/en_US/LC_NUMERIC 4cbf7000-4cbf9000 r-xp 00000000 03:01 411078 /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2 4cbf9000-4cbfa000 rw-p 00001000 03:01 411078 /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2 4cbfb000-4cbfd000 r-xp 00000000 03:01 279707 /usr/lib/gconv/ISO8859-1.so 4cbfd000-4cbfe000 rw-p 00001000 03:01 279707 /usr/lib/gconv/ISO8859-1.so 4cbff000-4ccf3000 r-xp 00000000 03:01 443403 /usr/X11R6/lib/libX11.so.6.2 4ccf3000-4ccf7000 rw-p 000f4000 03:01 443403 /usr/X11R6/lib/libX11.so.6.2 4ccf7000-4cd04000 r-xp 00000000 03:01 443411 /usr/X11R6/lib/libXext.so.6.4 4cd04000-4cd05000 rw-p 0000c000 03:01 443411 /usr/X11R6/lib/libXext.so.6.4 4cd05000-4cd53000 r-xp 00000000 03:01 443431 /usr/X11R6/lib/libXt.so.6.0 4cd53000-4cd57000 rw-p 0004d000 03:01 443431 /usr/X11R6/lib/libXt.so.6.0 4cd57000-4cd5e000 r-xp 00000000 03:01 443423 /usr/X11R6/lib/libXp.so.6.2 4cd5e000-4cd5f000 rw-p 00006000 03:01 443423 /usr/X11R6/lib/libXp.so.6.2 4cd5f000-4cd67000 r-xp 00000000 03:01 443401 /usr/X11R6/lib/libSM.so.6.0 4cd67000-4cd68000 rw-p 00007000 03:01 443401 /usr/X11R6/lib/libSM.so.6.0 4cd68000-4cd7c000 r-xp 00000000 03:01 443399 /usr/X11R6/lib/libICE.so.6.3 4cd7c000-4cd7d000 rw-p 00013000 03:01 443399 /usr/X11R6/lib/libICE.so.6.3 4cd7f000-4cd9b000 r-xp 00000000 03:01 411077 /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2 4cd9b000-4cd9d000 rw-p 0001b000 03:01 411077 /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2 4cd9d000-4cda2000 r--s 00000000 03:01 279753 /usr/lib/gconv/gconv-modules.cache 4cda2000-4cdf4000 r--s 00000000 00:0a 554074816 /bluebird/teamswt/fheidric/Eclipse/motif/eclipse/plugins/org.eclipse.update.core_2.1.0/updatecore.jar 4cdf4000-4ce21000 r--s 00000000 00:0a 19117447 /bluebird/teamswt/fheidric/Eclipse/motif/eclipse/plugins/org.eclipse.help_2.1.0/help.jar 4ce21000-4ce77000 r--s 00000000 00:0a 169348776 /bluebird/teamswt/fheidric/Eclipse/motif/eclipse/plugins/org.eclipse.jface.text_2.1.0/jfacetext.jar 4ce77000-4ce89000 r--s 00000000 00:0a 705780714 /bluebird/teamswt/fheidric/Eclipse/motif/eclipse/plugins/org.eclipse.text_2.1.0/text.jar 4ce89000-4cf03000 r--s 00000000 00:0a 755867905 /bluebird/teamswt/fheidric/Eclipse/motif/eclipse/plugins/org.eclipse.debug.ui_2.1.0/dtui.jar 4cf03000-4cfd1000 r--s 00000000 00:0a 622176762 /bluebird/teamswt/fheidric/Eclipse/motif/eclipse/plugins/org.eclipse.team.cvs.ui_2.1.0/teamcvsui.jar 4cfd1000-4d06d000 r--s 00000000 00:0a 50853065 /bluebird/teamswt/fheidric/Eclipse/motif/eclipse/plugins/org.eclipse.update.ui_2.1.0/updateui.jar 4d06d000-4d139000 r--s 00000000 00:0a 369982754 /bluebird/teamswt/fheidric/Eclipse/motif/eclipse/plugins/org.eclipse.ui.externaltools_2.1.0/externaltools.jar 4d139000-4d157000 r--s 00000000 00:0a 152107940 /bluebird/teamswt/fheidric/Eclipse/motif/eclipse/plugins/org.eclipse.debug.core_2.1.0/dtcore.jar 4d157000-4d171000 r--s 00000000 00:0a 470483805 /bluebird/teamswt/fheidric/Eclipse/motif/eclipse/plugins/org.eclipse.ui.editors_2.1.0/editors.jar 4d171000-4d1b8000 r--s 00000000 00:0a 640981652 /bluebird/teamswt/fheidric/Eclipse/motif/eclipse/plugins/org.eclipse.team.ui_2.1.0/teamui.jar 4d1b8000-4d1f0000 r--s 00000000 00:0a 353223126 /bluebird/teamswt/fheidric/Eclipse/motif/eclipse/plugins/org.eclipse.ui.workbench.texteditor_2.1.0/texteditor.jar 4d1f0000-4d1f9000 r-xp 00000000 03:01 411082 /usr/X11R6/lib/X11/locale/lib/common/xomGeneric.so.2 4d1f9000-4d1fa000 rw-p 00008000 03:01 411082 /usr/X11R6/lib/X11/locale/lib/common/xomGeneric.so.2 4d1fa000-4d211000 r--s 00000000 00:0a 772310921 /bluebird/teamswt/fheidric/Eclipse/motif/eclipse/plugins/org.eclipse.team.core_2.1.0/team.jar 4d211000-4d214000 r--s 00000000 00:0a 673327024 /bluebird/teamswt/fheidric/Eclipse/motif/eclipse/plugins/org.eclipse.help.appserver_2.1.0/appserver.jar 4d214000-4d23a000 r--s 00000000 00:0a 420296549 /bluebird/teamswt/fheidric/Eclipse/motif/eclipse/plugins/org.eclipse.update.ui.forms_2.1.0/forms.jar 4d23a000-4d2ed000 r--s 00000000 00:0a 722016088 /bluebird/teamswt/fheidric/Eclipse/motif/eclipse/plugins/org.apache.ant_1.5.2/ant.jar 4d2ed000-4d391000 r--s 00000000 00:0a 722016090 /bluebird/teamswt/fheidric/Eclipse/motif/eclipse/plugins/org.apache.ant_1.5.2/optional.jar 4d391000-4d398000 r--s 00000000 00:0a 604308102 /bluebird/teamswt/fheidric/Eclipse/motif/eclipse/plugins/org.eclipse.ant.core_2.1.0/antsupport.jar Local Time = Fri Mar 28 12:17:43 2003 Elapsed Time = 1392 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_01-b01 mixed mode) # # An error report file has been saved as hs_err_pid4636.log. # Please refer to the file for further information. #
2003-03-28 12:26:35
1,048,870,000
resolved fixed
b067e67
1,059,150,000
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/motif/org/eclipse/swt/dnd/DropTarget.java bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/OS.java
SWT
3,634
33,370
Bug 33370 event firing differences (win32/motif)
RC1 This is marked as a linux-motif problem since win32 is generally "right". I noticed these differences by watching the events console in the ControlExample while running on different platforms. Drop down a Combo: - motif does not fire a MouseUp after the triggering MouseDown - win32 does Select a combo item that is already selected (ie.- the previous selection) - motif fires Selection - win32 fires Modify + Selection. The following all seem like the same thing (Selection events are fired early by the emulated Table and Tree); Select a Table item - motif fires Selection + MouseDown + MouseUp - win32 fires MouseDown + Selection + MouseUp Select a TreeItem - motif fires Selection + MouseDown + MouseUp - win32 fires MouseDown + Selection + MouseUp Expand a TreeItem - motif fires Selection + MouseDown + MouseUp - win32 fires MouseDown + Selection + MouseUp Collapse a TreeItem - motif fires Selection + Collapse + MouseDown - win32 fires Collapse + MouseDown + Selection
2003-02-26 16:32:37
1,046,300,000
resolved fixed
e677292
1,059,140,000
bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/SelectableItemWidget.java
SWT
3,635
38,712
Bug 38712 'Gtk CRITICAL' error being roported by SWT in Linux-GTK. (BBAWT)
I'm running RH9, and whenever I run a JUnit test with SWT on top of GTK, I get the following error: (<unknown>:2895): Gtk-CRITICAL **: file gtkwidget.c: line 4814 (gtk_widget_set_size_request): assertion `height >= -1' failed This comes up in today's (6/10/03) head version of SWT, as well as 3008, 3007, and every other one that I've tested back through 2134. Unfortunately, I can't seem to come up with a test case because I can't seem to get this error apart from using JUnit, and I don't have the source for that.
2003-06-10 11:38:21
1,055,260,000
resolved fixed
02814ae
1,059,060,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java
SWT
3,636
39,730
Bug 39730 code assist popup does not take focus
20030703 on windows, when the code assist window comes up, the first item is selected on GTK, this does not happen until i press arraw_down which is very frustrating major for me (dunno if it's text or swt though)
2003-07-08 05:06:45
1,057,660,000
resolved fixed
2f9872f
1,058,980,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/List.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
3,637
35,761
Bug 35761 ControlExample - Label - Image labels issue with SWT.WRAP
I20030326 Run ControlExample Switch to Label tab Select SWT.WRAP The image labels go away. They don't on Windows.
2003-03-27 11:12:35
1,048,780,000
resolved fixed
5f841a6
1,058,800,000
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Label.java
SWT
3,638
35,861
Bug 35861 crash in gtk_editable_delete_selection on GTK 2.2.1/Redhat 7.1
After compiling, running eclipse and looking around in the environment I got a crash: An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4D1DD704 Function=gtk_editable_get_selection_bounds+0x44 Library=/usr/local/lib/libgtk-x11-2.0.so.0 Current Java thread: at org.eclipse.swt.internal.gtk.OS.gtk_editable_delete_selection(Native Method) - locked <0x48578df8> (a java.lang.Class) at org.eclipse.swt.widgets.Combo.clearSelection(Combo.java:279) at org.eclipse.ui.internal.commands.KeyPreferencePage.setActiveKeyConfig urationId(KeyPreferencePage.java:1600) at org.eclipse.ui.internal.commands.KeyPreferencePage.copyToUI(KeyPrefer encePage.java:498) at org.eclipse.ui.internal.commands.KeyPreferencePage.setVisible(KeyPref erencePage.java:409) at org.eclipse.jface.preference.PreferenceDialog.showPage(PreferenceDial og.java:1063) at org.eclipse.jface.preference.PreferenceDialog$9.run(PreferenceDialog. java:495) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.jface.preference.PreferenceDialog$8.widgetSelected(Prefer enceDialog.java:489) at org.eclipse.jface.util.OpenStrategy.firePostSelectionEvent(OpenStrate gy.java:198) at org.eclipse.jface.util.OpenStrategy.access$800(OpenStrategy.java:33) at org.eclipse.jface.util.OpenStrategy$3.run(OpenStrategy.java:333) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.ja va:98) - locked <0x44bedb08> (a org.eclipse.swt.widgets.RunnableLock) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:1614) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1432) at org.eclipse.jface.window.Window.runEventLoop(Window.java:583) at org.eclipse.jface.window.Window.open(Window.java:563) at org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesActi on.java:53) at org.eclipse.jface.action.Action.runWithEvent(Action.java:842) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection (ActionContributionItem.java:456) at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(Act ionContributionItem.java:403) at org.eclipse.jface.action.ActionContributionItem.access$000(ActionCont ributionItem.java:44) at org.eclipse.jface.action.ActionContributionItem$ActionListener.handle Event(ActionContributionItem.java:72) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:913) .....
2003-03-31 04:52:15
1,049,100,000
resolved fixed
6fac09a
1,058,560,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/Text.java
SWT
3,639
40,216
Bug 40216 Right CTRL+SHIFT right justifies text and reverses scroll bars
Opening a text editor and then pressing and holding right CTRL and then pressing SHIFT will flip the scroll bars to the right side and right justify the text. STEPS: 1.) Open a text editor 2.) Press and hold right CTRL 3.) Press right SHIFT They maybe other steps to get into this state.
2003-07-16 10:21:00
1,058,370,000
resolved fixed
8862e90
1,058,380,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextBidi.java bundles/org.eclipse.swt/Eclipse SWT/emulated/bidi/org/eclipse/swt/internal/BidiUtil.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/internal/BidiUtil.java
SWT
3,640
38,777
Bug 38777 Out of bound exception in ColorDialog
I was 'playing' with the ControlExample on Linux Motif. Tab 'text'. Changing the background color many times. Got the following stack trace at one point. Can't reproduce :-( Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 8 at org.eclipse.swt.widgets.ColorDialog.mouseDown(ColorDialog.java:324) at org.eclipse.swt.widgets.ColorDialog.handleEvents(ColorDialog.java:213) at org.eclipse.swt.widgets.ColorDialog$1.handleEvent(ColorDialog.java:314) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:805) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2078) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1864) at org.eclipse.swt.widgets.ColorDialog.openModal(ColorDialog.java:412) at org.eclipse.swt.widgets.ColorDialog.open(ColorDialog.java:356) at org.eclipse.swt.examples.controlexample.Tab$2.widgetSelected(Tab.java:162) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:89) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:805) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2078) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1864) at org.eclipse.swt.examples.controlexample.ControlExample.main(ControlExample.java:310)
2003-06-11 10:37:05
1,055,340,000
resolved fixed
93a1334
1,058,370,000
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/ColorDialog.java
SWT
3,641
40,159
Bug 40159 Combo throws exception in junit test
4) test_removeII (org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Combo) java.lang.IllegalArgumentException: Index out of bounds at org.eclipse.swt.SWT.error(SWT.java:2351) at org.eclipse.swt.SWT.error(SWT.java:2295) at org.eclipse.swt.widgets.Widget.error(Widget.java:375) at org.eclipse.swt.widgets.Combo.remove(Combo.java:938) at org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Combo.test_removeII (Test_org_eclipse_swt_widgets_Combo.java:397) at org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Combo.runTest (Test_org_eclipse_swt_widgets_Combo.java:688) at org.eclipse.swt.tests.junit.AllTests.main(AllTests.java:25) 5) test_setItemILjava_lang_String (org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Combo) java.lang.ArrayIndexOutOfBoundsException: 0 at org.eclipse.swt.widgets.Combo.setItem(Combo.java:1103) at org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Combo.test_setItemILja va_lang_String(Test_org_eclipse_swt_widgets_Combo.java:503) at org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Combo.runTest (Test_org_eclipse_swt_widgets_Combo.java:695) at org.eclipse.swt.tests.junit.AllTests.main(AllTests.java:25)
2003-07-15 17:28:45
1,058,300,000
resolved fixed
b3451b0
1,058,300,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java
SWT
3,642
40,155
Bug 40155 Font.dispose() throws NPE
null
2003-07-15 16:50:04
1,058,300,000
resolved fixed
0174410
1,058,300,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Font.java
SWT
3,643
40,130
Bug 40130 StyledText - add accessibility support to StyledText
build 20030611 Opening bug to track changes Grant submitted for making StyledText accessible (adding AccessibleControlListener).
2003-07-15 14:03:52
1,058,290,000
resolved fixed
09d4604
1,058,290,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
SWT
3,644
38,855
Bug 38855 regression - Table.getImageBounds returns incorrect value
Take the propertysheet as an example. If you select a project and try to click on the +/- next to the "Info" category entry, it won't expand/collapse. In this particular case if you click just on the upper-left corner of the box around the +/- you may be able to get it to work. But if you click anywhere else it won't work. In this particular case, TableTreeItem.getImageBounds() was returning a box that was lower than where you were clicking such that the event location only overlapped the image bounds at the upperleft corner. However, there is also a problem in that getImageBounds() doesn't return a rectangle with any dimensions many times. With the standard properties for things like project, there are no expandable properties other than the "info" category. But in our editor (Java Visual Editor) we have many such properties. And during testing, even though there were some entries that showed a +/-, the getImageBounds() returned a zero-sized rectangle for all of them. Though it wasn't consistent. It would return zero-sized most of the time, but not all of the time. This makes the property sheet unusable for expanded properties and categories.
2003-06-12 16:03:24
1,055,450,000
resolved fixed
0e2e57b
1,058,280,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/TableItem.java
SWT
3,645
39,032
Bug 39032 Bidi: StyledText - exception in autoscroll in bidi
build 20030611 -Enter a blank line in a StyledText widget running in bidi mode -Enter a long line of text immediately after the blank line -Size the widget so that you can autoscroll horizontally -Place the cursor at the beginning of the second line -Mouse select to the right to activate auto scrolling and then select up one line (to the blank line) ->An ArrayIndexOutOfBoundsException is thrown in StyledTextBidi.getVisualOffset java.lang.ArrayIndexOutOfBoundsException: -1 at org.eclipse.swt.custom.StyledTextBidi.getVisualOffset (StyledTextBidi.java:807) at org.eclipse.swt.custom.StyledText.doVisualNext(StyledText.java:3351) at org.eclipse.swt.custom.StyledText$4.run(StyledText.java:2442) at org.eclipse.swt.widgets.Display.runTimer(Display.java:2083) at org.eclipse.swt.widgets.Display.messageProc(Display.java:1633) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java(Inlined Compiled Code)) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java(Inlined Compiled Code)) at org.eclipse.swt.examples.exampleframework.SwtExample.run (SwtExample.java(Compiled Code)) at org.eclipse.swt.examples.tests.SwtStyledTextUseCase.main (SwtStyledTextUseCase.java:767) Exception in thread "main"
2003-06-17 13:30:57
1,055,870,000
resolved fixed
4987194
1,058,200,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
SWT
3,646
37,428
Bug 37428 Extra pop up menu on text widget with setMenu
Eclipse 2.1 Run the following code. Right click in the text widget and you will see a native pop up menu as well as the one I have added. Also happens with Shift+F10. public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); final Text t = new Text(shell, SWT.READ_ONLY | SWT.BORDER |SWT.V_SCROLL | SWT.H_SCROLL | SWT.MULTI); t.setBounds(10, 10, 250, 250); Menu menu = new Menu (shell, SWT.POP_UP); MenuItem item = new MenuItem (menu, SWT.PUSH); item.setText ("Clear"); item.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { t.setText(""); } }); t.setMenu(menu); shell.pack(); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); }
2003-05-09 11:02:50
1,052,490,000
resolved fixed
5ee66b4
1,057,960,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Menu.java
SWT
3,647
39,236
Bug 39236 Completely different behaviour for creating a shell with a parent versus calling setParent
Launch the folowing example. Note that the shell in red is located at (10,10) relative to the display rather than to its parent shell. Click in the red shell which will trigger the setParent call (to the same parent as it already had). Suddenly the red shell becomes an MDI shell (rather than a dialog) and it moves with the parent shell and is positioned relative to the parent shell. public static void main(String[] args) { final Display display = new Display(); final Shell shell = new Shell(display); final Shell s = new Shell(shell); s.setBackground(display.getSystemColor(SWT.COLOR_RED)); s.addMouseListener(new MouseAdapter() { public void mouseDown(org.eclipse.swt.events.MouseEvent e) { s.setParent(shell); } }); shell.open(); s.setBounds(10, 10, 100, 100); s.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); }
2003-06-23 12:34:48
1,056,390,000
resolved fixed
a397adb
1,057,930,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Decorations.java
SWT
3,648
39,013
Bug 39013 scrolling down in editor corrupts contents
When using the arrow keys to scroll up/down in an editor view the view contents become corrupted. Using the mouse to scroll doesn't have this problem. Using build N20030617
2003-06-17 09:55:58
1,055,860,000
resolved fixed
8079286
1,057,710,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/Canvas.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java
SWT
3,649
38,809
Bug 38809 DCR - need Display.getSystemCursor()
I20030605 Red Hat 9 Eclipse - open the SWT GTK file OS.java The method outliner takes a long time. This seems to be caused by the new animated wait cursor used by Gnome in RH9. OptimizeIt reports ~40% spent in Cursor.init, from BusyIndicator.showWhile (itself from AbstractTreeViewer probably calling us for each method/variable found in the java file. Measures ('real', without OptimizeIt): regular code: about 20s to 40s to open OS.java (create ~ 900 Wait Cursors) code which reuses the Wait cursor in busyIndicator.showwhile: 4s to 7s
2003-06-11 17:25:13
1,055,370,000
resolved fixed
bae8b23
1,057,700,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/BusyIndicator.java
SWT
3,650
37,490
Bug 37490 BIDI: text in the rtl-oriented Text control can't be aligned to the trailing edge of this control.
SWT, as usually, uses for creating of it's Text control CreateWindowEx() native call with WS_EX_LAYOUTRTL extended window's style. In spite of this, corresponding native Edit control is created as not mirrored window with WS_EX_RIGHT, WS_EX_LEFTSCROLLBAR and WS_EX_RTLREADING extended styles and ES_RIGHT alignment style. Therefore contents of rtl-oriented Text control can't be aligned to it's trailing edge. We suggest to use WS_EX_RTLREADING and WS_EX_LEFTSCROLLBAR instead of WS_EX_LAYOUTRTL extended style. Using of alignment styles will depend on current orientation of Text control.
2003-05-12 06:08:03
1,052,730,000
resolved fixed
b40aaea
1,057,690,000
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/Control.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Text.java
SWT
3,651
21,212
Bug 21212 GTK:Selecting a Checkbox from within the selection callback causes infinite loop(BBAWT)
The following example works on Windows but does not work on GTK. This emulates the way our AWT works with the Button. This test has two classes, but the second class should be run(TestSWTRadiobutton). ----------- CheckboxGroup class starts here ------------------ import java.io.Serializable; import org.eclipse.swt.widgets.Button; public class CheckboxGroup { Button selectedCheckbox; public CheckboxGroup() { } public Button getCurrent() { return getSelectedCheckbox(); } public Button getSelectedCheckbox() { return selectedCheckbox; } public void setCurrent(Button checkbox) { setSelectedCheckbox(checkbox); } public void setSelectedCheckbox(Button checkbox) { if (selectedCheckbox == checkbox) { return; } if ((checkbox != null) ) { return; } if (selectedCheckbox != null) selectedCheckbox.setSelection(false); selectedCheckbox = checkbox; if (selectedCheckbox != null) selectedCheckbox.setSelection(true); } void updateSelectedCheckbox(Button checkbox, boolean state) { if (state) { setSelectedCheckbox(checkbox); } else { if (checkbox == selectedCheckbox) { selectedCheckbox = null; } } } } -------------------CheckboxGroup class ends here ---------------------- --------------TestRadioButton class starts here --------------- import org.eclipse.swt.SWT; import org.eclipse.swt.events.SelectionAdapter; import org.eclipse.swt.events.SelectionEvent; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.widgets.*; public class TestSwtRadiobutton { public static void main(String[] args) { final Display disp = Display.getDefault(); final Shell shell = new Shell(disp); shell.setLayout(new FillLayout()); final CheckboxGroup group = new CheckboxGroup(); final String names[] = { "button1", "button2", "button3", "button4", "button5" }; for (int i = 0; i < names.length; i++) { final Button box = new Button(shell, SWT.RADIO); box.setText(names[i]); box.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { boolean state = box.getSelection(); if (!state) { box.setSelection(true); group.updateSelectedCheckbox(box, true); return; } group.updateSelectedCheckbox(box, state); } }); } shell.setSize(800, 400); shell.open(); while (!shell.isDisposed()) { if (!disp.readAndDispatch()) { disp.sleep(); } } } } ---------------TestSWTRadiobutton class ends here ---------------
2002-07-03 14:21:25
1,025,720,000
resolved fixed
463a1f2
1,057,610,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Button.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Composite.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java
SWT
3,652
39,119
Bug 39119 Text.ComputeSize(0) returning 0 on GTK (BBAWT)
Linux - RH8 SWT 3009 The following test case creates a Text and then calls computeSize(0,0). On Motif, Windows 2000, and QNX, a positive value is returned {(14,15), (13,7), and (5,5), respectively}. But GTK returns (0,0). It looks like computeSize(x,y) on GTK always returns (x,y), while all other platforms tested seem to add the noted values to x and y. import org.eclipse.swt.SWT; import org.eclipse.swt.graphics.Point; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; import org.eclipse.swt.widgets.Text; public class SWTTextFieldTest { Display display; Shell shell; Text text; Point insetSize; public void run() { display = new Display(); shell = new Shell(display); text = new Text( shell, SWT.SINGLE | SWT.BORDER | SWT.NULL | SWT.CLIP_CHILDREN | SWT.CLIP_SIBLINGS); shell.setSize(300, 300); shell.open(); insetSize = text.computeSize(0, 0); System.out.println("InsetSize = " + insetSize); while (!shell.isDisposed()) { display.readAndDispatch(); display.sleep(); } display.dispose(); } public static void main(String[] args) { new SWTTextFieldTest().run(); } }
2003-06-19 09:47:00
1,056,030,000
resolved fixed
3be5b3e
1,057,340,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java
SWT
3,653
39,443
Bug 39443 GTK Error calling TreeItem.getExpanded() on a tree item being disposed.
Here's a simple test case that works just fine on Motif, Windows and OS X, but crashes on GTK. We do something similar in GEF and it crashes the entire workbench -- I couldn't find anything in the log or console that even showed an error occured. This test case here shows the following error message in the console: Gtk-ERROR **: file gtktreestore.c: line 576 (gtk_tree_store_get_path): assertion failed: (G_NODE (iter->user_data)->parent != NULL) import org.eclipse.swt.SWT; import org.eclipse.swt.events.DisposeEvent; import org.eclipse.swt.events.DisposeListener; import org.eclipse.swt.widgets.*; public class TreeTest { public static void main(String[] args) { Shell shell = new Shell(); Tree tree = new Tree(shell, SWT.NONE); final TreeItem item1 = new TreeItem(tree, SWT.NONE); item1.setText("Item 1"); item1.addDisposeListener(new DisposeListener() { public void widgetDisposed(DisposeEvent e) { boolean expanded = item1.getExpanded(); } }); tree.removeAll(); shell.open(); Display display = Display.getDefault(); while (!shell.isDisposed()) if (!display.readAndDispatch()) display.sleep(); display.dispose(); } }
2003-06-27 16:09:03
1,056,740,000
resolved fixed
9b0630f
1,057,340,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java
SWT
3,654
36,997
Bug 36997 DCR: Accessibility on GTK
Implement Accessibility on GTK.
2003-04-28 11:01:30
1,051,540,000
resolved fixed
adaa848
1,057,180,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java
SWT
3,655
39,107
Bug 39107 Up and Down keys not always work for Combo
It occurs only on GTK. After creating a read only combo, and add to it several values, by pressing the up / down keys, the value of the combo changes. This works almost fine with two problems, the first value of the combo and the last value of the combo. When i reach to the first value and press the up key, the focus is lost, and pressing either up or down key won't release me from this state, only using the mouse will do the work here. Same for the last value, but with pressing the down key.
2003-06-19 05:13:35
1,056,010,000
resolved fixed
d8f94e0
1,056,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/Combo.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/Widget.java
SWT
3,656
12,220
Bug 12220 SWT Mouse Enter comes before Mouse Exit [portability]
If I have two controls, A and B, and move the mouse from one to the other, control B will get entered, and then control A exited. These events are out of order. The exit should happen first, followed by the enter. import org.eclipse.swt.SWT; import org.eclipse.swt.events.*; import org.eclipse.swt.events.MouseEvent; import org.eclipse.swt.events.MouseMoveListener; import org.eclipse.swt.graphics.Color; import org.eclipse.swt.widgets.*; public class ExitEnterTest { public static void main(String args[]){ Display display = new Display(); final Shell shell = new Shell(display); shell.setSize(600, 600); shell.setLocation(100,100); Canvas canvas2 = new Canvas(shell, 0); Canvas canvas1 = new Canvas(shell, 0); canvas1.setBackground(new Color(null, 20,200,100)); canvas1.setBounds(50, 50, 200, 200); canvas1.addMouseTrackListener(new MouseTrackAdapter() { public void mouseExit(MouseEvent e) { System.out.println("canvas1 exited"); } }); canvas2.setBounds(100, 100, 200, 200); canvas2.setBackground(new Color(null,200,20,200)); canvas2.addMouseTrackListener(new MouseTrackAdapter() { public void mouseEnter(MouseEvent e) { System.out.println("canvas2 entered"); } }); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } }
2002-03-25 10:45:11
1,017,070,000
resolved fixed
53ae165
1,056,660,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java
SWT
3,657
39,140
Bug 39140 SWT.VERTICAL ignored in ToolBar
If you create a ToolBar with the SWT.VERTICAL flga it is ignored unless you slam the size of the widget to only fit one entry.
2003-06-19 15:56:03
1,056,050,000
resolved fixed
85174ac
1,056,650,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ToolBar.java
SWT
3,658
19,153
Bug 19153 Combo fires too many SelectionEvents in GTK2
Build F2 (20020602) Redhat 7.2, GTK2 KDE 2.2-10 (GTK2 only) If you add a SelectionListener to a Combo, then your widgetSelected() will be called many more times than would be expected. For example, If you click and hold the arrow then move on one of the elements in the drop down list (still holding button), then it continually fires events even though you're not moving. Also, every element you move your mouse over causes multiple selection events. Another problem is that as soon as you click the arrow then move your mouse one pixel, the first element is selected. This can be bad if you don't remember what it was on before and just want to see the options. This example demonstrates this.. it just prints "X" everytime widgetSelected() is called. ----------------------------------------------- public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new GridLayout()); shell.setSize(200, 200); Combo combo = new Combo(shell, SWT.DEFAULT); combo.add("a"); combo.add("bbb"); combo.add("cccccc"); combo.select(0); combo.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { System.out.print("X"); } }); shell.open(); while (!shell.isDisposed()) if (!display.readAndDispatch()) display.sleep(); display.dispose(); } -----------------------------------------------
2002-06-04 14:07:18
1,023,210,000
resolved fixed
cd1cc03
1,056,640,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java
SWT
3,659
38,606
Bug 38606 List constructor with SWT.SIMPLE | SWT.MULTI style parameters behaves incorrectly (BBAWT)
If you create a list using the List(Shell, SWT.MUlTI|SWT.SIMPLE) constructor, it will not correctly handle events in Motif. In the following example, events on the list are reported to the terminal by GTK but NOT by Motif. import org.eclipse.swt.SWT; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Event; import org.eclipse.swt.widgets.List; import org.eclipse.swt.widgets.Listener; import org.eclipse.swt.widgets.Shell; public class SWTListTest { Display display; Shell shell; List list; public void run() { display = new Display(); shell = new Shell(display, SWT.SHELL_TRIM); shell.setSize(400,400); shell.setLayout(new FillLayout()); list = new List(shell, SWT.MULTI | SWT.SIMPLE); list.add("item 1"); list.add("item 2"); list.add("item 3"); Listener l = new Listener(){ public void handleEvent(Event event) { if(event.type == SWT.Selection){ int selected = (list.getSelectionIndices()).length; System.out.println("selected = " + selected); } } }; list.addListener(SWT.Selection, l); list.addListener(SWT.DefaultSelection, l); shell.open(); while (!shell.isDisposed()) { display.readAndDispatch(); display.sleep(); } display.dispose(); } public static void main(String[] args) { new SWTListTest().run(); } }
2003-06-06 16:13:44
1,054,930,000
resolved fixed
fb772df
1,056,490,000
bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/OS.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/List.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Widget.java
SWT
3,660
20,083
Bug 20083 CCombo method redraw() does not work
Build 20020611 Win2k Calling the redraw() method on a CCombo does not redraw the CCombo. It will, however, draw a CCombo's border if one is present. Using the redraw(int, int, int, int, boolean) method does work though. The redraw(int, int, int, int, boolean) is overridden in CCombo to deal with the fact that it is implemented using a Text and a Button as children. However, redraw() is not overridden, so it will only draw the underlying composite, and not the children (which is what you see). Here's an example to see this: ---------------------- public static void main (String[] args) { Display display = new Display (); Shell shell = new Shell (display); shell.setLayout (new GridLayout ()); final Combo combo = new Combo (shell, SWT.NONE); final CCombo ccombo = new CCombo (shell, SWT.NONE); shell.pack (); shell.open (); shell.forceFocus (); GC gc = new GC (display); gc.fillRectangle (shell.getBounds ()); gc.dispose (); shell.redraw (); combo.redraw (); ccombo.redraw (); while (!shell.isDisposed ()) { if (!display.readAndDispatch ()) display.sleep (); } display.dispose (); } ----------------------
2002-06-12 17:34:15
1,023,920,000
resolved fixed
00fdc21
1,056,460,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java
SWT