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
861
287,307
Bug 287307 [Widgets] [GTK2.18] Control.setZOrder broken on Gtk+ >= 2.17.3
null
2009-08-21 10:53:21
1,250,870,000
resolved fixed
d569a8e
1,252,620,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
862
277,072
Bug 277072 onbeforeunload dialog is not displayed
null
2009-05-20 03:39:50
1,242,810,000
resolved fixed
52b84ff
1,252,610,000
bundles/org.eclipse.swt/Eclipse SWT Browser/carbon/org/eclipse/swt/browser/Safari.java bundles/org.eclipse.swt/Eclipse SWT Browser/cocoa/org/eclipse/swt/browser/Safari.java bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/Browser.java bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/WebBrowser.java bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/IE.java bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/Mozilla.java bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java
SWT
863
288,856
Bug 288856 [Browser] dialog is not shown in response to returned string from onbeforeunload JS event
null
2009-09-08 14:48:58
1,252,440,000
resolved fixed
328b563
1,252,440,000
bundles/org.eclipse.swt/Eclipse SWT Browser/carbon/org/eclipse/swt/browser/Safari.java bundles/org.eclipse.swt/Eclipse SWT Browser/cocoa/org/eclipse/swt/browser/Safari.java bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java
SWT
864
288,452
Bug 288452 TextLayout renders underlines badly when antialias is on
User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; fr; rv:1.9.0.13) Gecko/2009080315 Ubuntu/9.04 (jaunty) Firefox/3.0.13 Build Identifier: I20090611-1540 When using antialias and rendering underlines, the line instead of being crisp is washed instead of being crisp. This does not happen on earlier versions neither it doesn't happen on Linux or Mac OS X for the same version. See this screenshot and the snippet for more details. Reproducible: Always
2009-09-03 07:16:27
1,251,980,000
closed fixed
17e8a7d
1,251,990,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java
SWT
865
288,480
Bug 288480 Label creates SWTView that it doesn't register.
Should either register the view, or use an NSView
2009-09-03 10:24:04
1,251,990,000
resolved fixed
fac69d0
1,251,990,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Label.java
SWT
866
281,695
Bug 281695 Incorrect loading of cursors from custom PNG images on Windows.
null
2009-06-26 13:49:52
1,246,040,000
resolved fixed
845cd36
1,251,840,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Cursor.java
SWT
867
283,217
Bug 283217 Can't print Image with alphas with transparent pixel unspecified
null
2009-07-11 00:44:47
1,247,290,000
resolved fixed
1f2f75e
1,251,760,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java
SWT
868
288,146
Bug 288146 Can't apply a patch via a wizard
Build id: N20090829-2000 1. Open an Apply Patch Wizard 2. Copy a valid patch into the clipboard 3. Select Clipboard as the patch location and click Next Result: 4. The wizard freezes and can only be closed by 'x' button 5. After closing the wizard two exceptions are logged This failure was exposed by DNFs in compare tests in few recent N-builds. After some investigation I assume it's caused by recent changes in SWT. I mean build I20090818-0800 work fine, the same build with compare from HEAD works fine too. Adding SWT from HEAD to that configuration makes the problem appear. I'll attach log entries shortly. However they probably don't convey to much information.
2009-08-31 11:39:43
1,251,730,000
resolved fixed
2fb2715
1,251,740,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Text.java
SWT
869
287,495
Bug 287495 [Graphics] ArrayIndexOutOfBoundsException scaling PNG
null
2009-08-24 18:44:17
1,251,150,000
resolved fixed
16fd572
1,251,730,000
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/PNGFileFormat.java
SWT
870
284,858
Bug 284858 [Widgets] TableColumn.pack() results in a table that does not fit the header on SWT cocoa
null
2009-07-28 09:38:32
1,248,790,000
resolved fixed
51f2135
1,251,500,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/TableColumn.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Tree.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/TreeColumn.java
SWT
871
287,665
Bug 287665 [Widgets] SWT.SHEET and non responsive file and directory dialogs on Mac OS X
On Mac OS X, if an application is using MessageBox, created with style bit SWT.SHEET, and once such a MessageBox is created and displayed (and closed afterwards), any subsequently created FileDialog (or DirectoryDialog) becomes unresponsive in a sense, that it can not be closed by clicking on OK or Cancel Button, or by double-clicking on the file user wants to select. Steps to reproduce this bug: - create a Shell, - create and open a MessageBox with style SWT.SHEET, - close this MessageBox, - create and open a FileDialog or a DirectoryDialog (it doesn't matter if it is created with SWT.SHEET or not), - select a file (or directory) and press OK or Cancel button - the dialog won't close and selected file/directory can't be obtained from it.
2009-08-26 04:43:30
1,251,280,000
resolved fixed
926491b
1,251,310,000
bundles/org.eclipse.swt/Eclipse SWT Printing/cocoa/org/eclipse/swt/printing/PrintDialog.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/MessageBox.java
SWT
872
287,694
Bug 287694 [Widgets] Spinner.setIncrement() throwing ArithmeticException for divide by zeros
null
2009-08-26 09:28:33
1,251,290,000
resolved fixed
04535a9
1,251,300,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Spinner.java
SWT
873
218,562
Bug 218562 NPE when dispose before shell is opened
- run the snippet below, and you'll get the error at the bottom public static void main(String[] args) { final Display display = new Display(); final Shell shell = new Shell(display); shell.setLayout(new FillLayout()); shell.setBounds(10,10,200,200); shell.addListener(SWT.FocusIn, new Listener() { public void handleEvent(Event event) { shell.dispose(); } }); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } Exception in thread "main" java.lang.NullPointerException at org.eclipse.swt.widgets.Decorations.restoreFocus(Decorations.java:806) at org.eclipse.swt.widgets.Decorations.WM_SETFOCUS(Decorations.java:1706) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3844) at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:334) at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1555) at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:1891) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4460) at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:2328) at org.eclipse.swt.widgets.Shell.callWindowProc(Shell.java:456) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3866) at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:334) at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1555) at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:1891) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4460) at org.eclipse.swt.internal.win32.OS.BringWindowToTop(Native Method) at org.eclipse.swt.widgets.Decorations.bringToTop(Decorations.java:228) at org.eclipse.swt.widgets.Shell.open(Shell.java:1116) at win32.Main.main(Main.java:20)
2008-02-11 16:27:48
1,202,770,000
resolved fixed
15fe1ff
1,251,210,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Decorations.java
SWT
874
278,886
Bug 278886 [Widgets] setBackgroundMode not working on Text
Setting background to null on a text field does not result in transparency. I'll attach a screenshot to illustrate the problem.
2009-06-02 19:30:33
1,243,990,000
resolved fixed
65a280d
1,251,150,000
bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTableView.java bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextView.java bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Button.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Combo.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Composite.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/DateTime.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Label.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Link.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/List.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Scrollable.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Spinner.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Text.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Tree.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Widget.java
SWT
875
287,149
Bug 287149 [Widgets] FileDialog can not open a directory correctly on linux gtk swt
Build ID: I20090611-1540 Steps To Reproduce: 1. write a swt example on linux platform with code like this FileDialog fileDialog=new FileDialog(Display.getDefault().getActiveShell(),SWT.OPEN); fileDialog.setFileName("/tmp"); fileDialog.open(); 2. run this example ,you will see File dialog opened and select "tmp" directory . BUT NOT GO INTO THE TMP directory. More information: checked windows , its ok. I am using gtk32 bit linux, gtk 64bit not checked, gtk 64 may have same problem. root cause is: line 534 of FileDialog.java always invoke OS.gtk_file_chooser_set_filename(..) and don't consider if it is a file or directory. Solution can be: replace line 534 with following if(fileName.isEmpty()){ OS.gtk_file_chooser_set_current_folder(..); }else{ OS.gtk_file_chooser_set_filename(..) ; }
2009-08-20 04:20:01
1,250,760,000
resolved fixed
188f7ad
1,251,130,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/FileDialog.java
SWT
876
276,416
Bug 276416 F16-F19 unusable as shortcut keys in General -> Keys
Build ID: I20090430-2300 Steps To Reproduce: Using an Apple keyboard with extra function keys: 1. Open Eclipse Preferences 2. Go to General -> Keys 3. Attempt to bind the F16-F19 keys to commands (I used the Show Perspective commands) More information: F16 displays as a space in the text field but doesn't perform the action when pressed. F17-F19 don't do anything when pressed in the text field. F13-F15 work as normal. This also happens on Eclipse 3.4.2.
2009-05-15 00:50:24
1,242,360,000
resolved fixed
06e1693
1,251,130,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 PI/win32/org/eclipse/swt/internal/win32/OS.java bundles/org.eclipse.swt/Eclipse SWT PI/wpf/org/eclipse/swt/internal/wpf/OS.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/SWT.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Display.java
SWT
877
278,489
Bug 278489 Text field fails to move caret if layout is updated after setting focus
To reproduce (in code): # create a composite with some things in it # later add a Text(SWT.SEARCH|SWT.CANCEL|SWT.BORDER) # call text.setFocus() # call composite.layout(true) # observe that the caret is in the wrong position reversing the order of text.setFocus() and composite.layout(true) causes the caret to be displayed in the correct location
2009-05-29 18:34:39
1,243,640,000
resolved fixed
3fc7a83
1,251,120,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Text.java
SWT
878
274,532
Bug 274532 Cannot scroll to bottom of virtual table
Build ID: 3.5M6 Run snippet below, then select the scrollbar slider and drag it to the bottom - you cannot see the last 5 items. This problem only happens when the table has a column and the items have images. import org.eclipse.swt.SWT; import org.eclipse.swt.graphics.GC; import org.eclipse.swt.graphics.Image; import org.eclipse.swt.layout.RowData; import org.eclipse.swt.layout.RowLayout; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Event; import org.eclipse.swt.widgets.Listener; import org.eclipse.swt.widgets.Shell; import org.eclipse.swt.widgets.Table; import org.eclipse.swt.widgets.TableColumn; import org.eclipse.swt.widgets.TableItem; public class TestTableScroll { static final int COUNT = 170; public static void main(String[] args) { final Display display = new Display(); final Shell shell = new Shell(display); shell.setLayout(new RowLayout(SWT.VERTICAL)); final Table table = new Table(shell, SWT.VIRTUAL | SWT.SINGLE | SWT.FULL_SELECTION); final Image icon = new Image(display, 16, 16); GC iconGc = new GC(icon); iconGc.setBackground(display.getSystemColor(SWT.COLOR_MAGENTA)); iconGc.fillOval(4, 4, 10, 10); iconGc.dispose(); table.setHeaderVisible(true); TableColumn col1 = new TableColumn(table, SWT.LEFT); col1.setText("Column 1"); col1.setWidth(100); table.addListener(SWT.SetData, new Listener() { public void handleEvent(Event event) { TableItem item = (TableItem) event.item; int index = table.indexOf(item); item.setImage(icon); item.setText("Item " + (index + 1)); } }); table.setLayoutData(new RowData(300, 404)); table.setItemCount(COUNT); shell.layout(); shell.pack(); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } }
2009-04-30 11:08:03
1,241,100,000
resolved fixed
a93eff7
1,251,120,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java
SWT
879
278,704
Bug 278704 spinner widget on Mac always has native border
The Mylyn task editor embeds a spinner widget on a Forms UI with the following code: estimatedTime = new Spinner(composite, SWT.FLAT); estimatedTime.setDigits(0); estimatedTime.setMaximum(100); estimatedTime.setMinimum(0); estimatedTime.setIncrement(1); estimatedTime.setSelection(getTask().getEstimatedTimeHours()); estimatedTime.setData(FormToolkit.KEY_DRAW_BORDER, FormToolkit.TEXT_BORDER); On Carbon and Cocoa the spinner gets a double border whereas on other platforms the inner border around the text field is not present (see screenshot).
2009-06-01 21:27:58
1,243,910,000
resolved fixed
a5f5392
1,250,880,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Spinner.java
SWT
880
287,278
Bug 287278 [Widgets] NPE while switching between compare modes in Java compare editor
I20090818-0800 Steps: 1. Open Java compare editor (compare two .java files) 2. Switch to Text Compare using the drop down button next to "Java Source Compare" label 3. Click anywhere java.lang.NullPointerException at org.eclipse.swt.widgets.Display.runPopups(Display.java:3523) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3130) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2405) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2369) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:367) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:610) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:565) at org.eclipse.equinox.launcher.Main.run(Main.java:1362) at org.eclipse.equinox.launcher.Main.main(Main.java:1338)
2009-08-21 05:25:06
1,250,850,000
resolved fixed
ff8b81f
1,250,880,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java
SWT
881
142,490
Bug 142490 StyledText embedded controls can appear incorrectly
3.2RC4 In snippet 217 change the Shell's size from 400x400 to 300x300, and note that the embedded Controls initially display at 0,0 in addition to their correct positions within the document.
2006-05-18 09:47:05
1,147,960,000
resolved fixed
0a2378e
1,250,780,000
examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet217.java
SWT
882
287,119
Bug 287119 [StyledText] styled text widget content can be shifted left with out scroll bar when line wraps
Build ID: 3.4.2. v3452b-rcp20090814.1600 Steps To Reproduce: 1.with code example below text in the text box so that it need to scroll , some time it will get shifted to the left , if you back space to the beging of the test is will shift back, 2. 3. More information: import org.eclipse.swt.*; import org.eclipse.swt.custom.StyledText; import org.eclipse.swt.layout.*; import org.eclipse.swt.widgets.*; public class Snippet { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); StyledText text = new StyledText (shell, SWT.V_SCROLL | SWT.MULTI | SWT.WRAP); shell.setSize(200, 200); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } }
2009-08-19 16:49:56
1,250,720,000
resolved fixed
c3022d5
1,250,770,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
SWT
883
270,531
Bug 270531 Cocoa - Font metrics
We are using 3.5M6 x64. We have a SWT terminal emulator that uses a Courier New Font. We are using GC.getAdvanceWidth('W') to figure out how much space each character takes up and GC.getFontMetrics().getHeight() to figure out how high each character is. This works fine in GTK,Windows and Carbon. With the Cocoa port it looks like for a 12 point font the width is 2 pixels too small and the height is 4 pixels too small.
2009-03-30 17:58:00
1,238,450,000
resolved fixed
976e430
1,250,720,000
bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CFRange.java bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/CGAffineTransform.java bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/GC.java
SWT
884
214,807
Bug 214807 [browser] xulrunner 1.9 has changed invalid certificate behaviour
null
2008-01-09 15:50:45
1,199,910,000
verified fixed
b72bc1d
1,250,710,000
bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/Mozilla.java bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/PromptDialog.java bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/PromptService2.java bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/internal/mozilla/XPCOM.java bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/internal/mozilla/nsIBadCertListener2.java bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/internal/mozilla/nsICertOverrideService.java bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/internal/mozilla/nsICertificateDialogs.java bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/internal/mozilla/nsISSLStatus.java bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/internal/mozilla/nsIX509Cert.java bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/internal/mozilla/nsIX509CertValidity.java
SWT
885
286,063
Bug 286063 [Widgets] Vertical scroll bar appears on Text control if disabled then enabled
Build ID: I20090611-1540 Steps To Reproduce: Create a Text Control with V_SCROLL attribute. Disable it. Then enable it. The vertical scroll bar appears when not needed. Only way to get rid of it is to add text until the scroll bar acts properly and then delete the text. Cocoa only. More information:
2009-08-09 06:43:52
1,249,810,000
resolved fixed
077e8cf
1,250,710,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Scrollable.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Text.java
SWT
886
271,765
Bug 271765 toolitem enables on wrong status
A ToolItem t1, style PUSH, is being disabled with setEnabled(false) in the SelectionListener method, after being pushed and some code executed. When enabled, as consequence of another action, the status appears to be as if the mouse would be still over it, although it is not. I noticed the behavior occurs when disabled on the push (perhaps the status is not being updated and when enabled it is being repainted exactly how it was when disabled), but this is only good if the mouse would be over it on the moment of enabling. I use Ubuntu 8.10, GTK Thank you very much. This entire platform rocks. Best regards,
2009-04-09 09:43:57
1,239,280,000
resolved fixed
25a9ec6
1,250,630,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolItem.java
SWT
887
286,763
Bug 286763 Cannot tab out of Text with SWT.PASSWORD
null
2009-08-17 03:39:14
1,250,490,000
resolved fixed
a9c77732
1,250,620,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Text.java
SWT
888
286,687
Bug 286687 [Graphics][GTK2.18] clipping broken when setting a transform with Gtk 2.17.7
If I run the attached sample which draws a string on a canvas using a GC that has an identity Transform it looks like the clipping is relative to the origin of the parent shell and not relative to the canvas.
2009-08-14 17:44:50
1,250,290,000
resolved fixed
26ce37b
1,250,540,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/GC.java
SWT
889
276,892
Bug 276892 GC.setLineAttributes() uses caps const instead of join
null
2009-05-19 09:41:51
1,242,740,000
resolved fixed
a984a6c
1,250,530,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/graphics/GC.java
SWT
890
285,773
Bug 285773 Combo toString missing detail.
getNameText() is missing from Combo. String getNameText () { return getText (); }
2009-08-05 16:03:53
1,249,500,000
resolved fixed
e6a8277
1,250,520,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Combo.java
SWT
891
262,925
Bug 262925 Can't paste into password field.
Version: 3.5.0 Build id: I20090129-0100 1) Copy some text (doesn't matter what it is) 2) Open the CVS Add Repository Location dialog 3) Attempt to paste the text into the password field Notice that no text is entered. (I suspect this may be platform behavior on Cocoa, but it used to work in Carbon.)
2009-01-29 11:52:07
1,233,250,000
resolved fixed
bd82ef0
1,250,520,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Text.java
SWT
892
251,270
Bug 251270 Background color of Combo is always gray
Build ID: M20080911-1700 Steps To Reproduce: 1. create a Combo in a FormPage with style of SWT.READ_ONLY. 2. adapt the combo by FormToolKit, or setBackground to any color other than gray. 3. The combo's background color is always gray on Linux. It is okey on Windows. 4. If the style of the combo does not have SWT.READ_ONLY, the color is okey. More information:
2008-10-17 14:42:46
1,224,270,000
resolved fixed
b0e22a8
1,250,270,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java
SWT
893
279,441
Bug 279441 Cocoa:Verify Listener not called on selecting items in Combo
Build ID: I20090528-2000 : 3.5RC3 Steps To Reproduce: 1. Launch the snippet 289. It uses a verify listener to verify that the selected item has numbers. 2. In the dropdown select "aaaa" 3. "aaaa" should not be selected. But, aaaa gets selected because the Verify Listener is not called on selecting the items in the Combo. Expected: Combo should send SWT.Verify event on selecting the items of the Combo. More information: Verify event is sent on typing new text in the Combo. Works fine on Carbon.
2009-06-08 07:19:32
1,244,460,000
resolved fixed
13fdd1d
1,250,190,000
bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableString.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Combo.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Widget.java
SWT
894
279,052
Bug 279052 [DND] Gtk ImageTransfer prefers JPEG over PNG
Mylyn's screen capture tools supports importing images from the clipboard using ImageTransfer. On Gtk images imported from the clipboard are always fuzzy since the transfer seems to select JPEG and not a loss-less format such as PNG which works better for screen shots. There doesn't seem to be any obvious way to control the priority of the formats. Could the order be changed so that a loss-less format is tried first?
2009-06-04 00:09:05
1,244,090,000
resolved fixed
73babea
1,250,190,000
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/ImageTransfer.java
SWT
895
280,537
Bug 280537 [Viewers] OwnerDrawLabelProvider Causes NullPointerException on TableColumn.dispose()
When attempting to dispose of the first column in a TreeViewer that utilizes a OwnerDrawLabelProvider after the first or second column has been resized the below exception is thrown. This only happens when you attempt to dispose of the first column and only after the first or second column has been resized by the user. A normal LabelProvider does not cause this issue. I have modified the JFace Snippet 010OwnerDraw to demonstrate this issue and attached it to this report. The exception seems to be thrown from the Widget class getData(String) method where "table" is null. One odd thing that I noticed while trying to debug this issue is that when using the Eclipse debugger with break points at the snippet dispose call, checkWidget call in getData(String), and checkWidget call in setData(String) the issue seemed to stop. public Object getData (String key) { checkWidget(); if (key == null) error (SWT.ERROR_NULL_ARGUMENT); if ((state & KEYED_DATA) != 0) { Object [] table = (Object []) data; ->>>> for (int i=1; i<table.length; i+=2) { if (key.equals (table [i])) return table [i+1]; } } return null; } Exception in thread "main" java.lang.NullPointerException at org.eclipse.swt.widgets.Widget.getData(Widget.java:554) at org.eclipse.jface.viewers.ColumnViewer.getViewerColumn(ColumnViewer.java:186) at org.eclipse.jface.viewers.OwnerDrawLabelProvider$OwnerDrawListener.handleEvent(OwnerDrawLabelProvider.java:47) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1027) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1012) at org.eclipse.swt.widgets.Table.sendMeasureItemEvent(Table.java:3467) at org.eclipse.swt.widgets.Table.CDDS_SUBITEMPREPAINT(Table.java:760) at org.eclipse.swt.widgets.Table.wmNotifyChild(Table.java:6402) at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4718) at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:1756) at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4348) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3841) at org.eclipse.swt.widgets.Canvas.windowProc(Canvas.java:337) at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1576) at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:1937) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541) at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2274) at org.eclipse.swt.widgets.Table.callWindowProc(Table.java:333) at org.eclipse.swt.widgets.Table.callWindowProc(Table.java:199) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3877) at org.eclipse.swt.widgets.Table.windowProc(Table.java:5476) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541) at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2274) at org.eclipse.swt.widgets.Table.callWindowProc(Table.java:333) at org.eclipse.swt.widgets.Table.callWindowProc(Table.java:199) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3877) at org.eclipse.swt.widgets.Table.windowProc(Table.java:5476) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4528) at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2274) at org.eclipse.swt.widgets.Table.callWindowProc(Table.java:205) at org.eclipse.swt.widgets.Table.callWindowProc(Table.java:199) at org.eclipse.swt.widgets.Table.windowProc(Table.java:5388) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541) at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2274) at org.eclipse.swt.widgets.Table.callWindowProc(Table.java:333) at org.eclipse.swt.widgets.Table.callWindowProc(Table.java:199) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3877) at org.eclipse.swt.widgets.Table.windowProc(Table.java:5476) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4541) at org.eclipse.swt.internal.win32.OS.SendMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.SendMessage(OS.java:3022) at org.eclipse.swt.widgets.Table.destroyItem(Table.java:1788) at org.eclipse.swt.widgets.TableColumn.destroyWidget(TableColumn.java:193) at org.eclipse.swt.widgets.Widget.release(Widget.java:814) at org.eclipse.swt.widgets.Widget.dispose(Widget.java:441) at test.Test.removeFirst(Test.java:416) at test.Test$1.widgetSelected(Test.java:51) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:228) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1003) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3823) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3422) at test.Test.main(Test.java:58)
2009-06-16 18:37:37
1,245,190,000
resolved fixed
1e404af
1,250,190,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java
SWT
896
68,194
Bug 68194 [OLE] OLE components w/o visual representation
Neither OleControlSite nor OleClientSite give capability to create simple OLE object that doesn't have visual representation.
2004-06-22 12:34:54
1,087,920,000
resolved fixed
5526271
1,250,100,000
bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleAutomation.java
SWT
897
285,641
Bug 285641 [Widgets] [preferences] Export from 'Formatter' preference page should add file extension
I20090803-1800 Exporting formatter/cleanup settings from the settings page doesn't add the xml file extension to the file. * open formatter page * have at least one custom formatter * click export all * enter "test" as filename You end up with a file called "test" instead of "test.xml"
2009-08-04 17:47:10
1,249,420,000
resolved fixed
fb37ea6
1,250,100,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/FileDialog.java
SWT
898
36,802
Bug 36802 [OLE] override OleAutomation.equals()
null
2003-04-23 12:33:54
1,051,120,000
resolved fixed
6baa6a5
1,250,100,000
bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleAutomation.java
SWT
899
268,789
Bug 268789 [OLE] Cannot create in-place editor for Microsoft Word documents in Windows Vista
Attempting to open a .doc file results in the following error dialog: Cannot create the in-place editor Reason: this is probably because there is no OLE editor registered against the type of file you were trying to open Details: failed to create OLE client. result = -2147024891 This appears to only happen in Windows Vista and only for Word documents (ppt and xls opened fine).
2009-03-16 10:07:37
1,237,210,000
verified fixed
7f2ab38
1,250,020,000
bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleClientSite.java
SWT
900
282,998
Bug 282998 Disposing image during printing crashes SWT on MacOS
null
2009-07-09 07:33:05
1,247,140,000
resolved fixed
702aad8
1,249,920,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/GC.java
SWT
901
286,113
Bug 286113 List Control: item is shown twice after select in "handleEvent(SWT.Selection)"
null
2009-08-10 07:21:02
1,249,900,000
resolved fixed
35a1290
1,249,910,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/List.java
SWT
902
271,703
Bug 271703 Cannot print from 64 bit eclipse
Tried to print OS.java from eclipse 64 bit (to Preview) and the output is on blank page. Works fine on 32 bit.
2009-04-08 17:08:42
1,239,220,000
verified fixed
14c1f60
1,249,670,000
bundles/org.eclipse.swt/Eclipse SWT Printing/cocoa/org/eclipse/swt/printing/Printer.java
SWT
903
108,792
Bug 108792 Horizontal caret position lost due to StyledText.replaceStyleRanges
I20050830-0800 - enable Mark Occurences, disable 'sticky' occurences - in the following CU place the caret instead of '|': class |Foo { } - press arrow down - wait for occurences to be updated - press arrow up -> caret position is: c|lass Foo {...
2005-09-05 08:43:49
1,125,920,000
verified fixed
76bc5fe
1,249,670,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
SWT
904
279,013
Bug 279013 SWT: crash when calling setParent() on Linux
null
2009-06-03 16:09:43
1,244,060,000
verified fixed
786e888
1,249,670,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java
SWT
905
285,656
Bug 285656 [Widgets] Eclipse framework incorrectly assumes keys that have digits on them will be referred to in the shortcut table as digit keys (Ms Windows only)
Build ID: I20080617-2000 Steps To Reproduce: 1.Create application that have an accelerate key Ctrl+- 2.Launch application,and switch keyboard layout to French(France) 3.stike Ctrl+6 / Ctrl+-. neither Ctrl+6 nor Ctrl+- works.( '-' is mapped to '6' in French(France) keyboard layout ) More information:
2009-08-05 01:12:17
1,249,450,000
resolved fixed
617366c
1,249,660,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Widget.java
SWT
906
278,944
Bug 278944 Cocoa: Image transfer not working for images (randomly)
null
2009-06-03 09:01:27
1,244,030,000
verified fixed
0e0eae7
1,249,580,000
bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSBitmapImageRep.java bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java bundles/org.eclipse.swt/Eclipse SWT Program/cocoa/org/eclipse/swt/program/Program.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Image.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Canvas.java
SWT
907
279,877
Bug 279877 On Mac OS X Cocoa, setClipping(getClipping()) produces wrong behaviour under some transforms.
null
2009-06-10 17:24:35
1,244,670,000
resolved fixed
28e31e2
1,249,570,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/GC.java
SWT
908
284,993
Bug 284993 GC#setAlpha() not respected by GC#drawImage()
null
2009-07-29 07:09:36
1,248,870,000
verified fixed
7d89b46
1,248,880,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/GC.java
SWT
909
280,569
Bug 280569 [OS X - Cocoa] After moving the shell to another space, rich hover opens on wrong space
Here's the scenario: 1. Open the workbench on space 1. Have a Java editor open (to demonstrate rich hover). 2. Activate Spaces (the feature which shows all the spaces on dark background as overview). 3. Drag the workbench window to space 2. 4. Hover with the mouse over some text in the Java editor. 5. Expected result - rich hover will be shown. Actual result - you will be taken back to space 1 (involuntarily). The rich hover might be shown on space 1 or 2 - I didn't find a consistent behavior here.
2009-06-17 02:17:16
1,245,220,000
resolved fixed
133ba78
1,248,820,000
bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSWindow.java bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Shell.java
SWT
910
273,678
Bug 273678 SWT.ON_TOP style bit is not working for a shell with parent in cocoa
null
2009-04-25 10:07:26
1,240,670,000
resolved fixed
c9f1e3e
1,248,800,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Shell.java
SWT
911
65,796
Bug 65796 Buttons and text in a table cell editor are not sized small enough on the Mac
Eclipse 3.0 RC1 The ColorCellEditor has problems on OS X - the button to activate the color dialog box does not fit withing the cell, and clicking the button will not activate the color dialog box most of the time. Pressing return will always activate the color dialog box.
2004-06-04 16:00:31
1,086,380,000
resolved fixed
b1b9a7c
1,248,730,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Button.java
SWT
912
281,725
Bug 281725 [Cocoa SWT] TabItem.setImage() not working
Build ID: I20090611-1540 Steps To Reproduce: Under the Cocoa x86_64 Mac OS X version of Eclipse 3.5, TabItem images don't appear. Under the Carbon version of 3.5, they do. The code below reproduces the problem -- it works on both platforms, but the tabs are image-less on Carbon. (I don't know if this is a limitation with the native Cocoa widgets or not; if it is, perhaps a Javadoc note that images aren't supported on all platforms would help.) Shell shell = new Shell(); TabFolder tf = new TabFolder(shell, SWT.BORDER); tf.setLayoutData( new GridData( SWT.FILL, SWT.FILL, true, true ) ); TabItem ti = new TabItem(tf, SWT.NONE); ti.setControl( new Composite(tf, SWT.NONE) ); ti.setText("One"); ti.setImage( JFaceResources.getImage(Dialog.DLG_IMG_HELP) ); ti = new TabItem(tf, SWT.NONE); ti.setControl( new Composite(tf, SWT.NONE) ); ti.setText("Two"); ti.setImage( JFaceResources.getImage(Dialog.DLG_IMG_HELP) ); tf.pack(); shell.pack(); shell.open();
2009-06-26 18:30:56
1,246,060,000
resolved fixed
b79ecd9
1,248,730,000
bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTabViewItem.java bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTTabViewItem.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/TabFolder.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/TabItem.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Widget.java
SWT
913
283,850
Bug 283850 hang when calling BrowserFunction while disposing
public class BrowserBug { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new GridLayout(1, false)); Browser browser = new Browser(shell, SWT.NONE); browser.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true)); browser.setText("<html><head></head><body><input type='text' onchange='bf(0)' /></body></html>"); new BrowserFunction(browser, "bf"){ public Object function(Object[] arguments) { System.out.println("hello"); return 0; } }; shell.pack(); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } }
2009-07-17 09:50:46
1,247,840,000
resolved fixed
38c20b2
1,248,380,000
bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/WebSite.java
SWT
914
276,110
Bug 276110 Label: SWT.CENTER is being ignored when used with SWT.WRAP
null
2009-05-13 11:08:08
1,242,230,000
verified fixed
40fb17e
1,248,370,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Button.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Label.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/List.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Spinner.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/TableColumn.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/TableItem.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/ToolItem.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/TreeColumn.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/TreeItem.java
SWT
915
275,900
Bug 275900 Multi-line Text.setSelection(int) needs to reveal the selection
Build id: I20090511-2000 on Cocoa Run Snippet11, which creates a multi-line text, appends a bunch of lines, and then calls setSelection(30). On other platforms, the Text is scrolled to show the new selection. On Cocoa, the Text remains scrolled to the end, where it was after appending the lines.
2009-05-12 11:54:26
1,242,140,000
resolved fixed
a2d7152
1,248,370,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Text.java
SWT
916
283,108
Bug 283108 SWT.Browser widget reacts different compared to IE 6 itself (Javascript)
null
2009-07-10 03:29:56
1,247,210,000
resolved fixed
c3c7ae8
1,248,360,000
bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/IE.java bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/WebSite.java
SWT
917
279,712
Bug 279712 Resetting alpha to 0xFF has no effect
null
2009-06-09 18:04:36
1,244,590,000
resolved fixed
344495d
1,248,300,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/GC.java
SWT
918
277,356
Bug 277356 [cocoa] npe in Tree widget
Upon launch, Mylyn task list opens with the following error displayed within the view: java.lang.NullPointerException at org.eclipse.swt.widgets.Tree.outlineView_child_ofItem(Tree.java:1910) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4837) at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) at org.eclipse.swt.internal.cocoa.NSOutlineView.rowForItem(NSOutlineView.java:76) at org.eclipse.swt.widgets.TreeItem.redraw(TreeItem.java:908) at org.eclipse.swt.widgets.TreeItem.setImage(TreeItem.java:1351) at org.eclipse.swt.widgets.TreeItem.setImage(TreeItem.java:1356) at org.eclipse.jface.viewers.AbstractTreeViewer.updateChildren(AbstractTreeViewer.java:2666) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefreshStruct(AbstractTreeViewer.java:1863) at org.eclipse.jface.viewers.TreeViewer.internalRefreshStruct(TreeViewer.java:716) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1838) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1794) at org.eclipse.jface.viewers.AbstractTreeViewer.internalRefresh(AbstractTreeViewer.java:1780) at org.eclipse.jface.viewers.StructuredViewer$7.run(StructuredViewer.java:1457) at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1392) at org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:402) at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1353) at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1455) at org.eclipse.jface.viewers.ColumnViewer.refresh(ColumnViewer.java:537) at org.eclipse.ui.dialogs.FilteredTree$NotifyingTreeViewer.refresh(FilteredTree.java:1205) at org.eclipse.jface.viewers.StructuredViewer.refresh(StructuredViewer.java:1414) at org.eclipse.ui.dialogs.FilteredTree$NotifyingTreeViewer.refresh(FilteredTree.java:1195) at org.eclipse.jface.viewers.ContentViewer.setContentProvider(ContentViewer.java:252) at org.eclipse.jface.viewers.StructuredViewer.setContentProvider(StructuredViewer.java:1611) at org.eclipse.jface.viewers.AbstractTreeViewer.setContentProvider(AbstractTreeViewer.java:2314) at org.eclipse.jface.viewers.TreeViewer.setContentProvider(TreeViewer.java:957) at org.eclipse.ui.dialogs.FilteredTree$NotifyingTreeViewer.setContentProvider(FilteredTree.java:1241) at org.eclipse.mylyn.internal.tasks.ui.views.TaskListView.applyPresentation(TaskListView.java:1112) at org.eclipse.mylyn.internal.tasks.ui.views.TaskListView.applyPresentation(TaskListView.java:1092) at org.eclipse.mylyn.internal.tasks.ui.views.TaskListView.restoreState(TaskListView.java:863) at org.eclipse.mylyn.internal.tasks.ui.views.TaskListView.createPartControl(TaskListView.java:1061) at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:367) at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:226) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595) at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:313) at org.eclipse.ui.internal.ViewPane.setVisible(ViewPane.java:529) at org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:180) at org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:270) at org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65) at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:473) at org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256) at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:668) at org.eclipse.ui.internal.PartStack.createControl(PartStack.java:576) at org.eclipse.ui.internal.PartSashContainer.createControl(PartSashContainer.java:568) at org.eclipse.ui.internal.PerspectiveHelper.activate(PerspectiveHelper.java:272) at org.eclipse.ui.internal.Perspective.onActivate(Perspective.java:981) at org.eclipse.ui.internal.WorkbenchPage.onActivate(WorkbenchPage.java:2626) at org.eclipse.ui.internal.WorkbenchWindow$27.run(WorkbenchWindow.java:2964) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70) at org.eclipse.ui.internal.WorkbenchWindow.setActivePage(WorkbenchWindow.java:2945) at org.eclipse.ui.internal.WorkbenchWindow$21.runWithException(WorkbenchWindow.java:2262) at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3401) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3098) at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:803) at org.eclipse.ui.internal.Workbench$28.runWithException(Workbench.java:1384) at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:134) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3401) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3098) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2316) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2221) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:500) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:493) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:194) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:368) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:559) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:514) at org.eclipse.equinox.launcher.Main.run(Main.java:1311) at org.eclipse.equinox.launcher.Main.main(Main.java:1287)
2009-05-21 13:07:01
1,242,930,000
verified fixed
fe7c8ce
1,248,290,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/TableItem.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Tree.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/TreeItem.java
SWT
919
273,850
Bug 273850 SWT.MouseDown event not fired on combo widget arrow down (GTK only)
Build ID: 3.4.2 M20090211-1700 Steps To Reproduce: 1.add an event listener to a combo widget 2.click anywhere on the widget but the arrow down button, a SWT.MouseDown event is fired (and caught in the listener) 3. click on the arrow down button, nothing happens. 4. same thing works fine on windows and HPUX motif More information:
2009-04-27 10:11:58
1,240,840,000
resolved fixed
04669c0
1,248,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/Combo.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/Widget.java
SWT
920
278,782
Bug 278782 image drawing can interfere with text drawing in classic theme
null
2009-06-02 10:26:27
1,243,950,000
resolved fixed
35438ac
1,248,280,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/internal/ImageList.java
SWT
921
278,959
Bug 278959 setting font height should update font width
The first FontData returned from line: FontData[] fontData = display.getFontList("Courier New",true); ...has height 24 and width (in its data) of 19. Subsequently calling setHeight(8) on the FontData leaves the width as 19, which makes the font render quite badly. Example snippet follows: public static void main (String [] args) { Display display = new Display (); Shell shell = new Shell (display); shell.setBounds (10,10,200,200); shell.setLayout (new FillLayout()); Text text = new Text (shell, SWT.NONE); FontData[] fontData = display.getFontList ("Courier New",true); for (FontData fd: fontData) { fd.setHeight (8); } Font font = new Font (display, fontData); text.setFont (font); text.setText ("asdf"); shell.open (); while (!shell.isDisposed ()) { if (!display.readAndDispatch ()) display.sleep (); } font.dispose (); display.dispose (); }
2009-06-03 10:31:46
1,244,040,000
resolved fixed
daf2df7
1,248,270,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/FontData.java
SWT
922
282,441
Bug 282441 [swt-win32] System menu of a NO_TRIM shell on Task Bar
Build ID: I20090611-1540 Steps To Reproduce: A NO_TRIM shell has no system menu on the task bar, the shell does not yet react to ALT+F4, which closes the shell on MS Windows. but we almost always need that if the shell has an entry in the task bar. More information:
2009-07-04 19:47:22
1,246,750,000
resolved fixed
32922fb
1,248,270,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Decorations.java
SWT
923
278,982
Bug 278982 Tooltip problems handling escaped &s, and Workbench title inconsistency
Build ID: IES 35I20090525 Steps To Reproduce: This is a two fold problem. First I'd like to suggest that tooltip labels simply ignore mnemonics and interpret &s directly. I don't believe mnemonics make sense for tooltips... The problems are: 1) Escaping the &s is not resulting in correct result in a tooltip 2) The escaped &s are not supported in the Eclipse Title bar. The problem is most obvious when considering IEditorPart tooltips. We have a tooltip for editing a UML operation in C++ context (i.e. '&' indicates a reference to a variable). Lets consider a C++ function: int &&& op && ( int & test ); Our tooltip raw text for the 'UML' version is: op && ( test : int & ) : int &&& When we add some qualified names in there and we escape the &s we get something like: CPPModel::Class1::op &&&& ( CPPModel::Class1::op &&&&::test : int && ) : int &&&&&& When we launch an IEditorPart to allow the user to edit this element, we provide the above escaped text as the 'tooltip' text. But, when we inspect the tooltip of the launched EditorPart now, we see: CPPModel::Class1::op && ( CPPModel::Class1::op p::test : int i ) : int in Compared to our expected: CPPModel::Class1::op && ( CPPModel::Class1::op &&::test : int & ) : int &&& Furthermore, the Eclipse Workbench window title is showing the escaped text: CPPModel::Class1::op &&&& ( CPPModel::Class1::op &&&&::test : int && ) : int &&&&&& Expected behavior is that the Workbench title bar will be the same as the tooltip. And the tooltip either properly handles escaped &s, or it updated to not support mnemonics and thus will not require escaping of &s. More information: This is found on Window XP Pro
2009-06-03 11:55:36
1,244,040,000
resolved fixed
4a0cb89
1,248,270,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Widget.java
SWT
924
283,688
Bug 283688 No drag/drop feedback selection on Table if using OwnerDrawLabelProvider on Windows
Build ID: I20090611-1540 I have a TableViewer that renders its own cells with an OwnerDrawLabelProvider. The Table also registers drag and drop operations. On Windows there is no highlighting feedback on the table cells at all during a drag/drop operation. It's fine on Mac and Linux.
2009-07-16 07:10:17
1,247,740,000
verified fixed
790d32c
1,248,210,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/Table.java
SWT
925
279,273
Bug 279273 Improve error message when load library fails.
Build ID: 3.4.2 Steps To Reproduce: (Sorry for not having the build ID, for some reason the 'About Eclipse SDK' dialog doesn't show. I am using Eclipse 3.4.2 release for Linux 64). 1. On a Linux-64 machine, with GTK installed but not the GTK java bindings, install Eclipse 3.4.2 2. Run Eclipse. It will exit without displaying any error messages More information: Of course Eclipse won't work without the GTK+ java bindings. Running eclipse as './eclipse -debug -console -consolelog > out.txt' and reading the out.txt produced I find the line: java.lang.UnsatisfiedLinkError: no swt-pi-lib-3454 or swt-pit-lib in .... (I can't remember the exact error message, but you get the idea). The problem is that I don't think that Eclipse should exit without producing any error message to stdout. If this were to happen to a customer, as it might, using our Eclipse-based IDE they would not think that this was acceptable behaviour (our testing department has already had this problem). Eclipse should check that the libraries are present before trying to load them, and exit gracefully with a clear error message if not.
2009-06-05 10:57:06
1,244,210,000
resolved fixed
98b1c71
1,248,190,000
bundles/org.eclipse.swt/Eclipse SWT PI/common_j2se/org/eclipse/swt/internal/Library.java
SWT
926
283,958
Bug 283958 SWT.MULTI does not work for SWT Text control using Mac OS X Cocoa.
null
2009-07-19 20:04:26
1,248,050,000
verified fixed
e11e927
1,248,110,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Control.java
SWT
927
277,454
Bug 277454 [DND] Mac: Refresh required after dragging file to desktop
Build ID: I20090520-2000 Steps To Reproduce: 1.In the package explorer view, create a project, create a file inside a project. 2.Let the file be open in the editor 3.Drag a file from a project to the desktop. Even after the drop, the file is still visible in the package explorer & is open in the editor. The user had to refresh the file or project. Refresh happens automatically on windows. More information: Happens on both Carbon and Cocoa
2009-05-22 08:55:26
1,243,000,000
resolved fixed
66070eb
1,248,100,000
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/cocoa/org/eclipse/swt/dnd/DragSource.java bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSFileManager.java bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java
SWT
928
283,313
Bug 283313 [Cocoa] Deleting TableViewer elements and calling refresh() causes major crash
Build ID: I20090611-1540 1. I have a TableViewer with a IStructuredContentProvider model and OwnerDrawLabelProvider cell label provider (I use erase() / measure() / paint() to draw the row cell). 2. I populate the model with 300 elements. The table correctly draws 300 custom rows via my OwnerDrawLabelProvider with a vertical scroll bar. 3. I now select a selection of the Table's rows using Command-Click to select a random number of elements, scrolling up and down to get a varied selection. 4. I delete the selected elements from the model. This in turn calls the TableViewer's refresh() method. At this point I get a SWTExceeption "Widget is disposed". The debug trace puts it in the TableItem class at line 462: protected void checkWidget () { Display display = this.display; if (display == null) error (SWT.ERROR_WIDGET_DISPOSED); <---------- HERE and prior to that here: public Font getFont (int index) { checkWidget (); <------------ HERE and prior to that here: void sendMeasureItem (TableItem item, int columnIndex, NSSize size) { NSTableView widget = (NSTableView)this.view; int contentWidth = (int)Math.ceil (size.width); NSSize spacing = widget.intercellSpacing(); int itemHeight = (int)Math.ceil (widget.rowHeight() + spacing.height); GCData data = new GCData (); data.paintRect = widget.frame (); GC gc = GC.cocoa_new (this, data); gc.setFont (item.getFont (columnIndex)); <------------------ HERE Which is called from void drawInteriorWithFrame_inView(int /*long*/ id, int /*long*/ sel, NSRect rect, int /*long*/ view) It's a show stopper for my RCP app.
2009-07-13 10:13:05
1,247,490,000
verified fixed
b7f2691
1,248,100,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/List.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Table.java
SWT
929
281,352
Bug 281352 Add ICON_* hinting support for GTK+ SWT.SEARCH Text controls
null
2009-06-24 10:27:22
1,245,850,000
resolved fixed
3e6618f
1,247,870,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/Display.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Widget.java
SWT
930
279,917
Bug 279917 SWT Editor Example does not work RC3
null
2009-06-11 05:40:04
1,244,710,000
resolved fixed
04a9d68
1,247,840,000
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/texteditor/TextEditor.java
SWT
931
277,567
Bug 277567 Path.close() method on results in different behavior on Cocoa
null
2009-05-23 00:50:01
1,243,050,000
verified fixed
06b958b
1,247,680,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Path.java
SWT
932
279,676
Bug 279676 IllegalStateException in ProjectionMapping toImageLine
Build ID: M20090211-1700 Steps To Reproduce: In our editor we implement documentChanged where we new up a WorkspaceModifyOperation to update markers and run it passing in the IProgressMonitor returned from AbstractTextEditor.getProgressMonitor(). This code works fine on all platforms, but mac users who upgrade their OS to 10.5.7 experience the following errors and the editor becomes useless. Mac users on 10.5.6 do not see the errors. Strangely, if we pass in null for the progress monitor when we call WorkspaceModifyOperation.run(), the errors do not happen, even on 10.5.7. More information: java.lang.IllegalStateException at org.eclipse.jface.text.projection.ProjectionMapping.toImageLine(ProjectionMapping.java:480) at org.eclipse.jface.text.TextViewer.modelLine2WidgetLine(TextViewer.java:4905) at org.eclipse.jface.text.JFaceTextUtil.modelLineToWidgetLine(JFaceTextUtil.java:220) at org.eclipse.jface.internal.text.source.DiffPainter.paintLine(DiffPainter.java:220) at org.eclipse.jface.internal.text.source.DiffPainter.paint(DiffPainter.java:158) at org.eclipse.jface.text.source.LineNumberChangeRulerColumn.doPaint(LineNumberChangeRulerColumn.java:190) at org.eclipse.jface.text.source.LineNumberRulerColumn.doubleBufferPaint(LineNumberRulerColumn.java:692) at org.eclipse.jface.text.source.LineNumberRulerColumn.access$10(LineNumberRulerColumn.java:662) at org.eclipse.jface.text.source.LineNumberRulerColumn$5.paintControl(LineNumberRulerColumn.java:606) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:217) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1561) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1585) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1570) at org.eclipse.swt.widgets.Control.drawWidget(Control.java:850) at org.eclipse.swt.widgets.Canvas.drawWidget(Canvas.java:114) at org.eclipse.swt.widgets.Widget.kEventControlDraw(Widget.java:1069) at org.eclipse.swt.widgets.Canvas.kEventControlDraw(Canvas.java:191) at org.eclipse.swt.widgets.Widget.controlProc(Widget.java:370) at org.eclipse.swt.widgets.Display.controlProc(Display.java:862) at org.eclipse.swt.internal.carbon.OS.ReceiveNextEvent(Native Method) at org.eclipse.swt.widgets.Display.runEventLoopTimers(Display.java:3500) at org.eclipse.swt.widgets.ProgressBar.setSelection(ProgressBar.java:243) at org.eclipse.jface.dialogs.ProgressIndicator.done(ProgressIndicator.java:110) at org.eclipse.jface.dialogs.ProgressIndicator.beginTask(ProgressIndicator.java:92) at org.eclipse.jface.action.StatusLine.beginTask(StatusLine.java:349) at org.eclipse.jface.action.StatusLineManager$1.beginTask(StatusLineManager.java:157) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1791) at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:116) at com.rsi.idldt.proeditor.ProEditor.documentChanged(ProEditor.java:2282) at org.eclipse.jface.text.AbstractDocument.doFireDocumentChanged2(AbstractDocument.java:739) at org.eclipse.jface.text.AbstractDocument.doFireDocumentChanged(AbstractDocument.java:712) at org.eclipse.jface.text.AbstractDocument.doFireDocumentChanged(AbstractDocument.java:697) at org.eclipse.jface.text.AbstractDocument.fireDocumentChanged(AbstractDocument.java:762) at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1157) at org.eclipse.core.internal.filebuffers.SynchronizableDocument.replace(SynchronizableDocument.java:151) at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1176) at org.eclipse.core.internal.filebuffers.SynchronizableDocument.replace(SynchronizableDocument.java:137) at org.eclipse.jface.text.projection.ProjectionTextStore.replace(ProjectionTextStore.java:111) at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1150) at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1176) at org.eclipse.jface.text.projection.ProjectionDocument.replace(ProjectionDocument.java:631) at org.eclipse.jface.text.DefaultDocumentAdapter.replaceTextRange(DefaultDocumentAdapter.java:248) at org.eclipse.swt.custom.StyledText.modifyContent(StyledText.java:5876) at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.java:6631) at org.eclipse.swt.custom.StyledText.doContent(StyledText.java:2186) at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java:5145) at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:5170) at org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:4873) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1561) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1585) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1570) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1622) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1617) at org.eclipse.swt.widgets.Control.kEventUnicodeKeyPressed(Control.java:2292) at org.eclipse.swt.widgets.Composite.kEventUnicodeKeyPressed(Composite.java:586) at org.eclipse.swt.widgets.Control.kEventTextInputUnicodeForKeyEvent(Control.java:2254) at org.eclipse.swt.widgets.Canvas.kEventTextInputUnicodeForKeyEvent(Canvas.java:232) at org.eclipse.swt.widgets.Widget.textInputProc(Widget.java:1995) at org.eclipse.swt.widgets.Display.textInputProc(Display.java:3970) at org.eclipse.swt.internal.carbon.OS.SendEventToEventTarget(Native Method) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3051) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504) at org.eclipse.equinox.launcher.Main.run(Main.java:1236) org.eclipse.core.runtime.AssertionFailedException: assertion failed: at org.eclipse.core.runtime.Assert.isTrue(Assert.java:111) at org.eclipse.core.runtime.Assert.isTrue(Assert.java:97) at org.eclipse.jface.text.Position.<init>(Position.java:62) at org.eclipse.jface.text.AbstractDocument.getPositions(AbstractDocument.java:1704) at org.eclipse.core.internal.filebuffers.SynchronizableDocument.getPositions(SynchronizableDocument.java:234) at org.eclipse.jface.text.source.AnnotationModel.getRegionAnnotationIterator(AnnotationModel.java:739) at org.eclipse.jface.text.source.AnnotationModel.getAnnotationIterator(AnnotationModel.java:701) at org.eclipse.jface.text.source.AnnotationRulerColumn.doPaint1(AnnotationRulerColumn.java:704) at org.eclipse.jface.text.source.AnnotationRulerColumn.doubleBufferPaint(AnnotationRulerColumn.java:518) at org.eclipse.jface.text.source.AnnotationRulerColumn.access$3(AnnotationRulerColumn.java:494) at org.eclipse.jface.text.source.AnnotationRulerColumn$1.paintControl(AnnotationRulerColumn.java:280) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:217) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1561) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1585) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1570) at org.eclipse.swt.widgets.Control.drawWidget(Control.java:850) at org.eclipse.swt.widgets.Canvas.drawWidget(Canvas.java:114) at org.eclipse.swt.widgets.Widget.kEventControlDraw(Widget.java:1069) at org.eclipse.swt.widgets.Canvas.kEventControlDraw(Canvas.java:191) at org.eclipse.swt.widgets.Widget.controlProc(Widget.java:370) at org.eclipse.swt.widgets.Display.controlProc(Display.java:862) at org.eclipse.swt.internal.carbon.OS.ReceiveNextEvent(Native Method) at org.eclipse.swt.widgets.Display.runEventLoopTimers(Display.java:3500) at org.eclipse.swt.widgets.ProgressBar.setSelection(ProgressBar.java:243) at org.eclipse.jface.dialogs.ProgressIndicator.done(ProgressIndicator.java:110) at org.eclipse.jface.dialogs.ProgressIndicator.beginTask(ProgressIndicator.java:92) at org.eclipse.jface.action.StatusLine.beginTask(StatusLine.java:349) at org.eclipse.jface.action.StatusLineManager$1.beginTask(StatusLineManager.java:157) at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1791) at org.eclipse.ui.actions.WorkspaceModifyOperation.run(WorkspaceModifyOperation.java:116) at com.rsi.idldt.proeditor.ProEditor.documentChanged(ProEditor.java:2282) at org.eclipse.jface.text.AbstractDocument.doFireDocumentChanged2(AbstractDocument.java:739) at org.eclipse.jface.text.AbstractDocument.doFireDocumentChanged(AbstractDocument.java:712) at org.eclipse.jface.text.AbstractDocument.doFireDocumentChanged(AbstractDocument.java:697) at org.eclipse.jface.text.AbstractDocument.fireDocumentChanged(AbstractDocument.java:762) at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1157) at org.eclipse.core.internal.filebuffers.SynchronizableDocument.replace(SynchronizableDocument.java:151) at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1176) at org.eclipse.core.internal.filebuffers.SynchronizableDocument.replace(SynchronizableDocument.java:137) at org.eclipse.jface.text.projection.ProjectionTextStore.replace(ProjectionTextStore.java:111) at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1150) at org.eclipse.jface.text.AbstractDocument.replace(AbstractDocument.java:1176) at org.eclipse.jface.text.projection.ProjectionDocument.replace(ProjectionDocument.java:631) at org.eclipse.jface.text.DefaultDocumentAdapter.replaceTextRange(DefaultDocumentAdapter.java:248) at org.eclipse.swt.custom.StyledText.modifyContent(StyledText.java:5876) at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.java:6631) at org.eclipse.swt.custom.StyledText.doBackspace(StyledText.java:2128) at org.eclipse.swt.custom.StyledText.invokeAction(StyledText.java:5764) at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java:5149) at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:5170) at org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:4873) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1561) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1585) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1570) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1622) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1617) at org.eclipse.swt.widgets.Control.kEventUnicodeKeyPressed(Control.java:2292) at org.eclipse.swt.widgets.Composite.kEventUnicodeKeyPressed(Composite.java:586) at org.eclipse.swt.widgets.Control.kEventTextInputUnicodeForKeyEvent(Control.java:2254) at org.eclipse.swt.widgets.Canvas.kEventTextInputUnicodeForKeyEvent(Canvas.java:232) at org.eclipse.swt.widgets.Widget.textInputProc(Widget.java:1995) at org.eclipse.swt.widgets.Display.textInputProc(Display.java:3970) at org.eclipse.swt.internal.carbon.OS.SendEventToEventTarget(Native Method) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3051) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2384) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2348) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2200) at org.eclipse.ui.internal.Workbench$5.run(Workbench.java:495) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:490) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:113) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:386) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:549) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:504) at org.eclipse.equinox.launcher.Main.run(Main.java:1236)
2009-06-09 15:00:35
1,244,570,000
resolved fixed
d816957
1,247,680,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/ProgressBar.java
SWT
933
278,625
Bug 278625 [DND] COM leak during drag and drop
null
2009-06-01 10:46:24
1,243,870,000
resolved fixed
d5edfcb
1,247,680,000
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/DropTarget.java
SWT
934
277,438
Bug 277438 Korean Input text flickers in StyledText widget in case the sentence exceeds a row.
Build ID: 3.4 Steps To Reproduce: The issue is SWT related. With SWT 3.4, the problem can be reproduced. However, with SWT version 3.2 and 3.3, problem is not there. Sample Code: __________________________________________________________ package com.ibm.text.korean; import org.eclipse.jface.window.Window; import org.eclipse.swt.SWT; import org.eclipse.swt.custom.StyledText; import org.eclipse.swt.graphics.Font; import org.eclipse.swt.layout.FormAttachment; import org.eclipse.swt.layout.FormData; import org.eclipse.swt.layout.FormLayout; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; import org.eclipse.swt.widgets.Text; public class TextForKorean extends Shell { /** * Launch the application * @param args */ public static void main(String args[]) { try { Display display = Display.getDefault(); FormLayout formLayout = new FormLayout(); Shell shell = new Shell(display, SWT.SHELL_TRIM); formLayout.marginHeight = 10; formLayout.marginWidth = 10; shell.setLayout(formLayout); shell.setText("SWT Application"); shell.setSize(500, 375); Composite com = new Composite(shell,SWT.NONE | SWT.LEFT_TO_RIGHT ); com.setLayout(new FormLayout()); com.setBackground(Display.getCurrent().getSystemColor(SWT.COLOR_LIST BACKGROUND)); StyledText text = new StyledText(com, SWT.V_SCROLL | SWT.MULTI | SWT.WRAP | Window.getDefaultOrientation()); text.setFont(new Font(null, "Arial", 20, SWT.BOLD)); text.getVerticalBar().setVisible(false); text.setEnabled(true); text.setTextLimit(2000); FormData formData = new FormData(); formData.top = new FormAttachment(0, 2); formData.bottom = new FormAttachment(100, -2); formData.right = new FormAttachment(100, -2); formData.left = new FormAttachment(0, 2); com.setLayoutData(formData); text.setLayoutData(formData); shell.open(); // shell.layout(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } } catch (Exception e) { e.printStackTrace(); } } } _________________________________________________________ Enter some random Korean text in the Shell that opens, you will see a flicker if you keep typing many sentences together(i.e, write to many lines.) To enable the Korean language, go to Control Panel-> Regional and language prefrences. In the advanced tab, select the Korean Language. Run the sample code above on Eclipse 3.2.2(SWT3.2)/or 3.3.1, type the long korean sentences --- cannot reproduce this issue Run this on Eclipse 3.4 (SWT3.4), type the long korean sentences, reproduce this issue More information: The issue looks to be coming from Styledtext widget. When using a simple Text widget, flicker is not seen. The bug has been reported as Critical severity as it is affecting a functionality in our product and hence affecting the users.
2009-05-22 06:07:49
1,242,990,000
resolved fixed
6df9ccc
1,247,670,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
SWT
935
283,346
Bug 283346 "Hide Eclipse" doesn't work properly
Build ID: 20090619-0625 Steps To Reproduce: 1) Go to the Eclipse menu and choose "Hide Eclipse" 2) Click on Eclipse in the dock to bring it back to the foreground The workbench window comes to the foreground but the menu bar does not repopulate; it still reflects whatever application you were in before you clicked on Eclipse in the dock. You have to command-tab away and back again to get the menu bar to repopulate with Eclipse items. More information:
2009-07-13 19:15:00
1,247,530,000
verified fixed
5470df4
1,247,600,000
bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Shell.java
SWT
936
278,376
Bug 278376 NPE in Shell.WM_ENTERIDLE
Sometimes, our users report the following NPE: java.lang.NullPointerException at org.eclipse.swt.widgets.Shell.WM_ENTERIDLE(Unknown Source) at org.eclipse.swt.widgets.Control.windowProc(Unknown Source) at org.eclipse.swt.widgets.Canvas.windowProc(Unknown Source) at org.eclipse.swt.widgets.Decorations.windowProc(Unknown Source) at org.eclipse.swt.widgets.Shell.windowProc(Unknown Source) at org.eclipse.swt.widgets.Display.windowProc(Unknown Source) at org.eclipse.swt.internal.win32.OS.TrackPopupMenu(Native Method) at org.eclipse.swt.widgets.Menu._setVisible(Unknown Source) at org.eclipse.swt.widgets.Display.runPopups(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) [no more swt in stack trace below this line] I have looked at the code and no idea how this can happen. It looks like 'display' was null.
2009-05-29 07:59:57
1,243,600,000
closed fixed
55b6066
1,247,600,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Shell.java
SWT
937
280,708
Bug 280708 Second call to setFont produces incorrect text
In this example code, the second call to gc.setFont causes the text to be displayed incorrectly. The result looks like a series of odd characters. import org.eclipse.swt.SWT; import org.eclipse.swt.graphics.Font; import org.eclipse.swt.graphics.GC; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Event; import org.eclipse.swt.widgets.Listener; import org.eclipse.swt.widgets.Shell; public class Bug { public static void main(String[] args) { final Display display = new Display(); final Shell shell = new Shell(display); shell.setText("Path#addString() bug on Win32"); display.loadFont("C:\\Music.ttf"); final Font font = new Font(display, "Music", 60, SWT.NORMAL); final Font arial = new Font(display, "Verdana", 40, SWT.NORMAL); shell.addListener(SWT.Paint, new Listener() { public void handleEvent(Event event) { GC gc = event.gc; gc.setAntialias(SWT.ON); gc.setFont(font); gc.drawString("fmps", 0, 0); gc.setFont(arial); gc.drawString("fmps", 0, 200); gc.dispose(); } }); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } font.dispose(); arial.dispose(); display.dispose(); } }
2009-06-17 23:25:21
1,245,300,000
verified fixed
03c19a9
1,247,590,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java
SWT
938
275,617
Bug 275617 SWT/Cocoa TreeItem.getBounds() behaviour differently than on other platforms
Build ID: I20090430-2300 Steps To Reproduce: More information: On SWT/Cocoa TreeItem.getBounds() returns the bounds of the whole column, as opposed to Win32 or GTK where getBounds() returns the bounds of the item itself. (we use the win32/gtk behaviour in order to track clicks in the item's icon)
2009-05-11 04:48:50
1,242,030,000
resolved fixed
3571314
1,247,250,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/TableItem.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/TreeItem.java
SWT
939
277,315
Bug 277315 Combo does not accept drag and drop
Build ID: I20090518-2000 Steps To Reproduce: 1. Launch DNDExample on Cocoa. 2. Set the DragSource and DragTarget as Combo. 3. Drag and drop does not work between these combos. More information: It works fine on another platforms.
2009-05-21 07:55:30
1,242,910,000
verified fixed
ae547b6
1,247,240,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Combo.java
SWT
940
173,888
Bug 173888 [Snippets] CTabFolder doesn't minimize from maximized state
Steps to reproduce: - run Snippet165 - maximize - attempt to minimize; observe the icons change to restore and maximize, but the tab remains maximized There seems to be a line missing in the minimization code that resets the layout data.
2007-02-12 12:07:30
1,171,300,000
resolved fixed
46c797f
1,247,080,000
examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet165.java
SWT
941
278,780
Bug 278780 Exception disposing menu in SWT.Hide
Run test. Select "item2" in menu bar. This happens: java.lang.NullPointerException at org.eclipse.swt.widgets.Menu.menuDidClose(Menu.java:677) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4706) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) at org.eclipse.swt.widgets.Display.applicationNextEventMatchingMask(Display.java:4187) at org.eclipse.swt.widgets.Display.applicationProc(Display.java:4385) at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) at org.eclipse.swt.internal.cocoa.NSApplication.nextEventMatchingMask(NSApplication.java:75) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3093) at PR270379.main(PR270379.java:50) import org.eclipse.swt.*; import org.eclipse.swt.layout.*; import org.eclipse.swt.widgets.*; public class PR270379 { public static void main(String[] args) { try { final Display display = new Display(); final Shell shell = new Shell(display); shell.setLayout(new GridLayout(1, false)); final Menu bar = new Menu(shell, SWT.BAR); MenuItem file = new MenuItem(bar, SWT.CASCADE); file.setText("File"); final Menu menu = new Menu(shell, SWT.DROP_DOWN); file.setMenu(menu); MenuItem item1 = new MenuItem(menu, SWT.PUSH); item1.setText("Item1"); final MenuItem item2 = new MenuItem(menu, SWT.PUSH); item2.setText("Item2"); shell.setMenuBar(bar); item2.addListener(SWT.Selection, new Listener() { public void handleEvent(Event event) { System.out.println("here"); } }); menu.addListener(SWT.Hide, new Listener() { public void handleEvent(Event event) { // item2.dispose(); menu.dispose(); } }); shell.pack(); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } catch (Throwable e) { e.printStackTrace(); } } }
2009-06-02 10:12:23
1,243,950,000
resolved fixed
9a40af7
1,247,000,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Menu.java
SWT
942
275,589
Bug 275589 can't see text cursor after setting dark background color
3.5M7, Build ID: I20090430-2300 Steps To Reproduce: 1. set the background to a dark color and the forground to a light color More information: I tune my preferences so that my backgrounds are dark and my foregrounds are light - I don't like staring into a light all day. It's a pain to change all the Eclipse preferences to make this work, but I've done it. I can't find preferences that control the color of the text cursor or the mouse cursor, so they disappear or are hard to see. The text color seems to blink between my background color and black, so it disappears completely if my background is black. The mouse cursor (shaped like an I-beam) seems to be dark grey, so it's barely visible. Perhaps there are preferences that control this, but I couldn't find them.
2009-05-11 00:29:34
1,242,020,000
verified fixed
16f78cb
1,247,000,000
bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Canvas.java
SWT
943
280,921
Bug 280921 Tree.select() sets selection instead of adding to selection
Run the snippet. On windows, all items are selected. On Cocoa, only the last item created. public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); final Tree tree = new Tree(shell, SWT.MULTI); for (int i = 0; i < 16; i++) { TreeItem item = new TreeItem(tree, SWT.NONE); tree.select(item); item.setText("Item" + i); for (int j = 0; j < 16; j++) { TreeItem item1 = new TreeItem(item, SWT.NONE); item1.setText("Item" + i + " " + j); tree.select(item1); } } shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); }
2009-06-19 09:47:55
1,245,420,000
verified fixed
426b839
1,247,000,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Tree.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Tree.java
SWT
944
278,981
Bug 278981 NSPasteboard.generalPasteboard () can be null
null
2009-06-03 11:53:05
1,244,040,000
resolved fixed
14cc02d
1,246,890,000
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/cocoa/org/eclipse/swt/dnd/Clipboard.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Widget.java
SWT
945
278,370
Bug 278370 [Mozilla] DOM is unavailable in completed event listener after setText()
Build ID: 3.5M7 Steps to Reproduce: 1. Initialize org.mozilla.xpcom.Mozilla with XULRunner-1.8.3.1 2. Create an instance of org.eclipse.swt.browser.Browser(parent, SWT.MOZILLA) 4. Call setText("html code with a link to a CSS file and an element with id='div-id'") on the instance 5. Add a ProgressListener to the browser 6. In the method completed(ProgressEvent) of the ProgressListener try to get the element by id="div-id": browser.getWebBrowser().getContentDOMWindow() .getDocument().getElementById("div-id") ACTUAL RESULT: null is returned EXPECTED RESULT: non-null nsIDOMElement is returned More information: It is reproducible for me on Eclipse 3.5M7 and 3.5RC2, but not reproducible on Eclipse 3.5M6. Workaround Exists: instead of calling browser.setText, create a temporary file with needed html code and call browser.setUrl("file:///url_to_the_file") Example project is attached.
2009-05-29 07:30:03
1,243,600,000
verified fixed
730e935
1,246,040,000
bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/Mozilla.java
SWT
946
277,377
Bug 277377 [Browser] Registered BrowserFunctions cannot be called at anytime
null
2009-05-21 15:10:30
1,242,930,000
resolved fixed
148a6e1
1,246,040,000
bundles/org.eclipse.swt/Eclipse SWT Browser/cocoa/org/eclipse/swt/browser/Safari.java bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/IE.java bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/Mozilla.java
SWT
947
277,888
Bug 277888 double tool-tip on 'learn more' link in tooltip
hovering over the 'Learn More' link in the discovery overview pop-up causes two tooltips to appear.
2009-05-26 12:13:12
1,243,350,000
resolved fixed
5a0c2e9
1,246,030,000
bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextView.java bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Link.java
SWT
948
279,329
Bug 279329 Scrollbar incorrectly fires selection events
Build RC3 I have a tree in which I'm listing to the vertical scroll bar selection events. If the tree contains a horizontal scroll bar, but no vertical scroll bar and you use the mouse wheel to scroll in the vertical direction, you get selection events on the vertical scroll bar. If the tree contains no scroll bars, scrolling with the mouse wheel does not fire events as expected.
2009-06-05 18:27:55
1,244,240,000
resolved fixed
4a8ee53
1,246,020,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Scrollable.java
SWT
949
279,313
Bug 279313 TreeItem.removeAll incorrectly implemented on Mac platform
Build ID: I20090515-1143 Steps To Reproduce: 1.Construct a tree 2.Add a TreeItem to the tree 3.Call removeAll on the TreeItem -- instead of removing the child items from that TreeItem, it removes all items from the Tree. More information: The implementation for TreeItem.removeAll currently looks like this: public void removeAll () { checkWidget (); parent.setItemCount (0); } It should be this: public void removeAll () { checkWidget (); parent.setItemCount (this, 0); }
2009-06-05 16:22:23
1,244,230,000
verified fixed
8f3da96
1,246,020,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/TreeItem.java
SWT
950
77,217
Bug 77217 [browser] Support the Browser widget on Solaris SPARC
null
2004-10-28 13:00:33
1,098,980,000
verified fixed
6b3ddab
1,245,960,000
bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/AppFileLocProvider.java bundles/org.eclipse.swt/Eclipse SWT Mozilla/gtk/org/eclipse/swt/browser/MozillaDelegate.java
SWT
951
245,572
Bug 245572 Browser9 junit test fails with xulrunner 1.9
It works with xulrunner < 1.9.
2008-08-28 14:16:28
1,219,950,000
resolved fixed
5394f88
1,245,960,000
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/browser/Browser9.java tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/browser/Test_BrowserSuite.java
SWT
952
277,474
Bug 277474 [Browser] Snippet173 doesn't block popup window
null
2009-05-22 10:32:22
1,243,000,000
resolved fixed
190c997
1,245,950,000
bundles/org.eclipse.swt/Eclipse SWT Browser/carbon/org/eclipse/swt/browser/Safari.java bundles/org.eclipse.swt/Eclipse SWT Browser/cocoa/org/eclipse/swt/browser/Safari.java bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/WindowEvent.java bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/Mozilla.java
SWT
953
276,178
Bug 276178 firstColumn in Tables/Trees with no columns should not be resizable by user
Tables/Trees must always have 1+ NSTableColumns in order to show any content, even if no swt Table/TreeColumns are created. If the header is visible then the NSColumn is resizable by the user, which should not be doable (similar to if the checkboxes column was resizable by the user). Snippet: public static void main(String[] args) { final Display display = new Display(); Shell shell = new Shell(display); shell.setBounds(10, 10, 200, 200); shell.setLayout(new FillLayout()); Table table = new Table(shell, SWT.NONE); table.setHeaderVisible(true); TableItem item1 = new TableItem(table, SWT.NONE); item1.setText("Item1 Item1 Item1"); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); }
2009-05-13 15:58:48
1,242,240,000
resolved fixed
0b72aab
1,245,950,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/TableItem.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Tree.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/TreeItem.java
SWT
954
281,011
Bug 281011 Control's getMonitor() method does not have an @exception tag
checkWidget() is called in getMonitor()'s implementation so exceptions can be thronw from getMonitor(). However, the @exception tag is missing from the method's javadoc.
2009-06-21 11:59:38
1,245,600,000
resolved fixed
ce9ccc5
1,245,680,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java
SWT
955
280,976
Bug 280976 TreeItem's setForeground(Color) method has two @since tags
/** * Sets the receiver's foreground color to the color specified * by the argument, or to the default system color for the item * if the argument is null. * * @param color the new color (or null) * * @since 2.0 * * @exception IllegalArgumentException <ul> * <li>ERROR_INVALID_ARGUMENT - if the argument has been disposed</li> * </ul> * @exception SWTException <ul> * <li>ERROR_WIDGET_DISPOSED - if the receiver has been disposed</li> * <li>ERROR_THREAD_INVALID_ACCESS - if not called from the thread that created the receiver</li> * </ul> * * @since 2.0 * */
2009-06-20 11:18:44
1,245,510,000
resolved fixed
5108b5b
1,245,680,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TreeItem.java
SWT
956
279,501
Bug 279501 Snippet197 does not dispose its TextLayout instance
Other TextLayout snippets seems okay but not this one.
2009-06-08 13:47:48
1,244,480,000
resolved fixed
722cbc4
1,244,490,000
examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet197.java
SWT
957
279,042
Bug 279042 Cocoa: top-level menus not updated as you switch between editors
I installed the Eclipse MDT Galileo RC2 build for MacOSX (cocoa). The Eclipse toolbar does not switch when I switch between editors. For example, if I edit a plugin.xml file and switch to a *.uml file, the toolbar should update and show me the "UML Editor" menu. This doesn't happen! To force a toolbar refresh, I found that I can invoke the Eclipse Preferences dialog (apple-comma), cancel it (escape) and then the toolbar will be properly updated. With a workspace eclipse and a runtime eclipse, this is even worse because there is only one toolbar for both on the mac. In that case, switching between the workspace & the runtime does not refresh the toolbar either.
2009-06-03 19:04:17
1,244,070,000
resolved fixed
598acde
1,244,140,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Menu.java
SWT
958
278,413
Bug 278413 [regression] created swt-32 and swt-64 directories must be writable by anyone
null
2009-05-29 12:02:27
1,243,610,000
verified fixed
d9da699
1,243,890,000
bundles/org.eclipse.swt/Eclipse SWT PI/common_j2se/org/eclipse/swt/internal/Library.java
SWT
959
277,539
Bug 277539 GLCanvas renders garbage
Build I20090521-2000 If you create a GLCanvas in a view, show that view, then restart Eclipse, garbage will be drawn and the application will be unusable. The problem is easy to reproduce with the LWJGL plugins. Simple open the LWJGL test view, then restart Eclipse.
2009-05-22 16:45:05
1,243,030,000
resolved fixed
e3ea64a
1,243,370,000
bundles/org.eclipse.swt/Eclipse SWT OpenGL/cocoa/org/eclipse/swt/opengl/GLCanvas.java bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSOpenGLContext.java bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSOpenGLView.java bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTOpenGLView.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Canvas.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Widget.java
SWT
960
277,268
Bug 277268 [Forms] section header labels are cut off on Gtk
After updating to 3.5RC1 I noticed that the section header labels in the Mylyn Task Editor where cut off (see screenshot). Once I reflow the form, e.g. by toggling one of the sections, all labels appear with the full text. Not sure if this is a bug in Forms or in SWT.
2009-05-21 00:57:51
1,242,880,000
verified fixed
45a6d00
1,243,370,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Label.java
SWT