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
761
299,302
Bug 299302 Cannot Uppercase text CCombo in VerifyListener
Build Identifier: 20090920-1017 When a user types characters in a CCombo, I would like those characters to be forced into upper case. In a Text field this is accomplished by adding a VerifyListener. The event handling code for CCombo does not allow the listener to override the text in the verify event. This is a simple fix, the method "CCombo.textEvents()" needed to be modified for the VerifiedEvent to add "event.text = e.text" after the listeners have been notified as follows: case SWT.Verify: { Event e = new Event (); e.text = event.text; e.start = event.start; e.end = event.end; e.character = event.character; e.keyCode = event.keyCode; e.stateMask = event.stateMask; notifyListeners (SWT.Verify, e); event.doit = e.doit; event.text = e.text; break; } Reproducible: Always Steps to Reproduce: 1. Add a VerifyListener to a CCombo that is editable. 2. Uppercase the event text in the verify Listener. 3. Text in the Combo box is not uppercased.
2010-01-11 12:49:06
1,263,230,000
resolved fixed
c90d774
1,263,500,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java
SWT
762
299,436
Bug 299436 org.eclipse.swt.dnd.DragSourceListener javadoc references bogus "operation" field
null
2010-01-12 16:40:59
1,263,330,000
resolved fixed
fc04bd7
1,263,500,000
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DropTargetListener.java
SWT
763
294,542
Bug 294542 Wrapping issue when looking at the search history
null
2009-11-07 22:25:35
1,257,650,000
resolved fixed
b44b23b
1,263,490,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/MenuItem.java
SWT
764
246,505
Bug 246505 If install key listener to CCombo, it can not traverse out using combo.traverse(SWT.TRAVERSE_TAB_NEXT).
Build ID: I20080617-2000 Steps To Reproduce: Try the sample code below, it will reproduce this problem, combo can not traverse out when key event happened.But this code works on org.eclipse.swt.Combo. import org.eclipse.swt.SWT; import org.eclipse.swt.custom.CCombo; import org.eclipse.swt.events.KeyAdapter; import org.eclipse.swt.events.KeyEvent; import org.eclipse.swt.graphics.Point; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.widgets.Button; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; public class Main { public static void main(String[] args) throws Exception { Display display = Display.getDefault(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); shell.setSize(new Point(800, 500)); Composite composite = new Composite(shell, SWT.NONE); final CCombo combo = new CCombo(composite, SWT.BORDER); combo.setBounds(30, 60, 100, 20); combo.addKeyListener(new KeyAdapter(){ @Override public void keyPressed(KeyEvent e) { combo.traverse(SWT.TRAVERSE_TAB_NEXT); } @Override public void keyReleased(KeyEvent e) { } }); Button btn = new Button(composite, SWT.NONE); btn.setBounds(30, 150, 80, 40); btn.setText("abc"); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } } More information:
2008-09-07 22:31:28
1,220,840,000
resolved fixed
459c1af
1,263,480,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java
SWT
765
296,284
Bug 296284 [browser] xulrunner 1.9.2 changes
Using the beta 4 xulrunner release: ---------------- Mozilla.execute(): scriptGlobalObjectNSID = new nsID ("6afecd40-0b9a-4cfd-8c42-0f645cd91829"); has become... scriptGlobalObjectNSID = new nsID ("e9f3f2c1-2d94-4722-bbd4-2bf6fdf42f48"); scriptContextNSID = new nsID ("e7b9871d-3adc-4bf7-850d-7fb9554886bf"); has become... scriptContextNSID = new nsID ("87482b5e-e019-4df5-9bc2-b2a51b1f2d28"); ---------------- PromptService2.alert(): add: "sec_error_ca_cert_invalid" ---------------- Snippet327 is now failing ---------------- possibly more to come...
2009-11-26 14:40:34
1,259,260,000
resolved fixed
5b5b768
1,263,330,000
bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/Mozilla.java
SWT
766
297,477
Bug 297477 Shell#setDefaultButton() does not save the default button under certain circumstances
When a button is focused, it is set to the default button temporarily (at least in Windows, Decorations#setDefaultButton( Button, boolean ) is called from Button#WM_SETFOCUS with the second parameter set to false). When this very same button is then set as the default button, this new default button is not saved. As an effect, the previous default button is reinstalled when the focus changes. The reason for this is that the statement "saveDefault = defaultButton" is never reached if "button == defaultButton" is true in Decorations#setDefaultButton( Button, boolean ).
2009-12-10 09:01:27
1,260,450,000
resolved fixed
a7cb766
1,262,640,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Decorations.java
SWT
767
297,605
Bug 297605 [Browser] No Invalid Certificate dialog prompt when sec_error_ca_cert_invalid
null
2009-12-11 12:38:23
1,260,550,000
resolved fixed
20e0dff
1,262,630,000
bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/PromptService2.java
SWT
768
298,424
Bug 298424 Shell.computeTrim() returns a wrong result.
During the developement of e4 workbench designer in Mac Cocoa, I have noticed a bug of this method. 1. Create a Shell with Trim 2. Call Shell.computeTrim(0, 0, 0, 0) You will get a Rectangle (0, 0, 0, 22). The expected result is Rectangle (0, -22, 0, 22)
2009-12-22 12:47:24
1,261,500,000
resolved fixed
dbe4ba2
1,262,630,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Shell.java
SWT
769
297,911
Bug 297911 [Browser] String "View Certificate" ha not been externalized
Build Identifier: Eclipse 3.5.1 The string "View Certificate" in invalidCert() of promptdialog.java is not externalized. Reproducible: Always Steps to Reproduce: Can't find "View Certificate" from SWT properties file. viewCertButton.setText(Compatibility.getMessage("View Certificate")); //$NON-NLS-1$
2009-12-15 18:09:04
1,260,920,000
resolved fixed
9aaaad1
1,260,990,000
bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/PromptDialog.java
SWT
770
297,823
Bug 297823 TextTransfer should specify more clearly that it does not translate \n into platform line delimiter
3.6 M4. In Java strings '\n' normally means to introduce a line break. This is what happens with most SWT APIs, e.g. Text.setText(...) or StyledText.setText(...) where a line break appears in the UI. However, when using TextTransfer and pasting outside Eclipse, a line break is not happening because '\n' is not translated to "\r\n" on Windows. I suspect this is intentional and specified by saying "converting plain text represented as a java <code>String</code>" but it would help to clarify this even more.
2009-12-15 06:23:35
1,260,880,000
verified fixed
875a6af
1,260,910,000
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/TextTransfer.java
SWT
771
297,507
Bug 297507 Table/Tree should show vertical grid lines when showing setLinesVisible(true)
null
2009-12-10 12:01:20
1,260,460,000
resolved fixed
c31e128
1,260,900,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/OS.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/Tree.java
SWT
772
295,185
Bug 295185 [Browser] Refresh of PDF in SWT browser leads to jvm crash
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.0 (KHTML, like Gecko) Chrome/3.0.195.32 Safari/532.0 Build Identifier: I20080207-1530 Its a customer defect raised on lotus Expeditor 6.2 which would be IES 3.4 . Steps to recreation is repeated refresh/loading of a pdf in SWT browser. Epeditor JVM crashes after the refresh/reload hit exceed 40 with a java dump as following: (native thread ID:0x220C, native priority:0x6, native policy:UNKNOWN) 4XESTACKTRACE at org/eclipse/swt/internal/win32/OS.DestroyWindow(Native Method) 4XESTACKTRACE at org/eclipse/swt/widgets/Control.destroyWidget(Control.java:663) 4XESTACKTRACE at org/eclipse/swt/widgets/Shell.destroyWidget(Shell.java:657) 4XESTACKTRACE at org/eclipse/swt/widgets/Widget.release(Widget.java:814) 4XESTACKTRACE at org/eclipse/swt/widgets/Widget.dispose(Widget.java:441) 4XESTACKTRACE at org/eclipse/swt/widgets/Decorations.dispose(Decorations.java:446) 4XESTACKTRACE at org/eclipse/swt/widgets/Shell.dispose(Shell.java:674) 4XESTACKTRACE at org/eclipse/jface/window/Window.close(Window.java:335) 4XESTACKTRACE at org/eclipse/jface/window/ApplicationWindow.close(ApplicationWindow.java:306) 4XESTACKTRACE at org/eclipse/ui/internal/WorkbenchWindow.hardClose(WorkbenchWindow.java:1665) 4XESTACKTRACE at org/eclipse/ui/internal/WorkbenchWindow.busyClose(WorkbenchWindow.java:725) 4XESTACKTRACE at org/eclipse/ui/internal/WorkbenchWindow.access$1(WorkbenchWindow.java:701) 4XESTACKTRACE at org/eclipse/ui/internal/WorkbenchWindow$3.run(WorkbenchWindow.java:817) 4XESTACKTRACE at org/eclipse/swt/custom/BusyIndicator.showWhile(BusyIndicator.java:70) 4XESTACKTRACE at org/eclipse/ui/internal/WorkbenchWindow.close(WorkbenchWindow.java:815) 4XESTACKTRACE at org/eclipse/jface/window/WindowManager.close(WindowManager.java:109) 4XESTACKTRACE at org/eclipse/ui/internal/Workbench$16.run(Workbench.java:912) 4XESTACKTRACE at org/eclipse/core/runtime/SafeRunner.run(SafeRunner.java:37) 4XESTACKTRACE at org/eclipse/ui/internal/Workbench.busyClose(Workbench.java:909) 4XESTACKTRACE at org/eclipse/ui/internal/Workbench.access$15(Workbench.java:838) 4XESTACKTRACE at org/eclipse/ui/internal/Workbench$23.run(Workbench.java:1082) 4XESTACKTRACE at org/eclipse/swt/custom/BusyIndicator.showWhile(BusyIndicator.java:70) 4XESTACKTRACE at org/eclipse/ui/internal/Workbench.close(Workbench.java:1080) 4XESTACKTRACE at org/eclipse/ui/internal/Workbench.close(Workbench.java:1052) 4XESTACKTRACE at org/eclipse/ui/internal/WorkbenchWindow.busyClose(WorkbenchWindow.java:722) 4XESTACKTRACE at org/eclipse/ui/internal/WorkbenchWindow.access$1(WorkbenchWindow.java:701) 4XESTACKTRACE at org/eclipse/ui/internal/WorkbenchWindow$3.run(WorkbenchWindow.java:817) 4XESTACKTRACE at org/eclipse/swt/custom/BusyIndicator.showWhile(BusyIndicator.java:70) 4XESTACKTRACE at org/eclipse/ui/internal/WorkbenchWindow.close(WorkbenchWindow.java:815) 4XESTACKTRACE at org/eclipse/jface/window/Window.handleShellCloseEvent(Window.java:741) 4XESTACKTRACE at org/eclipse/jface/window/Window$3.shellClosed(Window.java:687) 4XESTACKTRACE at org/eclipse/swt/widgets/TypedListener.handleEvent(TypedListener.java:92) 4XESTACKTRACE at org/eclipse/swt/widgets/EventTable.sendEvent(EventTable.java:84(Compiled Code)) 4XESTACKTRACE at org/eclipse/swt/widgets/Widget.sendEvent(Widget.java:1003) 4XESTACKTRACE at org/eclipse/swt/widgets/Widget.sendEvent(Widget.java:1027) 4XESTACKTRACE at org/eclipse/swt/widgets/Widget.sendEvent(Widget.java:1012) 4XESTACKTRACE at org/eclipse/swt/widgets/Decorations.closeWidget(Decorations.java:307 Reproducible: Always Steps to Reproduce: Steps to recreate is as following : 1. Create a RCP application with a view inside with one button and a SWT BRowser. 2. ON button double mouse click,call browser.setURL() where URL point to a PDF doc. 3. 40-60 refresh/reload in browser leads to crash in Eclipse when eclipse is closed.
2009-11-15 10:47:51
1,258,300,000
resolved fixed
89e14c9
1,260,900,000
bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/IE.java bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/Clipboard.java bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/DragSource.java bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/DropTarget.java bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/OleEnumFORMATETC.java bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleClientSite.java bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleFrame.java bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/COM.java bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/IOleObject.java
SWT
773
188,372
Bug 188372 Table/Tree background image doesn't work
The background image is not shown on Tables and Trees (unless custom draw is on)
2007-05-22 12:31:45
1,179,850,000
resolved fixed
26f6b2a
1,259,870,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java
SWT
774
291,128
Bug 291128 [Widgets] eclipse >= 3.5 crash when closing a first level modal window (Install, Run Configurations)
null
2009-10-01 19:03:25
1,254,440,000
resolved fixed
43247e6
1,259,800,000
bundles/org.eclipse.swt/Eclipse SWT Accessibility/gtk/org/eclipse/swt/accessibility/AccessibleObject.java
SWT
775
290,395
Bug 290395 [Widgets] [GTK2.18] Update problem in the Eclipse's "Install new software" dialog.
null
2009-09-24 08:05:47
1,253,790,000
resolved fixed
c3df8a4
1,259,710,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java
SWT
776
188,440
Bug 188440 unsetting background image inheritance does not update
3.3RC1 - run the ControlExample, stay on the Button tab - check the Background Image checkbox - use the combo above this checkbox to change the Background Mode on Parent to SWT.INHERIT_FORCE -> the buttons and their parent composite now inheirit the parent's background image - change the combo back to its original SWT.INHERIT_NONE value -> the buttons and their parent composite still appear to show the parent's background image - uncheck the Background Image checkbox -> the background image disappears from the top-level composite, but still appears on the buttons and their parent - damage and re-expose the area with the example buttons -> now the background image goes away from the damaged region
2007-05-22 15:10:59
1,179,860,000
resolved fixed
148b84f
1,259,690,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java
SWT
777
185,202
Bug 185202 [CTabFolder] antialias should preserve colors
CTabFolder.antialias allocs colors which it then disposes. org.eclipse.swt.custom.CTabFolder.antialias(CTabFolder.java:505) org.eclipse.swt.custom.CTabFolder.drawTabArea(CTabFolder.java:1130) org.eclipse.swt.custom.CTabFolder.onPaint(CTabFolder.java:2257) It would be a better design to preserve (cache) them.
2007-05-02 15:29:18
1,178,130,000
resolved fixed
9277d8d
1,259,680,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabItem.java
SWT
778
295,774
Bug 295774 Control-P crashes Eclipse if Print Spooler not running
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.0; en-GB; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 Build Identifier: M20090917-0800 If the Windows Print Spooler service is not running and the user invokes the Print command the Eclipse executable will shut down suddenly and instantly without offering to save any unsaved work. This crash can be triggered either by choosing Print from the File menu or just by accidentally pressing Control-P. Reproducible: Always Steps to Reproduce: 1. Stop the Print Spooler service 2. In Eclipse, press Control-P
2009-11-20 20:43:34
1,258,770,000
resolved fixed
9e2e284
1,259,010,000
bundles/org.eclipse.swt/Eclipse SWT Printing/win32/org/eclipse/swt/printing/PrintDialog.java
SWT
779
295,856
Bug 295856 ProgressBar selection and state are not shown correctly
User-Agent: Opera/9.80 (Windows NT 6.1; U; de) Presto/2.2.15 Version/10.01 Build Identifier: I20090611-1540 The update of the ProgressBar (including state and selection) is not working properly. If you set the state of the ProgressBar to SWT.ERROR, the selection is not displayed correctly. If the state is SWT.NORMAL, everthing seems to work fine. Reproducible: Always Steps to Reproduce: 1. Run the attached snippet, everthing should work fine 2. Replace the initial state SWT.NORMAL by SWT.ERROR and run the snippet again => The error state is sometimes not displayed immediately and finally the selection is not shown corretly, the last segment is still not shown as selected. public class TestClass { public static void main(String[] args) throws Exception { final int MAX = 10; final Display display = new Display(); Shell shell = new Shell(display); shell.setBounds(10, 10, 500, 200); shell.setLayout(new GridLayout()); final ProgressBar bar = new ProgressBar(shell, SWT.NONE); bar.setMaximum(MAX); bar.setState(SWT.NORMAL); shell.open(); for (int i=1; i<=MAX; i++) { bar.setSelection(i); Thread.sleep(500); } while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } }
2009-11-23 08:02:59
1,258,980,000
resolved fixed
78c5915
1,259,010,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ProgressBar.java
SWT
780
274,963
Bug 274963 Can't restore column widths
Build id: I20090430-2300 There is a problem with resizing columns, consider the steps: 1. Select a shared file 2. Team > History Show 3. Going from "Revision" to "Author" set widths to be zero Result: 4. The only column visible is "Comment" 5. You can show the "Revision" column by grabbing the border 5. There is no way to show columns between "Revision" and "Comment"
2009-05-05 06:47:55
1,241,520,000
verified fixed
d5f017a
1,258,760,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/TableColumn.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TreeColumn.java
SWT
781
295,681
Bug 295681 Spinner widget can't enter the number from IME of the japanese-language input setting.
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; ja; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729) Build Identifier: I20091030-1201 The Spinner widget can't enter the number from IME of the japanese-language input setting. Spinner widget refuses the normal-width figure input from IME. Reproducible: Always Steps to Reproduce: 1.Open the preferences. 2.It selects [General] > [Startup and Shutdown] > [Workspaces] from a left menu. 3.[Number of recent workspaces to remember] is selected, IME is started, and the normal-width figure is input.
2009-11-20 02:57:18
1,258,700,000
resolved fixed
12bc1b0
1,258,730,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Spinner.java
SWT
782
295,513
Bug 295513 AIOBE in TextLayout
null
2009-11-18 16:15:09
1,258,580,000
resolved fixed
1294a7f
1,258,580,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/TextLayout.java
SWT
783
295,368
Bug 295368 I20091117-0800 crashes on startup with widget disposed exception
Run the build, select your workspace, workbench comes up, then goes away. org.eclipse.swt.SWTException: Widget is disposed at org.eclipse.swt.SWT.error(SWT.java:4068) at org.eclipse.swt.SWT.error(SWT.java:3983) at org.eclipse.swt.SWT.error(SWT.java:3954) at org.eclipse.swt.widgets.Widget.error(Widget.java:458) at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:395) at org.eclipse.swt.custom.CTabFolder.setSelectionForeground(CTabFolder.java:3536) at org.eclipse.ui.internal.presentations.PaneFolder.setSelectionForeground(PaneFolder.java:757) at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.updateColors(DefaultTabFolder.java:453) at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.shellActive(DefaultTabFolder.java:469) at org.eclipse.ui.internal.presentations.util.PresentablePartFolder$2.shellActivated(PresentablePartFolder.java:66) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:82) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1218) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1242) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1223) at org.eclipse.swt.widgets.Shell.filterProc(Shell.java:728) at org.eclipse.swt.widgets.Display.filterProc(Display.java:1516) at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method) at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:2132) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3129) 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:3487) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3134) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2315) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2220) 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:48) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37) at java.lang.reflect.Method.invoke(Method.java:600) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:611) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:566) at org.eclipse.equinox.launcher.Main.run(Main.java:1363)
2009-11-17 12:17:56
1,258,480,000
resolved fixed
b7a949c
1,258,490,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Widget.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Widget.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Widget.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Widget.java bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Widget.java bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Widget.java
SWT
784
295,232
Bug 295232 addSelectionListener(SelectionListener) of Button, MenuItem, and ToolItem should tell about RADIO
HEAD The Javadoc of the addSelectionListener(SelectionListener) method in Button, MenuItem, and ToolItem should tell about the special behavior when the widget has the SWT.RADIO style. In that case, widgetSelected(..) is not only called when the control is selected by the user, but also when the radio control loses selection. There are already a number of WONTFIX and WORKSFORME bugs about this problem, but the right fix is to document the current behavior.
2009-11-16 06:42:50
1,258,370,000
resolved fixed
1d37ff5
1,258,400,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Button.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/MenuItem.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ToolItem.java
SWT
785
294,368
Bug 294368 Mozilla SWT Browser AppFileLocProvider has caching issues
The AppFileLocProvider changes it's answer for the location of "ProfD" part way through the initialization and this is really messing with the caching done in the nsDirectoryService. It looks like what's happening is the nsDirectoryService is remembering the <empty> value and not going back to the provider to check for it again. We need to signal the need to refresh the cache by perhaps re-registering the provider or else explicitly set the property (or else come up with something even better).
2009-11-05 13:58:32
1,257,450,000
resolved fixed
d088047
1,258,060,000
bundles/org.eclipse.swt/Eclipse SWT Mozilla/carbon/org/eclipse/swt/browser/MozillaDelegate.java bundles/org.eclipse.swt/Eclipse SWT Mozilla/cocoa/org/eclipse/swt/browser/MozillaDelegate.java bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/AppFileLocProvider.java bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/Mozilla.java bundles/org.eclipse.swt/Eclipse SWT Mozilla/gtk/org/eclipse/swt/browser/MozillaDelegate.java bundles/org.eclipse.swt/Eclipse SWT Mozilla/motif/org/eclipse/swt/browser/MozillaDelegate.java bundles/org.eclipse.swt/Eclipse SWT Mozilla/win32/org/eclipse/swt/browser/MozillaDelegate.java bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java
SWT
786
260,407
Bug 260407 e4 CSS: css attribute storage and notification
The CSS support needs to associate CSS class, CSS ID and style sheet with a given widget. It currently does so by using Widget.setData(). This has the advantage that callers do not need to create a dependency on CSS packages, but has the problem that setData() lacks notification of value change: if any of CSS class/id/stylesheet of a widget change, style information must be reapplied. We either need custom API for setting these values (e.g. Widget.setCSSID(String), Widget.setCSSClass(String),...), or we need notification of Widget.setData() change. An issue with the latter approach is blanket broadcast notification of everyone who happens to store values on a widget and wants notification (i.e. the values tend to be orthogonal extensions of the widget data so listeners will only be interested in a specific subset of the keys). Thus a notification mechanism based on key set would be best.
2009-01-08 10:49:39
1,231,430,000
resolved fixed
f15ff0b
1,258,050,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Canvas.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Composite.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Decorations.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Menu.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/MenuItem.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Scrollable.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Shell.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/TabFolder.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/ToolBar.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Tracker.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Tree.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Widget.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/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/Decorations.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/Menu.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/MenuItem.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/Shell.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/Table.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/ToolBar.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Tracker.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 bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/SWT.java bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/Tray.java bundles/org.eclipse.swt/Eclipse SWT/emulated/coolbar/org/eclipse/swt/widgets/CoolBar.java bundles/org.eclipse.swt/Eclipse SWT/emulated/expand/org/eclipse/swt/widgets/ExpandBar.java bundles/org.eclipse.swt/Eclipse SWT/emulated/tabfolder/org/eclipse/swt/widgets/TabFolder.java bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/Tree.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Canvas.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Composite.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Decorations.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/ExpandBar.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Menu.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/MenuItem.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Scrollable.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TabFolder.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolBar.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tracker.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Widget.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Canvas.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Composite.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Decorations.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Menu.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/MenuItem.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Scrollable.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Shell.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/ToolBar.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Tracker.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Widget.java bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Canvas.java bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Composite.java bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Decorations.java bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Menu.java bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/MenuItem.java bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Scrollable.java bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Shell.java bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/TabFolder.java bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/ToolBar.java bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Tracker.java bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Widget.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Canvas.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Composite.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/CoolBar.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Decorations.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ExpandBar.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Menu.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/MenuItem.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Scrollable.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Shell.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TabFolder.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ToolBar.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tracker.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Widget.java bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Canvas.java bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Composite.java bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/CoolBar.java bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Decorations.java bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/ExpandBar.java bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Menu.java bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/MenuItem.java bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Scrollable.java bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Shell.java bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/TabFolder.java bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/ToolBar.java bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Tracker.java bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Tree.java bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Widget.java
SWT
787
294,308
Bug 294308 [Viewers] Bug201002TableViewerTest in nightly N20091104-2000 on Mac OSX
null
2009-11-05 07:32:05
1,257,420,000
resolved fixed
6b08ed4
1,257,450,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Scrollable.java
SWT
788
294,335
Bug 294335 Performance improvement for textlayout
null
2009-11-05 10:50:28
1,257,440,000
resolved fixed
f80151b
1,257,440,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/TextLayout.java
SWT
789
292,227
Bug 292227 plug window lost focus when create a NO_FOCUS shell from socket
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; zh-CN; rv:1.9.0.14) Gecko/2009082707 Firefox/3.0.14 Build Identifier: 3.4.0 Code Comments in detail 1. Java -- Create a socket and add listeners to detect keyboard events, will pop up a NO_FOCUS shell when event detected. 2. C++ -- Create a gtk plug window, and reparent it to java socke via gtk_plug_new(), there is a button in the plug. Reproducible: Always Steps to Reproduce: 1. Launch the Java process, you could get the socket id from console 2. Launch c++ process, input the socket id you get from java console 3. Mouse click button to give plug's button the focus 4. Press "Enter" on the button. 5. Expected -- Focus should not lost from Plug's button, because we new a NO_FOCUS shell from Java, but actually focus moved to the 2ed control of Java.
2009-10-14 05:17:51
1,255,510,000
resolved fixed
647db4b
1,257,350,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java
SWT
790
294,171
Bug 294171 Scrolling causes flush of all paint events.
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 Build Identifier: I have following problem. Within a resize listener's handleEvent() method, i'm calling twice Canvas.scroll(). The areas scrolled are distincted. So what i would expect is that calling scroll() the second time do not trigger a paint event since there is nothing to be repainted. But that's not the case. The Javadoc of the method says: "In addition, outstanding paint events are flushed before the source area is copied to ensure that the contents of the canvas are drawn correctly. ". This is somewhat misleading since it does not really say that all events are flushed. Even those that does not intersect the area to scroll. I would suggest to precise the javadoc or better only trigger paint events that intersect the area to scroll. Reproducible: Always Steps to Reproduce: import org.eclipse.swt.SWT; import org.eclipse.swt.graphics.Color; import org.eclipse.swt.graphics.Rectangle; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.widgets.Canvas; 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 CanvasScrollReproducer { public static void main(final String[] args) { final Display display = new Display(); final Shell shell = new Shell(display); shell.setLayout(new FillLayout()); shell.setSize(640, 480); final Canvas canvas = new Canvas(shell, SWT.NO_BACKGROUND | SWT.NO_REDRAW_RESIZE | SWT.DOUBLE_BUFFERED); canvas.addListener(SWT.Paint, new Listener() { public void handleEvent(final Event event) { System.out.println(event.gc.getClipping()); final Color color = new Color(display, (int) (Math.random() * 255), (int) (Math.random() * 255), (int) (Math.random() * 255)); try { event.gc.setBackground(color); event.gc.fillRectangle(canvas.getClientArea()); } finally { color.dispose(); } } }); canvas.addListener(SWT.Resize, new Listener() { private Rectangle oldArea = null; public void handleEvent(final Event event) { if (this.oldArea != null) { final Rectangle newClientArea = canvas.getClientArea(); final int xDiff = newClientArea.width - this.oldArea.width; final int destX = xDiff; final int x = 0; int width = this.oldArea.width; width = newClientArea.width; int height = this.oldArea.height; height = newClientArea.height; System.out.println("scroll 1"); canvas.scroll(destX, 19, x, 19, width, height - 19, true); System.out.println("scroll 1 done"); System.out.println("scroll 2"); canvas.scroll(destX, 0, x, 0, width, 18, true); System.out.println("scroll 2 done"); } this.oldArea = canvas.getClientArea(); } }); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } } display.dispose(); } }
2009-11-04 04:24:00
1,257,330,000
resolved fixed
28f5634
1,257,350,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Canvas.java
SWT
791
294,053
Bug 294053 Scrollables incorrectly redrawn within non rectangular shaped shell.
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 Build Identifier: 20090920-1017 I have an application with an irregular shaped window created by setting a Region on the shell. I found that an embedded CheckboxTreeViewer does not draw properly when scrolled. It seems to incorrectly inherit the region of the shell which then gets scrolled around with the contents of the scrolled tree, preventing areas outside the region from being redrawn properly. I have modified Snippet285, adding a scrollable List which demonstrates this problem. I am running 64 bit cocoa, eclipse build id: 20090920-1017. I have also tried an earlier version of 32 bit cocoa which does the same. It draws fine on carbon. Is this a bug or am I missing something? Thanks. Reproducible: Always Steps to Reproduce: 1. Run code snippet which I will attach.
2009-11-03 08:13:25
1,257,250,000
resolved fixed
ca6d7bb
1,257,280,000
bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSView.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/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/ScrollBar.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/Shell.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/Widget.java
SWT
792
288,468
Bug 288468 [Widgets] Setup of event.detail argument incorrect in Tree paintItem event under Cocoa
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 Build Identifier: 3.5 Line 1140 of the SWT cocoa source file org/eclipse/swt/widgets/Tree.java sets up the SWT.SELECTED bit incorrectly for the event parameter for the PaintItem event of the Tree. Currently the line reads: if (drawSelection) event.detail |= SWT.SELECTED; The drawSelection variable however is the result of a previous EraseItem event. According to the spec (and the behavior under Windows) the SWT.SELECTED bit should be set in event.detail when the respective tree cell is actually selected, even when a precious call to EraseItem prevented the drawing of a selection background for the cell by clearing the bit. Reproducible: Always Can be easily fixed by changing line 1140 of the SWT cocoa source file org/eclipse/swt/widgets/Tree.java from if (drawSelection) event.detail |= SWT.SELECTED; to if (isSelected) event.detail |= SWT.SELECTED;
2009-09-03 09:09:30
1,251,980,000
resolved fixed
60cb995
1,257,190,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Tree.java
SWT
793
293,513
Bug 293513 Text.getCaretPosition() returns 0 after setting text
After setting text on a Text, Text.getCaretPosition() always returns 0 even if the caret is really not in the 0 position. Looking at the code, here's my analysis: * Text.setText() calls Text.setEditText(), which sets selectionRange to null * Text.getCaretPosition() always returns 0 when selectionRange is null Version: 3.6.0 Build id: I20091027-0100
2009-10-27 17:02:09
1,256,680,000
resolved fixed
79adf31
1,256,930,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Text.java
SWT
794
292,281
Bug 292281 Cheese over a fast view
I20091013 I triggered a synchronization and then opened the progress view as a fast view at the bottom of the screen (see screenshot). When I hover over the link shown in the progress dialog when the synchronization is over (and there was changes found during the sync), I get the cheese.
2009-10-14 11:09:54
1,255,530,000
resolved fixed
30ca87a
1,256,930,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Composite.java
SWT
795
72,905
Bug 72905 [CTabFolder] does not gain focus
I have a CTabFolder which has a few CTabItems. Each CTabItem has a few widget controls (for example, texts and combos). If one of the widgets has the focus, then the tab can not gain focus by clicking on the title of the tab using mouse. However, the tab can get focus if I use TAB key to tab through. I do not see this problem with org.eclipse.swt.widgets.TabFolder.
2004-08-30 16:13:59
1,093,900,000
resolved fixed
5a45eee
1,256,830,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java
SWT
796
293,490
Bug 293490 ControlExample is too wide on Cocoa.
We shorten the tab item text on carbon, but not on cocoa.
2009-10-27 15:04:32
1,256,670,000
resolved fixed
dcae49c
1,256,670,000
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/ControlExample.java
SWT
797
293,315
Bug 293315 Internal browser cannot add exception for self-signed certificates in Linux
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 (.NET CLR 3.5.30729) Build Identifier: I20091020-0931 In Windows, the internal browser will give a yes or no prompt to let you accept the self-signed certificate, but in Linux, there is no such option and you are left with a blank page. If you use the external Firefox browser, there is an option to add an exception for this certificate, but you cannot do this with the internal browser. Reproducible: Always Steps to Reproduce: 1. Find a website that has a self-signed certificate 2. Open that website with the Eclipse internal browser
2009-10-26 10:17:16
1,256,570,000
resolved fixed
508b980
1,256,590,000
bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/PromptService2.java
SWT
798
286,040
Bug 286040 [Image Saving] o.e.swt.internal.image.PngEncoder is very slow on writing large images
Build ID: I20090611-1540 Steps To Reproduce: 1. ImageLoader.load() a large (e.g. 3000x3000) 24/32 bit image 2. ImageLoader.save() it as IMAGE_PNG 3. Watch the PNG encoder struggling for good 20 seconds on it More information: The main slowdown factor is that PngEncoder.writeImageData() is making 3-4(with alpha) writes to the output stream for each pixel. So with 10M pixel image it's 30M write() calls. The write() call overhead is pretty big, and by simply moving it out of the inner loop I managed to increase the encoder performance tenfold. Please see the patch.
2009-08-07 19:32:37
1,249,690,000
resolved fixed
2d52bf5
1,256,580,000
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/PngEncoder.java
SWT
799
278,081
Bug 278081 [OS X] Setting a slider thumb to the maximum range does not disable scrolling
This problem is unique to Mac OS X Cocoa. When setting the thumb value to the maximum range (or more), the slider should be grayed out as it is simply irrelevant - no scrolling can happen. This is the behavior on Windows, Linux GTK, and Mac OS X Carbon. In the new SWT Cocoa, the slider scroller still appears and fills the entire slider. This looks bad and breaks backward compatibility. The following snippet demonstrates the problem - On Cocoa - it will show a thumb which fills the entire slider. On other platform - the slider is automatically disabled. --------------------------- import org.eclipse.swt.SWT; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; import org.eclipse.swt.widgets.Slider; public class Snippet17b { public static void main(final String[] args) { final Display display = new Display(); final Shell shell = new Shell(display); final Slider slider = new Slider(shell, SWT.HORIZONTAL); slider.setBounds(10, 10, 200, 32); slider.setMaximum(100); slider.setThumb(100); slider.setEnabled(false); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } } display.dispose(); } }
2009-05-27 12:39:51
1,243,440,000
resolved fixed
cd9f038
1,256,310,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Slider.java
SWT
800
281,383
Bug 281383 [Browser] Cookies cannot be set before the first Browser instance
null
2009-06-24 14:09:18
1,245,870,000
resolved fixed
16f3a6f
1,256,240,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
SWT
801
274,432
Bug 274432 Carbon:Calling shell fullscreen in fullscreen mode, normal window size is lost
Build ID: I20090428-0100 Steps To Reproduce: Problem seen only in Carbon. 1.Run the snippet below. 2.Set window to fullscreen by selecting the "fullscreen" button. 3.Click on the button again. 4.Try to bring the window to its original size by clicking on "normal screen" button. Shell returns from fullscreen mode, but not to its original size. public class Fullscreen { public static void main(String args[]) { final Display display = new Display(); final Shell shell = new Shell(display); shell.setLayout(new RowLayout()); Button b = new Button(shell, SWT.PUSH); b.setText("fullscreen"); b.setBounds(10, 10, 100, 30); b.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent s) { shell.setFullScreen(true); System.out.println("fullscreen"); } }); Button b1 = new Button(shell, SWT.PUSH); b1.setText("normal screen"); b1.setBounds(10, 10, 100, 30); b1.addSelectionListener(new SelectionAdapter(){ public void widgetSelected(SelectionEvent e) { shell.setFullScreen(false); System.out.println("normal"); } }); shell.pack(); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } } } } More information: Calling setFullScreen(true) when in fullscreen mode, overwrites the saved shell size. I'm not sure if it is a valid use case, but this case works fine in windows & gtk.
2009-04-29 17:27:02
1,241,040,000
resolved fixed
d36a760
1,256,240,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Shell.java
SWT
802
235,554
Bug 235554 sub-shell can't be invisible when the main shell be maximized
1.run the "ShellDeactiveTest.java" application 2.click the "Click Me" button, it will show a context menu 3.click the maximize box on the main window. 4.the main window has been maximized, but the context menu can't be hidden 5.on windows. the application can run as expected, that is say when the main window be maximized, the context menu is hidden.
2008-06-04 04:43:42
1,212,570,000
resolved fixed
021f3d9
1,256,240,000
bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/OS.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Shell.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Widget.java
SWT
803
136,932
Bug 136932 [CTabFolder] CTabItem messed up ToolTip
When a CTabItem has a tooltip, it often does not dispose of it properly. Using the snippet below, hover over the tab until the tooltip appears. Then, quickly move the mouse to the middle of the label. The tooltip will not go away, it will move to where the mouse it (and follow the mouse around as you move it around the label area). Furthermore, if you quickly moved the mouse to the button instead of the label, you will get the button's tooltip, but moving to the label changes the tooltip back to the CTabItem's tooltip. Moving the mouse slowly down from the tab area makes the tooltip go away correctly (which is why I say, "move the mouse quickly") This is on Mac only, and I've been seeing it on 3.2M6 and 3.2RC1. Snippet: final Display display = Display.getDefault(); final Shell shell = new Shell(display); FillLayout layout = new FillLayout(SWT.VERTICAL); layout.spacing = 5; shell.setLayout(layout); shell.setText("Test 2"); final CTabFolder tf = new CTabFolder(shell, SWT.FLAT); CTabItem ti = new CTabItem(tf, SWT.NONE); ti.setText("This is a CTabItem"); ti.setToolTipText("This is the ToolTip from CTabItem"); Composite composite = new Composite(tf, SWT.NONE); composite.setLayout(new FillLayout(SWT.HORIZONTAL)); ti.setControl(composite); Button btn = new Button(composite, SWT.PUSH); btn.setText("Button"); btn.setToolTipText("Button's Tooltip"); final Label l = new Label(composite, SWT.BORDER); l.setText("Label"); shell.setSize(200, 200); shell.open(); while (!shell.isDisposed()) if (!display.readAndDispatch()) display.sleep();
2006-04-16 08:37:39
1,145,190,000
resolved fixed
449c08b
1,256,230,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Control.java
SWT
804
290,568
Bug 290568 [DND] JVM crash with "Invalid memory access" after calling dispose() in dragFinished()
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 Build Identifier: 20090619-0625 Trying to dispose a dragged composite in dragFinished() ends up in an "Invalid memory access" JVM crash. Happens with SWT versions 3.5 and M20090917-800 (both cocoa 64bit), using java 1.6 on OS X 10.5.8. Trying to dispose the parent of the dragged composite results in the same crash too. This doesn't happen on Linux (SWT 3.5 64bit, java 1.6, Ubuntu 9.04). I attached a test class and the crash dump. Reproducible: Always Steps to Reproduce: 1. Drag one composite onto the other 2. 3.
2009-09-25 12:26:18
1,253,900,000
resolved fixed
b0ef442
1,256,150,000
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/cocoa/org/eclipse/swt/dnd/DragSource.java
SWT
805
53,184
Bug 53184 [ViewForm] View Toolbars should wrap right-aligned
When view toolbars must wrap to a new line because there are too many items for the view's width, the second etc. lines of toolbar items should also be aligned to the right. This follows the alignment of the original top line. The right-alignment would also decrase the distance to the buttons' new location after wrapping (which can be annoyingly far away when a view like "New Search" wraps because the title string becomes wider).
2004-02-26 10:51:58
1,077,810,000
verified fixed
81a6c1f
1,256,140,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/ViewFormLayout.java
SWT
806
292,333
Bug 292333 ColorDialog always returns null on 64 bit Cocoa (or sometimes hangs and does not return)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 GTB5 (.NET CLR 3.5.30729) Build Identifier: I20090917-0100 On Mac OS X (Snow Leopard, 64-bit Intel, running the 64-bit version of Eclipse), calling ColorDialog.open() will either always return null, or hang. Reproducible: Always Steps to Reproduce: 1. Use the 64-bit Eclipse on Snow Leopard on a 64-bit intel mac (naturally) 2. Call ColorDialog.open() 3. Get frustrated.
2009-10-14 20:39:11
1,255,570,000
resolved fixed
bc304da
1,256,070,000
bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSWindow.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java
SWT
807
211,983
Bug 211983 Rollover tooltips don't appear in first column of owner-drawn Tables
I20071204-1547 Rollover tooltips don't appear for owner-drawn Tables. This can be seen in JDT table views (e.g. Types in the Java Browsing perspective), or in the ControlExample after adding a listener for the PaintItem event.
2007-12-05 06:19:25
1,196,850,000
verified fixed
7efd368
1,256,070,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java
SWT
808
72,872
Bug 72872 CLabel should allow setting of hIndent and vIndent
CLable defines hIndent and vIndent to a fixed value (3). This prevents the widget from fitting into the Forms UI because it is displayed with margin and not in-line with other widgets (eg. "Label"). CLabel should have setters and getters for both values.
2004-08-30 08:30:31
1,093,870,000
resolved fixed
3eceed6
1,255,720,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CLabel.java examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/CLabelTab.java
SWT
809
275,979
Bug 275979 Group computeSize wrong
Build ID: I20090430-2300 Steps To Reproduce: 1. Install Cocoa version of Eclipse on Mac 2. Eclipse > Preferences, Plug-in Development, Target Platform 3. Click "Running Platform" line, then click"Edit..." 4. Click "Environment" tab Actual result: The group box at the bottom of the dialog, labeled "Java Runtime Environment," is laid out incorrectly: It is truncated at the bottom. The moment you begin to resize the dialog, it lays out correctly. See cocoa-screenshot.png. Expected result: Dialog lays out correctly, as it does if you run the Carbon version of Eclipse. See carbon-screenshot.png.
2009-05-12 18:26:27
1,242,170,000
resolved fixed
65c87a6
1,255,710,000
bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSBox.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/Group.java
SWT
810
292,321
Bug 292321 Reduce NSString garbage in NSAutoreleasePool
There are some place where we are putting a lot of NSString objects into the pool when we could be releasing them right away.
2009-10-14 17:21:52
1,255,560,000
resolved fixed
40cc649
1,255,620,000
bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSString.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/IME.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/MenuItem.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/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
811
291,486
Bug 291486 [Browser] Browser widget crashes VM after failed Ctrl+L in hover
null
2009-10-06 10:20:15
1,254,840,000
resolved fixed
0b3d59f
1,255,550,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 bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java
SWT
812
292,187
Bug 292187 NPE in OleClientSite on a clean Windows install
null
2009-10-13 15:18:53
1,255,460,000
resolved fixed
52ce1d2
1,255,530,000
bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleClientSite.java
SWT
813
291,788
Bug 291788 [Widgets] Focus lost after F3
I20091006-0800, Cocoa, Mac OS X 10.6.1 - Have a simple class like this: package p; public class C { static int fField; public static void main(String[] args) { fField= 1; } } - Set caret into reference to fField - Press F3 => Focus is lost. Caret does not blink any more. Pressing the Tab key about 11 times puts the focus back into the editor area. Same problem occurs after refactorings (e.g. extract local variable). Tried in I20090923-1538, and there it's working fine.
2009-10-08 12:01:54
1,255,020,000
resolved fixed
27f89c4
1,255,450,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Control.java
SWT
814
292,119
Bug 292119 SWT Balloon ToolTip (title text) not displayed if text is too long - display bug
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-GB; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 Build Identifier: 3.5.1v20090826-0800 I'm using org.eclipse.swt.widgets.ToolTip objects to display some info messages. There exists a display bug in the tooltip if the title text set with setText("...") is too long (> 100 chars). 2 different display bugs: 1) the title text (setText) is too long and the message text (setMessage) is set, then the tooltip is displayed only with the message text and no title is shown. 2) the title text (setText) is too long and no message text (setMessage) is set for this tooltip, then the tooltip is displayed as very small empty tooltip - with border and background but no content. notes: * this happens on Windows 7 and Windows XP * the tooltip style (SWT.BALLOON or none) is irrelevant Reproducible: Always Steps to Reproduce: final ToolTip toolTip3 = new ToolTip(shell, SWT.BALLOON | SWT.ICON_INFORMATION); toolTip3.setText("Here is a message for the user. When the message is too long it shoudl wrap, but instead it is not displayed because it is too long!!!"); //toolTip3.setMessage("balloon tip with Title-text not displayed because too long"); // either set message (1) or not (2) toolTip3.setLocation(400, 400); Button button3 = new Button(shell, SWT.PUSH); button3.setText("Press for balloon tip: with only a too long Title-text and no message -> damaged display"); button3.addListener(SWT.Selection, new Listener() { public void handleEvent(Event event) { toolTip3.setVisible(true); } });
2009-10-13 04:47:27
1,255,420,000
resolved fixed
7e2e8eb
1,255,440,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Shell.java
SWT
815
288,964
Bug 288964 [Browser] Registering a function has no effect on newly opened window
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 Build Identifier: 3.6M1 Functions registered on a new browser instance (set in an OpenWindowListener) cannot be called. Navigating seems to re-register the function but without any navigation, calling the function on the loaded page does not work. Reproducible: Always Steps to Reproduce: 1. Open a link using the native context menu of IE. 2. In the open window listener, set the browser instance to use on which we add a custom function. 3. Triggering that function has no effect.
2009-09-09 13:46:18
1,252,520,000
resolved fixed
11ef00f
1,255,120,000
bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/IE.java
SWT
816
277,355
Bug 277355 [Browser-Mozilla] document.open() fails.
null
2009-05-21 12:56:58
1,242,930,000
resolved fixed
45ef213
1,255,110,000
bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/Mozilla.java
SWT
817
291,918
Bug 291918 NSMenuItem does not clear title when attributed Title is cleared
read only Combo and MenuItem use setAttributedTitle to set their text, but the text is not getting cleared when the attributed title is set to empty string.
2009-10-09 10:50:24
1,255,100,000
resolved fixed
1b660f4
1,255,100,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Combo.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/MenuItem.java
SWT
818
291,724
Bug 291724 Link widget has problems with mnemonics on GTK
null
2009-10-08 06:44:53
1,255,000,000
resolved fixed
0b2b02c
1,255,010,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Link.java
SWT
819
291,726
Bug 291726 "Gtk-CRITICAL **" messages when listening to events of Link widget
I20091006-0800 - ControlExample > Link - click the "Listen" checkbox Messages written to stderr: (SWT:25806): Gtk-CRITICAL **: file gtkentry.c: line 3534 (gtk_entry_get_text): assertion `GTK_IS_ENTRY (entry)' failed (SWT:25806): GLib-CRITICAL **: file gutf8.c: line 217 (g_utf8_strlen): assertion `p != NULL || max == 0' failed [.. repeated 5 more times ..]
2009-10-08 06:58:38
1,255,000,000
resolved fixed
cc63730
1,255,010,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java
SWT
820
288,474
Bug 288474 Saving a docx file fails silently due to not killing WINWORD process on close
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 (.NET CLR 3.5.30729) Build Identifier: M20090901-1530 Editing a docx in the in-place editor and saving appears to work, but after closing and reopening the file you will not see the changes made. If you check running processes, you will see WINWORD still running after closing the editor. If you manually kill the process after closing the editor, any changes made will be there when reopening the file. Reproducible: Always Steps to Reproduce: 1. Open a docx with in-place editor 2. Make changes and save 3. Close editor and reopen [changes will not be there] 4. Check running processes for WINWORD [still running]
2009-09-03 09:51:54
1,251,990,000
resolved fixed
8c113a4
1,254,950,000
bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleClientSite.java
SWT
821
291,209
Bug 291209 [Widgets] Images on TableColumns are top-left justified instead of vertically centering like the sort arrows
User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_1; en-us) AppleWebKit/531.9 (KHTML, like Gecko) Version/4.0.3 Safari/531.9 Build Identifier: 3.5.1 GM In Cocoa SWT, if you setImage on a TableColumn, you end up with odd veritcal alignment. The sort arrow is positioned in the middle of the cell, but custom images are at y=0 and it looks goofy. Reproducible: Always
2009-10-02 11:09:58
1,254,500,000
resolved fixed
6bb8fc1
1,254,860,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/TableColumn.java
SWT
822
264,398
Bug 264398 [Browser] Arrow_Down does not scroll after tabbing into Browser
I20090203-1200, was OK in 3.4.1 After a Browser widget got the keyboard focus, it sometimes does not react on the Arrow_Down (which should scroll down). This happens e.g. when I press F2 on a documented element in the Java editor and then try to scroll in the sticky Javadoc hover. It can also be reproduced in the ControlExample: - launch - with the mouse, click the 'Browser' tab - press the Tab key - press Arrow_Down => does not scroll any more As soon as I clicked into the Browser with the mouse, scrolling usually works. But then, Ctrl+(Shift+)Tab don't let me escape from the Browser any more. Tab without Ctrl seems to be fine to get out.
2009-02-10 13:01:10
1,234,290,000
resolved fixed
814aad6
1,254,850,000
bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleControlSite.java
SWT
823
291,307
Bug 291307 Menu images (PNG) does not support semi-alpha-transparency on Windows Vista/7
null
2009-10-05 02:59:08
1,254,730,000
resolved fixed
e4496f7
1,254,780,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java
SWT
824
291,354
Bug 291354 [Widgets] Windows 7: small indeterminate ProgressBar looks broken
I20090929-0800 on Windows 7. When the indeterminate ProgressBar is small (like in the Eclipse status bar) then it does not go to the end and hence looks broken. Test Case: 1. start SWT Control Example 2. switch to 'ProgressMonitor' tab 3. check style SWT.INDETERMINATE 4. make the progress bar narrow (same size as in the status line of the Eclipse workbench window) ==> the progress indication does not go to the end which looks broken. This looks fine on XP and Vista. Most likely a native issue but something we need to fix or workaround as it is very prominent in the status line of each Eclipse workbench window. Side note: the normal (non-indeterminate) Windows 7 progress bar seems to be more precise/accurate which makes it very visible if end values are not correctly set when an operation is finished (looks like the operation doesn't reach its end). That however, is a problem that has to get fixed on the client side.
2009-10-05 10:09:14
1,254,750,000
verified fixed
edc6305
1,254,770,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ProgressBar.java
SWT
825
289,752
Bug 289752 Bidi: Ctrl+RightShift/Ctrl+LeftShift doesn't switch the StyledText orientation
User-Agent: Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.0; .NET CLR 2.0.50727) Build Identifier: any On Windows platform one is able to change System Editor's (and not only) orientation by pressing Ctrl+RightShift/Ctrl+LeftShift. SWT Text widget due to being implemented by platform editor, sticks to this behaviour. Unfortunately SWT StyledText doesn't respect these (or any other) hot key combination, thus impeding its usability for Arabic/Hebrew customers. It worth noting in this context that eclipse Text Editor did respect these feature prior to year 2003 but such behaviour was complained after under defect 165089. Eclipse Text Editor is basd on SWT StyledText indeed, however even if the discussed behaviour has been desided to be disoraged for Text Editor, it still highly important to StyledText, on Bidi systems (i.e. system having Arabic or Hebrew keyboard installed). We are willing to contribute the code backing up discussed functionality. Reproducible: Always Steps to Reproduce: 1. Run SWT application having StyledText widget. 2. Press Ctrl+RightShift. 3. Result: Nothing happens in sense that widget's orientation doesn't chagne
2009-09-17 11:04:41
1,253,200,000
resolved fixed
72e3e81
1,254,770,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
SWT
826
60,387
Bug 60387 [Import/Export] Add 3rd Option for Export to File System
The servlet spec in the J2EE spec calls for a WEB-INF directory under the document root with a classes directory under that. I want to export my Java classes to this classes directory. Currently that is only possible if my project in Eclipse just happens to be named "WEB-INF". The two options currently available for exporting to the file system are: "Create directory structure for files" or "Create only selected directories" With the first option, there doesn't seem to be any way to select only directories from a top level package and lower. If a checkbox for a directory corresponding to a package is clicked, the checkboxes for the directories about it - including the project directory - are also filled in with gray checkmarks. During the export, the project directory is (unwillingly in my case) created. So what one ends up with when one attempts to export to the classes directory is: doc-root WEB-INF classes Project_Name top-level-package sub-package sub-package class class I have to manually open the Project_Name folder in the above hierarchy, cut the top-level-package, go up a level, paste it where it belongs under classes, and then deleted the unwanted Project_Name directory. The second option just dumps all the classes into one directory, so unless I only use a single package in my project or export the classes separately for each package (even more unworkable than the above cut-and-paste), this option can't be used. This problem is THE single biggest impediment to my efficient use of Eclipse. SUGGESTION: Add a 3rd option, similar to the first: "Create directory structure for files without project directory" Or, it could be made even more general: "Create directory structure for files with only explicity selected directories" In the first variant, just the project directory itself is left out, and the export is from the top level directory under the project on down. This would work fine with exports where the target is the WEB-INF/classes directory. Nothing in the UI would have to be changed beyond adding the option. In the second variant, only directories with *black* checkmarks (and below), not gray implicitly marked ones above, are exported to the target directory. In the case of Java classes, one could export to target subpackages. This raises an issue however of how to allow the user to select directories and files to be exported. Currently, selecting a file implicity selects all the directories above it, filling in the checkboxes with gray checkmarks, and selecting a directory explicity selects all directories and files below it. The user would have to select a directory first, and then unselect the directories and files below it that he/she didn't want, which would be tedious. It would be useful if there were some way to select a given file, then mark the directory above it from which level the directories should be created, say by right-clicking the checkbox, or holding down the shift key while clicking it, such that it turns black - creating a chain to already selected files, but doesn't force select other stuff beneath it.
2004-04-29 05:45:58
1,083,230,000
resolved wontfix
056762a
1,254,520,000
bundles/org.eclipse.swt/Eclipse SWT Browser/carbon/org/eclipse/swt/browser/Safari.java bundles/org.eclipse.swt/Eclipse SWT Browser/cocoa/org/eclipse/swt/browser/Safari.java bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/Browser.java bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/WebBrowser.java bundles/org.eclipse.swt/Eclipse SWT Browser/forms/org/eclipse/swt/browser/IE.java bundles/org.eclipse.swt/Eclipse SWT Browser/photon/org/eclipse/swt/browser/Voyager.java bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/IE.java bundles/org.eclipse.swt/Eclipse SWT Browser/wpf/org/eclipse/swt/browser/IE.java bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/InputStream.java 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/internal/mozilla/XPCOM.java bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/internal/mozilla/nsIMIMEInputStream.java bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/cocoa/Cocoa.java bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSMutableURLRequest.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/WebView.java bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SAFEARRAY.java bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SAFEARRAYBOUND.java
SWT
827
291,229
Bug 291229 KeyEvent#stateMask also contains mouse buttons
HEAD (but problem is not new) The KeyEvent#stateMask field also contains mouse buttons, but its Javadoc only tells about "keyboard modifier keys". It also mentions "key code constants", but e.g. SWT#CTRL says it's an "event mask". I would add these references to make it clear what masks are meant: * @see org.eclipse.swt.SWT#MODIFIER_MASK * @see org.eclipse.swt.SWT#BUTTON_MASK
2009-10-02 13:00:57
1,254,500,000
resolved fixed
9b206a3
1,254,510,000
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/KeyEvent.java bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/MouseEvent.java bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/Event.java
SWT
828
204,582
Bug 204582 Mac - manually added external editors fail to launch
null
2007-09-25 13:12:28
1,190,740,000
resolved fixed
7796d3e
1,254,430,000
bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/OS.java bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/cocoa/Cocoa.java bundles/org.eclipse.swt/Eclipse SWT Program/carbon/org/eclipse/swt/program/Program.java
SWT
829
280,277
Bug 280277 possible leak in FileDialog
From the newsgroup, should be investigated: I'm debugging my mixed Java/C++ application and trying to eliminate memory leaks. I'm using the leaks(1) tool in Mac OS X, and I can see a growing number of leaked NSCFArray and AEListImpl objects. The stack traces show they were all created in the Java_org_eclipse_swt_internal_carbon_OS_NavDialogRun function call. I'm using Carbon SWT (3.4.1.v3452b); is this problem known/spurious/benign?
2009-06-15 10:48:51
1,245,080,000
resolved wontfix
e69ccdf
1,254,430,000
bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/OS.java bundles/org.eclipse.swt/Eclipse SWT Program/carbon/org/eclipse/swt/program/Program.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/FileDialog.java
SWT
830
291,030
Bug 291030 Repaint cheese with RTL scrollable in bottom left corner
null
2009-10-01 08:46:46
1,254,400,000
resolved fixed
6384119
1,254,430,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Scrollable.java
SWT
831
290,759
Bug 290759 Shell.setEnabled(false) not implemented on Cocoa
null
2009-09-28 19:02:06
1,254,180,000
resolved fixed
a5a51bc
1,254,260,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Shell.java
SWT
832
278,132
Bug 278132 icons with overlays become faded in appearance
Take a look at the attached screenshot. Icons with no overlay appear in their original color, whereas those that have an overlay become faded. Version: 3.5.0 Build id: I20090522-1710
2009-05-27 17:26:43
1,243,460,000
resolved fixed
370cf15
1,254,230,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Image.java
SWT
833
289,612
Bug 289612 [SWT/AWT] JLabel in Snippet319 does not appear
using SWT from HEAD, 32-bit Cocoa, on OSX 10.5.8 - run Snippet319 - there should be a a JLabel under the swt Label, but it's not there -> the JLabel does appear on the other platforms
2009-09-16 09:56:20
1,253,110,000
resolved fixed
bd52a40
1,254,200,000
bundles/org.eclipse.swt/Eclipse SWT AWT/cocoa/org/eclipse/swt/awt/SWT_AWT.java
SWT
834
290,635
Bug 290635 [SWT_AWT] NPE when disposing the embedded Shell
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 Build Identifier: N20090923-2100-cocoa-macosx-x86_64 Disposing the embedded Shell works fine on other platforms. With the new Mac OSX Cocoa port, a null pointer exception is thrown when this Shell is disposed. In the context of our application, this effectively makes it crash. Reproducible: Always Steps to Reproduce: 1. Embed an SWT control in a Swing/AWT application. 2. Dispose the embedded Shell based on a user action. => get the NPE.
2009-09-26 17:52:59
1,254,000,000
resolved fixed
a4b9a68
1,254,180,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/Shell.java
SWT
835
228,695
Bug 228695 Measure event always comes before an Erase/Paint event on Mac and Windows, but not on GTK
Run the attached snippet on GTK and observe how the items don't look right after moving over them with the mouse, or after scrolling. They are supposed to look like: 000 111 222 333 etc. The snippet works on Windows and the Mac. It caches a TextLayout object in MeasureItem and uses it in PaintItem.
2008-04-24 11:36:46
1,209,050,000
resolved fixed
f29c810
1,253,830,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java
SWT
836
232,560
Bug 232560 Icons disappear in PackageExplorer when mouse is over an item
When the mouse moves over an item in the PackageExplorer, the icon of the item in the tree disappears. This only appears to happen on linux-gtk-ppc.
2008-05-16 14:31:52
1,210,960,000
resolved fixed
b4953cb
1,253,820,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/GC.java
SWT
837
279,408
Bug 279408 [Browser]Can't visit sharing folder in internal browser if path depth>2
Build ID: I20080617-2000 Steps To Reproduce: Open internal browser, try to visit a sharing folder in another machine: e.g. input url "file://<machine ip>/<folderA>/<folderB>/<folderC>" in browser. There will be no authorization dialog prompt up to let user input username and password, and internal browser will tell user "This program cannot display the webpage" after hang a few minutes. But if the path depth < 2, e.g. visit file://<machine ip> or file://<machine ip>/<folderA>, everything will be ok. More information: I'm in windows XP Service Pack 3 with Internet Explorer 7.0.5730.11.
2009-06-08 02:28:06
1,244,440,000
resolved fixed
1558841
1,253,820,000
bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/IE.java
SWT
838
142,593
Bug 142593 Scrolling a table eventually locks up the entire application
I have a table created with the following attributes: SWT.VIRTUAL | SWT.BORDER | SWT.MULTI | SWT.FULL_SELECTION The table has thousands of rows in it and about a dozen columns. The data in the table changes rapidly. When I scroll the table by dragging the scroll bar up and down, the scrolling and the entire application will eventually lock up: if you drag the scroll bar up and down repeatedly without letting go the table will eventually stop moving with it and all other processing in the SWT thread will stop. If you let go of the scroll bar, the application recovers. The SWT thread stack trace always looks very much like this (the top level method is always the same) when the application is stuck in this fashion: "SwtThread" prio=5 tid=11 Runnable at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:1580) at org.eclipse.swt.widgets.Table.callWindowProc(Table.java:197) at org.eclipse.swt.widgets.Table.callWindowProc(Table.java:142) at org.eclipse.swt.widgets.Composite.WM_SYSCOMMAND(Composite.java:1315) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3110) at org.eclipse.swt.widgets.Display.windowProc(Display.java:3751) at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:1580) at org.eclipse.swt.widgets.Table.callWindowProc(Table.java:197) at org.eclipse.swt.widgets.Table.callWindowProc(Table.java:142) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3123) at org.eclipse.swt.widgets.Display.windowProc(Display.java:3751) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1656) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2756) at com.hb.gui.api.swt.SwtFactory$SwtRunnable.run(SwtFactory.java:738) at java.lang.Thread.run(unknown source) When the table is locked up, the scroll bar continues to respond and to move up and down, but the table stops following it altogether. It usually takes about a dozen scrolls in rapid fashion to achieve this behavior. It always happens eventaully.
2006-05-18 15:25:41
1,147,980,000
resolved fixed
2ef2e70
1,253,820,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java
SWT
839
290,320
Bug 290320 SWT overrides LSUIPresentationMode in Info.plist
In cocoa and carbon, Shell.updateSystemUIMode() resets the UI mode to kUIModeNormal overwriting the Info.plist setting.
2009-09-23 16:14:07
1,253,740,000
resolved fixed
404220e
1,253,810,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/Shell.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/Shell.java
SWT
840
290,397
Bug 290397 Accessible not compiling in HEAD (win32.86_64)
null
2009-09-24 08:18:25
1,253,790,000
resolved fixed
fe058a0
1,253,800,000
bundles/org.eclipse.swt/Eclipse SWT Accessibility/win32/org/eclipse/swt/accessibility/Accessible.java
SWT
841
290,216
Bug 290216 [Build] Compile warnings in official build
I20090922-0800 and latest N-build. org/eclipse/swt/awt/SWT_AWT.java (at line 21) import org.eclipse.swt.internal.cocoa.*; The import org.eclipse.swt.internal.cocoa is never used org/eclipse/swt/widgets/Shell.java (at line 13) import java.util.*; The import java.util is never used org/eclipse/swt/widgets/Shell.java (at line 16) import org.eclipse.swt.awt.*; The import org.eclipse.swt.awt is never used
2009-09-23 03:00:41
1,253,690,000
resolved fixed
8eb7584
1,253,720,000
bundles/org.eclipse.swt/Eclipse SWT AWT/cocoa/org/eclipse/swt/awt/SWT_AWT.java
SWT
842
290,240
Bug 290240 Link.setText doesn't reset the anchor
(1) call link.setText("<a>some text</a>"); The link is shown in blue color with the underline (2) now call link.setText("some text"); The link is still shown the same way although it doesn't have the anchor. It works fine if you reverse the order of the calls - the link is not displayed first and then displayed after the second call. Lakshmi found that it works fine in Windows & Carbon. So its a Cocoa only bug.
2009-09-23 07:10:42
1,253,700,000
resolved fixed
eeeaec4
1,253,710,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Link.java
SWT
843
290,204
Bug 290204 Use GTK_STOCK_CLEAR instead of GTK_STOCK_CANCEL for Text ICON_* hinting support
null
2009-09-22 22:02:22
1,253,670,000
resolved fixed
f4dfb4b
1,253,710,000
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java
SWT
844
290,125
Bug 290125 javadoc error in N20090921-2000
/builds/N200909212000/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java:8607: warning - @param argument "tabStop" is not a parameter name. 1 warning
2009-09-22 09:09:44
1,253,620,000
resolved fixed
b6bab5d
1,253,630,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
SWT
845
287,234
Bug 287234 [DND] drag/drop onto empty table generates exception in SWT
null
2009-08-20 16:34:28
1,250,800,000
resolved fixed
b0fe84d
1,253,570,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Table.java
SWT
846
289,401
Bug 289401 [Widgets] Black screen in windows 7 aero mode using Tracker
Hi, I didn't want to open a ticket with a Major severity, but this one is pretty bad. I'm not sure if this is happening on Vista aero mode as well, but it is definitely happening consistently on Windows 7 aero mode. We have an SWT app (currently running SWT 3.4 on windows 7. SWT 3.5 has the same problem). The application is kind of like a graphical editor. I'm using a Tracker object to place an object on the screen after selecting the object they want to place. So, after they hit OK on a dialog, I create the tracker on the composite, and have it draw a rectangle a certain size as they move the mouse. When they click on the composite, the tracker ends, and I place the object on the screen at that location. When the code calls tracker.open(), the whole screen turns black. I can still see the mouse cursor, but the screen is entirely black. Once I click on the composite, and the tracker.open() returns, the screen returns to its normal view. My code is pretty simple... Tracker tracker = new Tracker(compositeClientArea, SWT.NONE); tracker.setStippled(true); tracker.setCursor(BaseView.getMoveCursor()); //scale image width/height based on zoom mode zoomPointTemp.x = width; zoomPointTemp.y = height; ImageRotationCache.zoomImageSize(zoomPointTemp, getZoomableAdapter().getZoomLevel()); //set starting rectangle Rectangle rectStart = new Rectangle(0, 0, zoomPointTemp.x, zoomPointTemp.y); final Rectangle[] rects = new Rectangle[1]; rects[0] = rectStart; tracker.setRectangles(rects); tracker.addListener(SWT.Move, new Listener() { ... } if (!tracker.open()) .... When I switch to windows 7 basic mode, everything works fine. Also of note, I have 2 monitors on my development machine. This is kind of the wierd part. If I move the app to the second monitor, and initiate the tracker, the main primary monitor still turns black, but the second monitor shows the app fine, and I can see the whole operation. Not sure if this is related to two monitors or not... Any ideas what's going on? Thanks, Joe
2009-09-14 19:11:58
1,252,970,000
resolved fixed
18fa841
1,253,560,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tracker.java
SWT
847
289,244
Bug 289244 [Graphics] GDI+ drawText is not consistent with GDI
null
2009-09-11 14:01:04
1,252,690,000
resolved fixed
63863d9
1,253,560,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java
SWT
848
277,714
Bug 277714 Cocoa: click and hold to scroll up scrolls down
1. Open a long file and scroll somewhere near the middle of the file. 2. Click and hold in the area of the scrollbar above the slider. Expected: page-wise scrolling up Actual: page-wise scrolling up once, then down as long as you hold the mouse button down.
2009-05-25 11:27:29
1,243,270,000
resolved fixed
b410448
1,253,560,000
bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSScroller.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/ScrollBar.java
SWT
849
84,620
Bug 84620 [browser] onbeforeunload not sent when browser disposed
null
2005-02-07 14:58:06
1,107,810,000
resolved fixed
b4926c8
1,253,550,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/win32/org/eclipse/swt/browser/IE.java bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/WebSite.java 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/PromptService2.java
SWT
850
202,414
Bug 202414 Link widget has problems with mnemonics
R3.3 and I20070529-0010. Links.setText(String) claims it allows mnemonics. I added one into the normal text and I also tried to put one into the link text (i.e. between <a> and </a>) but they are only rendered in the UI but not usable i.e. neither is the link opened nor the widget is getting focus. Another issue is that the underscore (_) of the mnemonic is always rendered and not just when being activated via 'Alt' key. Test Case: 1. go to Package Explorer 2. view menu > Top Level Elements > Working Sets 3. select a folder 4. context menu > Assign Working Sets...
2007-09-06 05:54:34
1,189,070,000
verified fixed
b2239f4
1,253,540,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Link.java
SWT
851
289,470
Bug 289470 [Browser] setText() fails when current content came from setText()
The snippet below does not work because DocumentComplete is not received for the second about:blank navigation. Not sure if the asyncExec() should be needed or not. static int counter = 0; 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()); final Browser browser = new Browser(shell, SWT.NONE); browser.setText(createPage()); shell.open(); browser.addLocationListener(new LocationAdapter() { public void changing(LocationEvent event) { event.doit = false; display.asyncExec(new Runnable() { public void run() { String string = createPage(); System.out.println("setting page text to: " + string); browser.setText(string); } }); } }); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } static String createPage() { return "<html><body><a href=\"link" + counter + "\">I am link " + counter++ + "</a></body></html>"; }
2009-09-15 10:25:18
1,253,020,000
resolved fixed
ac8aa4e
1,253,540,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/win32/org/eclipse/swt/browser/IE.java bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/Mozilla.java
SWT
852
289,467
Bug 289467 [64] index out of bounds in Region
on 64 bit cocoa, call Region.add(new int[] {1,2,3}); get an exception.
2009-09-15 10:15:52
1,253,020,000
resolved fixed
e115a16
1,253,540,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Region.java
SWT
853
288,506
Bug 288506 [Widgets] DirectoryDialog should show hidden files
null
2009-09-03 12:17:59
1,251,990,000
resolved fixed
9b0cd40
1,253,540,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/DirectoryDialog.java
SWT
854
279,356
Bug 279356 StyledText: non-uniform tabstops on different lines
null
2009-06-06 15:17:09
1,244,320,000
resolved fixed
7abe340
1,253,540,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/LineStyleEvent.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextEvent.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextListener.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextRenderer.java
SWT
855
148,532
Bug 148532 Disabled ToolItem with Text and Image gets cut-off
Eclipse 3.2 Check this Snippet: public class Main { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); Image img = new Image(display, 16, 16); ToolBar bar = new ToolBar(shell, SWT.NONE); final ToolItem item = new ToolItem(bar, SWT.NONE); item.setText("Register Account"); item.setImage(img); Button b = new Button(shell, SWT.NONE); b.setText("Click Me!"); b.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { item.setEnabled(!item.isEnabled()); } }); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } } } } Steps to reproduce: Click the Button Actual Results: The ToolItem changes from "Register Account" to "Register" Expected Results: The ToolItem keeps showing "Register Account" Ben
2006-06-24 07:44:53
1,151,150,000
resolved fixed
831ce80
1,253,540,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ToolItem.java
SWT
856
289,974
Bug 289974 SWT.MouseWheel Javadoc should mention that it is for vertical wheel
3.6 M2. Since we now have SWT.MouseVerticalWheel and SWT.MouseHorizontalWheel, SWT.MouseWheel's Javadoc should mention that it is for the vertical wheel and maybe even deprecated it or at least recommend to use SWT.MouseVerticalWheel in the code.
2009-09-21 04:58:52
1,253,520,000
verified fixed
98713c9
1,253,540,000
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/SWT.java
SWT
857
275,070
Bug 275070 unused code in GC#setClipping
null
2009-05-05 17:15:58
1,241,560,000
resolved fixed
ce083aa
1,252,690,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java
SWT
858
133,133
Bug 133133 [Bidi] Numeral contextual behavior is not respected in eclipse editors
Build date: m5a OS: all Steps to recreate problem: 1. Create a new file (Go to file -> New -> File and follow the wizard to create it). 2. Double click on the file to open it. 3. Write an Arabic word and then write some numbers. Expected output: Numbers are represented in National digits. Actual output: Numbers are represented in Nominal digits Remark: This happens in all editors.
2006-03-24 06:45:21
1,143,200,000
resolved fixed
a57bc57
1,252,690,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java
SWT
859
288,857
Bug 288857 GDI Handle Resource Leak
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.1.2) Gecko/20090729 Firefox/3.5.2 Build Identifier: I20090611-1540 If you run the attached program and a tool that monitors GDI handles (either taskman with the 'GDI Handles' column added or procexp.exe), you will find that it leaks GDI handles pretty quickly. The attachment is a very cut down version of a shipping program that was crashing in the field with a 'No More Handles' error. Using Sleak, I found a couple that were mine, but it was still crashing. I eventually got down to this, and I can't seem to reduce it any more without 'plugging' the leak. In the code, there are lines marked "**X" where X is 1-4. By commenting out all the lines marked either 1, 2, 3 or 4 together, the leak stops. Reproducible: Always Steps to Reproduce: 1. Compile attachment and use SWT 3.5 2. run taskman with the GDI Handles column added in the 'processes' tab 3. run the program 4. Note increasing number of GDI handles leaked (9-10 for every taskman update - appears to be 1 handled leaked per paint call) Please note that while advanced graphics is not required for the features of this program, it is required in the original application, and removing it stops the leak. It seems to be an interaction of a number of those lines, as you will see when you look at the various combinations of lines that stop the leak when commented.
2009-09-08 14:52:14
1,252,440,000
resolved fixed
6e8b160
1,252,680,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java
SWT
860
289,219
Bug 289219 Program.findProgram("txt") returns null on Snow Leopard
findProgram does some extra work for text edit in order to be sure that the app knows how to handle the extension. On Snow Leopard the TextEdit plist file has changed and the extra checking fails. Using LaunchServices code directly (like Carbon port) works correctly.
2009-09-11 10:33:46
1,252,680,000
resolved fixed
80def70
1,252,680,000
bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSURL.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
SWT