issue_id
int64
2.03k
426k
title
stringlengths
9
251
body
stringlengths
1
32.8k
status
stringclasses
6 values
after_fix_sha
stringlengths
7
7
updated_files
stringlengths
29
34.1k
project_name
stringclasses
6 values
repo_url
stringclasses
6 values
repo_name
stringclasses
6 values
language
stringclasses
1 value
issue_url
null
before_fix_sha
null
pull_url
null
commit_datetime
unknown
report_datetime
unknown
99,518
Bug 99518 Extremely jumpy resizing in the ControlExample
null
verified fixed
0a985d6
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Group.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-06-15T19:06:23Z"
"2005-06-11T20:00:00Z"
99,936
Bug 99936 [browser] nsIRequest has some incorrect method signatures
None of these are currently referenced, but they're wrong... [from Ron Capelli] In particular, look at the following methods in nsIRequest: GetStatus previous: public int GetStatus(int[] status) current: public int GetStatus(int /*long*/ aStatus) correct: public int GetStatus(int /*long*/[] aStatus) GetLoadGroup previous: public int GetLoadGroup(int[] aLoadGroup) current: public int GetLoadGroup(int /*long*/ aLoadGroup) correct: public int GetLoadGroup(int /*long*/[] aLoadGroup) GetLoadFlags previous: public int GetLoadFlags(int[] loadFlags) current: public int GetLoadFlags(int /*long*/ aLoadFlags) correct: public int GetLoadFlags(int /*long*/[] aLoadFlags) In each case, the previous version was correct, and the edits to add /*long*/ lost the array brackets. The array element is used for the return parameter. If you look at a mozilla build, in mozilla/dist/include/necko/nsIRequest.h, the methods in question are defined as: NS_IMETHOD GetStatus(nsresult *aStatus) = 0; NS_IMETHOD GetLoadGroup(nsILoadGroup * *aLoadGroup) = 0; NS_IMETHOD GetLoadFlags(nsLoadFlags *aLoadFlags) = 0; Now consider the GetName method. In nsIRequest.h, it is defined as: NS_IMETHOD GetName(nsACString & aName) = 0; using a reference (&) argument rather than a return address (*). In nsIRequest.java previous: public int GetName(int aName) current: public int GetName(int /*long*/ aName) The current version is correct, matching the original. In this case, the parameter is not an array.
verified fixed
3dd0846
["bundles/org.eclipse.swt/Eclipse", "SWT", "Mozilla/common/org/eclipse/swt/internal/mozilla/nsIRequest.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-06-15T18:13:27Z"
"2005-06-14T11:53:20Z"
97,170
Bug 97170 [About] Eclipse logo not rendered correctly in about dialog and start-up progress window
Build id: I20050527-1300 The Eclipse logo is not drawn properly in the "About Eclipse Platform" dialog (one region looks corrupted). See the attached screenshot. On the left, the expected look has been inserted for comparison purposes. The new "Eclipse Platform Starting" progress window that is shown at start-up time (after the splash screen) has a similar problem though for some reason I was not able to take a screen capture of that.
resolved fixed
ef2bef8
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Label.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-06-15T18:06:41Z"
"2005-05-30T08:00:00Z"
97,625
Bug 97625 Intro Test A.4 Eclipse crashed.
3.1 RC1. Executing Test A4 crashed Eclipse. I clicked Workbench basics, it opened fine, Team Support opened fine, but Java development crashed JVM. I restared Eclipse tried again and cannot reproduce. This is probably a dup of some existing bug, but I have not installed any samples. Just to let you know.
verified fixed
25ef809
["bundles/org.eclipse.swt/Eclipse", "SWT", "Browser/carbon/org/eclipse/swt/browser/Browser.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-06-15T16:19:42Z"
"2005-05-31T17:20:00Z"
100,199
Bug 100199 Display.asyncExec() can hang Windows
The following code demonstrates the hang. Try to move the shell or scroll the table as it is being filled. You won't be able to click on the task bar or any other Windows application until the table is completely filled. import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; import org.eclipse.swt.layout.*; public class Table8 { static final int COLUMNS = 3, ROWS = 100000, PAGE = 100; static final String [] [] DATA = new String [ROWS] [COLUMNS]; static { for (int i = 0; i < ROWS; i++) { for (int j = 0; j < COLUMNS; j++) { DATA [i][j] = "Item " + i + "-" + j; } } } public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); RowLayout layout = new RowLayout(SWT.VERTICAL); layout.fill = true; shell.setLayout(layout); final Table table = new Table(shell, SWT.BORDER); table.setLayoutData(new RowData(400, 400)); table.setHeaderVisible(true); for (int i = 0; i < COLUMNS; i++) { TableColumn column=new TableColumn(table,SWT.NONE); column.setText("Column " + i); column.setWidth(128); } final ProgressBar progress = new ProgressBar(shell, SWT.NONE); progress.setMaximum(ROWS - 1); shell.pack(); shell.open(); fillTable(table, progress, PAGE); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } static void fillTable( final Table table, final ProgressBar progress, final int page) { final Display display = table.getDisplay(); Runnable runnable = new Runnable() { int index = 0; public void run() { if (table.isDisposed()) return; int end = Math.min(index + page, ROWS); while (index < end) { TableItem item = new TableItem(table, SWT.NULL); for (int j = 0; j < COLUMNS; j++) { item.setText(j, DATA[index][j]); } index++; } if (end == ROWS) end = 0; progress.setSelection(end); if (index < ROWS) display.asyncExec(this); } }; display.asyncExec(runnable); } }
resolved fixed
f222e7e
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Display.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-06-15T15:53:06Z"
"2005-06-15T15:40:00Z"
100,040
Bug 100040 Slowdown between 3.1 RC1 and N20050602 due to change to ImageList
build N20050602 Several of the UI performance tests got slower between RC1 and N20050602, on Windows. I tried running one of them, the OpenCloseWindowTest on N20050602, and also with N20050602+RC1's SWT. Here are the numbers (on Win2K): N20050602: testOpenCloseWindows:org.eclipse.debug.ui.DebugPerspective Elapsed Process: 844 ms Elapsed Process: 828 ms Elapsed Process: 854 ms average: 842 N20050602 with SWT from RC1 (I20050527-1300): testOpenCloseWindows:org.eclipse.debug.ui.DebugPerspective Elapsed Process: 751 ms Elapsed Process: 757 ms Elapsed Process: 731 ms average: 746ms increase: 96 over 746 = 13% slower I've only included the times for the debug perspective. The other perspectives showed less of a change, and seemed to correlate with the numer of icons (either in the menus or toolbars or both). The debug perspective has the most icons. I'm suspicious of the ImageList change to always specify OS.ILC_MIRROR. I'll see if unwinding that single change makes a difference.
resolved fixed
0be85fb
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Button.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/ImageList.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/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/ToolItem.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Tree.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-06-15T15:41:09Z"
"2005-06-14T17:26:40Z"
99,745
Bug 99745 Tray doesn't support image with alpha
null
resolved fixed
0fab6cf
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/TrayItem.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-06-15T15:37:46Z"
"2005-06-13T16:26:40Z"
99,561
Bug 99561 GDI+ crash with icons where width > height [was: GEF paint() with setAlpha caused JVM crash]
I'll give more information later if needed. Eclipse 3.1RC2, GEF 3.1RC1, WindowsXP. This might be a SWT but though and not GEF I'm guessing. An unexpected exception has been detected in native code outside the VM. Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x77F83AED Function=RtlSizeHeap+0x7D7 Library=C:\WINDOWS\System32\ntdll.dll Current Java thread: at org.eclipse.swt.internal.gdip.Gdip.Bitmap_new(Native Method) at org.eclipse.swt.graphics.Image.createGdipImage(Image.java:890) at org.eclipse.swt.graphics.GC.drawImage(GC.java:671) at org.eclipse.swt.graphics.GC.drawImage(GC.java:622) at org.eclipse.draw2d.SWTGraphics.drawImage(SWTGraphics.java:343) at org.eclipse.draw2d.ImageFigure.paintFigure(ImageFigure.java:121) at org.eclipse.draw2d.Figure.paint(Figure.java:1053) at org.eclipse.draw2d.Figure.paintChildren(Figure.java:1091) at org.eclipse.draw2d.Figure.paintClientArea(Figure.java:1123) at org.eclipse.draw2d.Figure.paint(Figure.java:1055) at org.eclipse.draw2d.Figure.paintChildren(Figure.java:1091) at org.eclipse.draw2d.Figure.paintClientArea(Figure.java:1127) at org.eclipse.draw2d.Figure.paint(Figure.java:1055) at com.lombardisoftware.client.ae.gef.widgets.TWAbstractStepFigure.paint(TWAbstractStepFigure.java:144) at com.lombardisoftware.bpd.component.flowcomponent.activity.ae.ActivityWidget.paint(ActivityWidget.java:56) at teamworks.bpd.heatmap.marker.BPDMarker$MarkerShape.fillShape(BPDMarker.java:119) at org.eclipse.draw2d.Shape.paintFigure(Shape.java:107) at org.eclipse.draw2d.Figure.paint(Figure.java:1053) at org.eclipse.draw2d.Figure.paintChildren(Figure.java:1091) at org.eclipse.draw2d.Figure.paintClientArea(Figure.java:1123) at org.eclipse.draw2d.Figure.paint(Figure.java:1055) at org.eclipse.draw2d.Figure.paintChildren(Figure.java:1091) at org.eclipse.draw2d.Figure.paintClientArea(Figure.java:1123) at org.eclipse.draw2d.Figure.paint(Figure.java:1055) at org.eclipse.draw2d.Figure.paintChildren(Figure.java:1091) at org.eclipse.draw2d.Figure.paintClientArea(Figure.java:1123) at org.eclipse.draw2d.Viewport.paintClientArea(Viewport.java:156) at org.eclipse.draw2d.Figure.paint(Figure.java:1055) at org.eclipse.draw2d.Figure.paintChildren(Figure.java:1091) at org.eclipse.draw2d.Figure.paintClientArea(Figure.java:1123) at org.eclipse.draw2d.Figure.paint(Figure.java:1055) at org.eclipse.draw2d.DeferredUpdateManager.repairDamage(DeferredUpdateManager.java:225) at org.eclipse.draw2d.DeferredUpdateManager.performUpdate(DeferredUpdateManager.java:145) - locked <0x10da3ba0> (a org.eclipse.draw2d.DeferredUpdateManager) at org.eclipse.draw2d.DeferredUpdateManager$UpdateRequest.run(DeferredUpdateManager.java:40) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:118) - locked <0x10014a00> (a org.eclipse.swt.widgets.RunnableLock) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3035) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2694) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1716) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1680) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:365) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334) at org.eclipse.core.launcher.Main.basicRun(Main.java:278) at org.eclipse.core.launcher.Main.run(Main.java:973) at org.eclipse.core.launcher.Main.main(Main.java:948) Dynamic libraries: 0x00400000 - 0x0040B000 C:\Program Files\Java\j2re1.4.2_08\bin\javaw.exe 0x77F50000 - 0x77FF7000 C:\WINDOWS\System32\ntdll.dll 0x77E60000 - 0x77F46000 C:\WINDOWS\system32\kernel32.dll 0x77DD0000 - 0x77E5D000 C:\WINDOWS\system32\ADVAPI32.dll 0x78000000 - 0x78087000 C:\WINDOWS\system32\RPCRT4.dll 0x77D40000 - 0x77DCD000 C:\WINDOWS\system32\USER32.dll 0x7F000000 - 0x7F041000 C:\WINDOWS\system32\GDI32.dll 0x77C10000 - 0x77C63000 C:\WINDOWS\system32\MSVCRT.dll 0x08000000 - 0x08138000 C:\Program Files\Java\j2re1.4.2_08\bin\client\jvm.dll 0x76B40000 - 0x76B6C000 C:\WINDOWS\System32\WINMM.dll 0x10000000 - 0x10007000 C:\Program Files\Java\j2re1.4.2_08\bin\hpi.dll 0x00820000 - 0x0082E000 C:\Program Files\Java\j2re1.4.2_08\bin\verify.dll 0x00830000 - 0x00849000 C:\Program Files\Java\j2re1.4.2_08\bin\java.dll 0x00850000 - 0x0085E000 C:\Program Files\Java\j2re1.4.2_08\bin\zip.dll 0x02E70000 - 0x02E7F000 C:\Program Files\Java\j2re1.4.2_08\bin\net.dll 0x71AB0000 - 0x71AC4000 C:\WINDOWS\System32\WS2_32.dll 0x71AA0000 - 0x71AA8000 C:\WINDOWS\System32\WS2HELP.dll 0x02E80000 - 0x02E88000 C:\Program Files\Java\j2re1.4.2_08\bin\nio.dll 0x03350000 - 0x033A0000 C:\Dev\Community\.metadata\.plugins\org.eclipse.pde.core\Eclipse Application\org.eclipse.osgi\bundles\98\1\.cp\swt-win32-3137.dll 0x4FEC0000 - 0x4FFF6000 C:\WINDOWS\system32\ole32.dll 0x77340000 - 0x773CB000 C:\WINDOWS\system32\COMCTL32.dll 0x763B0000 - 0x763F5000 C:\WINDOWS\system32\comdlg32.dll 0x70A70000 - 0x70AD6000 C:\WINDOWS\system32\SHLWAPI.dll 0x7CD00000 - 0x7D4FA000 C:\WINDOWS\system32\SHELL32.dll 0x77120000 - 0x771AB000 C:\WINDOWS\system32\OLEAUT32.dll 0x76390000 - 0x763AC000 C:\WINDOWS\System32\IMM32.dll 0x72FA0000 - 0x72FFA000 C:\WINDOWS\System32\USP10.dll 0x71950000 - 0x71A35000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.Common-Controls_6595b64144ccf1df_6.0.2600.1643_x-ww_7c3a9bc6\comctl32.dll 0x5AD70000 - 0x5ADA4000 C:\WINDOWS\System32\uxtheme.dll 0x74720000 - 0x74764000 C:\WINDOWS\System32\MSCTF.dll 0x74C80000 - 0x74CAC000 C:\WINDOWS\System32\oleacc.dll 0x55900000 - 0x55961000 C:\WINDOWS\System32\MSVCP60.dll 0x71A50000 - 0x71A8B000 C:\WINDOWS\System32\mswsock.dll 0x76F20000 - 0x76F45000 C:\WINDOWS\System32\DNSAPI.dll 0x76FB0000 - 0x76FB7000 C:\WINDOWS\System32\winrnr.dll 0x76F60000 - 0x76F8C000 C:\WINDOWS\system32\WLDAP32.dll 0x76FC0000 - 0x76FC5000 C:\WINDOWS\System32\rasadhlp.dll 0x76380000 - 0x76385000 C:\WINDOWS\System32\msimg32.dll 0x605D0000 - 0x605D8000 C:\WINDOWS\System32\mslbui.dll 0x03A40000 - 0x03A66000 C:\Program Files\Trillian\events.dll 0x7C340000 - 0x7C396000 C:\Program Files\Trillian\MSVCR71.dll 0x03B00000 - 0x03B13000 C:\Program Files\Dell\QuickSet\dadkeyb.dll 0x71A90000 - 0x71A98000 C:\WINDOWS\System32\wshtcpip.dll 0x03A70000 - 0x03A76000 C:\Program Files\Java\j2re1.4.2_08\bin\ioser12.dll 0x7C890000 - 0x7C911000 C:\WINDOWS\System32\CLBCATQ.DLL 0x77050000 - 0x77115000 C:\WINDOWS\System32\COMRes.dll 0x77C00000 - 0x77C07000 C:\WINDOWS\system32\VERSION.dll 0x74770000 - 0x747FF000 C:\WINDOWS\System32\mlang.dll 0x04870000 - 0x04982000 C:\Program Files\Java\j2re1.4.2_08\bin\awt.dll 0x73000000 - 0x73023000 C:\WINDOWS\System32\WINSPOOL.DRV 0x04990000 - 0x049E1000 C:\Program Files\Java\j2re1.4.2_08\bin\fontmanager.dll 0x04030000 - 0x04042000 C:\Dev\Community\.metadata\.plugins\org.eclipse.pde.core\Eclipse Application\org.eclipse.osgi\bundles\98\1\.cp\swt-gdip-win32-3137.dll 0x70D00000 - 0x70E91000 C:\WINDOWS\WinSxS\x86_Microsoft.Windows.GdiPlus_6595b64144ccf1df_1.0.2600.1360_x-ww_24a2ed47\gdiplus.dll 0x76C90000 - 0x76CB2000 C:\WINDOWS\system32\imagehlp.dll 0x6D510000 - 0x6D58D000 C:\WINDOWS\system32\DBGHELP.dll 0x76BF0000 - 0x76BFB000 C:\WINDOWS\System32\PSAPI.DLL Heap at VM Abort: Heap def new generation total 1536K, used 202K [0x10010000, 0x101b0000, 0x104f0000) eden space 1408K, 9% used [0x10010000, 0x10031758, 0x10170000) from space 128K, 53% used [0x10170000, 0x101813d8, 0x10190000) to space 128K, 0% used [0x10190000, 0x10190000, 0x101b0000) tenured generation total 18656K, used 9451K [0x104f0000, 0x11728000, 0x14010000) the space 18656K, 50% used [0x104f0000, 0x10e2ad18, 0x10e2ae00, 0x11728000) compacting perm gen total 25088K, used 24967K [0x14010000, 0x15890000, 0x18010000) the space 25088K, 99% used [0x14010000, 0x15871e58, 0x15872000, 0x15890000) Local Time = Sun Jun 12 23:26:01 2005 Elapsed Time = 93 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.2_08-b03 mixed mode) # # An error report file has been saved as hs_err_pid2120.log. # Please refer to the file for further information. #
resolved fixed
619a5f6
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/Image.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-06-13T20:32:03Z"
"2005-06-13T05:20:00Z"
99,541
Bug 99541 Cursors not disposed in SWT FileViewer example
The cursors are not disposed and cause a leak in the example.
resolved fixed
44290f0
["examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/fileviewer/IconCache.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-06-12T19:33:13Z"
"2005-06-12T18:13:20Z"
99,341
Bug 99341 GDI leak in Label with transparent images (png, gif)
null
resolved fixed
601e16b
["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/win32/org/eclipse/swt/internal/win32/OS.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Label.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-06-10T17:54:01Z"
"2005-06-10T13:26:40Z"
99,167
Bug 99167 Hover Event fired continiously although Mouse not moving
Using latest Nightly + this Snippet: public class Main { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); shell.addListener(SWT.MouseHover, new Listener() { public void handleEvent(Event event) { System.out.println("Hover Event"); } }); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } } Move Mouse into Shell, notice that Events are received continiusly, although the mouse is not moving. Regards, Ben
resolved fixed
279ca6e
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Combo.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Control.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Display.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Spinner.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Widget.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-06-10T13:57:23Z"
"2005-06-09T15:13:20Z"
63,364
Bug 63364 "Selection Foreground/Background Color" Preference cannot be changed for Java/Editor/Appearance
In the Preferences for Java->Editor->Appearance, you cannot change the "Selection Foreground Color" from the default. When you uncheck the "System Default" checkbox, and choose a color, your color selection is ignored. My Eclipse info is: Version: 3.0.0 Build id: 200404281424 MacOS: 10.3.3
resolved fixed
2c52adb
["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/carbon/org/eclipse/swt/internal/carbon/OS.java", "bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/graphics/TextLayout.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-06-09T21:27:30Z"
"2004-05-21T03:26:40Z"
96,679
Bug 96679 OutOfMemory Exception from corrupted clipboard?
While trying to debug/test a new plugin, I started seeing some odd behavior on the startup of a new Eclipse instance. Typically, this would correspond to seemingly random 'OutOfMemory' errors from the main instance as well. I set a breakpoint on the OutOfMemory exception, and managed to get the following stack trace Thread [main] (Suspended (exception OutOfMemoryError)) ResourceTransfer.nativeToJava(TransferData) line: 160 Clipboard.getContents(Transfer, int) line: 304 Clipboard.getContents(Transfer) line: 236 PasteAction$1.run() line: 186 UISynchronizer(Synchronizer).syncExec(Runnable) line: 147 UISynchronizer.syncExec(Runnable) line: 28 Display.syncExec(Runnable) line: 3255 PasteAction.updateSelection(IStructuredSelection) line: 181 PasteAction(BaseSelectionListenerAction).selectionChanged(IStructuredSelection) line: 124 RefactorActionGroup.updateActionBars() line: 154 MainActionGroup.updateActionBars() line: 315 ResourceNavigator.updateActionBars(IStructuredSelection) line: 1206 ResourceNavigator.createPartControl(Composite) line: 275 ViewReference.createPartHelper() line: 310 ViewReference.createPart() line: 185 ViewReference(WorkbenchPartReference).getPart(boolean) line: 559 WorkbenchPage$ActivationList.setActive(IWorkbenchPartReference) line: 3399 WorkbenchPage.onActivate() line: 2089 WorkbenchWindow$5.run() line: 2359 BusyIndicator.showWhile(Display, Runnable) line: 69 WorkbenchWindow.setActivePage(IWorkbenchPage) line: 2341 WorkbenchWindow.busyOpenPage(String, IAdaptable) line: 695 Workbench.busyOpenWorkbenchWindow(String, IAdaptable) line: 617 Workbench.openFirstTimeWindow() line: 1168 WorkbenchConfigurer.openFirstTimeWindow() line: 180 IDEWorkbenchAdvisor(WorkbenchAdvisor).openWindows() line: 706 Workbench.init(Display) line: 981 Workbench.runUI() line: 1541 Workbench.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 315 PlatformUI.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 143 IDEApplication.run(Object) line: 103 PlatformActivator$1.run(Object) line: 230 EclipseStarter.run(Object) line: 371 EclipseStarter.run(String[], Runnable) line: 160 NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method] NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39 DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25 Method.invoke(Object, Object[]) line: 324 Main.invokeFramework(String[], URL[]) line: 330 Main.basicRun(String[]) line: 274 Main.run(String[]) line: 977 Main.main(String[]) line: 952 Looking at the local variables for the topmost stack element, I see the following: this= ResourceTransfer (id=46) transferData= TransferData (id=73) bytes= byte[12] (id=75) in= DataInputStream (id=76) count= 1718185572 It appears that somehow the count is being corrupted. The variables from one level up are as follows: this= Clipboard (id=47) transfer= ResourceTransfer (id=46) clipboards= 1 selection_data= 142456008 typeIds= int[1] (id=527) gtkSelectionData= GtkSelectionData (id=528) tdata= TransferData (id=73) I seem to be able to duplicate this on a fairly regular basis, so if someone ones to give me pointers on what to look for, I may be able to help more.
resolved fixed
5d419d1
["bundles/org.eclipse.swt/Eclipse", "SWT", "Drag", "and", "Drop/gtk/org/eclipse/swt/dnd/Clipboard.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-06-09T19:51:12Z"
"2005-05-25T19:40:00Z"
96,212
Bug 96212 org.eclipse.ui could not be found.
Steps to reproduce: Open welcome. double click on view to put in standby. click on Overview. now click on any other page link, you get an unexpected pop-up.
resolved fixed
997b95a
["bundles/org.eclipse.swt/Eclipse", "SWT", "Browser/motif/org/eclipse/swt/browser/Browser.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "Mozilla/gtk/org/eclipse/swt/browser/Browser.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-06-09T19:39:25Z"
"2005-05-21T10:06:40Z"
99,109
Bug 99109 ComputeSize on Link gives different results when calling two times in a row
RC1 I have a Link widgets embeeded in the new Jaba class wizard. The JDT class is NewClassWizardPage The text of the link widget is "Do you want to add comments as configured in the <a>properties</a> of the current project?" When I call computeSize of the link using the following code System.out.println(29 + " " + children[29].computeSize(SWT.DEFAULT, SWT.DEFAULT) + " " + children[29].computeSize(SWT.DEFAULT, SWT.DEFAULT)); where the Link is the 29th child of a composite I get the following results: 29 Point {408, 13} Point {408, 0} To reproduce add the following to lines to the end of the createControl in NewClassWizardPage Control[] children= composite.getChildren(); System.out.println(29 + " " + children[29].computeSize(SWT.DEFAULT, SWT.DEFAULT) + " " + children[29].computeSize(SWT.DEFAULT, SWT.DEFAULT));
resolved fixed
78e6e2f
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Link.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-06-09T19:18:45Z"
"2005-06-09T09:40:00Z"
98,691
Bug 98691 GC.setAdvanced(false) changes line width from 0 to 2
I am doing some painting at width==2, followed by some more painting at width==0. Then, I call setAdvanced(false). After stepping over setAdvanced(false), the line width gets changed back to 2. I do some more painting and expected the width to still be 0.
resolved fixed
8404d67
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/GC.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-06-08T23:22:57Z"
"2005-06-07T16:00:00Z"
97,915
Bug 97915 Table.remove(int) can change selection
3.1RC1 - run the snippet below - its last two items are initially selected - click on the shell, this invokes Table.remove(0) - note that "item1" has lost its selection as a result of this public static void main(String[] args) { final Display display = new Display(); final Shell shell = new Shell(display); shell.setBounds(10,10,300,300); final Table table = new Table(shell, SWT.MULTI); table.setBounds(10,10,200,200); new TableItem(table, SWT.NONE).setText("item 0"); new TableItem(table, SWT.NONE).setText("item 1"); new TableItem(table, SWT.NONE).setText("item 2"); shell.open(); table.setSelection(new int[] {1,2}); shell.addListener(SWT.MouseDown, new Listener() { public void handleEvent(Event event) { table.remove(0); } }); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); }
resolved fixed
d0a02b5
["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/List.java", "bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Table.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-06-08T12:57:07Z"
"2005-06-01T18:20:00Z"
60,635
Bug 60635 MouseEnter should be fired even when the mouse is down (BBAWT)
1. Run the following testcase 2. Click on the label on the left side, and hold the button down 3. Move the button over the label on the right, without releasing the button 4. After a few seconds, release the button over the right label Notice that the mouseEnter event isn't fired until the button is released. I believe it should be fired regardless of whether the button is down (i.e. the second you cross over to the right label in step 3). --- testcase --- import org.eclipse.swt.SWT; import org.eclipse.swt.events.MouseEvent; import org.eclipse.swt.events.MouseMoveListener; import org.eclipse.swt.events.MouseTrackListener; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Label; import org.eclipse.swt.widgets.Shell; public class SWTTestMouseExitEnterEvents implements MouseTrackListener, MouseMoveListener{ private Display display; private Shell shell; //------------------------------------------------------------------- // //------------------------------------------------------------------- static public void main(String[] args) { new SWTTestMouseExitEnterEvents().runMain(args); } //------------------------------------------------------------------- // //------------------------------------------------------------------- private void runMain(String[] args) { display = new Display(); shell = new Shell(display); shell.setText(getClass().getName()); shell.setLayout(new FillLayout()); shell.setSize(300, 300); Label label1 = new Label(shell,SWT.BORDER); Label label2 = new Label(shell,SWT.BORDER); label1.setText("left"); label2.setText("right"); label1.addMouseTrackListener(this); label2.addMouseTrackListener(this); label1.addMouseMoveListener(this); label2.addMouseMoveListener(this); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } } } public void mouseEnter(MouseEvent e) { System.out.println("mouseEntered " + e.widget); } public void mouseExit(MouseEvent e) { System.out.println("mouseExited " + e.widget); } public void mouseHover(MouseEvent e) { } public void mouseMove(MouseEvent e) { System.out.println("mouseMoved " + e.widget); } }
resolved fixed
d58da33
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Widget.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-06-08T00:44:58Z"
"2004-04-30T21:20:00Z"
97,046
Bug 97046 PNG images look corrupt as main window icon
I am using 3.1 M7. When I load a 16*16 PNG file as an image and display it on a canvas all is well. When I set the same image to top level shell I see a corrupt image in the top left corner of the window. The issue seems to be related to the handling of transparent and semi-transparent pixels.
resolved fixed
a7944d2
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Decorations.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-06-07T21:40:00Z"
"2005-05-27T18:53:20Z"
98,802
Bug 98802 Focus cannot be given to visible but zero-sized controls
null
resolved fixed
59c8377
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Control.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/ToolItem.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-06-07T19:08:56Z"
"2005-06-07T18:46:40Z"
98,439
Bug 98439 Pixel corruption when using clipping on a double-buffered control
SWT-win32, v3136 (3.1RC1) - Run the testcase below - The canvas is supposed to have its left half painted red, the right half painted green - Move the shell partly off the screen, then back in order to cause the damaged regions to be redrawn; note that the result does not look as expected Without the SWT.DOUBLE_BUFFERED style, the problem goes away. --- import org.eclipse.swt.*; import org.eclipse.swt.events.*; import org.eclipse.swt.layout.*; import org.eclipse.swt.widgets.*; public class DoubleBufferClippingTest { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); final Canvas cnv = new Canvas(shell, SWT.DOUBLE_BUFFERED); cnv.addPaintListener(new PaintListener() { public void paintControl(PaintEvent e) { int width = cnv.getSize().x; int height = cnv.getSize().y; int halfWidth = width / 2; e.gc.setClipping(0, 0, halfWidth, height); e.gc.setBackground(cnv.getDisplay().getSystemColor(SWT.COLOR_RED)); e.gc.fillRectangle(0, 0, width, height); e.gc.setClipping(halfWidth, 0, width - halfWidth, height); e.gc.setBackground(cnv.getDisplay().getSystemColor(SWT.COLOR_GREEN)); e.gc.fillRectangle(0, 0, width, height); } }); shell.setSize(200, 200); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } } display.dispose(); } }
resolved fixed
0e9002f
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/GC.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-06-07T16:38:15Z"
"2005-06-05T14:00:00Z"
98,596
Bug 98596 api spec on GC.setLineDash(int[]) should mention null
setLineDash currently accepts NULL, and it is equivalent to calling GC#setLineStyle(SWT.LINE_SOLID). It this intentional? It should be specified in the API so that new ports get it right.
resolved fixed
fc8e38f
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/GC.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-06-07T15:29:27Z"
"2005-06-06T20:33:20Z"
91,319
Bug 91319 [accessibility, consistency] Make Link and Spinner accessible on GTK
Need to get the latest GTK, ATK, and Gnopernicus first, because apparently, the latest accessibility works much better than before. Spinner might just work, because it's native, but it needs to be tested. Link is emulated, so it will need to have accessibility added. Also need to test all controls, given that accessibility is 'real' on GTK now.
resolved fixed
1dbfbf1
["bundles/org.eclipse.swt/Eclipse", "SWT", "Accessibility/gtk/org/eclipse/swt/accessibility/AccessibleObject.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-06-06T21:24:18Z"
"2005-04-13T16:33:20Z"
97,662
Bug 97662 Dragging sash changes selection in widget above
3.1 RC1 - switch to the Java browsing perspective - select items so that the four panes are filled with something - below any one of the top four panes, drag the sash lower - the item in the pane above that was at the pointer's start position is selected - if there was no item at that position, the selection is cleared
resolved fixed
170de71
["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Sash.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-06-03T22:05:59Z"
"2005-05-31T20:06:40Z"
97,696
Bug 97696 ToolItem with image is blank or shows cheese
3.1 RC1 - check the "Always run in background" preference - show the Progress view - kick off some long-running operation (e.g. Project > Clean) - in the Progress view, the cancel button for this Job is blank - resize the window while the job is still going - the button is not redrawn properly, i.e. it shows cheese from what was in that screen rectangle before Also saw this in the progress dialog on shutdown. This uses a ToolItem with image set. The image changes depending on the state of the job. See code in NewProgressViewer.JobItem's constructor.
resolved fixed
438aa1d
["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/ToolBar.java", "bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/ToolItem.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-06-03T21:34:59Z"
"2005-05-31T20:06:40Z"
97,992
Bug 97992 javadoc warnings in RC1
Build: 3.1 RC1 The javadoc builder reported the following warnings for RC1 build: /builds/I200505271300/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java:2355: warning - Tag @see: missing #: "setAdvanced()" /builds/I200505271300/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java:2355: warning - Tag @see: can't find setAdvanced() in org.eclipse.swt.graphics.GC /builds/I200505271300/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java:3168: warning - Tag @see: can't find setAlpha() in org.eclipse.swt.graphics.GC /builds/I200505271300/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java:3168: warning - Tag @see: can't find setAntialias() in org.eclipse.swt.graphics.GC /builds/I200505271300/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java:3168: warning - Tag @see: can't find setBackgroundPattern() in org.eclipse.swt.graphics.GC /builds/I200505271300/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java:3168: warning - Tag @see: can't find setClipping() in org.eclipse.swt.graphics.GC /builds/I200505271300/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java:3168: warning - Tag @see: can't find setForegroundPattern() in org.eclipse.swt.graphics.GC /builds/I200505271300/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java:3168: warning - Tag @see: can't find setInterpolation() in org.eclipse.swt.graphics.GC /builds/I200505271300/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java:3168: warning - Tag @see: can't find setTextAntialias() in org.eclipse.swt.graphics.GC /builds/I200505271300/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java:3168: warning - Tag @see: can't find setTransform() in org.eclipse.swt.graphics.GC /builds/I200505271300/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java:3206: warning - Tag @see: can't find setTextAntialias() in org.eclipse.swt.graphics.GC /builds/I200505271300/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.ui.forms/src/org/eclipse/ui/forms/widgets/ExpandableComposite.java:750: warning - Tag @see: can't find getTitle in org.eclipse.ui.forms.widgets.ExpandableComposite /builds/I200505271300/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java:3870: warning - Tag @see: can't find setAntialias() in org.eclipse.swt.graphics.GC /builds/I200505271300/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Path.java:463: warning - @param argument "cx1" is not a parameter name. /builds/I200505271300/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Path.java:463: warning - @param argument "cy1" is not a parameter name.
resolved fixed
633e0f5
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/GC.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/Path.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-06-03T21:01:18Z"
"2005-06-01T21:06:40Z"
98,286
Bug 98286 Link doesn't get paint events
Run the ControlExample and use the Select Listeners button to listen for SWT.Paint. You don't get them. I noticed this when browsing the code for Link.drawWidget(). It doesn't call super.
resolved fixed
5cbbc87
["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Link.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-06-03T20:33:01Z"
"2005-06-03T14:46:40Z"
97,697
Bug 97697 CCombo - drop down list appears in wrong place
Eclipse 3.1 RC1 Drop down the list for a CCombo. On Windows, Motif and Max OS X, the list appears directly below the text widget. On GTK the list appears over top of the text widget.
resolved fixed
4767c79
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Group.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-06-03T19:53:09Z"
"2005-05-31T20:06:40Z"
97,725
Bug 97725 GTK - Layout Example table editor combo in wrong place
Eclipse 3.1 RC1 Show the SWT Layouts view. Go to the GridLayout tab. Add three buttons. Click on the last Button entry in the "Children" table - an editor should pop up but doesn't. Click on the second last Button entry in the "Children" table. This time an editor pops up - change Button to Combo and click away. Notice that "Combo" appears in the last row of the table and not the second row. Click on the second last Button entry in the "Children" table. Change the horizontalSpan to 2 and click away. Notice that the horizontalSpan of 2 appears for the last button. Click again on the second last Button entry in the "Children" table. Notice that the editor for horizontalSpan says 1 and not 2. Click away and note that the horizontalSpan for the last Button has changed to 1. This example works fine on Windows.
resolved fixed
d5ba1ee
["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
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-06-03T18:07:08Z"
"2005-05-31T20:06:40Z"
77,661
Bug 77661 [KeyBindings] interactions: "Esc, Shift+R" key binding doesn't work
200411022000 Create a binding to Esc, Shift + R Hit Esc Hold Shift At this point the system will beep and the R will not be honoured Hold Shift Hit Esc Hit R Command executes as expected Hit Esc Wait for hint dialog to appear Hold Shift Hit R Command executes as expected
verified fixed
45ed422
["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/ole/win32/COM.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-06-03T16:01:34Z"
"2004-11-03T16:40:00Z"
97,978
Bug 97978 Table/TreeColumns don't fire ControlEvents on dispose() [osx]
null
resolved fixed
07561f3
["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Table.java", "bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Tree.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-06-03T15:58:38Z"
"2005-06-01T21:06:40Z"
97,659
Bug 97659 TreeColumns don't fire ControlEvents on dispose() [win32]
3.1RC1 - run the snippet below - each time the button to the right of the Tree is pressed, the Tree's first column is disposed -> this should fire a Move for all other columns as they shift left, but no events are fired - this works as expected for Table/TableColumn public static void main(String[] args) { final Display display = new Display(); final Shell shell = new Shell(display); shell.setBounds(10, 10, 300, 300); final Tree tree = new Tree(shell, SWT.NONE); tree.setBounds(10, 10, 200, 200); tree.setLinesVisible(true); tree.setHeaderVisible(true); ControlListener listener = new ControlListener() { public void controlResized(ControlEvent e) { System.out.println("column resize: " + e.widget); } public void controlMoved(ControlEvent e) { System.out.println("column move: " + e.widget); } }; TreeColumn column = new TreeColumn(tree, SWT.NONE); column.setText("1"); column.setWidth(50); column.addControlListener(listener); column = new TreeColumn(tree, SWT.NONE); column.setText("2"); column.setWidth(50); column.addControlListener(listener); column = new TreeColumn(tree, SWT.NONE); column.setText("3"); column.setWidth(50); column.addControlListener(listener); column = new TreeColumn(tree, SWT.NONE); column.setText("4"); column.setWidth(50); column.addControlListener(listener); Button button = new Button(shell, SWT.PUSH); button.setBounds(230,10,30,30); button.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { tree.getColumn(0).dispose(); } }); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); }
resolved fixed
00b98ba
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Tree.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-06-03T15:34:12Z"
"2005-05-31T20:06:40Z"
97,931
Bug 97931 Coolbar fails to show contents until resized
1. Run Snippet20 2. Note that nothing is displayed 3. Move the coolbar handle, a button pops into view On GTK+ and Windows XP, the snippet opens a window with a correct looking coolbar.
resolved fixed
7c6db7f
["bundles/org.eclipse.swt/Eclipse", "SWT/emulated/coolbar/org/eclipse/swt/widgets/CoolBar.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-06-02T16:28:15Z"
"2005-06-01T18:20:00Z"
97,743
Bug 97743 [portability] Drag Tool Turns Off on Linux
When you're dragging something and the mouse goes over an object, a tooltip, or the edge, it cancel out of drag mode and goes back to a normal selection tool. This only happens on Linux and has been a real source of annoyance for our users. Sure would love a fix.
resolved fixed
69bd419
["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Display.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Control.java", "bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/widgets/Control.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-06-02T16:11:28Z"
"2005-05-31T20:06:40Z"
96,525
Bug 96525 Painting a translucent image fails when the GC is mirrored
Snippet showing the problem: Display d = new Display(); PaletteData pData = new PaletteData(0xFF, 0xFF00, 0xFF0000); RGB rgb = d.getSystemColor(SWT.COLOR_LIST_SELECTION).getRGB(); int fillColor = pData.getPixel(rgb); ImageData iData = new ImageData(1, 1, 24, pData); iData.setPixel(0, 0, fillColor); iData.setAlpha(0, 0, 55); final Image image = new Image(d, iData); Shell shell = new Shell(d, SWT.RIGHT_TO_LEFT | SWT.SHELL_TRIM); shell.addPaintListener(new PaintListener() { public void paintControl(PaintEvent e) { e.gc.drawImage(image, 0, 0, 1, 1, 0, 0, 100, 100); } }); shell.setSize(200, 200); shell.open(); while (!shell.isDisposed()) if (!d.readAndDispatch()) d.sleep(); If you change the Shell's orientation to be LTR instead of RTL, the image appears as expected. I'm using 3.1M7
resolved fixed
1c70972
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/GC.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-06-01T20:37:21Z"
"2005-05-24T21:26:40Z"
97,813
Bug 97813 height of Text widgets for SWT/GTK differs from native GTKEntry widgets
The height of "Text" widgets rendered on GTK from within SWT is slightly taller than "GtkEntry" widgets. Below I include a GTK program which displays a window containing just a single line GtkEntry, and a Java program which displays a single line Text widget. Both have the same appearance (they each have a border), but if you display them both next to each other you can see that the SWT version is slightly taller. The programs also output the height of the text widget, giving sizes of 26 and 24 for SWT and GTK respectively. I think maybe this is happening as a result of the INNER_BORDER stuff inside gtk/org/eclipse/swt/widgets/Text.java - but I don't see why this is being done, as it is it makes the windows I get in a SWT application look slightly different (I realise it's not a big difference but it sometimes catches the eye). I reproduced this with 3.0.2 and 3.1 ------------------------------------------------------------------------------ /* Java program TextHeight.java */ import org.eclipse.swt.SWT; import org.eclipse.swt.graphics.Point; import org.eclipse.swt.layout.GridData; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Label; import org.eclipse.swt.widgets.Shell; import org.eclipse.swt.widgets.Text; public class TextHeight { private static Text text; public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); GridLayout layout = new GridLayout(); layout.numColumns = 2; shell.setLayout(layout); Label label = new Label(shell, SWT.WRAP); label.setText("Label : "); Text text = new Text(shell, SWT.BORDER); text.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); shell.open(); Point p = text.getSize(); System.out.println("height of text is " + p.y); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } } ------------------------------------------------------------------------------ /* C program gtktest.c */ #include <gtk/gtk.h> gint delete_event(GtkWidget *widget, GdkEvent event, gpointer data ) { return FALSE; } void end_program ( GtkWidget *widget, GdkEvent *event, gpointer data ) { g_print ("Bye\n"); gtk_main_quit(); } int main( int argc, char *argv[] ) { GtkWindow *window; GtkWidget *entry; GtkRequisition requisition; gtk_init (&argc, &argv); window = g_object_new(GTK_TYPE_WINDOW, "default-height", 200, "default-width", 200, "border-width", 12, "title", "GtkTest", NULL); g_signal_connect(window, "delete_event", G_CALLBACK(delete_event), NULL); g_signal_connect(window, "destroy", G_CALLBACK(end_program), NULL); entry = g_object_new(GTK_TYPE_ENTRY, "has-frame",TRUE, NULL); gtk_widget_size_request(entry,&requisition); g_print ("height of text widget is %d\n", requisition.height); gtk_container_add(GTK_CONTAINER(window), GTK_WIDGET(entry)); gtk_widget_show_all(GTK_WIDGET(window)); gtk_main(); return 0; }
resolved fixed
96d3d34
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Combo.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Spinner.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Text.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-06-01T19:15:40Z"
"2005-06-01T10:00:00Z"
97,762
Bug 97762 Hiding redraw window before destroying it
In GTK+ 2.6.0 and higher, when a GdkWindow is unmapped, GDK will unset the background pixmap of its parent temporarily to reduce flicker. However, this is only done when you call gdk_window_hide(), not if you simply call gdk_window_destroy(). By adding a call to gdk_window_hide() in setRedraw(true) before destroying the window, all flicker on GTK+ for setRedraw() magically disappears for GTK+ 2.6 users.
resolved fixed
d463ee3
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Control.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-06-01T15:36:26Z"
"2005-05-31T22:53:20Z"
97,125
Bug 97125 Antialiasing chops off edges of rectangles
Antialiasing chops off some of the boundaries of rectangles. The included snippet will display a thin black line when antialiasing is turned on, but not when it is off. Antialiasing should have no effect on rectangles. package org.eclipse.swt.snippets; import org.eclipse.swt.SWT; import org.eclipse.swt.events.PaintEvent; import org.eclipse.swt.events.PaintListener; import org.eclipse.swt.graphics.*; import org.eclipse.swt.widgets.*; public class Snippet13 { public static void main (String [] args) { final Display display = new Display (); Shell shell = new Shell (display); Canvas canvas = new Canvas(shell, SWT.NONE); canvas.setBackground(display.getSystemColor(SWT.COLOR_BLACK)); canvas.addPaintListener(new PaintListener() { public void paintControl(PaintEvent e) { GC gc = e.gc; gc.setAntialias(SWT.ON); gc.setBackground(display.getSystemColor(SWT.COLOR_WHITE)); gc.fillRectangle(0, 0, 200, 100); gc.fillRectangle(0, 100, 200, 100); } }); canvas.setBounds(0,0,200,200); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } }
resolved fixed
13e67a3
["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/graphics/GC.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/graphics/GC.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/graphics/GCData.java", "bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/graphics/GC.java", "bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/graphics/GCData.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/GC.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-31T20:19:29Z"
"2005-05-28T22:40:00Z"
97,686
Bug 97686 AIOOB when removing non-existent TableItem by index
3.1RC1 - run the snippet below, you'll get the exception that follows - it's because the bounds check in Table.remove(int) should change from: if (!(0 <= index && index <= itemCount)) error (SWT.ERROR_ITEM_NOT_REMOVED); to if (!(0 <= index && index < itemCount)) error (SWT.ERROR_ITEM_NOT_REMOVED); snippet: public static void main(String[] args) { Display display = new Display(); final Shell shell = new Shell(display); shell.setBounds(10,10,400,400); Table table = new Table(shell, SWT.NONE); table.setBounds(10,10,300,300); shell.open(); table.remove(0); // <---- while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } exception: Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy(Native Method) at org.eclipse.swt.widgets.Table.remove(Table.java:1823) at win32.Main.main(Main.java:20)
resolved fixed
bb6f172
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Table.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-31T19:34:33Z"
"2005-05-31T20:06:40Z"
97,552
Bug 97552 setAntialias breaks background color
GC.setAntialias(SWT.*) causes the background of the next fillRectangle to become permanent for all following rectangles, ignoring subsequent calls to setBackground. Note this happens on ANY call to setAntialias, even just setting it to SWT.OFF. I have not tested whether the effect extends beyond fillRectangle. package org.eclipse.swt.snippets; import org.eclipse.swt.SWT; import org.eclipse.swt.events.PaintEvent; import org.eclipse.swt.events.PaintListener; import org.eclipse.swt.graphics.*; import org.eclipse.swt.widgets.*; public class Snippet13 { public static void main (String [] args) { final Display display = new Display (); Shell shell = new Shell (display); Canvas canvas = new Canvas(shell, SWT.NONE); canvas.addPaintListener(new PaintListener() { public void paintControl(PaintEvent e) { GC gc = e.gc; gc.setAntialias(SWT.OFF); gc.setBackground(display.getSystemColor(SWT.COLOR_WHITE)); gc.fillRectangle(0, 0, 200, 100); gc.setBackground(display.getSystemColor(SWT.COLOR_BLACK)); // This rectange should be black, but is white instead! gc.fillRectangle(0, 100, 200, 100); } }); canvas.setBounds(0,0,200,200); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } }
resolved fixed
94e116a
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/GC.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-31T17:15:13Z"
"2005-05-31T17:20:00Z"
97,370
Bug 97370 gnopernicus no longer reads custom widgets in eclipse
3.1RC1 - this worked in 3.0.2 - this works in stand-alone examples - so something about running in the context of eclipse is problematic
resolved fixed
abe7a6e
["bundles/org.eclipse.swt/Eclipse", "SWT", "Accessibility/gtk/org/eclipse/swt/accessibility/AccessibleFactory.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-30T22:05:02Z"
"2005-05-30T21:53:20Z"
97,011
Bug 97011 Custom Table font is not applied to first column header
If a Table has a visible header, a custom font, and multiple columns, then the first column's header uses the default system font rather than the custom font. I've reproduced this both in my own application and in a simple test case I created (which I can attach if it would be helpful). Steps to reproduce: 1. Create a custom Font. 2. Create a Table. 3. Make the Table's header visible and set its font to the custom font. 4. Add multiple columns to the Table. Actual results: The first column in the header uses the default system font, and all the others use the custom font. Expected results: All columns in the header use the custom font. I'm using SWT/GTK 3.1M7. I think this is platform-specific, since I don't remember this bug occurring in Windows; but I'll have to check to make sure.
resolved fixed
ae629f7
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Control.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/Tree.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-30T21:48:14Z"
"2005-05-27T16:06:40Z"
96,844
Bug 96844 TabItems appear above TabFolder titles when set to a minimum size on Mac OS X
If a TabFolder in a SashForm is reduced in size so that only the tab titles are visible, for certain positions, the TabItem appears on top of the tab titles. When this happens the TabItems can no longer be selected. The code below illustrates this problem. If the upper part of the SashForm is reduced in size at certain positions when the TabItem should no longer be visible, it appears above the title. This occurs with Eclipse 3.1M6 Mac OS X (10.3) package test; import org.eclipse.swt.SWT; import org.eclipse.swt.custom.SashForm; import org.eclipse.swt.layout.GridData; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; import org.eclipse.swt.widgets.TabFolder; import org.eclipse.swt.widgets.TabItem; public class TestMacTabFolder { private Shell shell; private Display display; private SashForm sashForm; public TestMacTabFolder() { // shell display = new Display(); shell = new Shell(display); shell.setLayout(new GridLayout()); shell.setSize(640, 480); // main composite final Composite mainComposite = new Composite(shell, SWT.BORDER); mainComposite.setLayout(new GridLayout()); mainComposite.setLayoutData(new GridData(GridData.FILL_BOTH)); // Sash form split vertically sashForm = new SashForm(mainComposite, SWT.VERTICAL); sashForm.setLayout(new GridLayout()); sashForm.setLayoutData(getGridData()); // Create the tab folder TabFolder tabFolder = new TabFolder(sashForm, SWT.BORDER | SWT.BOTTOM); tabFolder.setLayout(new GridLayout()); tabFolder.setLayoutData(getGridData()); // first tab item Composite itemComposite1 = new Composite(tabFolder, SWT.NONE); itemComposite1.setLayout(new GridLayout()); itemComposite1.setLayoutData(getGridData()); itemComposite1.setBackground(display.getSystemColor(SWT.COLOR_GREEN)); TabItem item1 = new TabItem(tabFolder, SWT.NONE); item1.setText("Item 1"); item1.setControl(itemComposite1); // second tab item Composite itemComposite2 = new Composite(tabFolder, SWT.NONE); itemComposite2.setLayout(new GridLayout()); itemComposite2.setLayoutData(getGridData()); itemComposite2.setBackground(display.getSystemColor(SWT.COLOR_BLUE)); TabItem item2 = new TabItem(tabFolder, SWT.NONE); item2.setText("Item 2"); item2.setControl(itemComposite2); // bottom composite in the sash formm Composite bottomComposite = new Composite(sashForm, SWT.BORDER); bottomComposite.setLayout(new GridLayout()); bottomComposite.setLayoutData(getGridData()); bottomComposite.setBackground(display.getSystemColor(SWT.COLOR_RED)); // layout the shell shell.layout(); } private void run() { shell.open(); while (shell != null && !shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } } private GridData getGridData() { GridData gridData = new GridData(); gridData.grabExcessHorizontalSpace = true; gridData.grabExcessVerticalSpace = true; gridData.horizontalAlignment = GridData.FILL; gridData.verticalAlignment = GridData.FILL; return gridData; } public static void main(String[] args) { TestMacTabFolder testMacSashForm = new TestMacTabFolder(); testMacSashForm.run(); } }
resolved fixed
cd672be
["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/TabFolder.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-30T20:18:22Z"
"2005-05-26T17:53:20Z"
93,724
Bug 93724 Drag-and-drop creates signal names every time
Here is an example of some code in DragSource.java for GTK+: byte[] buffer = Converter.wcsToMbcs(null, "drag_data_get", true); OS.g_signal_connect(control.handle, buffer, DragGetData.getAddress(), 0); buffer = Converter.wcsToMbcs(null, "drag_end", true); OS.g_signal_connect(control.handle, buffer, DragEnd.getAddress(), 0); buffer = Converter.wcsToMbcs(null, "drag_data_delete", true); OS.g_signal_connect(control.handle, buffer, DragDataDelete.getAddress(), 0); Rather than converting the names for the signals every time, these signal names should be defined in OS.java so that they can be only created once.
resolved fixed
27237e4
["bundles/org.eclipse.swt/Eclipse", "SWT", "Drag", "and", "Drop/gtk/org/eclipse/swt/dnd/DragSource.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "Drag", "and", "Drop/gtk/org/eclipse/swt/dnd/DropTarget.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "PI/gtk/org/eclipse/swt/internal/gtk/OS.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-30T19:10:47Z"
"2005-05-04T20:53:20Z"
91,547
Bug 91547 Insertion line in TreeViewer does not show up during drag operation
Using the Visual Editor, create a Shell application, drop two controls onto the Shell. In the Beans view (tree view), drag the second control before the first control. The insertion line does not show up anywhere when dragging the control in the tree view.
resolved fixed
9d88cc5
["bundles/org.eclipse.swt/Eclipse", "SWT", "Drag", "and", "Drop/win32/org/eclipse/swt/dnd/TreeDragUnderEffect.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-30T19:00:31Z"
"2005-04-15T15:46:40Z"
97,340
Bug 97340 MouseEnter not fired when scroll bar released
1. Run the following example. 2. Type a load of text in the StyledText so that it gets a vertical scrollbar. 3. Drag around the scrollbar. While dragging, move the mouse above the StyledText widget. 4. Release the mouse. No MouseEnter event is fired. Reproducable on Linux-GTK and Linux-Motif, works on Carbon and win32. public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); StyledText text = new StyledText(shell, SWT.H_SCROLL|SWT.V_SCROLL); shell.setSize(320, 240); text.addListener(SWT.MouseEnter, new Listener() { public void handleEvent(Event event) { System.out.println("ENTER x: " + event.x); } }); shell.open(); while(!shell.isDisposed()) { if(!display.readAndDispatch()) display.sleep(); } display.dispose(); }
resolved fixed
3c252d2
["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/gtk/org/eclipse/swt/internal/gtk/OS.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "PI/motif/org/eclipse/swt/internal/motif/OS.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Control.java", "bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/widgets/Control.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-30T18:57:13Z"
"2005-05-30T19:06:40Z"
96,723
Bug 96723 Table not shown when there are no rows initially
I am using eclipse 3.1m7 on several platforms (linux, windows and aix) and it only has this problem when I run on AIX ( AIX 5.1, with Motif, java 1.4.2). The problem was not there on 3.1m6 or 3.0.1 If I start running with no TableItems, the table does not show the column header text (even though they were set to be visible. Also, later when TableItems are added, they do not show up in the table. I have a work-around by making sure that at least 1 TableItem exists, Even if the text in the cells are just empty Strings)
resolved fixed
a3431aa
["bundles/org.eclipse.swt/Eclipse", "SWT/emulated/treetable/org/eclipse/swt/widgets/TableColumn.java", "bundles/org.eclipse.swt/Eclipse", "SWT/emulated/treetable/org/eclipse/swt/widgets/TreeColumn.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-27T18:37:56Z"
"2005-05-25T22:26:40Z"
96,042
Bug 96042 computeTrim() is not returning the correct value
Snippet showing the problem (in 3.1M7): public static void main(String[] args) { Display d = new Display(); final Shell shell = new Shell(SWT.TOOL | SWT.ON_TOP); shell.setSize(100, 100); System.out.println(shell.computeTrim(0,0,0,0)); shell.open(); for (int i = 0; i < 5; i++) if (!d.readAndDispatch()) d.sleep(); shell.dispose(); } Clearly, the shell has a trim, but computeTrim() doesn't reflect that.
resolved fixed
92b1989
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Shell.java", "bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/widgets/Shell.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-27T17:53:07Z"
"2005-05-19T22:00:00Z"
96,692
Bug 96692 GC.setClipping fails to overwrite previous clipping after AA turned on
public static void main(String[] args) { Display display = new Display(); final Shell shell = new Shell(display); shell.setText("Shell"); shell.addPaintListener(new PaintListener() { public void paintControl(PaintEvent e) { e.gc.setClipping(20, 20, 100, 100); e.gc.setAntialias(SWT.ON); e.gc.setClipping(50, 50, 200, 200); e.gc.drawLine(50, 200, 200, 50); } }); shell.setSize(500, 380); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); }
resolved fixed
6b71999
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/GC.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-26T18:51:50Z"
"2005-05-25T19:40:00Z"
81,232
Bug 81232 X Error in GC.drawText()
eclipse.buildId=I20041214-2000 test_drawTextLjava_lang_StringIII(org.eclipse.swt.tests.junit.Test_org_eclipse_swt_graphics_GC) java.lang.StackOverflowError
resolved fixed
64effad
["bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/graphics/Device.java", "bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/graphics/GC.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-26T17:52:55Z"
"2004-12-15T17:00:00Z"
96,445
Bug 96445 Need API to check advanced graphics mode
Most operating systems offer a different library to do advanced graphics (Mac does not). The advanced graphics support in SWT makes use of this library to implement features such as antialiasing, tranformations, alpha etc. When one of these features is requested, SWT graphics begins to use the advanced library for all graphics operations, even those that are not advanced. Since two different operating system graphics libraries are in use, there may be differences in output (such as string measuring) and performance. We would like to add GC.getAdvanced() and GC.setAdvanced(boolean) to allow appliations to have control over advanced mode.
resolved fixed
e88f9a0
["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/graphics/GC.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/graphics/GC.java", "bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/graphics/GC.java", "bundles/org.eclipse.swt/Eclipse", "SWT/photon/org/eclipse/swt/graphics/GC.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/GC.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-26T15:21:26Z"
"2005-05-24T15:53:20Z"
86,819
Bug 86819 TreeEditor doesn't scroll with the Tree
hen you place a TreeEditor on a TreeItem of a Tree, and when you scroll the Tree using the mouse wheel, the TreeEditor doesn't scroll with the Tree. Example code: import org.eclipse.swt.SWT; import org.eclipse.swt.custom.TreeEditor; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.widgets.*; public class TreeScroll { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); Tree tree = new Tree(shell, SWT.BORDER); tree.setLinesVisible(true); TreeColumn column = new TreeColumn(tree, SWT.NONE); column.setWidth(200); for (int i = 0; i < 20; i++) { TreeItem item = new TreeItem(tree, SWT.NONE); item.setText("item " + i); } TreeItem[] items = tree.getItems(); TreeEditor editor = new TreeEditor(tree); Text text = new Text(tree, SWT.NONE); text.setText("text editor"); editor.grabHorizontal = true; editor.setEditor(text, items[6]); text.setFocus(); shell.pack(); shell.setSize(250, 300); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } } To reproduce the bug, execute the example and scroll the tree using the mouse wheel. All items are scrolling, but the editor (on item 6) rest in place. When using directly the scroll bar, it works. I'm using Eclipse 3.1M5a.
resolved fixed
3cca361
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Tree.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-26T01:28:52Z"
"2005-02-28T11:26:40Z"
82,169
Bug 82169 In console pane, cannot click "Terminate" and then "Remove all Terminated launches" without clicking somewhere else in between
This is when I terminate a Java program I'm running. The "Remove all Terminated launches" enables after clicking Terminate, but clicking it does nothing until I click somewhere else first. I believe this bug has existed for a while, I seem to remember since I first started using eclipse, with one of the 3.0 milestone builds. I only experience this in GTK, works fine in windows.
resolved fixed
840e85c
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/ToolItem.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-25T19:10:52Z"
"2005-01-04T20:20:00Z"
96,635
Bug 96635 Repaint problem with Table, Image and SWT_HIDE_SELECTION
Having a Table with the Hint SWT.HIDE_SELECTION and an Image inside the TableItem, makes some problems. When the Table has lost Focus, the Row hides the Selection for the Text, but the Image is still painted in the Selection Color. Reproduce with 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 image = new Image(display, 16, 16); Table table1 = new Table(shell, SWT.BORDER | SWT.HIDE_SELECTION); TableItem item1 = new TableItem(table1, SWT.NONE); item1.setText("Hello World"); item1.setImage(image); Table table2 = new Table(shell, SWT.BORDER | SWT.HIDE_SELECTION); TableItem item2 = new TableItem(table2, SWT.NONE); item2.setText("Hello World"); item2.setImage(image); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } } 1.) Click into Left Table 2.) Click into Right Table Ben
resolved fixed
84354eb
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Table.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-25T17:24:57Z"
"2005-05-25T16:53:20Z"
96,494
Bug 96494 Memory Leak in EventTable listener array
The EventTable arrays will grow infinitely in the presence of just a pair of listeners. Put a breakpoint in hook with a hit count of 20 and start typing. public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); final Text text = new Text(shell, SWT.NONE); text.setBounds(10, 10, 90, 30); text.setText("blah"); class Hooked implements ModifyListener, VerifyListener { public void modifyText(ModifyEvent e) { text.removeModifyListener(this); text.addVerifyListener(this); } public void verifyText(VerifyEvent e) { text.removeVerifyListener(this); text.addModifyListener(this); } }; text.addModifyListener(new Hooked()); text.addModifyListener(new Hooked()); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } }
resolved fixed
31ecf4c
["bundles/org.eclipse.swt/Eclipse", "SWT/common/org/eclipse/swt/widgets/EventTable.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-25T16:11:23Z"
"2005-05-24T18:40:00Z"
85,645
Bug 85645 Typeahead broken for Table and Tree
I20050215-2300 The native GTK+ typeahead feature is not working on Table and Tree, but is working for List. It seems that either the order of the columns in our model, or the number of columns, is causing GTK+ to be unable to tell which is the correct column to use. The fix is to use gtk_tree_view_set_search_column() ourselves to indicate which column should be searched. The attached patch works but there are some open issues: 1. Will the column number I am using always be correct? Could this constant be stored somewhere better? 2. The documentation indicates that this function has been there forever, but that it "turns on interactive searching". Should we not set this value for GTK+ versions before 2.6, where interactive searching was not on by default?
resolved fixed
7a5eebc
["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/gtk/org/eclipse/swt/internal/gtk/OS.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Table.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Tree.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-25T13:19:16Z"
"2005-02-17T03:13:20Z"
95,890
Bug 95890 [Perspectives] MenuManager.update() causes menu to be redrawn too often
When I change perspective 9 times, MenuManager.updateAll() is called 9 times. MenuManager.update(force,recursive) ends up being called 78 times. While removing the included obsolete menu items, mi[i].dispose() causes a redraw of the menu for each dispose, happening 162 times. MenuItem.dispose -> MenuItem.releaseChild -> Menu.destroyItem -> Menu.redraw. Menu.redraw is called 162 time and 4.1% of perspective switching is spent here. MenuManager.updateAll should contain code to say menu.setRedraw(false), do all the removals, and then do menu.setRedraw(true); As an aside, WorkbenchWindow.updateActionBars() uses 16.5% of CPU. Of that, MenuManager.updateAll() uses 15.1% and CoolbarManager.update() only 1.3%
resolved fixed
41d2a85
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Control.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Menu.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-25T04:13:34Z"
"2005-05-19T05:20:00Z"
96,411
Bug 96411 TreeColumn causes vertical scroll to appear
Adding a TreeColumn to a Tree control causes the vertical scrollbar to appear even when not needed. The following code is an extract of a ViewPart extension: public void createPartControl(Composite parent) { tree = new Tree(parent, SWT.SINGLE); tree.setLinesVisible(false); tree.setHeaderVisible(true); // The following line causes the vertical scrollbar to appear TreeColumn treeColumn = new TreeColumn(tree, SWT.LEFT); }
resolved fixed
bba14a1
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Tree.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-25T02:38:20Z"
"2005-05-24T10:20:00Z"
95,756
Bug 95756 Tables don't repaint
3.1 M7, GTK+ 2.6.4, KDE 3.3.2, X.org 6.8.2, Linux 2.6.11 If a table becomes obscured, it may not repaint properly when it becomes visible again. STEPS TO REPRODUCE: ------------------ 1.) Open the keys preference page 2.) Move the dialog off the screen. 3.) Move back on the screen. With these steps, the table headers will sometimes not appear, or only paint partially. If the table is enabled, moving the mouse over a table column header will cause that table column header to repaint. If the table is disabled, the table headers will remain unpainted or partially painted.
resolved fixed
ea63341
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Control.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Widget.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-24T20:37:17Z"
"2005-05-18T15:26:40Z"
95,648
Bug 95648 GP on Motif Table with PNG image
The following code GPs for me every time with: X Error of failed request: BadMatch (invalid parameter attributes) Major opcode of failed request: 73 (X_GetImage) Serial number of failed request: 7824 Current serial number in output stream: 7824 The image is a PNG file which I will attach. public static void main(String[] args) { Display display = new Display(); Image image = new Image(display, Test.class.getResourceAsStream("a.png")); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); TabFolder tf = new TabFolder(shell, SWT.NONE); TabItem ti = new TabItem(tf, SWT.NONE); ; Table table = new Table (shell, SWT.MULTI | SWT.BORDER | SWT.FULL_SELECTION); String[] titles = {" ", "C", "!", "Description", "Resource", "In Folder", "Location"}; for (int i=0; i<titles.length; i++) { TableColumn column = new TableColumn (table, SWT.NULL); column.setText (titles [i]); } int count = 128; for (int i=0; i<count; i++) { TableItem titem = new TableItem (table, SWT.NULL); titem.setText (0, "x"); titem.setText (1, "y"); titem.setText (2, "!"); titem.setText (3, "this stuff behaves the way I expect"); titem.setText (4, "almost everywhere"); titem.setText (5, "some.folder"); titem.setText (6, "line " + i + " in nowhere"); titem.setImage(image); } for (int i=0; i<titles.length; i++) { table.getColumn (i).pack (); } table.setSize (table.computeSize (SWT.DEFAULT, 200)); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); }
resolved fixed
f9ca8b1
["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/graphics/GC.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/graphics/GC.java", "bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/graphics/GC.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-24T18:24:37Z"
"2005-05-17T20:00:00Z"
76,823
Bug 76823 [doc] Display.asyncExec example needs to check for isDisposed
The example cited in the online SWT documentation should add a test: // do time-intensive computations ... // now update the UI. We don't depend on the result, // so use async. display.asyncExec (new Runnable () { public void run () { if (myWindow.isDisposed()) // check if still around return; myWindow.redraw (); } }); // now do more computations In some products, I've noticed .log files littered with exceptions because the asyncExec is processed after the window has already closed. It wouldn't be a bad idea to integrate this check into the SWT API, e.g.: myWindow.asyncUpdate(new Runnable...); This in turn would check if the widget still exists before executing the runnable.
resolved fixed
280dfd2
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Display.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-24T16:42:38Z"
"2004-10-22T15:46:40Z"
94,946
Bug 94946 FileDialog should inherit image from parent shell
Hi, I noticed that the FileDialog comes with a default icon instead to inherit the icon from the parent shell. And as I can see there is no way to change the icon. So, I think to inherit the icon should be the default behaviour. The behaviour occurs with the GTK 3134 build. And also occurs in the Eclipse IDE 3.1M6(GTK) with "Open external file...".
resolved fixed
3d2513f
["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/ColorDialog.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/DirectoryDialog.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/FileDialog.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/FontDialog.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/MessageBox.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-20T23:13:03Z"
"2005-05-12T12:13:20Z"
94,598
Bug 94598 DBCS3.1:Eclipse hangs when activate IIMF input in search scope of Help
OS: <RHEL 4.0> Language: <Traditional Chinese> Build level: <Eclipse SDK 3.1 M6 - I20050506-1600> JDK version: <IBM JDK 1.4.2 SP1a> Test case #: <5.3 Search scope with NLS name(Help)> Summary: DBCS3.1:Eclipse hangs when activate IIMF input in search scope of Help Steps to recreate problem: 1- Install Eclipse SDK and NL pack 2- Click "Help" from menu -> select "Help Content" -> Click "Search Scope", a Search Scope dialog pop up. 3- Select "Search all topics", Click "New", the New Search List dialog pop up. 4- Then try to active IIMF input method by "CTRL+SPACE" key in order to input DBCS characters, but Eclipse hangs. No response from Eclipse. Error: Eclipse hangs and can't switch or change any input method. Expected Result: IIMF input should be working properly for inputing/key in DBCS characters.
closed fixed
7e57b36
["bundles/org.eclipse.swt/Eclipse", "SWT", "Mozilla/gtk/org/eclipse/swt/browser/Browser.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Composite.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-20T22:13:07Z"
"2005-05-11T02:53:20Z"
95,018
Bug 95018 Cheese in TreeItem checkbox
Version: 3.1.0 Build id: I20050512-1200 Select Run -> Run... make a new Eclipse Application Select eclipse application and go to plugins tab Select "Choose plug-ins and fragments to launch from list" Check and uncheck items from tree Notice that the top right tip of the check mark sometimes gets left behind as cheese. Don't see this happening in ControlExample.
resolved fixed
29682f2
["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Table.java", "bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/TableItem.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/TreeItem.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-20T21:38:47Z"
"2005-05-12T17:46:40Z"
96,080
Bug 96080 [OpenModes] click on selected line no longer goes to match
N20050520-0010 Clicking on an already selected line in 'Flat Layout' no longer goes to match. This is quite a pain. Worked in M7. 0. set open mode to 'Single click' 1. JUnit setup 2. search for references to 'Test' 3. open one of the matches 4. in the file place the caret somewhere else 5. click on the same match again ==> nothing happens 6. open another file 7. click on the same match again ==> nothing happens
verified fixed
810a097
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Table.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-20T21:38:36Z"
"2005-05-20T11:53:20Z"
80,180
Bug 80180 [consistency] toolbars on the Mac do not respond to setBackground()
see attached image. i would like to set the toolbar background to White in this case.
resolved fixed
a0843f7
["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/ToolBar.java", "bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/ToolItem.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-20T20:04:53Z"
"2004-12-03T21:40:00Z"
95,667
Bug 95667 Display#update does not work on Windows XP
(Creating this bug report to track your progress on this issue.) This is the problem we talked about - it seems that Display#update does not paint under certain circumstances. As Steve said, Windows might think we are dead when we don't spin the event loop for some amount of time. For the record, I want to show progress while the Workbench is being restored. This is before we actually run the event loop. The event loop cannot be run because the Workbench is not in a good state and because the restoring of the Workbench takes place in the UI thread. We would like to have the progress dialog repaint though...
resolved fixed
a137c58
["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/win32/org/eclipse/swt/internal/win32/OS.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Display.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-20T19:11:15Z"
"2005-05-17T22:46:40Z"
77,540
Bug 77540 typo in import org.eclipse.swt.custom.StyledText.setOrientation
The description of setOrientation mentions LEFT_TO_RIGHT twice and RIGHT_TO_LEFT not at all. setOrientation(int orientation) Sets the orientation of the receiver, which must be one of the constants SWT.LEFT_TO_RIGHT or SWT.LEFT_TO_RIGHT.
resolved fixed
ec0aa33
["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/StyledText.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-20T19:09:27Z"
"2004-11-02T21:13:20Z"
96,097
Bug 96097 TOOL style not documented in Shell
null
resolved fixed
8d2635e
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Shell.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-20T17:52:34Z"
"2005-05-20T14:40:00Z"
90,246
Bug 90246 StyledText draws cheesy if the caret is invisible
I am trying to disable drawing of the caret in a StyledText widget. Run the following example and click around, the cursor will be cheesily drawn as you click around or rapidly select text with the mouse: public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); StyledText text = new StyledText(shell, SWT.READ_ONLY); text.setText("This is some text\nThis is some text\n" + "This is some more text blah blah blah"); text.getCaret().setVisible(false); shell.open(); while(!shell.isDisposed()) { if(!display.readAndDispatch()) display.sleep(); } display.dispose(); }
resolved fixed
3eda4c0
["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Caret.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Caret.java", "bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/widgets/Caret.java", "bundles/org.eclipse.swt/Eclipse", "SWT/photon/org/eclipse/swt/widgets/Caret.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-20T15:42:11Z"
"2005-04-05T03:00:00Z"
77,617
Bug 77617 Brief "page not found" message on startup
20041102 When I start up a fresh install of Eclipse the window comes up and then very briefly (for about 1 second) shows a "page not found" html style page before the intro is shown. STEPS 1) Install a fresh Eclipse 2) Run it
resolved fixed
cbe70f0
["bundles/org.eclipse.swt/Eclipse", "SWT", "Browser/win32/org/eclipse/swt/browser/Browser.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-20T15:23:34Z"
"2004-11-03T13:53:20Z"
96,090
Bug 96090 Popup menu doesn't work when dialog opened via short cut
N20050520-0100 The new open type dialog has a context menu for the entries in the list as well as one that shows up if the little triangle in the top right corner is pressed. Both menus don't work if the dialog is opened via the short cut (Ctrl+Shift+T). They do work if the dialog is opened via the open type tool bar button in the global tool bar.
resolved fixed
984497f
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Display.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/Widget.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-20T14:27:55Z"
"2005-05-20T14:40:00Z"
92,105
Bug 92105 BIDI3.1: Mixed Arabic and English text is viewed incorrectly in Java Editor
Operating System: Linux - RHEL4.0/GTK Enterprise Edition Build ID: I20050401-1645 Locale: ar_EG.UTF-8 Description: When assigning Arabic text to a string variable with Arabic name, the words ordering is not correct Steps to re-create the problem: 1- Create a new java class from menu (File->New->Class) 2- In the "Java Class" dialog, set the source folder, package and class name and click "Finish" 3- Add a String variable to the class with name "ABCD" (where capital letters represent Arabic text) 4- Create a method, and write a statement to assign Arabic text to the variable you created in 3 Expected Result: See attached screen shot (FileName: ExpectedView.jpg) Actual Result: See attached screen shot (FileName: ActualView.jpg)
resolved fixed
05253bb
["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/StyledText.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-19T21:57:03Z"
"2005-04-20T15:13:20Z"
89,720
Bug 89720 Crash closing dialog when IM is open (IIIM)
null
resolved fixed
fc59b19
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Combo.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Spinner.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Text.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-19T19:08:57Z"
"2005-03-30T22:00:00Z"
94,065
Bug 94065 Spinner does't update internal state during text modify
The following code from Spinner.sendKeyEvent does not seem to be correct: default: /* Tab and other characters */ if (key != '\t' && key < 0x20) return true; oldText = new String (new char [] {key}); break; } String newText = verifyText (oldText, start [0], end [0], event); if (newText == null) return false; if (newText == oldText) return true; TCHAR buffer = new TCHAR (getCodePage (), newText, true); OS.SendMessage (hwndText, OS.EM_SETSEL, start [0], end [0]); OS.SendMessage (hwndText, OS.EM_REPLACESEL, 0, buffer); Consider a test when the Spiner is set to 1, the whole contents is selected, and user presses key 2. The code will exit at "if (newText == oldText) return true;" since oldText is set to "2" by "oldText = new String (new char [] {key});" Similar problem affects wmClipboard method too: if (newText != null && !newText.equals (oldText)) { oldText = newText; newText = verifyText (newText, start [0], end [0], null); if (newText == null) return LRESULT.ZERO; if (!newText.equals (oldText)) { oldText is almost always the same as newText since it was explicitly assigned by "oldText = newText;".
resolved wontfix
b881692
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Spinner.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-19T18:21:57Z"
"2005-05-08T19:20:00Z"
26,902
Bug 26902 GTK: mouse wheel doesn't work on the compare editor
Build 200211191210 Linux-GTK Select two files in the Navigator view, right click>compare with>each other. The mouse wheel doesn't work on the created editor. Works on win32
resolved fixed
db1b6f2
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Scrollable.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-19T16:35:48Z"
"2002-11-21T20:20:00Z"
95,840
Bug 95840 querying GC alpha value requires Cairo
on win32, calling getAlpha does not require GDI+. The value is returned from the data structure. But on Linux, GC attempts to load Cairo to obtain the same value. The workaround for us is to assume the value is 255.
resolved fixed
d357203
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/graphics/GC.java", "bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/graphics/GC.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-19T14:41:24Z"
"2005-05-18T21:00:00Z"
95,750
Bug 95750 Colors on a VIRTUAL table with columns will not show up on open
3.1 M7 If you set the colors on a VIRTUAL table that has columns in the callback for SetData this will be ignored if the callback is called during shell opening. STEPS 1) Run the example below. You will see yellow in the first entry but no other. 2) Scroll around. Anything hidden will start getting colored. import org.eclipse.swt.SWT; import org.eclipse.swt.layout.GridData; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Event; import org.eclipse.swt.widgets.Listener; import org.eclipse.swt.widgets.Shell; import org.eclipse.swt.widgets.Table; import org.eclipse.swt.widgets.TableColumn; import org.eclipse.swt.widgets.TableItem; /** * * @author cgustafson * */ public class ColorTable { public static void main(String[] args) { Display display = new Display(); Shell parent = new Shell(display, SWT.CLOSE); parent.setLayout(new GridLayout()); final Table table = new Table(parent, SWT.VIRTUAL | SWT.V_SCROLL); table.setHeaderVisible(true); table.setLinesVisible(true); table.setItemCount(90); table.addListener(SWT.SetData, new Listener() { /* * (non-Javadoc) * * @see org.eclipse.swt.widgets.Listener#handleEvent(org.eclipse.swt.widgets.Event) */ public void handleEvent(Event event) { TableItem item = (TableItem) event.item; final int index = table.indexOf(item); String label = "Element " + String.valueOf(index); item.setData(label); item.setText(0,label); item.setBackground(item.getDisplay().getSystemColor(SWT.COLOR_YELLOW)); item.setForeground(item.getDisplay().getSystemColor(SWT.COLOR_BLUE)); } }); TableColumn dateCol = new TableColumn(table, SWT.LEFT); dateCol.setText("Date"); dateCol.setWidth(200); GridData gd = new GridData(); gd.grabExcessVerticalSpace = true; gd.verticalAlignment = SWT.FILL; gd.grabExcessHorizontalSpace = true; gd.horizontalAlignment = SWT.FILL; gd.heightHint = 500; table.setLayoutData(gd); parent.pack(); parent.open(); while (!parent.isDisposed()) display.readAndDispatch(); } }
resolved fixed
00bd931
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Table.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-19T14:32:49Z"
"2005-05-18T12:40:00Z"
95,823
Bug 95823 Setting GC foreground color does not always clear out fg Pattern
calling GC.setForeground() should clear the current Pattern being used. (should that be in javadoc). It does not always work. public static void main(String[] args) { final Display display = new Display(); final Shell shell = new Shell(display); shell.setText("Shell"); shell.setFont(new Font(display, "Arial Black", 20, SWT.BOLD)); shell.addPaintListener(new PaintListener() { int POLY[] = new int[] {5, 5, 45, 5, 20, 30, 20, 20, 45, 45, 5, 45}; public void paintControl(PaintEvent e) { Pattern gradient = new Pattern(null, 0, 0, 100, 40, new Color(null, 200, 0, 200), new Color(null, 0, 0, 0)); Pattern background = new Pattern(null, 0, 40, 120, 0, new Color(null, 200, 255, 200), new Color(null, 200, 200, 200)); e.gc.setForegroundPattern(gradient); e.gc.setBackgroundPattern(background); e.gc.drawString("Foobar", 0, 0, false); e.gc.setForeground(e.gc.getForeground()); e.gc.setBackground(e.gc.getBackground()); Transform t = new Transform(display); t.translate(0, 30); e.gc.setTransform(t); t.dispose(); e.gc.drawString("Foobar", 0, 0, false); background.dispose(); gradient.dispose(); } }); shell.setSize(500, 380); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); }
resolved fixed
91d12e7
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/GC.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-18T21:59:05Z"
"2005-05-18T18:13:20Z"
95,825
Bug 95825 GTK warnings when using a virtual table
0517 Red Hat Enterprise 3.0 When I run the example below I get the following warnings to the console. If the table does not have the VIRTUAL flag set I get no error. (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed (<unknown>:6925): Gtk-CRITICAL **: file gtktreeview.c: line 10200 (gtk_tree_view_get_cell_area): assertion `GTK_WIDGET_REALIZED (tree_view)' failed import org.eclipse.jface.viewers.IStructuredContentProvider; import org.eclipse.jface.viewers.LabelProvider; import org.eclipse.jface.viewers.TableViewer; import org.eclipse.jface.viewers.Viewer; import org.eclipse.swt.SWT; import org.eclipse.swt.events.SelectionAdapter; import org.eclipse.swt.events.SelectionEvent; import org.eclipse.swt.layout.GridData; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.Button; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; import org.eclipse.swt.widgets.Table; public class SimplePhantomRowsTest { static boolean showAll = true; /** * @param args */ public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display, SWT.CLOSE); shell.setLayout(new GridLayout(1, false)); Button button = new Button(shell, SWT.TOGGLE); button.setText("Toggle"); final TableViewer table = new TableViewer(shell, SWT.VIRTUAL); table.getControl().setLayoutData(new GridData(GridData.FILL_BOTH)); table.getTable().setLinesVisible(true); table.setContentProvider(new IStructuredContentProvider() { public Object[] getElements(Object inputElement) { String[] result = new String[itemSize()]; for (int i = 0; i < result.length; i++) { result[i] = "Element " + String.valueOf(i); } return result; } public void dispose() { // TODO Auto-generated method stub } public void inputChanged(Viewer viewer, Object oldInput, Object newInput) { // TODO Auto-generated method stub } }); table.setLabelProvider(new LabelProvider() { public String getText(Object element) { return (String) element; }; }); table.setInput(table); table.setItemCount(15); button.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { showAll = !showAll; table.getTable().setItemCount(itemSize()); table.refresh(); } }); shell.setSize(300, 400); shell.open(); while (!shell.isDisposed()) { display.readAndDispatch(); } } static protected int itemSize() { if (showAll) return 15; return 5; } }
resolved fixed
db40d72
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Table.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-18T21:29:57Z"
"2005-05-18T18:13:20Z"
94,595
Bug 94595 eclipse gtk doesn't set X window name
In X there is the X attribute "window name", which eclipse gtk doesn't seem to set. It should set this.
resolved fixed
2e767ba
["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/gtk/org/eclipse/swt/internal/gtk/OS.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Display.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-18T20:19:34Z"
"2005-05-11T02:53:20Z"
89,574
Bug 89574 In the task bar, the Eclipse window is called "TopLevelShell"
I20050330-0500, Motif, KDE 3.2.3, X.org 6.8.2, Linux 2.6.10 My Eclipse top-level windows are called "TopLevelShell" in the task bar. I'll attach a screenshot.
resolved fixed
3ce5162
["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/motif/org/eclipse/swt/internal/motif/OS.java", "bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/widgets/Shell.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-18T20:17:31Z"
"2005-03-30T16:26:40Z"
95,312
Bug 95312 GC.setAntialias breaks stringExtent
gc.setAntialias(SWT.ON) causes gc.stringExtent(" ").x == 0 public static void main (String [] args) { Display display = new Display (); Shell shell = new Shell (display); GC gc = new GC (shell); // this prints 5 System.out.println(gc.stringExtent(" ").x); gc.setAntialias(SWT.ON); // this prints 0 System.out.println(gc.stringExtent(" ").x); }
resolved fixed
b46ca0a
["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/win32/org/eclipse/swt/internal/gdip/Gdip.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/GC.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-18T16:50:57Z"
"2005-05-15T15:13:20Z"
95,367
Bug 95367 API spec on Transform.rotate
the javadoc for rotate says that "zero degrees is at 3:00". This doesn't really make sence because the argument represents a change or delta, and not the new angle. If I call rotate(90); then calling rotate(0); will not return the rotation back to its initial place.
resolved fixed
14d4a7f
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/Transform.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-18T16:13:30Z"
"2005-05-16T13:26:40Z"
95,408
Bug 95408 null missing in getBackground/ForegroundPattern API spec
if no pattern is set, <code>null</code> will be returned.
resolved fixed
58f1814
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/GC.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-17T20:21:10Z"
"2005-05-16T16:13:20Z"
95,617
Bug 95617 Fill rules ignored with GDI+
turn on antialias. fill rules get ignored. public static void main(String[] args) { Display display = new Display(); final Shell shell = new Shell(display); shell.setText("Shell"); shell.addPaintListener(new PaintListener() { int POLY[] = new int[] {5, 5, 45, 5, 20, 30, 20, 20, 45, 45, 5, 45}; public void paintControl(PaintEvent e) { e.gc.setAntialias(0); e.gc.setBackground(e.gc.getForeground()); e.gc.setFillRule(SWT.FILL_WINDING); e.gc.fillPolygon(POLY); } }); shell.setSize(500, 380); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); }
resolved fixed
905526f
["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/win32/org/eclipse/swt/internal/gdip/Gdip.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-17T18:52:38Z"
"2005-05-17T17:13:20Z"
94,432
Bug 94432 Link widget with wrapped link: active area on wrong line
I20050509-2010 The Link widget has problems when a link extends over two lines. The active area of the part on the upper line is shifted one line down. Clicking on the first linked word only reveals the active area, but does not engage the link. Looks fine on GTK, but fails on WinXP.
resolved fixed
0e26844
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/TextLayout.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-17T15:26:08Z"
"2005-05-10T18:33:20Z"
95,226
Bug 95226 [browser] Intro view loses content on perspective switch
3.1M7 - start a brand new eclipse -> the purple Intro screen comes up first - double-click its "Welcome" tab so that it reduces to a view on the right side of the workbench - switch to the Java perspective -> the Welcome view is there as well (I'm guessing this is by design?) -> but more importantly, it's blank - if you switch back to the Resource perspective the browser is blank there too - the Browser will not gets its contents back by typical resizing, but it will if the view is maximized
resolved fixed
3d12b10
["bundles/org.eclipse.swt/Eclipse", "SWT", "Browser/carbon/org/eclipse/swt/browser/Browser.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-16T20:06:29Z"
"2005-05-13T21:33:20Z"
94,437
Bug 94437 add "Columns Reorderable" checkbox to ControlExample's Table tab
null
resolved fixed
dc92378
["examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/TableTab.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-16T15:43:44Z"
"2005-05-10T18:33:20Z"
93,526
Bug 93526 SWT Browser crashes on MacOS
N20050502 SWT Browser crashes VM. Several ways to get a crash: 1) Go to preference and go to Browser preferences. OR 2) try creating an instance of an SZWT browser anywhere. you get the following: Exit code = 5 /user/bin/Java -XstartOnFirstThread .... on the command line you get: dyld: /usr/bin/java Undefined symbols: /Users/eclipse/Desktop/mazenDONTTouchIT/eclipseN20050502/configuration/org.ecli pse.osgi/bundles/60/1/.cp/libswt-webkit-carbon-3132.jnilib undefined reference to _objc_getClass expected to be defined in WebKit
resolved fixed
3f7ecfe
["bundles/org.eclipse.swt/Eclipse", "SWT", "Browser/carbon/org/eclipse/swt/browser/Browser.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-13T18:06:52Z"
"2005-05-03T14:20:00Z"
94,818
Bug 94818 XGetModifierMapping call in Display leaks
XFreeModifiermap has to be called.
resolved fixed
2474a35
["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/motif/org/eclipse/swt/internal/motif/OS.java", "bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/widgets/Display.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-11T22:05:46Z"
"2005-05-11T19:33:20Z"
94,546
Bug 94546 ToolItem uses pixmap instead of pixbuf
The methods ToolItem.gtk_enter_notify_event() and ToolItem.gtk_leave_notify_event() use the pixmap instead of the pixbuf for the hot image and image.
resolved fixed
fd611b1
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/ToolItem.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-11T22:01:39Z"
"2005-05-10T21:20:00Z"
77,658
Bug 77658 Buttons have first few pixels cut off in RIGHT_TO_LEFT (BIDI)
20041102 If you set the orientation of a composite to RIGHT_TO_LEFT you will get the first few pixels cut off on a button. STEPS 1) Launch Eclipse on Hebrew 2) Select the Debug dialog - Revert and Apply are cut off
resolved fixed
e59050e
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Button.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-11T21:46:24Z"
"2004-11-03T16:40:00Z"
94,815
Bug 94815 Decorations.setDefaultButton() does not check for null
Build: 3.1 M7 candidate On macosx, Decorations.setDefaultButton(Button) does not check if the button is null (a valid argument). The line: if (button.isDisposed()) throws an NPE when I pass in null. The win32 implementation does a null check.
resolved fixed
73744d9
["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Decorations.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-11T20:55:43Z"
"2005-05-11T19:33:20Z"
94,421
Bug 94421 NPE showing a CoolBar's dropdown
null
resolved fixed
483dd18
["bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/widgets/Menu.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-10T17:10:47Z"
"2005-05-10T15:46:40Z"
93,918
Bug 93918 Combo value changes without event
Try the following: 1) Click on the combo 2) Type the letter "f" 3) Click on the down triangle 4) Click again to close (or lose focus) The text displayed is now "foo", but no events (selection or modify) were fired to indicate this. public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); final Combo combo = new Combo(shell, SWT.NONE); combo.setItems(new String[] {"foo","bar"}); combo.setBounds(10, 10, 90, 30); combo.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { System.out.println("Widget Selected" + combo.getText()); } }); combo.addModifyListener(new ModifyListener() { public void modifyText(ModifyEvent e) { System.out.println("modify " + combo.getText()); } }); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } }
resolved fixed
d4538e7
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Combo.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-10T16:50:39Z"
"2005-05-06T14:33:20Z"
94,202
Bug 94202 Activate event not fired when ON_TOP window hidden
null
resolved fixed
c199270
["bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/widgets/Shell.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-09T21:17:36Z"
"2005-05-09T20:20:00Z"
93,870
Bug 93870 [Import/Export] Usability problem with the Import > Existing Project into Workspace
1) Select File > Import > Existing Project into Workspace. 2) Select root directory, click browse and select a directory that contains some projects... this will populate the 'Projects' tree. 3) Notice that the radio button for 'Select archive file' is now selected (and not the 'select root directory' button). 4) Click the 'Refresh' button - All of the projects in the 'Projects' view will now disappear as a result of the 'select archive file' radio button being selected.
closed fixed
e3be5d4
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Button.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Composite.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Control.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-09T19:30:27Z"
"2005-05-06T03:26:40Z"
72,784
Bug 72784 Close override redirect while opening another loses focus forever
I200408241200, GTK+ 2.4.4, KDE 3.2.3, Linux 2.6.7 I tried binding "Open editor drop-down" to "Ctrl+X B". If you then press, "Ctrl+X" and wait, a key assist dialog opens. This dialog is an override redirect window. Now, if you press "B", it will close the key assist dialog and open the editor drop-down. The editor drop-down is also an override redirect shell. Focus disappears. The second override direct shell never closes. You can click around, but I haven't managed to find a way to motivate keyboard focus to come back again.
resolved fixed
b1a2239
["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/Shell.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-09T18:12:15Z"
"2004-08-27T15:20:00Z"
93,501
Bug 93501 ToolBar.computeSize is returning a much wider width than it used to
N20050503-0010 See attched screen shot
resolved fixed
dcd9f72
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/ToolBar.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2005-05-09T17:28:48Z"
"2005-05-03T08:46:40Z"