id
int64
1
6.5k
bug_id
int64
2.03k
426k
summary
stringlengths
9
251
description
stringlengths
1
32.8k
report_time
stringlengths
19
19
report_timestamp
int64
1B
1.39B
status
stringclasses
6 values
commit
stringlengths
7
9
commit_timestamp
int64
1B
1.39B
files
stringlengths
25
32.8k
project_name
stringclasses
6 values
2,261
157,865
Bug 157865 moving column can lose sort indicator
3.3M2, gtk+ 2.4.13 - run the ControlExample and go to either the Table or Tree tab - turn on: Multiple Columns Header Visible Sort Indicator Moveable Columns Resizable Columns - this puts the sort indicator in the first column - move the first column to follow the second column, this works fine - now move this column back to become the first ordered column and note that the sort indicator has disappeared
2006-09-19 13:09:27
1,158,690,000
resolved fixed
0a51a00
1,158,880,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TableColumn.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TreeColumn.java
SWT
2,262
149,774
Bug 149774 [Program] Improve command handling of Program#execute(String) on Win32
Program#execute(String) of the following extensions does not work. .bmp .zip .url
2006-07-05 21:55:50
1,152,150,000
resolved fixed
9a60b6b
1,158,790,000
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/PROCESS_INFORMATION.java bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/STARTUPINFO.java bundles/org.eclipse.swt/Eclipse SWT Program/win32/org/eclipse/swt/program/Program.java
SWT
2,263
157,689
Bug 157689 Problem loading BMP with negative height (bottom-up)
I will attach the image.
2006-09-18 15:44:22
1,158,610,000
resolved fixed
99e437f
1,158,790,000
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/WinBMPFileFormat.java bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/WinICOFileFormat.java
SWT
2,264
157,914
Bug 157914 Unable to open external Safari browser
null
2006-09-19 18:10:20
1,158,700,000
verified fixed
04d9b26
1,158,760,000
bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/OS.java bundles/org.eclipse.swt/Eclipse SWT Program/carbon/org/eclipse/swt/program/Program.java
SWT
2,265
156,675
Bug 156675 Repaint issue with radio buttons in preference page
Version: 3.3.0 Build id: I20060906-1200 1. Open the preference dialog 2. Select the Java preferecne page 3. resize the dialog horizontally as small as it will go 4. slowly increase the width of the dialog (from the right hand side) 5. The radio buttons in the "When opening a type heirarchy" section do not repaint correctly. hovering over the buttons forces them to replaint and the issue goes away. See screenshot for an example.
2006-09-08 05:51:43
1,157,710,000
resolved fixed
6afd0f7
1,158,700,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Group.java
SWT
2,266
157,292
Bug 157292 MouseWheel event provides wrong coordinates in case of negative x coordinate (event outside widget)
FIX LRESULT org.eclipse.swt.widgets.Widget#wmMouseWheel (int hwnd, int wParam, int lParam) LINE 1975 BUG CODE: lParam = pt.x | (pt.y << 16); FIXED CODE: lParam = ((int)pt.x & 0xFFFF) | ((int)pt.y << 16);
2006-09-14 06:41:28
1,158,230,000
resolved fixed
9ffef92
1,158,620,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Widget.java
SWT
2,267
157,634
Bug 157634 Sibling decorations traversed in wrong order when decorations disposed
When decorations is disposed, a list of sibling decorations is traversed in dispose method, towards the beginning of the list and then again from the end to find the one that will get focus. It seems however that the list should be traversed in the opposite direction (method traverseDecorations should be called with true instead of false) beacuse the current behaviour gives focus to the bottom decorations instead of the next-to-top-most one one the top-most one is disposed. Snippet showing the problem will follow shortly.
2006-09-18 10:06:03
1,158,590,000
resolved fixed
780634e
1,158,610,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Decorations.java
SWT
2,268
157,478
Bug 157478 Web services wizard scale and graph all weird
Driver: wtp-sdk-M-1.5.1-200609150551.zip When I bring up the Web service wizard with this driver, the client scale is all red and the graphic for the service and client scale is partiall grey. Andrew said he saw similar problem with the 0914 driver on SLES 9.0 yesterday but the problem went away with a different JDK. I'm using "J2RE 1.4.2 IBM Windows 32 build cn142ifx-20060209 (SR4-1)" when I saw that problem on Windows XP. I had been using the same JRE before on WTP drivers and did not see this problem. We'll do a bit more problem isolation to see which JDK seems to be causing the problem and which one don't. We did not make any change in this area in recent weeks.
2006-09-15 11:01:12
1,158,330,000
closed fixed
59fc77a
1,158,600,000
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/JPEGDecoder.java bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/LEDataInputStream.java
SWT
2,269
151,348
Bug 151348 drop text in Text widget duplicates text
gtk 2.8.17 on FC5 swt HEAD Take snippet78, replace the Label by Text(shell, SWT.SINGLE). Run the snippet, selected the 'Text' from the first widget, drag and grop on the second widget. You will get 'TextText'. Now go on the other direction, You will get 'TextTextTextText'. I think we have our DropTarget *AND* the native drop target from the gtkentry in action here. VI: Correct me if I'm wrong. The framework you added to Control#gtk_button_press_event, Text#dragDetect is there specifically to stop the native drag, right ? (Isn't here any easy way to do it? Like return 1 in the drag_data_get or drag_start?) If you need code to stop the native drag. Where is the code to stop the native drop ? is it not need ?
2006-07-20 18:27:42
1,153,430,000
resolved fixed
d38e8db
1,158,360,000
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/DropTarget.java
SWT
2,270
151,633
Bug 151633 [KeyBindings] 2 popups displayed on Linux
In certain controls in the workbench (like a table control), when we press Shift+F10 to display the context menu, 2 popup menus (one for the control, another one for the OS) are displayed. steps to recreate problem: - start Eclipse on Linux - give focus to the Navigtor view - press Shift+F10
2006-07-24 16:00:11
1,153,770,000
closed fixed
2579c3d
1,158,350,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/List.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java
SWT
2,271
157,404
Bug 157404 ArrayIndexOutOfBoundsException during opening code assist proposals
Using latest integration build (20060912-0800), I got this in a code assist operation: java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy(Native Method) at java.lang.String.getChars(String.java:726) at org.eclipse.swt.widgets.Table.wmNotifyChild(Table.java:5532) at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4143) at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:1482) at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:3796) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3304) at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1539) at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:1659) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4072) at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:1883) at org.eclipse.swt.widgets.Table.callWindowProc(Table.java:255) at org.eclipse.swt.widgets.Table.callWindowProc(Table.java:183) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3340) at org.eclipse.swt.widgets.Table.windowProc(Table.java:4680) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4072) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1964) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3007) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:348) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:165) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:341) at org.eclipse.core.launcher.Main.basicRun(Main.java:285) at org.eclipse.core.launcher.Main.run(Main.java:987) at org.eclipse.core.launcher.Main.main(Main.java:962) Steps to reproduce: 1) Check out org.eclipse.jdt.core.tests.model project from CVS (you might need other jdt core tests project in order to compile). 2) Go to org.eclipse.jdt.core.tests.model.DeleteTests 3) Go to line 43 (contains createJavaProject("P"); ) 4) On this line, code assist at the location with "|" createJavaProject(|<-- CODE ASSIST HERE "P"); 5) Once the proposals are opened, slightly move the mouse. 6) I got the .log file full of the stack trace above.
2006-09-14 19:53:45
1,158,280,000
resolved fixed
2187afd
1,158,340,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java
SWT
2,272
155,389
Bug 155389 Cursors don't show coloured if created from Image
Eclipse 3.2 If you create a Cursor from an Image, the result is a black/white Cursor, even if the Image is coloured. This was seen on Mac Intel. Ben
2006-08-28 10:13:32
1,156,770,000
resolved fixed
be37fa8
1,158,270,000
bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/cocoa/Cocoa.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/Cursor.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Display.java
SWT
2,273
108,175
Bug 108175 TableColumn sort indicator not updating to new Font properly
Run this Snippet: public class Main { static boolean twist = true; public static void main(String[] args) { final Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); final Font bigFont = new Font(display, display.getSystemFont().getFontData()[0].getName(), 20, SWT.NORMAL); final Table table = new Table(shell, SWT.BORDER); table.setHeaderVisible(true); final TableColumn col = new TableColumn(table, SWT.NONE); col.setText("Column"); table.setSortColumn(col); table.setSortDirection(SWT.DOWN); Button b = new Button(shell, SWT.PUSH); b.setText("Click Me"); b.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { if (twist) table.setFont(bigFont); else table.setFont(display.getSystemFont()); col.pack(); twist = !twist; } }); col.pack(); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } } } } The Sort-Indicator is becoming very big, while the Font is changed to the Default Font on the Table. Ben
2005-08-26 16:30:27
1,125,090,000
resolved fixed
bff1739
1,158,180,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
SWT
2,274
114,244
Bug 114244 CCombo computeSize needs to max item width with text width
The following few lines of code create a CCombo that has too small a preferred size to display all of the text: cCombo = new CCombo(shell, SWT.BORDER); for (int i = 0; i < 5; i++) { cCombo.add("item" + i); } cCombo.setText("CCombo"); This is because the string "CCombo" is wider than "item0", "item1", etc. I believe the preferred width calculation needs to take the max width of the text (if set) and the items (if set).
2005-10-28 15:37:49
1,130,530,000
resolved fixed
86d77d9
1,158,070,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java
SWT
2,275
155,224
Bug 155224 NPE in CCombo.setVisible(false) if some of affected listeners has disposed it
null
2006-08-25 09:52:17
1,156,510,000
resolved fixed
b440095
1,158,000,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java
SWT
2,276
152,769
Bug 152769 StackOverflowError (recursive callWindowProc)
I20060803-0835 I got the SOE below after pressing Ctrl+Space in a Java Editor. The proposals list quickly showed up, but then I got the workbench "Internal error" dialog. This happens reproducably in my workspace with the code below; but I could NOT reproduce in an empty workspace. package xy; public class Try { public static void main(String[] args) { System.out.println(IFace.CONST); // content assist after I of IFace } } interface IFace { int CONST= 1 << 3; } !ENTRY org.eclipse.ui 4 0 2006-08-03 19:38:08.860 !MESSAGE java.lang.StackOverflowError !STACK 0 java.lang.StackOverflowError at org.eclipse.swt.internal.win32.OS.SendMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.SendMessage(OS.java:2519) at org.eclipse.swt.widgets.Table.windowProc(Table.java:4524) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4054) at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:1847) at org.eclipse.swt.widgets.Table.callWindowProc(Table.java:258) at org.eclipse.swt.widgets.Table.callWindowProc(Table.java:183) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3340) at org.eclipse.swt.widgets.Table.windowProc(Table.java:4581) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4054) at org.eclipse.swt.internal.win32.OS.SendMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.SendMessage(OS.java:2519) at org.eclipse.swt.widgets.Table.setScrollWidth(Table.java:3934) at org.eclipse.swt.widgets.Table.wmNotifyChild(Table.java:5370) at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:3812) at org.eclipse.swt.widgets.Composite.WM_NOTIFY(Composite.java:1166) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3304) at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1539) at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:1646) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4054) at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:1847) at org.eclipse.swt.widgets.Table.callWindowProc(Table.java:258) at org.eclipse.swt.widgets.Table.callWindowProc(Table.java:183) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3340) at org.eclipse.swt.widgets.Table.windowProc(Table.java:4581) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4054) at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:1847) at org.eclipse.swt.widgets.Table.callWindowProc(Table.java:258) at org.eclipse.swt.widgets.Table.callWindowProc(Table.java:183) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3340) at org.eclipse.swt.widgets.Table.windowProc(Table.java:4581) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4054) at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:1847) at org.eclipse.swt.widgets.Table.callWindowProc(Table.java:191) at org.eclipse.swt.widgets.Table.callWindowProc(Table.java:183) at org.eclipse.swt.widgets.Table.windowProc(Table.java:4578) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4054) at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:1847) at org.eclipse.swt.widgets.Table.callWindowProc(Table.java:258) at org.eclipse.swt.widgets.Table.callWindowProc(Table.java:183) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3340) at org.eclipse.swt.widgets.Table.windowProc(Table.java:4581) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4054) at org.eclipse.swt.internal.win32.OS.SendMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.SendMessage(OS.java:2519) at org.eclipse.swt.widgets.Table.setScrollWidth(Table.java:3936) at org.eclipse.swt.widgets.Table.wmNotifyChild(Table.java:5370) at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:3812) [..] at org.eclipse.swt.widgets.Composite.WM_NOTIFY(Composite.java:1166) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3304) at org.eclipse.swt.widgets.Decorations.windowProc(Decorations.java:1539) at org.eclipse.swt.widgets.Shell.windowProc(Shell.java:1646) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4054) at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:1847) at org.eclipse.swt.widgets.Table.callWindowProc(Table.java:258) at org.eclipse.swt.widgets.Table.callWindowProc(Table.java:183) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3340) at org.eclipse.swt.widgets.Table.windowProc(Table.java:4581) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4054) at org.eclipse.swt.internal.win32.OS.UpdateWindow(Native Method) at org.eclipse.swt.widgets.Decorations.setVisible(Decorations.java:1348) at org.eclipse.swt.widgets.Shell.setVisible(Shell.java:1493) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.displayProposals(CompletionProposalPopup.java:1053) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.access$24(CompletionProposalPopup.java:1018) at org.eclipse.jface.text.contentassist.CompletionProposalPopup$12.run(CompletionProposalPopup.java:1416) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.jface.text.contentassist.CompletionProposalPopup.incrementalComplete(CompletionProposalPopup.java:1393) at org.eclipse.jface.text.contentassist.ContentAssistant.showPossibleCompletions(ContentAssistant.java:1581) at org.eclipse.jdt.internal.ui.javaeditor.CompilationUnitEditor$AdaptedSourceViewer.doOperation(CompilationUnitEditor.java:173) at org.eclipse.ui.texteditor.ContentAssistAction$1.run(ContentAssistAction.java:82) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.ui.texteditor.ContentAssistAction.run(ContentAssistAction.java:80) at org.eclipse.jface.action.Action.runWithEvent(Action.java:499) at org.eclipse.ui.commands.ActionHandler.execute(ActionHandler.java:185) at org.eclipse.ui.internal.handlers.LegacyHandlerWrapper.execute(LegacyHandlerWrapper.java:109) at org.eclipse.core.commands.Command.executeWithChecks(Command.java:461) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:424) at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:160) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:466) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:799) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:846) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:564) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:506) at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:122) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Display.filterEvent(Display.java:982) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:927) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:952) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:937) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:965) at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:961) at org.eclipse.swt.widgets.Widget.wmChar(Widget.java:1275) at org.eclipse.swt.widgets.Control.WM_CHAR(Control.java:3352) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3252) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4054) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1928) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2995) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:401) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) at org.eclipse.core.launcher.Main.basicRun(Main.java:280) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952)
2006-08-03 13:44:56
1,154,630,000
verified fixed
16d3df9
1,157,750,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java
SWT
2,277
32,683
Bug 32683 "up" arrow button displays as "right".
Run the control example. Select the Button tab. Select: Style = SWT.ARROW, Allignment = Up Notice that the arrows are pointing right.
2003-02-24 11:18:33
1,046,100,000
resolved fixed
6de25e1
1,157,650,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Button.java
SWT
2,278
151,150
Bug 151150 Multi Selection Tree only last 2 items are 'really' selected
swt 3.2 / head 20060719 windows vista beta 2 build 5384 Multi Selection Tree only the 2 last items selected are really selected, note that the tree doesn't redraw right away to during selection. You will need to redraw the tree (or press F2 in the snippet) after every selection so it shows that items are really selected. Weird: the items selected using the shift key work. public static void main(String[] args) { final Display display = new Display(); final Shell shell = new Shell(display); final Tree tree = new Tree(shell, SWT.MULTI); for (int i = 0; i < 60; i++) { TreeItem item = new TreeItem (tree, SWT.NONE); item.setText("Item " + i); } display.addFilter(SWT.KeyDown, new Listener() { public void handleEvent(Event event) { if (event.keyCode == SWT.F2) { TreeItem[] items = tree.getSelection(); for (int i = 0; i < items.length; i++) { System.out.println(items[i].getText()); } } System.out.println("------------"); tree.redraw(); } }); shell.setLayout(new FillLayout()); shell.setSize(400, 400); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); }
2006-07-19 18:04:59
1,153,350,000
resolved fixed
c41f2cb
1,157,580,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
SWT
2,279
153,841
Bug 153841 Macintosh only: values in some text fields of launch configuration dialog are slightly shifted, obscuring first character
On my Mac (OSX 10.4.7), when I bring up the launch configuration dialog via Run>Run... or Run>Debug..., some text fields initially show up with the value in the text field shifted just a tiny bit so that all or part of the first character in that text field is hidden. When you click in the text field, the contents immediately shift so that the entire text is visible. Although the following repro steps involve the JDT, the actual bug is not in the JDT -- it is somewhere else. Perhaps the Eclipse core, or perhaps SWT or JFace, I don't know. Repro steps: 1. Run any plain Java project, e.g. a hello-world app or whatever. This will have the side effect of creating a launch configuration for that project, and making it the "default" launch config (the first one that will be shown next time you bring up the launch config dialog). 2. Bring up the launch config dialog, via Run>Debug... or Run>Run... Results: Notice that in the "Name:" field at the top of the dialog, the name of the launch configuration is shifted just a bit, so that all or part of the first character is hidden. Also, same thing in the "Project:" and "Main class:" fields in the Main tab. This bug only seems to reproduce when the dialog first appears. If you click over to any other launch config, or to any other tab of the current launch config, then the problem fixes itself.
2006-08-14 19:53:08
1,155,600,000
resolved fixed
34d7113
1,157,580,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Text.java
SWT
2,280
154,928
Bug 154928 CCombo should fire Verify events
Combo does it, so CCombo should too
2006-08-23 16:06:10
1,156,360,000
resolved fixed
2ddfa3b
1,157,570,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java
SWT
2,281
154,732
Bug 154732 GraphicsAntialiasingTab fails under both Motif and GTK
When selecting the GraphicsAntialiasingTab, the GraphicsExample application dies. Steps for reproducing: - Check out org.eclipse.swt.examples from CVS - Put the attached file in your workspace under org.eclipse.swt.examples.graphics - Run the graphics example - In the tree, expand "Antialiasing" and select "Graphics" On Motif, the following output is displayed: X connection to :0.0 broken (explicit kill or server shutdown). On GTK, the following output is displayed: The application 'SWT' lost its connection to the display :0.0; most likely the X server was shut down or you killed/destroyed the application.
2006-08-22 14:25:54
1,156,270,000
resolved wontfix
3456723
1,157,560,000
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/graphics/GraphicAntialiasTab.java
SWT
2,282
154,736
Bug 154736 All Fonts appear the same
When using fonts in the GraphicsExample application, there does not seem to be any difference in appearance among different fonts names. Steps for reproducing: - Check out org.eclipse.swt.examples from CVS - Put the attached file in your workspace under org.eclipse.swt.examples.graphics - Run the graphics example - In the tree, expand "Font" and select "Custom Font" - Select different fonts in the drop-down and pay attention to their appearance. - Problem: they all look the same
2006-08-22 14:46:39
1,156,270,000
resolved fixed
1d25cf4
1,157,560,000
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/GC.java
SWT
2,283
154,746
Bug 154746 Path Clipping does not work properly on Mac, GTK and Motif
When applying a path clipping in the GraphicsExample application, the clipping does not appear as expected. Steps for reproducing: - Check out org.eclipse.swt.examples from CVS - Put the attached file in your workspace under org.eclipse.swt.examples.graphics - Run the graphics example - In the tree, expand "Clipping" and select "Path Clipping" - Select different items in the drop-down menu. - Note: that these clipping examples appear correctly on Windows.
2006-08-22 15:23:34
1,156,270,000
resolved fixed
0385a7e
1,157,560,000
bundles/org.eclipse.swt/Eclipse SWT/cairo/org/eclipse/swt/graphics/Path.java
SWT
2,284
150,300
Bug 150300 path.close() has no effect
In the attached file, path.close() has no effect.
2006-07-11 15:40:32
1,152,650,000
resolved fixed
884a6f8
1,157,560,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/Path.java
SWT
2,285
156,213
Bug 156213 BDI: Styledetxt setOrientation does not work, on the fly
I am trying to use the setOrientation function on the styledText widget. When using it, it does not show the carret at the correct position, and when changing from RTL -> LTR and back it draws the text on both sides (try selecting the text and on the othr side it is hidden , until u highlight it). In the example I add 3 styled texts. 1. initialized as LTR, 2. initialized as RTL 3. initialized without the flag A listener is put in place so when Ctrl+Shift is pressed, the GO changes. in widgets 1,2 the whole widget is disposed and a new one replaces it (this is the workaround). widget 3, only sets the setAligment, and setOrientation - this does not work ok. The workaround (create new widget) works, but is not good enough. <code> package test; import org.eclipse.jface.viewers.IStructuredContentProvider; import org.eclipse.jface.viewers.ITableLabelProvider; import org.eclipse.jface.viewers.LabelProvider; import org.eclipse.jface.viewers.Viewer; import org.eclipse.swt.SWT; import org.eclipse.swt.custom.StyledText; import org.eclipse.swt.custom.VerifyKeyListener; import org.eclipse.swt.events.VerifyEvent; import org.eclipse.swt.graphics.Image; import org.eclipse.swt.layout.FormAttachment; import org.eclipse.swt.layout.FormData; import org.eclipse.swt.layout.FormLayout; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Label; import org.eclipse.ui.ISharedImages; import org.eclipse.ui.PlatformUI; import org.eclipse.ui.part.ViewPart; public class View extends ViewPart { private StyledText styledTextNotWorking; private StyledText styledText; private StyledText styledTextRTl; public static final String ID = "test.view"; class VeryListener implements VerifyKeyListener { public void verifyKey(VerifyEvent e) { if ((e.stateMask & SWT.SHIFT) != 0 && e.keyCode == SWT.CTRL || ((e.stateMask & SWT.CTRL) != 0 && e.keyCode == SWT.SHIFT)) { StyledText widget = (StyledText) e.getSource(); Object ld = widget.getLayoutData(); String text = widget.getText(); Composite par = widget.getParent(); int offset = widget.getCaretOffset(); int newOrientation = widget.getOrientation() == SWT.RIGHT_TO_LEFT ? SWT.LEFT_TO_RIGHT : SWT.RIGHT_TO_LEFT; widget.removeVerifyKeyListener(listener); widget.dispose(); widget = new StyledText(par, SWT.MULTI | SWT.WRAP | SWT.BORDER | SWT.V_SCROLL | newOrientation); widget.addVerifyKeyListener(listener); widget.setText(text); widget.setLayoutData(ld); widget.setCaretOffset(offset); widget.setFocus(); par.layout(); } } } VeryListener listener = new VeryListener(); /** * The content provider class is responsible for providing objects to the * view. It can wrap existing objects in adapters or simply return objects * as-is. These objects may be sensitive to the current input of the view, * or ignore it and always show the same content (like Task List, for * example). */ class ViewContentProvider implements IStructuredContentProvider { public void inputChanged(Viewer v, Object oldInput, Object newInput) { } public void dispose() { } public Object[] getElements(Object parent) { return new String[] { "One", "Two", "Three" }; } } class ViewLabelProvider extends LabelProvider implements ITableLabelProvider { public String getColumnText(Object obj, int index) { return getText(obj); } public Image getColumnImage(Object obj, int index) { return getImage(obj); } public Image getImage(Object obj) { return PlatformUI.getWorkbench().getSharedImages().getImage( ISharedImages.IMG_OBJ_ELEMENT); } } /** * This is a callback that will allow us to create the viewer and initialize * it. */ public void createPartControl(Composite parent) { final Composite composite = new Composite(parent, SWT.NONE); composite.setLayout(new FormLayout()); FormData formData_1; { styledTextRTl = new StyledText(composite, SWT.V_SCROLL | SWT.BORDER | SWT.WRAP); formData_1 = new FormData(); formData_1.bottom = new FormAttachment(0, 115); formData_1.top = new FormAttachment(0, 40); formData_1.right = new FormAttachment(0, 195); formData_1.left = new FormAttachment(0, 15); styledTextRTl.setLayoutData(formData_1); styledTextRTl.setText(""); styledTextRTl.addVerifyKeyListener(listener); } Label ltrLabel; { ltrLabel = new Label(composite, SWT.CENTER); final FormData formData = new FormData(); formData.right = new FormAttachment(100, -5); formData.top = new FormAttachment(0, 5); formData.left = new FormAttachment(styledTextRTl, 0, SWT.LEFT); ltrLabel.setLayoutData(formData); ltrLabel.setText("LTR"); } Label rtlLabel; { rtlLabel = new Label(composite, SWT.CENTER); final FormData formData = new FormData(); formData.bottom = new FormAttachment(0, 160); formData.top = new FormAttachment(0, 137); formData.right = new FormAttachment(100, -5); formData.left = new FormAttachment(0, 25); rtlLabel.setLayoutData(formData); rtlLabel.setText("RTL"); } { styledText = new StyledText(composite, SWT.V_SCROLL | SWT.BORDER | SWT.WRAP | SWT.RIGHT_TO_LEFT); final FormData formData = new FormData(); formData.bottom = new FormAttachment(0, 260); formData.left = new FormAttachment(0, 25); formData.right = new FormAttachment(0, 245); formData.top = new FormAttachment(0, 195); styledText.setLayoutData(formData); styledText.addVerifyKeyListener(listener); } { styledTextNotWorking = new StyledText(composite, SWT.V_SCROLL | SWT.BORDER); styledTextNotWorking.addVerifyKeyListener(new VerifyKeyListener() { public void verifyKey(VerifyEvent e) { if ((e.stateMask & SWT.SHIFT) != 0 && e.keyCode == SWT.CTRL || ((e.stateMask & SWT.CTRL) != 0 && e.keyCode == SWT.SHIFT)) { styledTextNotWorking .setOrientation(styledTextNotWorking .getOrientation() == SWT.RIGHT_TO_LEFT ? SWT.LEFT_TO_RIGHT : SWT.RIGHT_TO_LEFT); // do we need aligment here? styledTextNotWorking.setAlignment(styledTextNotWorking .getAlignment() == SWT.RIGHT ? SWT.LEFT : SWT.RIGHT); } } }); final FormData formData = new FormData(); formData.bottom = new FormAttachment(0, 385); formData.right = new FormAttachment(0, 230); formData.top = new FormAttachment(0, 310); formData.left = new FormAttachment(0, 40); styledTextNotWorking.setLayoutData(formData); } } /** * Passing the focus request to the viewer's control. */ public void setFocus() { styledTextNotWorking.setFocus(); } } </code>
2006-09-05 11:20:41
1,157,470,000
resolved fixed
d0ee461
1,157,550,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Composite.java
SWT
2,286
155,624
Bug 155624 SWT Table column resize issue
If you double click the column resizer (line splitting two column in table column header) in a SWT Table with first column being numbers ,the column shrinks so that you cannot view the entire column data.This happens only for the first column with numbers. Usually the column should resize to show the datas properly .only the table column name is showed truncated.But here the column data is itself hidden.
2006-08-30 00:10:08
1,156,910,000
resolved fixed
f6e507b
1,157,500,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TableColumn.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TableItem.java
SWT
2,287
150,304
Bug 150304 cubicTo and quadTo methods of Path not working
The cubicTo and quadTo methods don't seem to be drawing any lines. The attached file contains code that can be used to reproduce this situation. Steps for reproducing: - Check out org.eclipse.swt.examples from CVS - Put the attached file in your workspace under org.eclipse.swt.examples.graphics - Run the graphics example - In the tree, expand "Misc" and select "Curves" - The expected result is to see the word "SWT" spelled out using cubic and quadratic curves
2006-07-11 15:53:27
1,152,650,000
resolved fixed
1e4d9b7
1,157,480,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/Path.java
SWT
2,288
156,027
Bug 156027 VerifyEvent e.doit inconsistent behavior on Linux GTK
Try running the code below, type in some text, select the text, and type 'a' to trigger the e.doit=false. On Windows and Mac, after pressing 'a', the selection remains selected which is what I expect. On Linux, pressing 'a' causes the selection to go away and the caret to move to the end of the selection. Is this normal behavior? public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setText("Shell"); shell.setSize(200, 200); shell.setLayout(new GridLayout()); Combo combo = new Combo(shell, SWT.NONE); combo.setLayoutData(new GridData(SWT.FILL, SWT.None, true, false)); combo.addVerifyListener(new VerifyListener() { public void verifyText(VerifyEvent e) { if (e.keyCode == 'a') { e.doit = false; } } }); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); }
2006-09-02 00:35:50
1,157,170,000
resolved fixed
8d021f6
1,157,480,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Spinner.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java
SWT
2,289
154,943
Bug 154943 JavaScript error with generated content from GWT
1) Screen cap of the JS error popup (attached in zip) 2) The page source that reproduces the problem (attached) - unzip com.ibm.threadanalyzer.zip onto any directory and open the tagui.html file 3) Eclipse 3.0.2, we can not move off this version (its required by WED) 4) Using GWT toolkit (generated html & JS). Issue only appears on SWT Browser Widget. IE and Firefox run the generated GWT code w/o any issues or status icons of JS errors. If you need anything else, just let me know. thank you.
2006-08-23 17:41:55
1,156,370,000
resolved fixed
f60510e
1,157,480,000
bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/WebSite.java
SWT
2,290
155,801
Bug 155801 Table column tooltip disappears after scrolling
null
2006-08-31 07:49:34
1,157,030,000
resolved fixed
364f2b8
1,157,090,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java
SWT
2,291
155,916
Bug 155916 Classes in org.eclipse.swt.opengl have warning comments in Javadoc
This package is public however the two classes in it GLCanvas and GLData have Javadoc comments that state the following: WARNING API STILL UNDER CONSTRUCTION AND SUBJECT TO CHANGE Should these warnings be removed?
2006-08-31 20:01:42
1,157,070,000
resolved fixed
49c8a41
1,157,080,000
bundles/org.eclipse.swt/Eclipse SWT OpenGL/win32/org/eclipse/swt/opengl/GLCanvas.java
SWT
2,292
154,052
Bug 154052 Table tooltip does not show after selection of a table item
The tooltip for table item (per row based) stop showing as soon as you make a selection to a row. You will have to move the mouse outside of the table area (or to the column header) and then move back in, the tooltip will then be displayed. This problem only happens to the Linux OS. Same code on Windows works fine. Here is the example code for reproducing the problem: import org.eclipse.swt.*; import org.eclipse.swt.graphics.*; import org.eclipse.swt.layout.*; import org.eclipse.swt.widgets.*; public class TableTooltipTest { Table table; public static void main (String[] args) { final Display display = new Display (); final Shell shell = new Shell (display); shell.setLayout (new FillLayout ()); final Table table = new Table(shell, SWT.BORDER | SWT.FULL_SELECTION | SWT.V_SCROLL | SWT.H_SCROLL | SWT.MULTI); table.setHeaderVisible(true); table.setLinesVisible (true); String[] titles = {"Description", "Command", "Time", "User"}; for (int i=0; i<titles.length; i++) { TableColumn column = new TableColumn (table, SWT.NONE); column.setText (titles [i]); } int count = 5; for (int i=0; i<count; i++) { TableItem item = new TableItem (table, SWT.NONE); item.setText (0, "Method List:"+i); item.setText (1, "AdminApp.List(xxxx-"+i+")"); item.setText (2, "12:01:0"+i); item.setText (3, "user-"+i); } for (int i=0; i<titles.length; i++) { table.getColumn (i).pack (); } table.setSize (table.computeSize (SWT.DEFAULT, 200)); Listener tableListener = new Listener () { public void handleEvent (Event event) { switch (event.type) { case SWT.MouseHover: { TableItem item = table.getItem (new Point (event.x, event.y)); if (item != null) { table.setToolTipText(item.getText (1)); } } } } }; table.addListener (SWT.Dispose, tableListener); table.addListener (SWT.KeyDown, tableListener); table.addListener (SWT.MouseMove, tableListener); table.addListener (SWT.MouseHover, tableListener); shell.pack (); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } }
2006-08-16 10:16:13
1,155,740,000
resolved fixed
dee160f
1,157,060,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.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/TableColumn.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolBar.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolItem.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TreeColumn.java
SWT
2,293
155,162
Bug 155162 Alt+Numpad_Divide issues two key events
Pressing Alt+Numpad_Divide or Shift+Alt+Numpad_Divide seems to issue two key events. Easy to see in Preferences -> Keys -> press [Shift+]Alt+Numpad_Divide in the "Key Sequence" Name field. All's OK for the other control key combinations (Shift+Numpad_Divide, Ctrl+Numpad_Divide, Shift+Control+Numpad_Divide), Numpad_Divide by itself, and also Ctrl+Alt+Numpad_Divide. This appears to be the case for Eclipse R3.1 as well.
2006-08-24 22:45:54
1,156,470,000
resolved fixed
475fd80
1,156,950,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Widget.java
SWT
2,294
155,390
Bug 155390 Cursor ignores horizontal hotspot location and uses vertical instead
On Mac in both Cursor constructors that take a hostpot location, the following line cursor.hotSpot_h = (short)Math.max(0, Math.min(15, hotspotY - minX)); should be fixed to this: cursor.hotSpot_h = (short)Math.max(0, Math.min(15, hotspotX - minX));
2006-08-28 10:15:19
1,156,770,000
resolved fixed
beb269b
1,156,870,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/Cursor.java
SWT
2,295
155,212
Bug 155212 Misprints in SWT Win32 code ?
null
2006-08-25 08:30:51
1,156,510,000
resolved fixed
7b0ca58
1,156,820,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Scale.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
SWT
2,296
154,961
Bug 154961 The ToolTip object is not disposed appropriately and prevents from creating another ToolTip on the same shell
the new ToolTip class in SWT 3.2 can not be disposed appropritately. On the same shell object, if a ToolTip (I used balloon style) is created and disposed, a second ToolTip (again, balloon style) object can be instantiated but will not be displayed. The parent Shell object keeps the OS handle of the balloon Tooltip handle, but handle is not reset when the destroytooltip() method in the Shell class is invoked. Since the old hanlde is still lingering aorund, Shell object thinks no need to ask the OS to create a new handle again.
2006-08-23 19:38:01
1,156,380,000
resolved fixed
587fce2
1,156,460,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ToolTip.java
SWT
2,297
147,418
Bug 147418 Control.getMonitor does not properly set client area
null
2006-06-16 05:21:49
1,150,450,000
resolved fixed
fc28786
1,156,430,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java
SWT
2,298
153,885
Bug 153885 TreeItem.getExpanded() does not work on Windows Mobile 2003
As the summary says, TreeItem.getExpanded() works fine on Windows XP but always returns false on Windows Mobile 2003 - see attached test case. In my application I need to only process nodes that are showing their children for efficiency reasons so if you could fix this or provide a work around I would appreciate it.
2006-08-15 06:08:13
1,155,640,000
resolved fixed
9e9764b
1,156,360,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TreeItem.java
SWT
2,299
154,611
Bug 154611 ComboViewerTest dies with BadMatch error
Our ComboViewerTest in org.eclipse.ui.tests dies about test 6 with: The program 'Gecko' received an X Window System error. This probably reflects a bug in the program. The error was 'BadMatch (invalid parameter attributes)'. (Details: serial 7863 error_code 8 request_code 1 minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.) I'm running Red Hat Enterprise Linux WS release 4 (Nahant Update 4) gtk2-2.4.13-19 Eclipse I20060816-1200 with my platform-ui and platform-tests directly from HEAD. PW
2006-08-21 16:48:50
1,156,190,000
resolved fixed
f5842c9
1,156,350,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java
SWT
2,300
154,198
Bug 154198 Flicker while scrolling scale widget
1. Create a Scale widget having White background 2. Run the application and scroll the scale. The scale widgets background flickers.
2006-08-17 07:06:43
1,155,810,000
resolved fixed
79c0d04
1,156,280,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Scale.java
SWT
2,301
63,793
Bug 63793 [encoding] DBCS3.2: some DBCS is displayed as dot on default font on WinXP/2003
OS: windows 2003 Language: Japanese Build level: I200405211200 JDK version: IBM JDK 1.4.2 Beta Steps to recreate problem: 1-launch a brand new Eclipse and checkout pre-defined java project 2-open a java file that contains Japanese text .... Error: all of katakana were displayed as ".", and Japanese comma was bogus Expected Result: in Eclipse 2.1.3, these characters were displayed fine. I guess font substitution in SWT has some errors for Japanese font.
2004-05-25 04:24:08
1,085,470,000
verified fixed
2d01213
1,155,850,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java
SWT
2,302
153,423
Bug 153423 Text and Spinner initially report incorrect preferred size
SWT-gtk, v3305, gtk2-2.8.10-36, pango-1.10.2-21 Text and spinner widgets do not seem to return their preferred size correctly when initially queried. - Run the provided test case - Expected output: text =Point {76, 23} spin1=Point {59, 23} spin2=Point {183, 61} - Actual output: text =Point {74, 21} spin1=Point {55, 21} spin2=Point {55, 21} Also note that as a result the on-screen layout is not as expected until the "Layout" button is pressed. --- import org.eclipse.swt.*; import org.eclipse.swt.graphics.*; import org.eclipse.swt.layout.*; import org.eclipse.swt.widgets.*; public class TextSpinnerLayoutTest { public static void main(String[] args) { Display display = new Display(); final Shell shell = new Shell(display); shell.setLayout(new GridLayout()); Font font = new Font(display, "Bitstream Vera Sans", 32, SWT.NORMAL); Text text = new Text(shell, SWT.SINGLE | SWT.BORDER); text.setText("Sample Text"); Spinner spin1 = new Spinner(shell, SWT.BORDER); spin1.setValues(12345, 0, 99999, 0, 1, 10); Spinner spin2 = new Spinner(shell, SWT.BORDER); spin2.setValues(12345, 0, 99999, 0, 1, 10); spin2.setFont(font); System.out.println("text =" + text .computeSize(SWT.DEFAULT, SWT.DEFAULT)); System.out.println("spin1=" + spin1.computeSize(SWT.DEFAULT, SWT.DEFAULT)); System.out.println("spin2=" + spin2.computeSize(SWT.DEFAULT, SWT.DEFAULT)); Button btn = new Button(shell, SWT.PUSH); btn.setText("Layout"); btn.addListener(SWT.Selection, new Listener() { public void handleEvent(Event e) { shell.layout(); } }); shell.setSize(300, 300); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } font .dispose(); display.dispose(); } }
2006-08-10 07:37:57
1,155,210,000
resolved fixed
0b1b16c
1,155,750,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Spinner.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java
SWT
2,303
147,673
Bug 147673 Quick-Typehierarchy's treeviewer cannot be collapsed with mouse
When opening a quick typehierarchy (Ctrl-T) on a type with several levels (e.g. java.awt.Window), the embedded treeviewer shows the usual handles for closing and opening subtrees. Clicking on such a handle opens the class next to the handle instead of opening/closing the subtree. Steps to reproduce: - open java.awt.Window in an editor - select 'Window' class name - press Ctrl-t - click on the little handle next to the "JDialog" entry
2006-06-18 17:03:30
1,150,660,000
resolved fixed
85dbb1e
1,155,750,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TreeItem.java
SWT
2,304
152,129
Bug 152129 cannot set enabled state on Vista
Hi ! This is error I get with Azureus on Vista Beta 2 (build 5384), which uses SWT (3139). Azureus uses "Category" tabs. If I run Azureus and I don't create any of this Categories, it works OK (somewhat, but that's another story). But when I create one of this Categories (My Cat for example, there should be three tabs displayed (All, Uncategorized, and My Cat. Problem is that when I do this, I get SWTError, cannot set enabled state. None of tabs is displayed, until I resize Split Windows, and when they are displayed, only All tab is visible. I am attaching how tabs should be displayed, how are displayed on Vista, and debug log from Azureus. I also tried with SWT from eclipse 3.2, but there was the same problem (and also some others, which is also another story). Andy
2006-07-28 08:29:53
1,154,090,000
resolved fixed
67315cd
1,155,660,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/MenuItem.java
SWT
2,305
152,937
Bug 152937 Regression: Line dash style is ignored
SWT-win32, v3305 When drawing, the line dash style is ignored. See test case and screenshot. --- import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; public class DrawingTest2 { public static void main(String[] args) { final Display display = new Display(); Shell shell = new Shell(display); shell.addListener(SWT.Paint, new Listener() { public void handleEvent(Event e) { e.gc.setForeground(display.getSystemColor(SWT.COLOR_BLACK)); e.gc.setLineDash(new int[] {5, 5}); e.gc.drawRectangle(10, 10, 50, 50); } }); shell.setSize(200, 200); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } }
2006-08-07 02:38:53
1,154,930,000
resolved fixed
feef6c8
1,155,580,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java
SWT
2,306
152,936
Bug 152936 Regression: GC.drawRectangle fills background in some cases
SWT-win32, v3305 GC.drawRectangle fills the background when it shouldn't. See test case and screenshot. --- import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; public class DrawingTest1 { public static void main(String[] args) { final Display display = new Display(); Shell shell = new Shell(display); shell.addListener(SWT.Paint, new Listener() { public void handleEvent(Event e) { e.gc.setBackground(display.getSystemColor(SWT.COLOR_RED)); e.gc.setForeground(display.getSystemColor(SWT.COLOR_BLACK)); e.gc.drawRectangle(10, 10, 50, 50); e.gc.fillRectangle(1, 1, 0, 0); e.gc.drawRectangle(70, 10, 50, 50); } }); shell.setSize(200, 200); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } }
2006-08-07 02:32:15
1,154,930,000
resolved fixed
ce9b902
1,155,580,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java
SWT
2,307
153,398
Bug 153398 Invalid thread access in Snippet133
Running SWT Snippet 133 (print text to printer) throws this exception: Exception in thread "Printing" org.eclipse.swt.SWTException: Invalid thread access at org.eclipse.swt.SWT.error(SWT.java:3374) at org.eclipse.swt.SWT.error(SWT.java:3297) at org.eclipse.swt.SWT.error(SWT.java:3268) at org.eclipse.swt.widgets.Widget.error(Widget.java:435) at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:331) at org.eclipse.swt.widgets.Control.getFont(Control.java:939) at org.eclipse.swt.snippets.Snippet133.print(Snippet133.java:230) at org.eclipse.swt.snippets.Snippet133$7.run(Snippet133.java:204) It works if you patch the line: printingThread.start(); with this: display.syncExec(printingThread);
2006-08-10 03:26:55
1,155,190,000
resolved fixed
11f3358
1,155,570,000
examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet133.java
SWT
2,308
151,767
Bug 151767 Table throws ArrayOutOfBounds Exception upon TableColumn.dispose()
If you haven't noted already, this is specific to the GTK version of SWT. I am running against GTK 2.2.4 on an x86 Linux system. I think there's an off-by-one issue in the Table class for gtk swt that occurs when you dispose of the last column in a table and you've set the fonts. Run the snippet below and click on the "Delete Last Col" button. public class RemoveTableColumn { public static void main(String[] args) { final Display display = new Display(); Shell shell = new Shell(display); FontData[] fontData = shell.getFont().getFontData(); for (int i = 0; i < fontData.length; i++) { fontData[i].setStyle(SWT.BOLD); } final Font boldFont = new Font(display, fontData); shell.setLayout(new RowLayout(SWT.VERTICAL)); final Table table = new Table(shell, SWT.BORDER | SWT.MULTI); table.setHeaderVisible(true); for (int i = 0; i < 4; i++) { TableColumn column = new TableColumn(table, SWT.NONE); column.setText("Column " + i); } final TableColumn[] columns = table.getColumns(); for (int i = 0; i < 12; i++) { TableItem item = new TableItem(table, SWT.NONE); for (int j = 0; j < columns.length; j++) { item.setText(j, "Item " + i); item.setFont(boldFont); } } for (int i = 0; i < columns.length; i++) columns[i].pack(); Button button = new Button(shell, SWT.PUSH); final int index = 1; button.setText("Insert Column " + index + "a"); button.addListener(SWT.Selection, new Listener() { public void handleEvent(Event e) { TableColumn column = new TableColumn(table, SWT.NONE, index); column.setText("Column " + index + "a"); TableItem[] items = table.getItems(); for (int i = 0; i < items.length; i++) { items[i].setText(index, "Item " + i + "a"); items[i].setFont(index, boldFont); } column.pack(); } }); button = new Button(shell, SWT.PUSH); button.setText("Delete 2nd Col (index 1)"); button.addListener(SWT.Selection, new Listener() { public void handleEvent(Event e) { TableColumn column = table.getColumn(1); try { column.dispose(); table.pack(); } catch (Exception e1) { e1.printStackTrace(); } } }); button = new Button(shell, SWT.PUSH); button.setText("Delete Last Col"); button.addListener(SWT.Selection, new Listener() { public void handleEvent(Event e) { TableColumn column = table .getColumn(table.getColumnCount() - 1); try { column.dispose(); table.pack(); } catch (Exception e1) { e1.printStackTrace(); } } }); shell.pack(); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } boldFont.dispose(); display.dispose(); } } It looks to me like the Font array allocation code in Table#destroyItem isn't allocating enough elements. I'm not sure I set fonts appropriately. I discovered ths problem using a TableViewer and was trying to simulate the font settings it does for me.
2006-07-25 17:09:44
1,153,860,000
resolved fixed
e70da51
1,155,570,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java
SWT
2,309
139,485
Bug 139485 [Drag & Drop] DnD auto-scroll support in StyledText is too slow
3.2 RC2 The DnD auto-scroll support is scrolling horizontally char by char which is unusable slow, e.g. have a line with 200 chars and then try to drop at the end of that line. I filed bug for that. Vertical scrolling could also be faster.
2006-05-01 09:33:17
1,146,490,000
verified fixed
a4feb6c
1,155,150,000
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/StyledTextDragAndDropEffect.java
SWT
2,310
152,718
Bug 152718 StyledText printing feature doesn't work
When I try to print StyledText content by calling method public Runnable print(Printer printer, StyledTextPrintOptions options); throws exception. I've noticed that it happen when styled text contains text with custom styles and not. For example first line is unstyled, second line has styled range with bold style. When I am trying print text rises exception: java.lang.NullPointerException at org.eclipse.swt.custom.StyledTextRenderer$LineInfo.<init>(StyledTextRenderer.java:82) at org.eclipse.swt.custom.StyledTextRenderer.copyInto(StyledTextRenderer.java:288) at org.eclipse.swt.custom.StyledText$Printing.cacheLineData(StyledText.java:236) at org.eclipse.swt.custom.StyledText$Printing.<init>(StyledText.java:225) at org.eclipse.swt.custom.StyledText.print(StyledText.java:5859)
2006-08-03 06:00:27
1,154,600,000
resolved fixed
4a0a765
1,154,630,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextRenderer.java
SWT
2,311
151,136
Bug 151136 Tree with TreeColumn loops forever if setWidth not called
swt 3.2/HEAD if the application code forgets to call TreeColumn#setWidth the code fails bad, apparently it loops forever, the scrollbar gone mad. public static void main(String[] args) { final Display display = new Display(); final Shell shell = new Shell(display); Tree tree = new Tree(shell, SWT.MULTI); TreeColumn column = new TreeColumn (tree, SWT.NONE); column.setText("Column0"); // column.setWidth(150); for (int i = 0; i < 60; i++) { TreeItem item = new TreeItem (tree, SWT.NONE); item.setText("Item " + i); } shell.setLayout(new FillLayout()); shell.setSize(400, 400); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } }
2006-07-19 16:53:57
1,153,340,000
resolved fixed
b2e9192
1,154,620,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
SWT
2,312
138,528
Bug 138528 Tooltips do not show after tool button pressed
eclipse-SDK-N20060425-0010-win32 If you got to any view and click on a button, then hover over that button you will not see a tooltip until you have hovered over another button in the same view. This was first noticed in the cheat sheet view which has only one button on the toolbar and so the tooltip never gets restored
2006-04-25 18:30:35
1,146,000,000
resolved fixed
2b80a14
1,154,560,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TabFolder.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ToolBar.java
SWT
2,313
151,893
Bug 151893 Issue with background images and CLabels
CLabels (and potentially other controls) have adverse effects on the painting of background images. When a control with a background image and a CLabel as a child is partially obscured by another shell huge amounts of cheese is generated wherever the shell travels. If the CLabel is changed to a label then this is not observed. Simple test case: package foo; import org.eclipse.swt.SWT; import org.eclipse.swt.custom.CLabel; import org.eclipse.swt.graphics.Image; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Label; import org.eclipse.swt.widgets.Shell; public class Snippet { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); Image background = new Image(display, "bg.gif"); Image buttonImage = new Image(display, "button.gif"); shell.setBackgroundMode(SWT.INHERIT_DEFAULT); shell.setBackgroundImage(background); Composite child = new Composite(shell, SWT.BORDER); child.setLayout(new FillLayout()); CLabel label = new CLabel(child, SWT.NONE); label.setImage(buttonImage); label.setText("Test"); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } background.dispose(); buttonImage.dispose(); } } This has been observed in XP and 2k.
2006-07-26 14:49:04
1,153,940,000
resolved fixed
a9de84c
1,154,550,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Composite.java
SWT
2,314
147,228
Bug 147228 Table column tooltip disappears after clicking the header
null
2006-06-15 02:22:23
1,150,350,000
resolved fixed
a06ac5b
1,154,530,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
SWT
2,315
152,385
Bug 152385 Tooltip is not shown all the time
I have two text controls (Text1 and Text2) in a shell, and I call setToolTipText on both the text controls. When the shell is first launched, Text1 gets the focus by default. Tooltip shows up when I move the cursor to Text1. If I now click on Text1, tooltip does not show up on Text1 anymore until I click on Text2 and bring the cursor back to Text1. I am only using text controls here as an example. I can see the same problem on other types of controls. The following snippet shows the problem: public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); Text text1 = new Text(shell, SWT.NONE); text1.setBounds(100, 100, 100, 30); text1.setText("My text1"); text1.setToolTipText("tooltip1"); Text text2 = new Text(shell, SWT.NONE); text2.setBounds(300, 100, 100, 30); text2.setText("My text2"); text2.setToolTipText("tooltip2"); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); }
2006-07-31 18:26:35
1,154,380,000
resolved fixed
7c28c08
1,154,530,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Shell.java
SWT
2,316
124,836
Bug 124836 CLabel.shortenText(...) takes almost forever for long text
I20060114-0800 CLabel.shortenText(...) takes almost forever for long text To test: 1. open the Java Editor 2. add the following long line into it ==> should get red squiggles 3. select the line and move the caret left or right ==> this causes the status line to be updated with a long text
2006-01-23 05:09:29
1,138,010,000
resolved fixed
ec11b1e
1,154,460,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CLabel.java
SWT
2,317
139,854
Bug 139854 swt dependecy on msvfw32.dll
This msvfw32.dll is not available in pre install recovery environments and causes all applications based on swt to not work. Either swt needs to look at windows/system32 folder to look for this dll or need to remove this dependency to allow swt to run in windows PE.
2006-05-02 17:32:55
1,146,610,000
resolved fixed
ac5f577
1,154,450,000
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java
SWT
2,318
150,155
Bug 150155 Clicking in textfield sets cursor to one before last char
If i rename packages, or search a token clicking into the appropriate textfield sets the cursor to position before last char. Example: de.myown.projec|t instead of de.myown.project|
2006-07-10 11:10:57
1,152,540,000
resolved fixed
abda4ec
1,154,380,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java
SWT
2,319
145,704
Bug 145704 Previous Word commands are too 'greedy'
null
2006-06-07 02:42:42
1,149,660,000
resolved fixed
710d1ad
1,154,370,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/TextLayout.java
SWT
2,320
62,627
Bug 62627 "Next Word" definition
The new "camelCaseAware" definition of a word is great, but I think it is missing two obvious behaviors. 1) IF_I_HAVE_A_CONSTANT, it should be recognize _ as a word separator. 2) If I have a parameterList(alpha,beta,gamma), it should recognize the comma between words as separator.
2004-05-18 07:55:14
1,084,880,000
resolved fixed
1b4857c
1,154,370,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/TextLayout.java
SWT
2,321
149,970
Bug 149970 Intermittent build failures -eclipse-master-${buildId}.zip doesn't exist
Warning: Could not find file/builds/N200607070010/src/N20060707-0010/eclipse-master-N20060707-0010.zip There are intermittent failures on the build machine where the eclipse-master.zip doesn't exist. I'll try passing more memory to the vm at this stage of the build. It's a difficult problem to reproduce. It only seems to happen every 10 builds or so.
2006-07-07 09:35:37
1,152,280,000
resolved fixed
1f027c5
1,154,100,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Control.java
SWT
2,322
151,137
Bug 151137 thumb doesn't work for Tree with column
swt 3.2 / head 20060719 windows vista beta 2 build 5384 dragging the thumb doesn't work with Tree with columsn public static void main(String[] args) { final Display display = new Display(); final Shell shell = new Shell(display); Tree tree = new Tree(shell, SWT.MULTI); TreeColumn column = new TreeColumn (tree, SWT.NONE); column.setText("Column0"); column.setWidth(150); for (int i = 0; i < 60; i++) { TreeItem item = new TreeItem (tree, SWT.NONE); item.setText("Item " + i); } shell.setLayout(new FillLayout()); shell.setSize(400, 400); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } }
2006-07-19 16:58:32
1,153,340,000
resolved fixed
c6a55e6
1,154,040,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
SWT
2,323
104,750
Bug 104750 GTK FileDialog ignores setFileName() for SWT.OPEN dialogs if no filterPath set
The GTK version of FileDialog only honors setFileName() if setFilterPath() is also called before open(), apparently because presetChooserDialog() has its call to OS.gtk_file_chooser_set_filename() wrapped in an "if (filterPath.length () > 0)". However, presetClassicDialog() appears to do the right thing. Is there some issue with the new GTK file chooser where giving it only a relative filename won't work? If so, can the current working directory be used as a default filterPath?
2005-07-21 19:50:07
1,121,990,000
resolved fixed
a84b31d
1,153,950,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/FileDialog.java
SWT
2,324
137,621
Bug 137621 License Agreement Does Not Display on HP-UX
Our license agreement does not display in the Feature License panel of the Install wizard on HP-UX. The license is quite long, but does display properly on other platforms -- including other UNIX platforms such as Solaris/Motif and AIX. I don't know what the size limit is, but I tried a very small license and it did display properly. But IBM legal has given me the license to be used and I can't edit it down.
2006-04-19 18:39:38
1,145,490,000
resolved fixed
4743acf
1,153,930,000
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/Font.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/internal/Converter.java
SWT
2,325
148,522
Bug 148522 Table.showSelection() doesn't show selection with images
null
2006-06-24 04:24:55
1,151,140,000
resolved fixed
19f993e
1,153,920,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java
SWT
2,326
141,254
Bug 141254 Linux GTK and TableEditor Failure Assertion
TableEditor seems not to work in the SWT 3232 build (Eclipse 3.2 RC3). The attached snippet shows the problem. Double clicking on a value item and then pressing any key (for editing the field) leads to the following error: (Gecko:5704): Gtk-CRITICAL **: gtk_widget_event: assertion `WIDGET_REALIZED_FOR_EVENT (widget, event)' failed
2006-05-11 05:47:06
1,147,340,000
resolved fixed
0dc67b2
1,153,860,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java
SWT
2,327
150,407
Bug 150407 PNG Load Speed Terrible for medium to large images
PNGs more than a couple of megs are extremely slow for loading in Windows. I have reviewed the fragment "org.eclipse.swt.win32.win32.x86" and discovered it is due to the org.eclipse.swt.internal.image.PNGFileFormat. I'm not well versed in image loading, but this PNGFileFormat loads image data in chunks, then checks byte by byte for compression, end of header, etc. This is extremely slow and I can't imagine the format is meant to be used this way. In doing some comparisons, a large png of 14 megs took 13,891 milliseconds and a medium png of 2 megs took 6,312 milliseconds using the SWT image loading. Both images are compressed. AWT took under a second for both. I assume some of this has to do with optimizations performed by the OS. The point is, I could load these images faster by using the AWT loader and converting to SWT ImageData than I can using the natural SWT loader. I am using a Windows XP machine with 500 megs of RAM, a NVIDIA GeForce 6600 GT (128-bit, 128 megs of RAM), an an Intel Pentium 4 2.53 GHz.
2006-07-12 11:50:37
1,152,720,000
resolved fixed
a84996b
1,153,770,000
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/PNGFileFormat.java bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/PngDecodingDataStream.java bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/PngHuffmanTable.java bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/PngHuffmanTables.java bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/PngInputStream.java bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/PngLzBlockReader.java bundles/org.eclipse.swt/Eclipse SWT/common_j2me/org/eclipse/swt/internal/Compatibility.java bundles/org.eclipse.swt/Eclipse SWT/common_j2se/org/eclipse/swt/internal/Compatibility.java
SWT
2,328
142,335
Bug 142335 Perf Fix for: org.eclipse.swt.internal.image.PngHuffmanTable.generateTable
org.eclipse.swt.internal.image.PngHuffmanTable.generateTable has a bubble sort of the Huffman table in the top of the routine. Profiling an application opening a window with a moderate number of PNG images (around a dozen) shows this method to be accounting for 43% of the the instructions executed in the open window scenario. Changing the code to sort via java.util.Arrays.sort() results in reducing the instruction counts for this method to less than 5% of the scenario total. (email me if you want the chaged code) For the specfic scenario I'm looking at (window w/ about a dozen PNGs) the improved code is noticeably (to an end user) quicker.
2006-05-17 16:17:22
1,147,900,000
closed fixed
47dc3f8
1,153,510,000
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/PngHuffmanTable.java
SWT
2,329
150,764
Bug 150764 [PATCH] fix compiler warnings for GCC 4.x
Attached patch fixes a few warnings for the vararg calls.
2006-07-16 20:44:37
1,153,100,000
resolved fixed
a85637b
1,153,410,000
bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ClassData.java bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/FieldData.java bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/Flags.java bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ItemData.java bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/JNIGenerator.java bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/MethodData.java bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/NativesGenerator.java bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/ParameterData.java bundles/org.eclipse.swt.tools/JNI Generation/org/eclipse/swt/tools/internal/StructsGenerator.java
SWT
2,330
151,228
Bug 151228 three-button Mozilla "confirm" dialog has same label on all three buttons
null
2006-07-20 09:45:06
1,153,400,000
resolved fixed
4a3f9af
1,153,400,000
bundles/org.eclipse.swt/Eclipse SWT Browser/motif/org/eclipse/swt/browser/PromptService.java bundles/org.eclipse.swt/Eclipse SWT Browser/mozilla/org/eclipse/swt/browser/PromptService.java
SWT
2,331
81,834
Bug 81834 BIDI: StyledText does not convert European Number to Arabic Number
StyledText does not convert European Number(EN) to Arabic Number(AN) on WinXP. How to reproduce: 1. Change the user language to Arabic on "Regional and Language Options" panel on Windows. (do not specify "-nl" command line arguments.) 2. Create Shell with SWT.RIGHT_TO_LEFT flag. 3. add StyledText on the shell. 4. Set text "012345 abc 012345" in StyledText widget. 5. Open and run the shell. Result: All the numbers are still European Number characters on StyledText widget. Text widget displays the first "012345" as Arabic Numbers. This is reproducible on swt-I20041221-0800-win32. (also, in Eclipse3.0GA) Thanks, Hiro
2004-12-22 21:09:38
1,103,770,000
resolved fixed
9694ee4
1,153,170,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java
SWT
2,332
150,314
Bug 150314 NullPointerException while creating a pattern
Steps for reproducing: - Check out org.eclipse.swt.examples from CVS - Put the attached file in your workspace under org.eclipse.swt.examples.graphics - Run the graphics example - In the tree, expand "Misc" and select "RGB" The following stack trace was displayed: Exception in thread "main" java.lang.NullPointerException at org.eclipse.swt.graphics.Pattern.createPattern(Pattern.java:187) at org.eclipse.swt.graphics.GC.setTransform(GC.java:3151) at org.eclipse.swt.examples.graphics.RGBTab.paint(RGBTab.java:82) at org.eclipse.swt.examples.graphics.GraphicsExample$2.handleEvent(GraphicsExample.java:127) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1496) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1520) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1505) at org.eclipse.swt.widgets.Control.drawWidget(Control.java:662) at org.eclipse.swt.widgets.Widget.kEventControlDraw(Widget.java:1001) at org.eclipse.swt.widgets.Canvas.kEventControlDraw(Canvas.java:137) at org.eclipse.swt.widgets.Widget.controlProc(Widget.java:352) at org.eclipse.swt.widgets.Display.controlProc(Display.java:838) at org.eclipse.swt.internal.carbon.OS.ReceiveNextEvent(Native Method) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2932) at org.eclipse.swt.examples.graphics.GraphicsExample.main(GraphicsExample.java:509)
2006-07-11 16:22:32
1,152,650,000
resolved fixed
b0c1063
1,153,170,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/GC.java
SWT
2,333
127,469
Bug 127469 When a GC uses advanced and alphas the clipping is ignored in some cases.
It appears that when alpha blending is enabled, TextLayout is not honoring the clip rect that I set on the offscreen GC. But if I disable the alpha blending or diable the advanced rendering, it seems to work properly.
2006-02-13 10:16:47
1,139,840,000
resolved fixed
1ff9f8c
1,153,160,000
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/gdip/Gdip.java bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java
SWT
2,334
128,200
Bug 128200 TextLayout ignores transformations on GC
M4 Text layout ignores any transformations set onto the GC. For example the following code doesn't work: protected void doPaint(PaintEvent e) { GC gc= e.gc; gc.setAdvanced(true); System.out.println("Advanced: " + gc.getAdvanced()); Transform transform= new Transform(getDisplay()); transform.translate(0, 0); gc.setTransform(transform); fTextLayout.setWidth(getClientArea().width); for (int i= 0; i < 10; i++) { fTextLayout.setText("Dirk Baeumer"); fTextLayout.draw(gc, 0, 0); transform.translate(0, 30); gc.setTransform(transform); } transform.dispose(); gc.setAdvanced(false); } All texts are drawn at position (0,0)
2006-02-16 09:28:22
1,140,100,000
resolved fixed
f69de09
1,152,810,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java
SWT
2,335
141,138
Bug 141138 Pixel corruption involving SWT.DOUBLE_BUFFERED, GC.setAdvanced() and TextLayout
SWT-win32, v3232 with GDI+ DLL - Run the test case below - Drag the shell off the screen, then back -> pixel corruption occurs --- import org.eclipse.swt.*; import org.eclipse.swt.graphics.*; import org.eclipse.swt.layout.*; import org.eclipse.swt.widgets.*; public class PaintingTest { public static void main(String[] args) { final Display display = new Display(); Font font = new Font(display, "Arial", 12, SWT.BOLD); final TextLayout layout = new TextLayout(display); layout.setFont(font); layout.setText("Sample Text"); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); final Canvas cnv = new Canvas(shell, SWT.DOUBLE_BUFFERED); cnv.addListener(SWT.Paint, new Listener() { public void handleEvent(Event e) { Point size = cnv.getSize(); e.gc.setAdvanced(true); e.gc.setBackground(display.getSystemColor(SWT.COLOR_RED)); e.gc.fillRectangle(10, 10, size.x - 20, size.y - 20); layout.draw(e.gc, 10, 10); } }); shell.setSize(300, 300); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } layout .dispose(); font .dispose(); display.dispose(); } }
2006-05-10 16:02:08
1,147,290,000
resolved fixed
da6280e
1,152,810,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java
SWT
2,336
150,099
Bug 150099 Menu class has a public '_setVisible(boolean)' method.
On 3.2.0, I noticed that there is a public _setVisible(boolean) method in the org.eclipse.swt.widgets.Menu class for linux gtk. My examination of 3.1.2's source code indicates that the problem was present back then as well. I took a look at win32 and carbon's implementation and both of them have this method marked with package visibility instead of public. Perhaps it really is supposed to be public for the gtk due to implementation reasons? I don't really know, but if that's the case, there should be some javadoc documentation indicating what it's for and whether developers should call it, because right now there is no javadoc for it right now.
2006-07-09 17:45:36
1,152,480,000
resolved fixed
ee359c5
1,152,730,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Menu.java
SWT
2,337
87,279
Bug 87279 6 different methods cause pens to be constructed and selected
There are 6 different methods on GC which result in a call to setPen(), which constructs and selects a Pen. This does not reflect the behavior of native C programs which would construct the proper Pen the first time, without intermediate, unused Pens. GC should only construct Pens which are actually needed, tracking the intermediate state locally until pen creation occurs. I haven't benchmarked anything yet, so I'd be willing to run some profiling of extpen creation overhead. An alternative is to add some setAll() method which takes all paremeters at once.
2005-03-07 11:17:12
1,110,210,000
resolved fixed
d01fac9
1,152,570,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GCData.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Path.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Canvas.java
SWT
2,338
109,843
Bug 109843 Non-resizable table columns resized by CTRL+KEYPAD_ADD
null
2005-09-18 17:32:40
1,127,080,000
resolved fixed
9ba2e13
1,152,210,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
SWT
2,339
146,250
Bug 146250 [SWT] Columns of Table widget cannot be resized, except for by dragging a mouse
It seems that Table widget has provided no alternative ways to resize its columns, except for dragging a mouse. I think that resize by keyboard is necessary for accessibility.
2006-06-09 09:31:25
1,149,860,000
resolved fixed
3f44515
1,152,200,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
SWT
2,340
134,760
Bug 134760 Performance of GC.fill* methods on GTK
The following example from Ian Bull on the SWT newsgroup demonstrates that GC.fill* methods are very slow on GTK. The time is being spent in OS.gdk_gc_get_values(handle, values). We could cache the GdkGCValues and this would bring the GTK performance in line with Windows. import org.eclipse.swt.*; import org.eclipse.swt.events.*; import org.eclipse.swt.graphics.*; import org.eclipse.swt.layout.*; import org.eclipse.swt.widgets.*; public class ImagePerformance { /** * Small performance test * @author Ian Bull * */ public static void main( String[] args ) { Display display = new Display(); final Color white = new Color(display, 255, 255, 255); final Color red = new Color(display, 255, 0, 0); final Color blue = new Color(display, 0, 0, 255); Shell shell = new Shell( display ); shell.setText("Canvas Performance"); shell.setSize(600,600); FillLayout fl = new FillLayout(SWT.VERTICAL); fl.marginHeight = 10; fl.marginWidth = 10; fl.spacing = 10; shell.setLayout( fl ); final Canvas canvas = new Canvas( shell, SWT.DOUBLE_BUFFERED); canvas.setBackground(white); Button button = new Button( shell, SWT.PUSH ); button.setText("Run Test"); button.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { canvas.redraw(); long start = System.currentTimeMillis(); canvas.update(); long end = System.currentTimeMillis(); System.out.println("Total: " + ( end - start )); } }); canvas.addPaintListener(new PaintListener() { public void paintControl(PaintEvent e) { if (true) return; e.gc.setBackground(red); e.gc.fillRectangle(3, 3, 600, 300); for ( int i = 0; i < 200; i++ ) { for ( int j = 0; j < 200; j++ ) { e.gc.setBackground(blue); e.gc.fillOval(i*4, j*4, 3,3); } } e.gc.setBackground(red); } }); shell.open(); while ( !shell.isDisposed() ) { if ( !display.readAndDispatch() ) display.sleep(); } white.dispose(); red.dispose(); blue.dispose(); display.dispose(); } }
2006-04-04 10:39:10
1,144,160,000
resolved fixed
82a1c09
1,152,130,000
bundles/org.eclipse.swt/Eclipse SWT Printing/motif/org/eclipse/swt/printing/Printer.java bundles/org.eclipse.swt/Eclipse SWT/cairo/org/eclipse/swt/graphics/Path.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/gtk/org/eclipse/swt/graphics/TextLayout.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/motif/org/eclipse/swt/graphics/Image.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/TextLayout.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Display.java
SWT
2,341
149,493
Bug 149493 UI-Thread blocked while Menu is visible
SWT: 3.2 Final MacOS X 10.4.6 with recent Java update Hardware: Mac Intel I saw this using RSSOwl. While loading some feeds, I clicked on a MenuItem of the main menu to have the entries visible. Usually, while loading Feeds, there is a progress-label indicating progress, but while having the Menu visible, nothing happens. The application is run from an application bundle (no java_swt bridge!) having the "StartOnMainThread" parameter supplied. Ben
2006-07-03 15:30:07
1,151,950,000
resolved fixed
5e05c86
1,152,130,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Menu.java
SWT
2,342
133,183
Bug 133183 Button widget with SWT.CHECK style is not showing foreground color when it is in selected/checked state
As per our requirement, we created a Button widget with style SWT.CHECK, i.e., displayed as a CheckBox. The CheckBox(button widget) is assigned a foreground color, for ex. red color, using setForeground() method. Also, the CheckBox widget is checked initially using setSelection(true). When I execute my application in Linux OS, the foreground color of CheckBox is not displayed whenever the widget is in selected/checked state. If I uncheck the CheckBox widget, the forground color is displayed. This inconsistent behavior is observed in Linux OS. Its working fine in Windows OS.
2006-03-24 13:02:18
1,143,220,000
resolved fixed
372ad0f
1,151,600,000
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Button.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ExpandItem.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Group.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Label.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/List.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/TabItem.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/Text.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolItem.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Widget.java
SWT
2,343
133,938
Bug 133938 Cactus code should automatically configure web.xml
Right now the user has to manually configure to the web.xml to have the cactus servlet. It would sure be nice and, I think, not too hard to make it add the server side configuration automatically, with prompting, of course. In order to do this, we are almost certainly going to have to move the cactus code to prevent circular dependencies.
2006-03-29 17:05:00
1,143,670,000
closed wontfix
60498a3
1,151,430,000
bundles/org.eclipse.swt/Eclipse SWT Program/win32/org/eclipse/swt/program/Program.java
SWT
2,344
140,244
Bug 140244 Eclipse 3.2 gtk RC2 dumps core on Solaris 9
Eclipse 3.2 RC2 dumps core on Solaris 9 at startup.... the following traceback is generated: An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0xDFD1557C Function=gtk_tooltips_force_window+0xB8 Library=/usr/lib/libgtk-x11-2.0.so.0.100.0 Current Java thread: at org.eclipse.swt.internal.gtk.OS._gtk_tooltips_force_window(Native Method) at org.eclipse.swt.internal.gtk.OS.gtk_tooltips_force_window(OS.java:6684) at org.eclipse.swt.widgets.Shell.setToolTipText(Shell.java:1638) at org.eclipse.swt.widgets.ToolItem.setToolTipText(ToolItem.java:1009) at org.eclipse.swt.widgets.ToolItem.setToolTipText(ToolItem.java:1003) at org.eclipse.jface.action.ActionContributionItem.update(ActionContributionItem.java:720) at org.eclipse.jface.action.ActionContributionItem.fill(ActionContributionItem.java:330) at org.eclipse.jface.action.ToolBarManager.update(ToolBarManager.java:317) at org.eclipse.jface.action.ToolBarManager.createControl(ToolBarManager.java:101) at org.eclipse.jface.action.ToolBarContributionItem.fill(ToolBarContributionItem.java:190) at org.eclipse.jface.action.CoolBarManager.update(CoolBarManager.java:919) at org.eclipse.jface.action.CoolBarManager.createControl(CoolBarManager.java:244) at org.eclipse.jface.internal.provisional.action.CoolBarManager2.createControl2(CoolBarManager2.java:76) at org.eclipse.jface.window.ApplicationWindow.createCoolBarControl(ApplicationWindow.java:513) at org.eclipse.ui.internal.WorkbenchWindow.createDefaultContents(WorkbenchWindow.java:952) at org.eclipse.ui.internal.WorkbenchWindowConfigurer.createDefaultContents(WorkbenchWindowConfigurer.java:610) at org.eclipse.ui.application.WorkbenchWindowAdvisor.createWindowContents(WorkbenchWindowAdvisor.java:267) at org.eclipse.ui.internal.WorkbenchWindow.createContents(WorkbenchWindow.java:898) at org.eclipse.jface.window.Window.create(Window.java:426) at org.eclipse.ui.internal.Workbench.busyOpenWorkbenchWindow(Workbench.java:789) at org.eclipse.ui.internal.Workbench.doOpenFirstTimeWindow(Workbench.java:1437) at org.eclipse.ui.internal.Workbench.access$10(Workbench.java:1435) at org.eclipse.ui.internal.Workbench$16.run(Workbench.java:1399) at org.eclipse.ui.internal.Workbench.runStartupWithProgress(Workbench.java:1421) at org.eclipse.ui.internal.Workbench.openFirstTimeWindow(Workbench.java:1397) at org.eclipse.ui.internal.WorkbenchConfigurer.openFirstTimeWindow(WorkbenchConfigurer.java:190) at org.eclipse.ui.application.WorkbenchAdvisor.openWindows(WorkbenchAdvisor.java:708) at org.eclipse.ui.internal.Workbench.init(Workbench.java:1085) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1847) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) at org.eclipse.core.launcher.Main.basicRun(Main.java:280) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952) I was using Sun JVM 1.4.2_08 but I also tried _04 and 1.5.0_06 with the same result.
2006-05-04 16:20:10
1,146,770,000
resolved fixed
7ba6227
1,151,420,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolTip.java
SWT
2,345
148,354
Bug 148354 Regression: Radio buttons fail to redraw background
[Setting "Version" to 3.2 since Bugzilla does not yet offer 3.3] SWT-win32, v3301 (HEAD), Windows Classic Theme - Run Snippet 214 - Click on some of the radio buttons -> The background is not redrawn, resulting in abandoned focus outlines and text that is getting bolder (ClearType=on)
2006-06-23 04:11:29
1,151,050,000
resolved fixed
ad7a9e5
1,151,090,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Button.java
SWT
2,346
147,423
Bug 147423 NPE when removing an item from a Table with custom draw hooks
We are using a Table with hooks to handle SWT.MeasureItem and SWT.PaintItem. When an item is being deleted from this table, a NPE is thrown because getBounds is invoked on an already disposed TableItem. The stack trace looks as follows: Thread [main] (Suspended (exception NullPointerException)) TableItem.getBounds(int, int, boolean, boolean, boolean, boolean, int) line: 234 Table.sendMeasureItemEvent(TableItem, int, int, int) line: 2904 Table.CDDS_SUBITEMPREPAINT(int, int) line: 481 [ ... removed ... ] Table.remove(int[]) line: 2445 A bit more detailed: 1) The item is being released and OS.LVM_DELETEITEM sent afterwards 2) This leads to Table.CDDS_SUBITEMPREPAINT being called, which in turn sends out a MeasureItem event 3) sendMeasureItemEvent will call item.getBounds on the already disposed item 4) getBounds accesses item.parent, which is null, because the item is disposed --- 1) Table.remove(int[]) line: 2445 --- if (item != null && !item.isDisposed ()) item.release (false); ignoreSelect = ignoreShrink = true; int code = OS.SendMessage (handle, OS.LVM_DELETEITEM, index, 0); --- 2) Table.CDDS_SUBITEMPREPAINT(int, int) line: 481 --- if (hooks (SWT.MeasureItem)) { sendMeasureItemEvent (item, nmcd.dwItemSpec, nmcd.iSubItem, nmcd.hdc); if (isDisposed () || item.isDisposed ()) return null; } --- 3) Table.sendMeasureItemEvent(TableItem, int, int, int) line:2904 --- RECT itemRect = item.getBounds (row, column, true, true, false, false, hDC); --- 4) TableItem.getBounds(int, int, boolean, boolean, boolean, boolean, int) line: 234 --- int columnCount = parent.getColumnCount ();
2006-06-16 06:37:35
1,150,450,000
resolved fixed
2bcce67
1,150,990,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java
SWT
2,347
115,947
Bug 115947 Accessibility : Cannot set tooltip Text for image in Table Column
To be Section 508 compliant, every image should have an Alt+text tooltip associated with it. When using images in a Table, you can't set a tooltip.
2005-11-10 21:36:20
1,131,680,000
resolved fixed
4db0328
1,150,830,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java
SWT
2,348
147,550
Bug 147550 VerifyEvent.doit=false does not work for Text
I have the following code within a view, where st is a StyledText widget: st.addVerifyKeyListener(new VerifyKeyListener() { public void verifyKey(VerifyEvent e) { if ((0x20 <= e.character) && (e.character <= 0x7E) && ((e.stateMask == SWT.NONE) || (e.stateMask == SWT.SHIFT))) { commandEntry.append(Character.toString(e.character)); commandEntry.setFocus(); e.doit = false; } } }); When run on Mac OS 10.4, Eclipse 3.1.2 or 3.2, this produces two copies of the character in commandEntry (which is a Text widget). Commenting out the commandEntry.append() line causes it to produce only one character. This snippet works properly on Windows XP.
2006-06-16 21:26:48
1,150,510,000
resolved fixed
7a99d68
1,150,830,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Control.java
SWT
2,349
146,575
Bug 146575 setCursor is ignored in the SWT Text under gtk-linux
The cursor in the swt text field is always the standard cursor, calls to setCursor with a different cursor don't show any effect. It works under Windows; following example program shows the difference on the gtk-linux platform: import org.eclipse.swt.SWT; import org.eclipse.swt.graphics.Cursor; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.widgets.*; public class CursorTest { public static void main(String[] args) { Display display = new Display (); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); Text text = new Text(shell, SWT.NONE); text.setText("this is a text"); text.setCursor(new Cursor(display, SWT.CURSOR_HAND)); Label label = new Label(shell, SWT.NONE); label.setText("this is a label"); label.setCursor(new Cursor(display, SWT.CURSOR_HAND)); shell.pack (); shell.open (); while (!shell.isDisposed()) { if (!display.readAndDispatch ()) display.sleep (); } display.dispose (); } } While the mouse cursor changes when it is over the label, it is not the correct cursor, when the mouse is over the text field.
2006-06-12 10:33:38
1,150,120,000
resolved fixed
529e0ca
1,150,400,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Spinner.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java
SWT
2,350
140,519
Bug 140519 StyledText error in getTextBounds (Does not count last newline)
A StyledText widget does not correctly calculate newlines in the getTextBounds method. If you have add a new line, and recompute getTextBounds, the new line is not calculated in the total size. Any characters on this new line, cause getTextBounds to calculate correctly. The snippet bellow demonstrates the problem: Launch as SWT app, and press "return" a few times. Notice the computed height is 0, for the first three newlines, then it can calculate the first line. Typing on any line changes the counts. import org.eclipse.swt.*; import org.eclipse.swt.custom.*; import org.eclipse.swt.events.ModifyEvent; import org.eclipse.swt.events.ModifyListener; import org.eclipse.swt.graphics.Rectangle; import org.eclipse.swt.layout.*; import org.eclipse.swt.widgets.*; public class Snippet163 { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); final StyledText text = new StyledText (shell, SWT.BORDER | SWT.MULTI | SWT.V_SCROLL); text.setText(""); text.addModifyListener(new ModifyListener() { public void modifyText(ModifyEvent e) { if (text.getCharCount() > 0) { Rectangle textRect = text.getTextBounds(0, text.getText().length() -1); System.out.println(textRect.height); } } }); shell.setSize(250,250); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } } tested on MacOS & Windows in Eclipse 3.2 RC3
2006-05-07 17:54:51
1,147,040,000
resolved fixed
10231dd
1,150,310,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
SWT
2,351
141,282
Bug 141282 DnD doesn't support special characters
DropTargetEvent.data returns wrong path for filenames containing special characters. Tested with german umlauten (aou...) e.g: /../KaAapitel_8.pdf for /../Kapitel_8.pdf /../KuAapitel_8.pdf for /../Kupitel_8.pdf /../KoAapitel_8.pdf for /../Kopitel_8.pdf /../K&#8730;upitel_8.pdf for /../Kpitel_8.pdf
2006-05-11 07:41:58
1,147,350,000
resolved fixed
ef13d35
1,150,240,000
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/carbon/org/eclipse/swt/dnd/FileTransfer.java
SWT
2,352
77,321
Bug 77321 StyledText's font appears inconsistent with GC.drawString(..) font
TextConsoleViewer (org.eclipse.ui.console plugin) uses GC.drawString(..) to change the color of an active console hyperlink. On mac this appears to change the fonts character spacing (ie the same string takes up more space). Code was just released to HEAD today. Please see TextConsoleViewer.paintControl(..) Will attach screen shot.
2004-10-29 14:17:18
1,099,070,000
resolved fixed
7d174ce
1,150,240,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/TextLayout.java
SWT
2,353
120,118
Bug 120118 "xxx.getDisplay().update" does..."xxx.getShell().update" doesn't
My new tracking behaviour is showing what I believe to be a bug in the Shell.update()...on Linux (at least). I'm dragging a control 'foo', a child of the shell, around the screen (doing setBounds repeatedly). After each move I'm trying to get the window in synch but calling "foo.getShell().update()" doesn't seem to work (with this call moving the control simply 'erases' the area it used to be). If I use "foo.getDisplay().update()" then everything seems to work. Since the drag logic can never damage an area outside foo's shell I'd expect that the "foo.getShell..." version should be optimal compared with the getDisplay() version. Let me know if you want a snippet or anything else I can provide...
2005-12-09 11:22:50
1,134,150,000
resolved fixed
0e121bf
1,150,130,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java
SWT
2,354
146,264
Bug 146264 StyledText with SWT.WRAP flag does not shape arabic letters
RHEL 4.0 gtk2-2.4.13-12 pango-1.6.0-7 package cairo is not installed Arabic letters are not properly shaped in a StyledText using SWT.WARP flag. Code to reproduce: import org.eclipse.swt.SWT; import org.eclipse.swt.custom.StyledText; 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; public class Bugzilla135075 { public static void main(String[] args) { Display display = new Display (); Shell shell = new Shell (display); shell.setText("Bugzilla #135075"); shell.setLayout(new GridLayout(2, false)); final StyledText text = new StyledText (shell, SWT.BORDER | SWT.WRAP); text.setLayoutData(new GridData(SWT.FILL,SWT.CENTER, true, false)); Button button = new Button(shell, SWT.PUSH); button.setText("Fill text"); //- This text is not properly shaped in the text field. text.setText("&#1575;&#1582;&#1578;&#1576;&#1575;&#1585;"); button.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { //- This time, the displayed text is correct. text.setText("&#1575;&#1582;&#1578;&#1576;&#1575;&#1585;"); } }); shell.pack(); shell.open(); while (!shell.isDisposed ()) { if (!display.readAndDispatch ()) display.sleep (); } display.dispose (); } } It is interesting to notice that the first setText call produces wrong shaping, but when the user edits the text field its content becomes correct. The setText call made through the button click produces always expected text.
2006-06-09 11:04:09
1,149,870,000
closed fixed
726f6fe
1,150,130,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/TextLayout.java
SWT
2,355
136,323
Bug 136323 Shell.getClientArea has side effect
I20060411 Calling Shell::getClientArea on a Shell without trims has the side effect of moving the client area by one pixel up- and leftwards. I will attach a snippet showing the problem.
2006-04-12 09:46:31
1,144,850,000
resolved fixed
06674d2
1,149,870,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java
SWT
2,356
136,472
Bug 136472 GC#drawText doesn't work with arabic text when advance is on
build Eclipse 3.2 M6 tested on gtk 2.4.4 and 2.8.2, same result. To reproduce the problem you need: use GC#drawString, have advance graphics on, use a arabic text sample (didn't last cjk or he). Here a snippet: public static void main(String[] args) { final Display display = new Display(); Shell shell = new Shell(display); shell.addListener(SWT.Paint, new Listener() { public void handleEvent(Event event) { GC gc = event.gc; gc.setAdvanced(true); if (!gc.getAdvanced()) { System.out.println("Advance graphics off"); } gc.setAntialias(SWT.ON); String string = "\u0627\u0644\u0627\u0634\u0643\u0627\u0644 \u063A\u064A\u0631 \u0645\u0642\u0628"; Font font = new Font(display, "Tahoma", 16, SWT.NORMAL); TextLayout layout = new TextLayout(event.display); layout.setFont(font); layout.setText(string); layout.draw(gc, 10, 10); layout.dispose(); gc.setFont(font); gc.drawString(string, 10, 70); font.dispose(); } }); shell.setSize(280, 240); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose (); }
2006-04-12 16:54:20
1,144,880,000
resolved fixed
ff95f18
1,149,790,000
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java bundles/org.eclipse.swt/Eclipse SWT/cairo/org/eclipse/swt/graphics/Path.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
SWT
2,357
110,555
Bug 110555 Draw2d Graphics line style setting not consistent
Attached is a simple lightweight draw2d app which tries to draw a line with the LINE_DASHDOT style, JOIN_ROUND and CAP_ROUND, but it doesn get drawn properly. Is there a specific order in which the line styles should be set? Similar SWT code works fine.
2005-09-25 23:06:53
1,127,700,000
resolved fixed
5782a7a
1,149,780,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java
SWT
2,358
142,800
Bug 142800 TVT3.2:TCT576: AR: BIRT: New Data Set Wizard
OS: Windows XP. Must Fix: YES. Blocking: No. Build Date: 0518 Component: BIRT - New Data Set Wizard. Language: AR Tester Name: Omar Bahy Scenario: 1- Right click on data set and choose "New Data Set". Click Finish 2- Inspect the SQL statement box. Problem: SQL statement box should be unmirrored to maintain readability. This article was reassigned from Category:''TVT/Testing''.
2006-05-19 12:34:30
1,148,060,000
closed fixed
58e02b4
1,149,720,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java
SWT
2,359
141,678
Bug 141678 [Browser] JavaDoc Hover/Browser-Widget doesn`t show Text
In Version 3.1.2 the JavaDocHover works, but if I press F2 I see an empty white page. Now I swiched to 3.2RC4 an the JavadocHover shows an empty white page, too (without pressing F2). I use the same Workspace, Project and JDK 1.5.0_06. After some research, I notice that the Browser-Widget is the problem. I changed the methode JavadocHover.getHoverControlCreator(): ... new AbstractReusableInformationControlCreator() { ... doCreateInformationControl(Shell parent){ return new DefaultInformationControl(...); } So, now I have the same behavior as in 3.1.2. I try Snippet136 (render HTML from memory) from the SWT-Snippet page to figure out whats wrong. The result from the Snippet was the same, an empty page (<HTML></HTML>) I change the default browser setting from WinXP to my Firefox-Browser, but this does not work. The Browser-Widget use the IE. Maybe its a SecuritySeeting thing from IE. I use the IE with the newest Patches. Any idea? How can I change the default Browser to FireFox?
2006-05-13 15:45:37
1,147,550,000
resolved fixed
0a3c803
1,149,720,000
bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/Browser.java
SWT
2,360
108,573
Bug 108573 Make Objective-C Runtime APIs public in SWT WebKit.java for MacOS X
Currently there are some methods defined to call Objective-C runtime APIs in org.eclipse.swt/Eclipse SWT Browser/carbon/org/eclipse/swt/browser/WebKit.java: static final native int objc_getClass(byte[] className); static final native int objc_msgSend(int object, int selector); static final native int objc_msgSend(int object, int selector, int arg0); static final native int objc_msgSend(int object, int selector, int arg0, int arg1); static final native int objc_msgSend(int object, int selector, int arg0, int arg1, int arg2); static final native int objc_msgSend(int object, int selector, int arg0, int arg1, int arg2, int arg3); static final native int sel_registerName(byte[] selectorName); These APIs are required to call Cocoa Objective-C APIs. But the current problem is these APIs are defined as package private only in org.eclipse.swt.browser. I think these APIs should be public, and move them in OS.java for MacOS X.
2005-09-01 10:22:37
1,125,580,000
resolved fixed
5bef072
1,149,710,000
bundles/org.eclipse.swt/Eclipse SWT Browser/carbon/org/eclipse/swt/browser/Browser.java bundles/org.eclipse.swt/Eclipse SWT Browser/carbon/org/eclipse/swt/browser/WebKit.java bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/cocoa/Cocoa.java bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/cocoa/NSPoint.java bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/cocoa/NSRect.java bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/cocoa/NSSize.java
SWT