issue_id
int64
2.03k
426k
title
stringlengths
9
251
body
stringlengths
1
32.8k
status
stringclasses
6 values
after_fix_sha
stringlengths
7
7
updated_files
stringlengths
29
34.1k
project_name
stringclasses
6 values
repo_url
stringclasses
6 values
repo_name
stringclasses
6 values
language
stringclasses
1 value
issue_url
null
before_fix_sha
null
pull_url
null
commit_datetime
unknown
report_datetime
unknown
26,004
Bug 26004 Removing a Text field leaves behind crud
Build 20021105 Linux-GTK 1. Go to the step filter preference page under "Window->Java->Debug->Step Filtering" 2. Press alt+f to create a new filter. An inline editor (a Text) appears. 3. Press alt+f again. The old editor is removed and a new editor is created. However, the new editor is smaller than the original editor and there is a line of garbage drawn under it. The code responsible for this action is org.eclipse.jdt.internal.debug.ui.JavaStepFilterPreferencePage.editFilter()
resolved fixed
277fb26
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Button.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-11-13T17:30:30Z"
"2002-11-11T21:26:40Z"
25,803
Bug 25803 StyledText should use new Font API
In order to have DBCS working properly in Motif the StyledText should use the new API in Font: public Font(Device device, FontData[] fds) For example, in the StyledTextRenderer constructor the code: FontData fontData = regularFont.getFontData()[0]; fontData.setStyle(fontData.getStyle() | SWT.BOLD); boldFont = new Font(device, fontData); Should be change to: FontData[] fontDatas = regularFont.getFontData(); for (int i = 0; i < fontDatas.length; i++) { fontDatas[i].setStyle(fontDatas[i].getStyle() | SWT.BOLD); } Similar changes may apply in other places, i haven't look it all...
resolved fixed
bf58d60
["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/StyledTextRenderer.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-11-12T19:32:29Z"
"2002-11-06T22:00:00Z"
23,935
Bug 23935 Text widget with Tree parent does not lose focus
null
resolved fixed
374a9ae
["bundles/org.eclipse.swt/Eclipse", "SWT/emulated/treetable/org/eclipse/swt/widgets/Tree.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-11-08T19:59:15Z"
"2002-09-20T19:26:40Z"
25,797
Bug 25797 GTK: Selection Index not preserved after Combo item removal
When I select an item programatically in a read-only Combo widget, and then remove an item above it, the selection index should not automatically be moved to the first item in the list (index=0). In the following test, I expect that "item 3" will remain selected even after "item 1" is removed. The expected output is: 2 1 But currently with SWT 2.111, GTK 2.0.5, on RH 7.2, it prints: 2 0 // ----------- begin testcase import org.eclipse.swt.SWT; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.widgets.Combo; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; public class TestSWTChoice { public static void main(String[] args) { final Display disp = Display.getDefault(); Shell shell = new Shell(disp); shell.setLayout(new FillLayout(SWT.VERTICAL)); final Combo combo = new Combo( shell, SWT.CLIP_CHILDREN | SWT.CLIP_SIBLINGS | SWT.READ_ONLY | SWT.DROP_DOWN); shell.setText("Choice Test"); shell.setSize(200, 200); shell.setLocation(0, 0); shell.open(); combo.add("Item 1"); combo.add("Item 2"); combo.add("Item 3"); combo.select(2); System.out.println(combo.getSelectionIndex()); combo.remove(0); System.out.println(combo.getSelectionIndex()); while (!shell.isDisposed()) { if (!disp.readAndDispatch()) { disp.sleep(); } } } }
resolved fixed
966d37c
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Combo.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-11-07T18:26:49Z"
"2002-11-06T19:13:20Z"
24,493
Bug 24493 cant type braces in java editor with italian keyboard in 2.1m1
In eclipse 2.1m1 its' impossible to type braces {} with an italian keyboard, (in italian standard keyhboard the key combination for { is greyalt+shift+e grave); one has to type braces using the alt+ansi code but this is very inpractical; the problem appears in 2.1m1 for the first time; can reproduce it on windows nt4/sp6 and windows 98SE
resolved fixed
0caff5d
["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/StyledText.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-11-01T19:34:44Z"
"2002-10-08T12:26:40Z"
24,273
Bug 24273 GP -Tree removeAll reboot windowsXp
build 20020924 ensure you are using common-control 6.0 - Run the test case. - Click in the test button, it will insert 350 items on Tree - Click in the test button again, it will call removeAll for the Tree - the removeall process is very slow, and eventually it will cause windows to reboot. Testcase: public static void main (String [] args) { Display display = new Display (); Shell shell = new Shell (display); shell.setLayout(new FillLayout()); final Tree tree = new Tree (shell, SWT.BORDER | SWT.FULL_SELECTION); Button button = new Button (shell, SWT.PUSH); button.setText("Test"); button.addListener(SWT.Selection, new Listener() { public void handleEvent(Event event) { if (tree.getItemCount() == 0) { for (int i =0; i< 350; i++) { TreeItem item = new TreeItem (tree, 0); item.setText("Text " + i); } } else { tree.removeAll(); } } }); shell.open (); while (!shell.isDisposed ()) { if (!display.readAndDispatch ()) display.sleep (); } display.dispose (); }
resolved fixed
be47c81
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Tree.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-11-01T19:14:03Z"
"2002-10-01T16:33:20Z"
22,052
Bug 22052 Launch configuration dialog loses workspace data dir
Build 20020730 Linux/Motif 1) Open the Launch Configuration dialog 2) Create a new Run-Time Worbench - the dialog reports that the data directory is not specified 3) Click click on 'Run-Time Workbench' (the parent of your configuration) in the list of launch configurations 4) Select your new launch configuration again - the data directory has been restored 5) Rename your launch configuration using the Name field 6) Press Apply to commit the changes - the dialog reports that the data directory is not specified 7) Repeat steps 3) and 4) - once again, the data directory is restored This behaviour does not occur on Linux/GTK or Windows.
resolved fixed
e451337
["bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/widgets/Combo.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-10-31T21:43:48Z"
"2002-07-30T20:13:20Z"
25,572
Bug 25572 missing horizontal scrollbar in tree viewers (outline, package explorer, ...)
I-20021030 linux-gtk: summary says it all
resolved fixed
c96e051
["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/TableColumn.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Tree.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-10-31T21:34:44Z"
"2002-10-31T10:26:40Z"
21,695
Bug 21695 Crash when starting eclipse on Solaris8 with java 1.4
Platform: SunOS guava 5.8 Generic_108528-07 sun4u sparc SUNW,Ultra-80 Java: java version "1.4.0" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92) Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode) Trace: java.lang.ArrayIndexOutOfBoundsException at org.eclipse.swt.graphics.ImageData.blit(ImageData.java:2318) at org.eclipse.swt.graphics.Image.putImage(Image.java:1200) at org.eclipse.swt.graphics.Image.init(Image.java:988) at org.eclipse.swt.graphics.Image.<init>(Image.java:446) at org.eclipse.jface.action.ActionContributionItem$ImageCache.getGrayImage (ActionContributionItem.java:105) at org.eclipse.jface.action.ActionContributionItem.updateImages (ActionContributionItem.java:602) at org.eclipse.jface.action.ActionContributionItem.update (ActionContributionItem.java:468) at org.eclipse.jface.action.ActionContributionItem.fill (ActionContributionItem.java:287) at org.eclipse.jface.action.ToolBarManager.update (ToolBarManager.java:230) at org.eclipse.ui.internal.WorkbenchWindow.addPerspectiveShortcut (WorkbenchWindow.java:294) at org.eclipse.ui.internal.WorkbenchPage.onActivate (WorkbenchPage.java:1516) at org.eclipse.ui.internal.WorkbenchWindow$7.run (WorkbenchWindow.java:1209) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:66) at org.eclipse.ui.internal.WorkbenchWindow.setActivePage (WorkbenchWindow.java:1196) at org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage (WorkbenchWindow.java:344) at org.eclipse.ui.internal.WorkbenchWindow$6.run (WorkbenchWindow.java:931) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:66) at org.eclipse.ui.internal.WorkbenchWindow.openPage (WorkbenchWindow.java:928) at org.eclipse.ui.internal.Workbench.openFirstTimeWindow (Workbench.java:730) at org.eclipse.ui.internal.Workbench.init(Workbench.java:566) at org.eclipse.ui.internal.Workbench.run(Workbench.java:1153) at org.eclipse.core.internal.boot.InternalBootLoader.run (InternalBootLoader.java:775) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.basicRun(Main.java:248) at org.eclipse.core.launcher.Main.run(Main.java:698) at org.eclipse.core.launcher.Main.main(Main.java:534)
resolved fixed
1946f53
["bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/graphics/GC.java", "bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/graphics/Image.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-10-30T23:35:49Z"
"2002-07-18T13:46:40Z"
24,757
Bug 24757 GTK: X pointer grab when resizing a table column
Build 20021009 Linux/GTK 1. Open the stack view. 2. Position the mouse on the border of a resizable column. 3. Press the right button. 4. Quickly, move the mouse and release the button. The cursor image remainds the resize image and no input events are managed. I have to kill the vm from a consol.
resolved fixed
2bae637
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Table.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-10-29T23:20:24Z"
"2002-10-14T15:40:00Z"
25,253
Bug 25253 Preference dialog doesn't display last preference page
Build 20021022 Linux-GTK 1. Open the preferences dialog. 2. Select a preference page (say, Java->Templates). 3. Close the dialog and reopen it. 4. The last page (Templates) flashes onto the screen for a moment and then the first preference page (Workbench) is displayed.
resolved fixed
e48bf6e
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Tree.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-10-29T21:27:53Z"
"2002-10-23T16:20:00Z"
25,399
Bug 25399 Drag and drop crashes Eclipse
The new GTK tree seems to support drag and drop, but my VM dies everytime I try to use D&D. I'm using JDK 1.4.1 on Mandrake 9.0 (gtk+2.0-2.0.6). I'll attach the entire file that's generated, but here's the stack trace: Current Java thread: at org.eclipse.swt.internal.gtk.OS.gtk_tree_view_get_column(Native Method) at org.eclipse.swt.widgets.TreeItem.getBounds(TreeItem.java:223) at org.eclipse.jdt.internal.ui.dnd.JdtViewerDropAdapter.getBounds(JdtViewerDropAdapter.java:217) at org.eclipse.jdt.internal.ui.dnd.JdtViewerDropAdapter.computeLocation(JdtViewerDropAdapter.java:198) at org.eclipse.jdt.internal.ui.dnd.JdtViewerDropAdapter.dragOperationChanged(JdtViewerDropAdapter.java:150) at org.eclipse.jdt.internal.ui.dnd.JdtViewerDropAdapter.dragEnter(JdtViewerDropAdapter.java:139) at org.eclipse.jdt.internal.ui.packageview.SelectionTransferDropAdapter.dragEnter(SelectionTransferDropAdapter.java:80) at org.eclipse.jdt.internal.ui.dnd.DelegatingDropAdapter.dragEnter(DelegatingDropAdapter.java:41) at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java:43) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:851) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:546) at org.eclipse.swt.dnd.DropTarget.notifyListeners(DropTarget.java:513) at org.eclipse.swt.dnd.DropTarget.dragMotion(DropTarget.java:433) at org.eclipse.swt.dnd.DropTarget.DragMotion(DropTarget.java:229) at org.eclipse.swt.internal.gtk.OS.gtk_main_iteration(Native Method) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1252) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1420) at org.eclipse.ui.internal.Workbench.run(Workbench.java:1403) at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:775) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.basicRun(Main.java:247) at org.eclipse.core.launcher.Main.run(Main.java:703) at org.eclipse.core.launcher.Main.main(Main.java:539)
resolved fixed
030b847
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/TableItem.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Tree.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/TreeItem.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-10-28T21:32:47Z"
"2002-10-25T18:20:00Z"
24,693
Bug 24693 org.eclipse.swt.graphics.GC.drawString() fails to draw euro sign
When you call org.swt.graphics.GC.drawString() with the text string containing euro sign, drawString() fails to draw it and the trailing characters. For example, if you call drawString() with 'ABC$DEF' ($ stands for euro sign), you will have only 'ABC' rendered and '$DEF' is lost. RedHad 7.2
verified fixed
8aaabca
["bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/internal/Converter.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-10-28T19:39:00Z"
"2002-10-11T12:40:00Z"
24,504
Bug 24504 StyledText - showSelection when selection RtoL problem
Build I20021008 If I have a selection where the cursor is on the left side then showSelection does not work with long lines. Test Case: 1. Open an editor 2. Add lots of characters (so that you need to scroll horizontally) 3. Go to the end of the line (End) 4. Press Shift+Home
resolved fixed
14fbe01
["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/StyledText.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-10-25T21:04:32Z"
"2002-10-08T15:13:20Z"
24,264
Bug 24264 StyledText Caused NPE while in word-wrap style
build 200209230010 While playing with the ControlExample in org.eclipse.swt.examples a NPE was thrown. I can not reproduce this and do not remeber what I did exactly. Basically I changed the style of a text part to bold and changed the size. Perhaps the stacktrace is useful anyway. java.lang.ArrayIndexOutOfBoundsException at org.eclipse.swt.custom.WrappedContent.getLine(WrappedContent.java:94) at org.eclipse.swt.custom.StyledText.wordWrapResize (StyledText.java:7666) at org.eclipse.swt.custom.StyledText.handleResize(StyledText.java:4946) at org.eclipse.swt.custom.StyledText$15.handleEvent (StyledText.java:4582) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:849) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:854) at org.eclipse.swt.widgets.Control.WM_SIZE(Control.java:3881) at org.eclipse.swt.widgets.Scrollable.WM_SIZE(Scrollable.java:300) at org.eclipse.swt.widgets.Composite.WM_SIZE(Composite.java:759) at org.eclipse.swt.widgets.Control.windowProc(Control.java:2747) at org.eclipse.swt.widgets.Display.windowProc(Display.java:2104) at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:1274) at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:73) at org.eclipse.swt.widgets.Control.windowProc(Control.java:2759) at org.eclipse.swt.widgets.Display.windowProc(Display.java:2104) at org.eclipse.swt.internal.win32.OS.SetWindowPos(Native Method) at org.eclipse.swt.widgets.Control.setBounds(Control.java:1767) at org.eclipse.swt.widgets.Control.setBounds(Control.java:1739) at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:683) at org.eclipse.swt.widgets.Composite.WM_SIZE(Composite.java:768) at org.eclipse.swt.widgets.Group.WM_SIZE(Group.java:359) at org.eclipse.swt.widgets.Control.windowProc(Control.java:2747) at org.eclipse.swt.widgets.Display.windowProc(Display.java:2104) at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:1212) at org.eclipse.swt.widgets.Group.callWindowProc(Group.java:125) at org.eclipse.swt.widgets.Control.windowProc(Control.java:2759) at org.eclipse.swt.widgets.Display.windowProc(Display.java:2104) at org.eclipse.swt.internal.win32.OS.EndDeferWindowPos(Native Method) at org.eclipse.swt.widgets.Composite.resizeChildren(Composite.java:355) at org.eclipse.swt.widgets.Composite.resizeChildren(Composite.java:321) at org.eclipse.swt.widgets.Composite.setResizeChildren (Composite.java:441) at org.eclipse.swt.widgets.Composite.layout(Composite.java:294) at org.eclipse.swt.widgets.Composite.layout(Composite.java:269) at org.eclipse.swt.examples.controlexample.Tab.setExampleWidgetSize (Tab.java:486) at org.eclipse.swt.examples.controlexample.Tab$8.widgetSelected (Tab.java:291) at org.eclipse.swt.widgets.TypedListener.handleEvent (TypedListener.java:87) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:833) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1622) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1368) at org.eclipse.swt.examples.controlexample.ControlExample.main (ControlExample.java:103) Exception in thread "main"
resolved fixed
bd48e2b
["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/StyledText.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-10-25T16:35:01Z"
"2002-10-01T13:46:40Z"
24,992
Bug 24992 Strange combo boxes on Compiler-Other Page
Linux-GTK 20021017 When you pull down one of the combo boxes in the Compiler-Other Preference Page the combo does not pull down but rather brings up a tiny scrolled composite STEPS 1) Open the Compiler->Other preference page 2) Pulldown on of the menus
resolved fixed
8e2ffd2
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Combo.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-10-24T23:36:21Z"
"2002-10-17T15:53:20Z"
24,150
Bug 24150 Shift-Tab does not shift left
20020924 linux-gtk (works on w2k) Select a few lines of text and press Shift-Tab. The text is not shifted, but the editor tab gets something like a focus.
resolved fixed
f2d755c
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Button.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Composite.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Control.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/MenuItem.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Text.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Widget.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-10-24T23:16:46Z"
"2002-09-26T17:06:40Z"
25,162
Bug 25162 GTK: Marking text using the mouse
I found this bug using the M1 and M2 releases of Eclipse for Linux-GTK. The bug is not present in the 2.0.0 and 2.0.1 releases. When selecting text (marked in blue) in an editor using the mouse, and "dragging" the mouse to select text which is not currently visible (i.e. single left clicking at some point in the visible text and then dragging the mouse below the editor view), Eclipse stops responding. If I then try to stop Eclipse, the OS tells me that: 'The Window "Java Browsing - Eclipse Platform" is not responding' and I then has to kill Eclipse. Doing this, Eclipse reports the following error (and exits): JVM terminated. Exit code=1 /coll/local/bin/java -cp /products/eclipse-2.1-M2/startup.jar org.eclipse.core.launcher.Main -os linux -ws gtk -arch x86 -showsplash /products/eclipse-2.1-M2/eclipse -showsplash 600 -data /home/cnc/eclipseprojects If I instead selects the text using the keyboard it works fine.
resolved fixed
afc0479
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Display.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-10-24T18:29:22Z"
"2002-10-22T07:00:00Z"
25,212
Bug 25212 GPF synchronizing files with new Tree implementation
build 20021022 and later. The List, Tree and Table widgets have been reimplemented using the new GtkTreeView widget. By doing this we were able to close many out standing problems. There is a known GPF when running the new implementation with gtk2-2.0.2. The steps to reproduce it is to modify a file and synchronize its project with the repository. This GPF is a bug on GTK2 and it has been fixed in later versions. We are trying to workaround it, but we have not found a solution yet. Here is the GTK configuration that I have been running and that does not shows this problem: gtk2-2.0.5 glib2-2.0.4 pango-1.0.3 atk-1.0.1 freetype-2.1.2-7 another alternative configuration is: gtk2-2.0.5 glib2-2.0.4 pango-1.0.1 atk-1.0.1 freetype-2.0.9-2
resolved fixed
79b22d4
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Tree.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-10-23T21:17:55Z"
"2002-10-22T18:06:40Z"
22,986
Bug 22986 SWT Controls Combo box Colors selection tool does not change foreground color
null
verified fixed
cf5ec10
["bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/widgets/Combo.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-10-21T16:05:21Z"
"2002-08-29T14:06:40Z"
25,053
Bug 25053 Cannot use the pull down menu in GTK
2.1 build 20021017 You cannot use the pulldown menu in GTK if you invoke it from Ctrl F10 as it will not have focus. STEPS 1) Open the packages view 2) Hit Ctrl F10 to get the pulldown menu 3) Use the arrow keys - no entry will be selected unless you bring the mouse over to give it focus
resolved fixed
cc47e7b
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Menu.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-10-18T17:59:11Z"
"2002-10-18T14:06:40Z"
24,805
Bug 24805 GTK: Text Widget, computeSize issue
Eclipse 20021009, gtk With the attached code the size of the text widget looks incorrect on gtk. Prior to resizing the widget, the text widget does not display any text. Once the widget is resized then the expected text is displayed.
resolved fixed
f9aa70e
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Text.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-10-16T18:04:39Z"
"2002-10-15T19:26:40Z"
24,663
Bug 24663 Focus not visible on radio buttons
Build 20021001 Radio buttons do not show the hashed line around them that indicates focus on XP. This works fine in 2.0. STEPS 1)Run the example below 2) Use the arrow keys to go up and down - you will see you do have focus on the radio buttons but there is no visual indication of this. import org.eclipse.swt.widgets.*; import org.eclipse.swt.layout.*; import org.eclipse.swt.*; import org.eclipse.swt.events.*; import org.eclipse.swt.events.SelectionListener; import org.eclipse.swt.graphics.Point; public class FocusButtonTest { public static void main(String args[]) { Shell shell = new Shell(); Display display = shell.getDisplay(); Composite buttonComposite = new Composite(shell, SWT.NULL); buttonComposite.setLayout(new GridLayout()); Button radio1 = new Button(buttonComposite, SWT.RADIO); radio1.setText("Button 1"); Button radio2 = new Button(buttonComposite, SWT.RADIO); radio2.setText("Button 2"); //radio2.setFocus(); Point size = buttonComposite.computeSize(SWT.DEFAULT, SWT.DEFAULT); buttonComposite.setBounds(10, 10, size.x, size.y); //radio2.setFocus(); for (int i = 0; i < 3; i++) { Button b = new Button(shell, SWT.NULL); b.setBounds(20 + (i * 50), 120, 50, 25); b.setText("B::" + i); if (i == 1) { shell.setDefaultButton(b); System.out.println("Default should be: " + b.getText()); } } buttonComposite.pack(); shell.setBounds(100, 100, 200, 200); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } } }
resolved fixed
609de10
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Control.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-10-16T15:59:32Z"
"2002-10-10T20:00:00Z"
24,702
Bug 24702 WinCE: Image 32bits is incorrect
Following should display 2 blue squares. The second square appears red on WinCE. The bug is in Image.java - when creating a dibsection the BI_BITFIELDS masks are not written in the same endianess (little endian) as the ImageData.setPixel and ImageData.bitblit do (big endian). This is correct for 16 bits. public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display, SWT.CLOSE); /* 16bit blue square */ ImageData data16 = new ImageData(30,30, 16, new PaletteData(0x7C00, 0x3E0, 0x1F)); for (int y = 0; y < data16.height; y++) { for (int x = 0; x < data16.width; x++) { data16.setPixel(x,y,0x1f); } } /* 32bit blue square */ ImageData data32 = new ImageData(30,30, 32, new PaletteData(0xff00, 0xff, 0xff0000)); for (int y = 0; y < data32.height; y++) { for (int x = 0; x < data32.width; x++) { data32.setPixel(x,y,0xff0000); } } final Image image16 = new Image(display, data16); final Image image32 = new Image(display, data32); shell.addListener(SWT.Paint, new Listener() { public void handleEvent(Event e) { e.gc.drawImage(image16, 0, 0); e.gc.drawImage(image32, 0, 40); } }); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } }
resolved fixed
6d7b009
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/GC.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/Image.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-10-11T19:25:24Z"
"2002-10-11T15:26:40Z"
24,676
Bug 24676 StyledText - double click word select and caret placement
Double click word select places caret at beginning of word, not the end. Looks like this problem has been here for awhile, but went undetected due to JFace's override of double click behavior.
resolved fixed
9bd0310
["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/StyledText.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-10-11T18:03:48Z"
"2002-10-10T22:46:40Z"
20,258
Bug 20258 [CVS] Esc key doesn't work on Commit Dialog
Using F3, the Esc key doesn't close the Commit Dialog.
resolved fixed
a4937be
["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/win32/org/eclipse/swt/internal/win32/OS.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Control.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-10-11T14:51:53Z"
"2002-06-13T17:40:00Z"
24,593
Bug 24593 [DND] Navigator DND does not work
build 20021001 Dragging items in the resource navigator does not work. The drag icon appears, but there is no drop location feedback. NavigatorDragAdapter.dragStart checks whether the drag source actually has focus. Display.getFocusControl returns null even though the tree viewer does have focus. When I comment out this check and dragStart lets the drop operation continue the drop adapter still does not get a dragEnter event. Package view DND no longer works either. Did SWT change anything wrt. Motif DND that could have broken this?
resolved fixed
4a8b480
["bundles/org.eclipse.swt/Eclipse", "SWT", "Drag", "and", "Drop/motif/org/eclipse/swt/dnd/DropTarget.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "PI/motif/org/eclipse/swt/internal/motif/OS.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-10-11T13:58:11Z"
"2002-10-09T19:00:00Z"
24,677
Bug 24677 32 bit image fails with a certain mask
Following displays black instead of red. public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display, SWT.CLOSE); ImageData data = new ImageData(30,30, 32, new PaletteData(0xff, 0xff00, 0xff0000)); for (int y = 0; y < data.height; y++) { for (int x = 0; x < data.width; x++) { data.setPixel(x,y,0xff); } } final Image image2 = new Image(display, data); shell.addListener(SWT.Paint, new Listener() { public void handleEvent(Event e) { e.gc.drawImage(image2, 0, 0); } }); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } }
resolved fixed
5d4a728
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/Image.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-10-10T21:46:38Z"
"2002-10-10T22:46:40Z"
16,657
Bug 16657 [Open Modes] Search results doesn't respond to double click
Build 20020521 (1pm) This is with the workbench in "Single click, select on hover" mode. 1) Do a search for references that finds a match in a java file 2) Single click the result in the search view to open the java editor 3) Close the java editor that was opened in step 2). 4) Now double-click on the result in the search result view. Nothing happens. It seems to be non-responsive to double-clicks after the result has been opened once before. Another single click will open the result again.
resolved fixed
8ac3193
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Table.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-10-10T16:55:24Z"
"2002-05-21T19:40:00Z"
24,402
Bug 24402 OLE part have a access violation exception
First time to report a bug here -- and new to eclipse. This bug is relating to the OLE part, so only appear on Windows platform. I am trying to put some ActiveX control in my application, and I need to get a IDispatch property of an OleAutomation. I call OleAutomation.getProperty(), this function will then invoke the underlying IDispatch.invoke(), and later call into Variant.setData() to copy the result into the Variant structure. In the Variant.setData() function, there is something as: case COM.VT_DISPATCH : { int[] ppvObject = new int[1]; OS.MoveMemory(ppvObject, pData + 8, 4); dispatchData = new IDispatch(ppvObject[0]); dispatchData.AddRef(); break; } This is for when the return type is VT_DISPATCH, then create a IDispatch object and AddRef() to it. Unfortunately, ppvObject[0] can be null. In this case, AddRef() crash the system. I believe, this part of code should be: case COM.VT_DISPATCH : { int[] ppvObject = new int[1]; OS.MoveMemory(ppvObject, pData + 8, 4); if (ppvObject[0]!=null) { dispatchData = new IDispatch(ppvObject[0]); dispatchData.AddRef(); } else { dispatchData = null; } break; } BTW I like SWT very much.
resolved fixed
418189f
["bundles/org.eclipse.swt/Eclipse", "SWT", "OLE", "Win32/win32/org/eclipse/swt/ole/win32/Variant.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-10-10T13:54:37Z"
"2002-10-04T16:46:40Z"
24,358
Bug 24358 Incomplete JavaDoc on MenuItem.setText
There is no javadoc comment for MenuItem.setText. The javadoc in the superclass (Item) does not talk about the "content after the \t character is displayed in the accelerator text area" behavior that SWT supports. This behavior needs to be documented.
resolved fixed
db789b5
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Button.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Group.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Label.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/MenuItem.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/TabItem.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/ToolItem.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/TreeItem.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-10-04T14:39:59Z"
"2002-10-03T15:46:40Z"
24,313
Bug 24313 Can't toggle checkboxes in Table
In the Filters dialog, try checking/unchecking some filters. This is despite that the simple examples of Table with SWT.CHECK, works.
resolved fixed
04bfef4
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Table.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-10-02T18:41:20Z"
"2002-10-02T14:46:40Z"
24,225
Bug 24225 DragSourceAdapter incorrect JavaDoc
build 20020924 The Javadoc for the methods in DragSourceAdapter refers to non-existing DropTargetListener methods. I'm guessing this should be refering to DragSourceListener instead.
verified fixed
2f617eb
["bundles/org.eclipse.swt/Eclipse", "SWT", "Drag", "and", "Drop/common/org/eclipse/swt/dnd/DragSourceAdapter.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-10-01T21:06:37Z"
"2002-09-30T15:33:20Z"
24,232
Bug 24232 Coolbar - very bad results when setting two rows with Common-Controls 6.0
build 20020924, Running with manifest (common-control 6.0.0.0) - Open Eclipse - on perspective 'A', Drag a CoolItem 'X' to the next row - Change to another perspective (note the blank row in the CoolBar) - Run 'Reset Toolbar Layout', the blank row will go way - Return to the perspective 'A', the CoolItem 'X' has disappear First thing that comes to my mind: computeSize is broken.
resolved fixed
bcca314
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/CoolBar.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-10-01T20:58:16Z"
"2002-09-30T18:20:00Z"
19,773
Bug 19773 Coolbar icons in Windows XP with Luna theme are not vertically aligned.
Icons on Coolbar in Windows XP with Luna theme are not vertically aligned. When you reposition coolbars, they realign themselves. Happens in any view (Java in particular). If Windows Classic Style (ala W2K) is selected, problem disappears. Highly annoying.
resolved fixed
2be6a11
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/CoolBar.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-09-30T19:20:22Z"
"2002-06-10T11:53:20Z"
24,137
Bug 24137 Top item on popup is often invisible
0924 integration build When popping up a context menu there's a ~ 75% chance that the top item will not be visible. Its slot in the menu is reserved, and it can be selected by the user, but its label does not show. Very often tracing over the item makes its label appear. I don't know of a specific test case that is always reproducable, but the problem is very frequent.
resolved fixed
0c6dc45
["bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/widgets/Menu.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-09-30T18:21:15Z"
"2002-09-26T14:20:00Z"
23,947
Bug 23947 Menu implementation prevents KeybindingMenu from working correctly
null
resolved fixed
4da8f8d
["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Menu.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-09-30T15:42:38Z"
"2002-09-21T09:20:00Z"
20,672
Bug 20672 Shift+F10 has wrong keyCode
F3 A snippet is included below that simply listens for key presses and prints the respective keyCode and state for each. When it's run on any platform other than hpux its values for Shift+F10 are: Key Pressed: 16777235. State: 131072 However on hpux pressing Shift+F10 gives: Key Pressed: 0. State: 131072 This causes an accessibility problem in Eclipse because Shift+F10 is used to display the context menu for the currently selected item. It might be another problem case in Widget.setKeyState().
resolved fixed
6a5976f
["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/motif/org/eclipse/swt/internal/motif/OS.java", "bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/widgets/Widget.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-09-27T18:19:38Z"
"2002-06-19T18:06:40Z"
10,459
Bug 10459 I can't run eclipse
I can't run eclipse in redhat linux 7.2. After startup the eclipse,whenever I click the main region in the eclipse.the eclipse will throw a exception and exit.
resolved fixed
b9b42ed
["bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/widgets/Control.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-09-27T16:39:45Z"
"2002-02-28T04:20:00Z"
24,139
Bug 24139 Copy causes exception
0924 integration build. Happens on hpux, not on linux, haven't tried Aix or Solaris. - open an editor on a .java file - select some text, press CTRL+C to copy it - instead get the attached exception
resolved fixed
dc1beb3
["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/StyledText.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-09-27T15:46:16Z"
"2002-09-26T14:20:00Z"
24,106
Bug 24106 Table Column Resizable Doesn't work if you click on Column itself.
I realized this bug because I had some hidden columns in my table. And when i click on the vertical separator of the column titles, i could expand those hidden column. Attached is the code snippet. I have a second column with "0" width and also,it s to setResizable(false). That means you shouldn't able to change the size of that column. But when you clik on vertical separator of the column titles, you can expand that column. You have to really click hard to get the particular timing or point. e.g ID | HiddenID | Name If you have column tiles like above, you should slightly right to the first vertical separator. Also, that column does NOT have to be "0" width, It could be any width and still you can change the size first time you click on separator. So once that column has expanded to particular size, then you can't change the size. Good luck in reproducing it..:) import org.eclipse.swt.*; import org.eclipse.swt.graphics.*; import org.eclipse.swt.custom.*; import org.eclipse.swt.events.*; import org.eclipse.swt.widgets.*; import org.eclipse.swt.layout.*; public class HiddenColumnTest { Display display = null; Shell aWindow = null; public HiddenColumnTest() { display = new Display(); Shell aWindow = new Shell(display); // set up layout GridLayout layout = new GridLayout(); layout.marginHeight = 0; layout.marginWidth = 0; layout.horizontalSpacing = 0; layout.verticalSpacing = 0; layout.numColumns = 1; aWindow.setLayout(layout); aWindow.setSize(400, 200); aWindow.setLocation(250, 250); // set window title aWindow.setText("HiddenColumnTest"); // create table Table aTable = new Table(aWindow, SWT.NONE); GridData gridData = new GridData(GridData.FILL_BOTH); aTable.setLayoutData(gridData); // set titles visible for table aTable.setHeaderVisible(true); // just for testing aTable.setLinesVisible(true); // column widths int[] columnWidths = {100, 20, 300}; // whether the column in resizable or not boolean[] columnResizable = {true, false, true}; // column Titles String[] columnTitles = { "ID", "HiddenID", "Name", }; // set up table columns for (int i = 0; i < columnTitles.length; i++) { TableColumn tableColumn = new TableColumn(aTable, SWT.NONE); tableColumn.setWidth(columnWidths[i]); tableColumn.setText(columnTitles[i]); tableColumn.setResizable(columnResizable[i]); } // add 5 rows for testing for (int i =0 ; i < 5; i++) { // adding rows TableItem item = new TableItem(aTable, SWT.NONE); item.setText(0, "" + i); item.setText(1, "Hide " + i); item.setText(2, "Name " + i); } // open the window aWindow.pack(); aWindow.open(); while (!aWindow.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } } display.dispose(); } public static void main(String[] args) { HiddenColumnTest aTest = new HiddenColumnTest(); } }
resolved fixed
f08b58b
["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/win32/org/eclipse/swt/internal/win32/OS.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Table.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-09-27T15:08:12Z"
"2002-09-25T21:40:00Z"
24,088
Bug 24088 file chooser for OSX returns wrong path
When choosing a jar file to include in the library, i can select the jar file fine but then when i click choose or double click on the file, it returns a bogus path back to eclipse. it adds a bunch of random directories at the begining of the path. if i try to select the file again it adds more directories at the begining. To fix it i edit the .classpath file in the project directory and manually put in the correct path. Restart eclipse and my libraries are there. Sweet product! Can't wait for it to be in full swing for OSX! Dave
resolved fixed
7ed1dcc
["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/DirectoryDialog.java", "bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/FileDialog.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-09-27T13:51:41Z"
"2002-09-25T16:06:40Z"
23,645
Bug 23645 Disabled default button can still be reached pressing ENTER
20020911 linux-gtk 1. Open a file 2. Ctrl-L for opening Goto Line dialog 3. Enter some ridiculously big number 4. Verify that the OK button gets disabled 5. Press ENTER 6. Observe a StackOverflow
resolved fixed
55a7bfd
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Decorations.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-09-25T15:13:54Z"
"2002-09-17T13:40:00Z"
22,645
Bug 22645 StyledText - cheese when typing in SWT.SINGLE mode
build 20020806 StyledText.handleTextChanged does not take the top margin into account when rendering directly. The double buffer image ends up being too small and the bottom portion of the first line is not blitted to the screen resulting in cheese.
resolved fixed
8f9792a
["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/StyledText.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-09-24T19:39:24Z"
"2002-08-21T14:26:40Z"
23,936
Bug 23936 NPE in ControlExample
swt 20020920 1. Run the ControlExample 2. Go to the CoolBar Tab 3. Check the style SWT.DROP_DOWN 4. Drag the CoolItem so that you get a chevron 5. Click two time over the chevron (is not a double-click) walkback: java.lang.NullPointerException at org.eclipse.swt.examples.controlexample.CoolBarTab$CoolItemSelectionListener.wid getSelected(CoolBarTab.java:416) at org.eclipse.swt.widgets.TypedListener.handleEvent (TypedListener.java:87) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:833) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1622) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1368) at org.eclipse.swt.examples.controlexample.ControlExample.main (ControlExample.java:103) Exception in thread "main" The bug is in the example.
resolved fixed
93215c4
["examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/CoolBarTab.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-09-23T20:12:06Z"
"2002-09-20T19:26:40Z"
23,864
Bug 23864 CoolBar - Plus 2, Minus 2 problem
swt 20020919 When CoolItems are create they are 2 pixels wider than they should be. Here's the example: [click on the Test button and see the chevron appears: there is extra 2 pixels between items] package coolbar.prs; import org.eclipse.swt.SWT; import org.eclipse.swt.layout.*; import org.eclipse.swt.events.*; import org.eclipse.swt.widgets.*; import org.eclipse.swt.graphics.*; public class CoolBarWrapTest { static Display display; static Shell shell; static CoolBar coolBar; static String[][] toolNames = { {"search"}, {"script_wiz"}, {"debug", "run"}, {"opentype"}, {"new_wiz", "save", "saveas", "printer"}, }; static int border = 20; public static void main (String [] args) { display = new Display (); shell = new Shell (display); coolBar = new CoolBar(shell, SWT.FLAT | SWT.BORDER); createCoolItem(0,-1); createCoolItem(4,-1); createCoolItem(1,1); createCoolItem(3,2); createCoolItem(2,2); shell.addControlListener( new ControlAdapter() { public void controlResized(ControlEvent e) { Rectangle rect = shell.getClientArea(); Point size = coolBar.computeSize (rect.width - (2*border), SWT.DEFAULT); coolBar.setBounds(rect.x + border, rect.y + border, size.x, size.y); } }); Button button = new Button(shell, SWT.PUSH); button.setText("Test"); button.setBounds( 20, 200, 32, 20); button.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { Point size = coolBar.computeSize (SWT.DEFAULT, SWT.DEFAULT); coolBar.setSize (size); } }); shell.setSize(350, 250); shell.open (); while (!shell.isDisposed ()) { if (!display.readAndDispatch ()) display.sleep (); } display.dispose (); } static void createCoolItem(int index, int atIndex) { ToolBar toolBar = new ToolBar(coolBar, SWT.FLAT); String[] toolFileNames = toolNames[index]; for (int j = 0; j < toolFileNames.length; j++) { String fileName = toolFileNames[j]; if (fileName == null) { new ToolItem(toolBar, SWT.SEPARATOR); } else { ToolItem item = new ToolItem(toolBar, SWT.PUSH); item.setImage(createCoolBarIcon(display, toolFileNames[j])); } } CoolItem coolItem; if (atIndex == -1) { coolItem = new CoolItem(coolBar, SWT.DROP_DOWN); } else { coolItem = new CoolItem(coolBar, SWT.DROP_DOWN, atIndex); } coolItem.setControl(toolBar); coolItem.setData(toolFileNames[0]); Point size = toolBar.computeSize(SWT.DEFAULT, SWT.DEFAULT); Point coolSize = coolItem.computeSize (size.x, size.y); int minWidth = toolBar.getItems()[0].getWidth(); coolItem.setMinimumSize(minWidth, coolSize.y); coolItem.setPreferredSize(coolSize); coolItem.setSize(coolSize); } static Image createCoolBarIcon(Display display, String fileName) { try { ImageData source = new ImageData (CoolBarWrapTest.class.getResourceAsStream(fileName + ".gif")); ImageData mask = source.getTransparencyMask(); return new Image(display, source, mask); } catch (Exception e) { } return null; } }
resolved fixed
2f464c3
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/CoolBar.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/CoolItem.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-09-23T18:47:02Z"
"2002-09-19T15:40:00Z"
23,766
Bug 23766 Labels with image only have extra space on GTK
Build 20020917 If you create a label on GTK with just an image the vertical axis will have extra space. This is not an issue on Motif or windows STEPS 1) Run the example below with the attached icon 2) See that there is a lot of whitespace above and below the icon 3) Do it again on Motif or Windows - no extra space import org.eclipse.swt.SWT; import org.eclipse.swt.events.SelectionAdapter; import org.eclipse.swt.events.SelectionEvent; import org.eclipse.swt.graphics.Image; import org.eclipse.swt.layout.*; import org.eclipse.swt.widgets.*; /* * (c) Copyright 2001 MyCorporation. * All Rights Reserved. */ /** * @version 1.0 * @author */ public class LayoutSpacingTest { public static void main(String[] args) { Display display = new Display(); final Image image = new Image( display, LayoutSpacingTest.class.getResourceAsStream("error_tsk.gif")); final Shell shell = new Shell(display); shell.setLayout(new FormLayout()); final Label l1 = new Label(shell, SWT.BORDER); l1.setImage(image); final Label l2 = new Label(shell, SWT.BORDER); l2.setText("Label 2"); FormData imageData = new FormData(); imageData.left = new FormAttachment(0,0); imageData.top = new FormAttachment(0, 0); l2.setLayoutData(imageData); FormData textData = new FormData(); textData.left = new FormAttachment(l2,0); textData.top = new FormAttachment(0, 0); l1.setLayoutData(textData); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } }
resolved fixed
e488b4a
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Label.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-09-23T17:34:36Z"
"2002-09-18T17:26:40Z"
23,898
Bug 23898 Group.setBackground() don't work on Gtk
null
resolved fixed
a085db5
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Group.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-09-23T17:29:34Z"
"2002-09-20T11:06:40Z"
23,807
Bug 23807 Display class needs to pick better default fonts.
Right now the display class is picking fonts based on the default font used by the button widget in libph. However, the fonts in libph are not the best choices since they cannot be changed without breaking existing applications. The proposed change forces the TEXT_FONT and LIST_FONT fonts to be TextFont8 until there is a decent mechanism in place in photon for finding system wide font configuration data.
resolved fixed
625d744
["bundles/org.eclipse.swt/Eclipse", "SWT/photon/org/eclipse/swt/graphics/Device.java", "bundles/org.eclipse.swt/Eclipse", "SWT/photon/org/eclipse/swt/graphics/Font.java", "bundles/org.eclipse.swt/Eclipse", "SWT/photon/org/eclipse/swt/graphics/FontData.java", "bundles/org.eclipse.swt/Eclipse", "SWT/photon/org/eclipse/swt/graphics/GC.java", "bundles/org.eclipse.swt/Eclipse", "SWT/photon/org/eclipse/swt/widgets/Combo.java", "bundles/org.eclipse.swt/Eclipse", "SWT/photon/org/eclipse/swt/widgets/Composite.java", "bundles/org.eclipse.swt/Eclipse", "SWT/photon/org/eclipse/swt/widgets/Control.java", "bundles/org.eclipse.swt/Eclipse", "SWT/photon/org/eclipse/swt/widgets/Display.java", "bundles/org.eclipse.swt/Eclipse", "SWT/photon/org/eclipse/swt/widgets/FontDialog.java", "bundles/org.eclipse.swt/Eclipse", "SWT/photon/org/eclipse/swt/widgets/Group.java", "bundles/org.eclipse.swt/Eclipse", "SWT/photon/org/eclipse/swt/widgets/ProgressBar.java", "bundles/org.eclipse.swt/Eclipse", "SWT/photon/org/eclipse/swt/widgets/Sash.java", "bundles/org.eclipse.swt/Eclipse", "SWT/photon/org/eclipse/swt/widgets/Scale.java", "bundles/org.eclipse.swt/Eclipse", "SWT/photon/org/eclipse/swt/widgets/Slider.java", "bundles/org.eclipse.swt/Eclipse", "SWT/photon/org/eclipse/swt/widgets/ToolItem.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-09-20T20:56:21Z"
"2002-09-19T07:20:00Z"
23,795
Bug 23795 ControlExample: Image Label leaves cheese when resized
Build I200209171408 Run ControlExample Switch to Label tab. Change the size. Image label leaves cheese. Select SWT.WRAP. Image label does not leave anymore cheese.
resolved fixed
3739447
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Label.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-09-20T17:04:20Z"
"2002-09-18T20:13:20Z"
23,820
Bug 23820 Launched SWT application isn't brought to front
If an AWT or Swing app is launched from Eclipse, it comes to front. This isn't true for SWT based application.
resolved fixed
08d0656
["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/carbon/org/eclipse/swt/internal/carbon/OS.java", "bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Display.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-09-19T22:10:45Z"
"2002-09-19T10:06:40Z"
20,461
Bug 20461 WinCE - Wait cursor does not show up
BusyIndicator does not work on WinCE. The following code Cursor cursor = new Cursor(display, SWT.CURSOR_WAIT); Shell.setCursor (cursor); only works after the user taps on the screen, which is not useful.
resolved fixed
fbd36e0
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Control.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-09-18T15:46:44Z"
"2002-06-17T16:06:40Z"
20,377
Bug 20377 StyledText - SWT.WRAP style and widthHint specification
Look into this and how it should work.
resolved fixed
e209f2f
["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/StyledText.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-09-17T21:30:38Z"
"2002-06-14T18:40:00Z"
22,121
Bug 22121 Eclipse crashes when pasting URL in Java-code
null
resolved fixed
1112d2e
["bundles/org.eclipse.swt/Eclipse", "SWT", "Drag", "and", "Drop/win32/org/eclipse/swt/dnd/TextTransfer.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-09-17T19:03:14Z"
"2002-08-02T09:20:00Z"
23,657
Bug 23657 Problems implementing MenuItem.setText (worked around for English)
On the Mac the menu accelerator text isn't specified as a string but via a bitset similar to SWT's accelerator used in MenuItem.setAccelerator. In addition the accelerator's string is set as a side effect of setting the accelerator itself. So they are always in synch. Therefore in the SWT Mac port I was ignoring the accelerator part of the string given to MenuItem.setText(...) and I was using the bitset from MenuItem.setAccelerator(). I was relying on the assumption that both should be in synch. However this assumption is now broken. MenuItems on which an accelerator string has been set with setText typically have the accelerator 0, other menu items where the accelerator is not 0 have no accelerator string set. For the Mac port this means I have to parse the string given to MenuItem.setText. However, since the string is already localized parsing isn't feasible. How can I solve this dilemma? BTW: why are SWT's clients allowed to play dirty tricks with accelerators? I'm not sure that I can get accelerators to work on MacOS X (without introducing wads of bogus code).
resolved fixed
0aad980
["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/MenuItem.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-09-17T18:30:04Z"
"2002-09-17T16:26:40Z"
22,839
Bug 22839 when swt window in focus palettes of other windows hosed, and vise versa
When an swt window comes into focus, all background windows colors are changed to incorrect colors, and similarly when another window is in focus the swt windows colors will change to be incorrect. I have tested this on an Sh4 (BigSur/Tahoe) running a maxall configuration of WinCe 3.00 with j9 version 1.5 from wsdd 4.0 runtimes with swt version 2104 Test case ----------cut here----------- import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; /** * @author pddempse * * To change this generated comment edit the template variable "typecomment": * Window>Preferences>Java>Templates. * To enable and disable the creation of type comments go to * Window>Preferences>Java>Code Generation. */ public class SwtColorProblem { private Display display; private Shell shell; //------------------------------------------------------------------- // //------------------------------------------------------------------- static public void main(String[] args) { new SwtColorProblem().runMain(args); } //------------------------------------------------------------------- // //------------------------------------------------------------------- private void runMain(String[] args) { display = new Display(); shell = new Shell(display, SWT.SHELL_TRIM); shell.setSize(300, 300); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } } } }
resolved fixed
b8354fd
["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/Device.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-09-16T17:31:06Z"
"2002-08-26T16:40:00Z"
22,189
Bug 22189 Win32 GDI Resource Leak in WrappedContent.java
Applies to swt-win32-2047 & 2103 Exists in current CVS (dev.eclipse.org : WrappedContent.java 1.6) Line 611 in org/eclipse/swt/custom/WrappedContent.java. Method: wrapLineRange Method returns without releasing renderer GC.
resolved fixed
b00aa44
["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/WrappedContent.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-09-12T21:21:34Z"
"2002-08-05T23:26:40Z"
21,126
Bug 21126 Print Dialog Is Not Modal, Resulting in Unpredictable Workbench Behavior
Build: GM5 The print dialog is not modal. This allows you to ignore it and return to the workbench. The trouble is, the workbench behaves in a strange way, probably because it expects you to be working in the print dialog. Steps to reproduce: 1. Open a Java file to print. 2. Select File > Print. 3. Ignore the print dialog, but do not close it. 4. Try bringing up a dialog box in the workbench, such with Search > Search... (You might have to click around on the menu bar to get it to open.) 5. When another dialog box opens you lose control of mouse clicks and you have to tab through the widgets to get to the Cancel button. The bottom line is that the print dialog is not modal which allows you to return the the workbench with unpredictable results.
resolved fixed
76bf6c1
["bundles/org.eclipse.swt/Eclipse", "SWT", "Printing/win32/org/eclipse/swt/printing/PrintDialog.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-09-12T16:24:24Z"
"2002-06-28T13:13:20Z"
16,700
Bug 16700 Coolbar tab order is backwards
Build 20020521 Run the attached test case. Press the tab key. Notice that tabbing is backwards for the CoolBar.
resolved fixed
987e6ac
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/CoolItem.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-09-12T14:30:48Z"
"2002-05-21T22:26:40Z"
10,532
Bug 10532 DCR: Table.setSelection(int, int) -- order matters
Build 20020226 In a call to Table.setSelection(int start, int end), it matters in which order the arguments are given. It assumes start <= end. It would be more resilient if it also allowed start >= end. If it doesn't allow this, the spec should indicate the ordering requirement.
resolved fixed
57e0864
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/List.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Table.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-09-11T22:02:38Z"
"2002-02-28T21:00:00Z"
21,620
Bug 21620 FontData.setLocale() crashes workbench
On Windows98, FontData.setLocale() causes crash of workbench. The following is stack. java.lang.NegativeArraySizeException: at org.eclipse.swt.internal.win32.TCHAR.toString(TCHAR.java:103) at org.eclipse.swt.graphics.FontData.EnumLocalesProc(FontData.java:348) at org.eclipse.swt.internal.win32.OS.EnumSystemLocalesA(Native Method) at org.eclipse.swt.internal.win32.OS.EnumSystemLocales(OS.java:1259) at org.eclipse.swt.graphics.FontData.setLocale(FontData.java:509) I make a simple sample to reproduce the problem. -------------------------------------------------------------------------- import org.eclipse.swt.events.PaintEvent; import org.eclipse.swt.events.PaintListener; import org.eclipse.swt.graphics.Font; import org.eclipse.swt.graphics.FontData; import org.eclipse.swt.graphics.GC; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.widgets.Canvas; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; public class Win98Test { static public void main(String[] args) { final Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); shell.setSize(200, 200); final Canvas canvas = new Canvas(shell, 0); canvas.addPaintListener(new PaintListener() { public void paintControl(PaintEvent e) { GC gc = e.gc; FontData fontdata = new FontData("hoge", 50, 0); fontdata.setLocale("en_US.ISO8859-1"); Font font = new Font(display, fontdata); gc.setFont(font); gc.drawString("hello world", 10, 20); } }); shell.open(); shell.setVisible(true); while (!shell.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } } } }
resolved fixed
15f4b69
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/FontData.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-09-10T20:54:55Z"
"2002-07-16T14:33:20Z"
19,256
Bug 19256 SIP event
We would like to have an API to get the SIP event on Windows CE so we can do a resize to the window. At the moment SIP hides the lower part of the screen.
resolved fixed
a846f6a
["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/SHACTIVATEINFO.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Decorations.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Shell.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-09-10T18:32:56Z"
"2002-06-05T06:53:20Z"
22,490
Bug 22490 Background color of Graphical Editors is always black.
null
resolved fixed
9eaa837
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/graphics/GC.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-09-10T17:35:57Z"
"2002-08-16T06:40:00Z"
22,862
Bug 22862 StyledText - Tab does not tab out of non-editable
null
verified fixed
de8c855
["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/StyledText.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-09-09T20:52:45Z"
"2002-08-26T19:26:40Z"
22,926
Bug 22926 Clipboard copy/paste is cut/paste on Windows 98
null
verified fixed
f1cdac2
["bundles/org.eclipse.swt/Eclipse", "SWT", "Drag", "and", "Drop/win32/org/eclipse/swt/dnd/Clipboard.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-09-09T19:59:23Z"
"2002-08-28T02:00:00Z"
12,048
Bug 12048 NPE exiting workspace
build 2002-03-19 on Win98. Note that I was running with a special SWT.JAR with the leak tool. I started my image. Immediately ran a runtime-workbench, closed the runtime- workbench, and then closed my image. This message was printed to the console during shutdown. Log: Thu Mar 21 12:16:47 EST 2002 2 org.eclipse.core.runtime 2 Problems occurred when invoking code from plug-in: org.eclipse.core.runtime. java.lang.NullPointerException at org.eclipse.swt.graphics.Device.dispose_Object(Device.java(Compiled Code)) at org.eclipse.swt.graphics.Color.dispose(Color.java:125) at org.eclipse.debug.internal.ui.ColorManager.dispose (ColorManager.java:34) at org.eclipse.debug.internal.ui.DebugUIPlugin.shutdown (DebugUIPlugin.java:392) at org.eclipse.core.internal.plugins.PluginRegistry$2.run (PluginRegistry.java:268) at org.eclipse.core.internal.runtime.InternalPlatform.run (InternalPlatform.java:817) at org.eclipse.core.internal.plugins.PluginRegistry$1.visit (PluginRegistry.java:281) at org.eclipse.core.internal.plugins.PluginRegistry.accept (PluginRegistry.java:45) at org.eclipse.core.internal.plugins.PluginRegistry.shutdownPlugins (PluginRegistry.java:284) at org.eclipse.core.internal.plugins.PluginRegistry.shutdown (PluginRegistry.java:250) at org.eclipse.core.internal.runtime.InternalPlatform.loaderShutdown (InternalPlatform.java:518) at java.lang.reflect.Method.invoke(Native Method) at org.eclipse.core.internal.boot.InternalBootLoader.shutdown (InternalBootLoader.java:859) at org.eclipse.core.internal.boot.InternalBootLoader.run (InternalBootLoader.java:782) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:319) at java.lang.reflect.Method.invoke(Native Method) at org.eclipse.core.launcher.Main.basicRun(Main.java:196) at org.eclipse.core.launcher.Main.run(Main.java:555) at org.eclipse.core.launcher.UIMain.main(UIMain.java:52)
resolved fixed
cc1c88c
["bundles/org.eclipse.swt/Eclipse", "SWT/photon/org/eclipse/swt/graphics/Color.java", "bundles/org.eclipse.swt/Eclipse", "SWT/photon/org/eclipse/swt/graphics/Cursor.java", "bundles/org.eclipse.swt/Eclipse", "SWT/photon/org/eclipse/swt/graphics/Font.java", "bundles/org.eclipse.swt/Eclipse", "SWT/photon/org/eclipse/swt/graphics/GC.java", "bundles/org.eclipse.swt/Eclipse", "SWT/photon/org/eclipse/swt/graphics/Image.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/Color.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/Cursor.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/Font.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/GC.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/Image.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-09-09T19:10:48Z"
"2002-03-21T17:00:00Z"
22,564
Bug 22564 Cannot draw transparent PNG files properly
I have a problem with the following code. The problem is that the image drawn on my canvas is collapsed if the imageData is created from a PNG file with transparency. It seems that RGBs are drawn well but an alpha channel has shifted to the right. There is no problem with transparent GIFs or non-transparent PNGs. It happens on Linux. ------ code ------ void drawHalf(GC gc, ImageData imageData, int destx, int desty) { Image image = new Image(null, imageData); gc.setClipping(destx + imageData.width/2, desty, imageData.width/2, imageData.height); gc.drawImage(image, destx, desty); image.dispose(); }
resolved fixed
f6a78b3
["bundles/org.eclipse.swt/Eclipse", "SWT/common/org/eclipse/swt/graphics/ImageData.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/Image.java", "bundles/org.eclipse.swt/Eclipse", "SWT/photon/org/eclipse/swt/graphics/Image.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/Image.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-09-09T18:20:22Z"
"2002-08-20T07:53:20Z"
23,285
Bug 23285 Linux Motif has become extremely slow
Some change made during the summer has made the Eclipse linux motif builds become extremely slow to use over time.
resolved fixed
f9ff5e6
["bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/widgets/Decorations.java", "bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/widgets/Menu.java", "bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/widgets/MenuItem.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-09-06T18:37:08Z"
"2002-09-06T19:20:00Z"
10,050
Bug 10050 StyledText - Change selection color when changing background color
It's great to see that it is now possible to change background color in Eclipse! I prefer to use a dark blue backgrund, since I find it more comfortable to the eye, and easier to read. However, it is at the moment _not_ possible to change the selection color in Eclipse, which defaults to - you've guessed it - dark blue, rendering the possibility to set the background color completely useless to me. The best solution would probably be to let the user choose the selection color, but at least Eclipse should choose a selection color that is distinguishable from the user selected background color.
resolved fixed
5ce168a
["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/DisplayRenderer.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/StyledText.java", "tests/org.eclipse.swt.tests/JUnit", "Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_custom_StyledText.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-09-06T16:18:52Z"
"2002-02-21T14:00:00Z"
17,793
Bug 17793 Motif FileDialog often does not use reasonable default directory
Build 20020521 Linux-motif If you have an invalid patch file specified in the Resource Patcher when you select browse you get * as a selection and no entries in the file dialog. You have to clear the * to get anything STEPS 1) Select a file 2) Select Compare with Patch 3) Enter foo into the patch file location 4) Hit browse - * is the selection and the file dialog is empty
resolved fixed
3fc68a0
["bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/widgets/FileDialog.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-09-04T17:40:08Z"
"2002-05-24T19:53:20Z"
23,028
Bug 23028 EC: Tab un-indent does not work
- select a block of text in the Java editor - press Tab and the whole block will be indented - now press Shift+Tab and focus will be reassigned instead of un-indenting the block
resolved fixed
eb276cc
["bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/widgets/Widget.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-09-03T21:18:55Z"
"2002-08-30T12:20:00Z"
21,185
Bug 21185 GTK: Label positioning incorrect when style bit used and bounds set(BBAWT)
When I set the bound of the label and use SWT.CENTER as the style bit for the label the label positioning appears too far to the right on the shell.Here is the code that I used to test the label: //------------------starts here ------------------------// import org.eclipse.swt.SWT; import org.eclipse.swt.events.SelectionAdapter; import org.eclipse.swt.events.SelectionEvent; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.*; public class TestSWTDialog { public static void main(String[] args) { Display disp = new Display(); final Shell sh = new Shell(disp); sh.setLayout(new GridLayout()); Button but = new Button(sh, SWT.BORDER); but.setText("open dialog"); but.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { Shell shell = new Shell(sh); shell.setText("test"); shell.setBounds(300, 300, 300, 150); Button b = new Button(shell, SWT.BORDER); Button b1 = new Button(shell, SWT.BORDER); Label label = new Label(shell, SWT.CENTER); label.setText("this is a test label"); label.setBounds(10, 20, 280, 60); b.setText("button 1"); b.setBounds(80, 100, 60, 20); b1.setText("button 2"); b1.setBounds(160, 100, 60, 20); shell.pack(); shell.open(); } }); sh.pack(); sh.open(); while (!sh.isDisposed()) { if (!disp.readAndDispatch()) { disp.sleep(); } } } }
resolved fixed
b665bd2
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Label.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-09-03T19:58:10Z"
"2002-07-02T17:13:20Z"
18,822
Bug 18822 Breakpoint hit count dialog text cutoff in GTK2
Build F2 (20020602) Redhat 7.2, GTK2 KDE 2.2-10 (GTK2 only) 1. Create an empty java project 2. Open Debug perspective 3. Open breakpoints view (tab under variables view) 4. Right-click, add java exception breakpoint 5. Pick any exception, hit ok 6. Select and right click on the new breakpoint, go to Hit Count 7. Type in an invalid value (ex: 'blah') There should be text under the textbox explaining why the input is invalid, but it's cut off by the 'Enable hit count' check box.
resolved fixed
791cf78
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Label.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-09-03T18:47:38Z"
"2002-06-03T18:46:40Z"
22,918
Bug 22918 Table.getItem(Point) throws ArrayIndexOutOfBounds
Run the following code and you will get the exception. Seems like a bug in GTK that we need to work around. Even though the point is outside the Table, OS.gtk_clist_get_selection_info returns 1 and the value for row[0] is a negative number. public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); final Table table = new Table(shell, SWT.BORDER); for (int i = 0; i < 20; i++) { TableItem item = new TableItem(table, SWT.NONE); item.setText("item " + i); } shell.open(); table.getItem(new Point(-1000, -1000)); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); }
resolved fixed
7b295d5
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Table.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Tree.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-09-03T15:28:56Z"
"2002-08-27T20:26:40Z"
22,364
Bug 22364 Incorrect height of widget in TextViewer
In a plugin I use TextViewers with style SWT.SINGLE | SWT.BORDER. The TextViewers are embedded in composites that have a layout. However they are always rendered with a height that is insufficient to show the complete string text inside their widget, with the result that the text is partially chopped off and unreadable. Resizing of the window that contains the TextViewers does not have any effect. Of course the height can be adjusted by using a GridLayout in the enclosing composite and by defining a heightHint, but I believe the default height should allow to fully see the text in the TextViewer widget. The problem appears when running under Linux RedHat 7.3 with Eclipse R2.0-gtk2. The same code runs ok on a Windows 2000 machine, with Eclipse R2.0. I am separately attaching a little plugin project that demonstrates the problem. The plugin is a stripped down version of your Sample Plugin with a View, where I have placed two components in the sample view, the first one being a TextViewer and the second one a simple text. Under Windows 2000 all is well, but under Linux the TextViewer's height is insufficient. To run the test, simply import the plugin, compile it, run as Runtime Workbench and open the Sample View (under the Sample Category category). Thanks.
resolved fixed
6dab169
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Scrollable.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-08-30T20:54:17Z"
"2002-08-12T19:20:00Z"
22,114
Bug 22114 * key expands TableTree but does not send SWT.Expand event
R2.0, Win2k, Linux/Motif, GTK Although the "*" key behaves differently for the TableTree widget on different platforms, pressing it under Win2k, Linux/Motif, or Linux/GTK can expand at least one branch of the tree. However, no SWT.Expand event is fired when the tree is expanded in this manner. The following code illustrates the problem. The number in square brackets increments every time the tree fires an SWT.Expand event. -------------------8<---------------------- import org.eclipse.swt.SWT; import org.eclipse.swt.custom.TableTree; import org.eclipse.swt.custom.TableTreeItem; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.widgets.*; public class TableTreeTest { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout(SWT.VERTICAL)); final int[] count = new int[] { 0 }; final Label label = new Label(shell, SWT.SINGLE); TableTree tree = new TableTree(shell, SWT.FULL_SELECTION); tree.addListener(SWT.Expand, new Listener() { public void handleEvent(Event event) { label.setText("[" + count[0]++ + "] Expand event"); } }); TableTreeItem item = new TableTreeItem(tree, SWT.NONE); item.setText("A"); TableTreeItem item2 = new TableTreeItem(item, SWT.NONE); item2.setText("B"); item2 = new TableTreeItem(item, SWT.NONE); item2.setText("C"); item = new TableTreeItem(item2, SWT.NONE); item.setText("D"); shell.open(); shell.setSize(400, 400); while (!shell.isDisposed()) if (!display.readAndDispatch()) display.sleep(); display.dispose(); } }
resolved fixed
9967d59
["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/TableTreeItem.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-08-29T20:50:21Z"
"2002-08-01T19:26:40Z"
22,868
Bug 22868 Eclipse hangs while creating a shell from ControlExample
Eclipse 2.0.1 Build 21 Aug 1513 was installed on a Solaris 8 machine and was run through Exceed V7.1 Xterm window on Windows 2000 Install SWT examples and run ControlExample. Steps to reproduce: 1. Start ControlExample java application 2. From available tabs select "Shell" and click on it to open 3. Select the following options in shell creation: Parent + Primary Modal + SWT resize + SWT on Top 4. Click on "Create shell" Result: Shell creation is not finished. Eclipse crashes and no controls may be activated. Eclipse may be restarted only after killing Eclipse and Java processes on the machine
verified fixed
dea462a
["examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/ShellTab.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-08-29T14:52:05Z"
"2002-08-26T22:13:20Z"
22,874
Bug 22874 2104: Converter contains references to Converter.class
null
resolved fixed
ac1c83e
["bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/internal/Converter.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-08-27T16:15:10Z"
"2002-08-26T22:13:20Z"
22,659
Bug 22659 Function key events are often lost
Build 20020820 (and some earlier) SWT-GTK seems to lose a lot of function key events. This problem is very obvious in the debugger where it often takes two key strokes to perform actions like stepping (F5, F6, F7) and resuming (F8). The same problem exists in the editor with F3.
resolved fixed
ed0c0ab
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Decorations.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Menu.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/MenuItem.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Shell.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-08-26T17:25:52Z"
"2002-08-21T20:00:00Z"
22,721
Bug 22721 Cannot use keyboard to toggle checkboxes
R2.0.1 20020821 The is no way to toggle a Checkbox on GTK. On Windows you can use the space bar to toggle them - on GTK you can only change checked state with the mouse.
resolved fixed
41dec2f
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Table.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Tree.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-08-23T14:09:32Z"
"2002-08-22T15:26:40Z"
22,737
Bug 22737 Mouse Capture on Motif causes Context Menu not to work
Right click on Tree. Notice that the cursor does not change, and the menu is not functioning. import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; import org.eclipse.swt.dnd.DND; import org.eclipse.swt.dnd.DragSource; import org.eclipse.swt.dnd.DragSourceEvent; import org.eclipse.swt.dnd.DragSourceListener; import org.eclipse.swt.events.MouseAdapter; import org.eclipse.swt.events.MouseEvent; import org.eclipse.swt.layout.*; public class PR_22xxx{ public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); final Tree tree = new Tree(shell, SWT.BORDER); for (int i = 0; i < 16; i++) { TreeItem item = new TreeItem(tree, SWT.NONE); item.setText("Item " + i); } Menu menu = new Menu (shell, SWT.POP_UP); for (int i=0; i<16; i++) { MenuItem item = new MenuItem (menu, SWT.NONE); item.setText ("Item " + i); } tree.setMenu (menu); tree.addMouseListener(new MouseAdapter() { public void mouseDown(MouseEvent arg0) { tree.setCapture(true); } }); shell.setLayout(new FillLayout()); tree.pack(); shell.pack(); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } }
resolved fixed
e623fd3
["bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/widgets/Menu.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-08-22T20:58:28Z"
"2002-08-22T18:13:20Z"
16,333
Bug 16333 accessibility - tab key in dialog boxes
Windows standard is that tab and shift+tab keys within a dialog box move the focus to the next previous control even if the control is in the same group. But in eclipse if there are several controls in the same tab group one is forced to use arrows keys to switch focus among them; Users of accessibility devices such as screen readers are not used to this behaviour which, if not known, could make them to ignore the existence of controls in a dialog box because they are completely skipped tabbing around. So I propose that tab and shift+tab move focus even to controls belonging to the same group.
resolved fixed
9e5650f
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Button.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-08-22T15:30:05Z"
"2002-05-18T00:00:00Z"
22,468
Bug 22468 ScrolledComposite vertical scroll problem with StackLayout
I have an org.eclipse.swt.custom.ScrolledComposite composite which has an org.eclipse.swt.custom.StackLayout layout. I have multiple controls on the scrolled composite. If the first control I add to the scrolled composite does not need a vertical scroll bar, later calls to set the content to a control that does need the vertical scroll bar do not produce a working scroll bar. I looked at the source for scrolled composite and immediately saw the problem: the vScroll() method bases its calculations for the location off the first child of the composite, not the current content control. hScroll() correctly uses the content variable to get the location, etc. To get this to work, I rewrote vScroll() in the same style as hScroll(): private void vScroll() { if (content == null) return; Point location = content.getLocation (); ScrollBar vBar = getVerticalBar (); int vSelection = vBar.getSelection (); content.setLocation (location.x, -vSelection); } This fixes the problem. * I can't think of a reason why this method was written differently than hScroll (). * I can't imagine that a lot of people are ever going to discover this problem. * No idea if this still exists in 2.0
resolved fixed
cb2be3a
["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/ScrolledComposite.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-08-22T15:12:00Z"
"2002-08-15T14:00:00Z"
20,321
Bug 20321 Multiple opened ApplicationWindows with statuslines show incorrect display/event handling
JFace ApplicationWindow : When using a statusline in subclasses of ApplicationWindow AND opening multiple instances, the event handling is not correct. Example : AppWindow A1 (incl. addStatusLine() in constructor) AppWindow A2 (incl. addStatusLine() in constructor) Behavior interference occurs when: - opening muliple instances of A1 - or opening one instance of A1 and one instance of A2
resolved fixed
426dc59
["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/win32/org/eclipse/swt/internal/win32/OS.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Composite.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Shell.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/TabFolder.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/ToolBar.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-08-20T19:48:04Z"
"2002-06-14T07:33:20Z"
14,942
Bug 14942 Unexpected KeyDown event after pressing non existing menu mnemonic
build 20020426 Run the test case below. -press ALT+M to activate the pull down menu -press a key other than s. A menu item with that mnemonic does not exist -press ESC twice to back out of the menu -SWT sends a KeyDown event with the pull down menu mnemonic as the character. I don't think it should.
resolved fixed
6fc3a77
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Control.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-08-19T19:09:51Z"
"2002-04-30T18:06:40Z"
22,457
Bug 22457 Win32 org.eclipse.swt.widgets.Combo computeSize() is wrong
null
resolved fixed
093c863
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Button.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Combo.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-08-15T18:53:23Z"
"2002-08-15T00:06:40Z"
22,365
Bug 22365 SWT_AWT does not compile under JDK 1.4
It has a reference to sun.awt.DrawingSurface among other things that does not compile under JDK 1.4 because the class has been removed. The work around for people attempting to do a source build of Eclipse is to delete the source file SWT_AWT.java.
resolved fixed
107a45b
["bundles/org.eclipse.swt/Eclipse", "SWT", "AWT/win32/org/eclipse/swt/internal/awt/win32/SWT_AWT.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-08-12T19:45:12Z"
"2002-08-12T19:20:00Z"
22,320
Bug 22320 Coolbar - delete item behavior problem
Build 2.0.1 20020807. 1. Run the attached test case. 2. Press the Delete/Add button multiple times. This removes the second item, then adds it back. Notice that the item is not added back in its original spot and keeps sliding over as you press the Delete/Add button. On Windows, this behavior does not occur. On Linux, when the item is deleted the space that it occuppied is added to the first item, so adding the item back at its original spot doesn't work as expected. The emulated behavior should be like the Windows behavior.
resolved fixed
30eda25
["bundles/org.eclipse.swt/Eclipse", "SWT/emulated/coolbar/org/eclipse/swt/widgets/CoolBar.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-08-12T17:39:25Z"
"2002-08-09T16:20:00Z"
21,272
Bug 21272 StyledText does not support setting selection with caret on the left
Build 2.0 release The public API for StyledText does not allow the selection to be changed so that the caret is on the left side of the selection. The setSelection methods do not allow any way to specify a cursor on the left side (start > end, pass in a direction, length < 0) and setCaretOffset clears the selection. StyledText does support selections with the caret on the left side (see doSelection). However, the API necessary to use the support does not appear to be public.
resolved fixed
bb59e96
["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/StyledText.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-08-09T15:51:44Z"
"2002-07-05T20:13:20Z"
21,870
Bug 21870 Coolbar - platform wrapping should not change item sizes
Build 200207161002 1. Run the attached test case. 2. Size the window slightly smaller horizontally so that the Open Type (last cool item) gets wrapped to the next row. Notice that the first cool item on the first row is resized bigger. Also notice how flashy the auto wrapping is as you size the window smaller. You can actually see the items being moved to the left than back to the right.
resolved wontfix
559b15b
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/CoolBar.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-08-08T15:57:08Z"
"2002-07-24T19:46:40Z"
22,204
Bug 22204 Photon: Text.selectAll() does not select all the text(BBAWT)
In this test the selecting the button calls Text.selectAll() on the Text widget present in the Shell. It is seen that only a part of the text is selected and not all of it as expected.
verified fixed
965c373
["bundles/org.eclipse.swt/Eclipse", "SWT/photon/org/eclipse/swt/widgets/Text.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-08-06T17:37:35Z"
"2002-08-06T13:20:00Z"
15,610
Bug 15610 StyledText - Double-Click-Drag doesn't work, works on Text
A double-click-drag (click, and then press again without releasing) doesn't work. This is typically used to swipe-select, but at the word boundary. This is what the Text control does.
resolved fixed
9cf20db
["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/StyledText.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-08-06T15:35:33Z"
"2002-05-09T13:13:20Z"
21,834
Bug 21834 Coolbar - deleting items corrupting layout
Build 200207161002 1. Run the attached test case. 2. Drag the Open Type coolitem to the second row (last coolItem). 3. Drag the Launch coolitem (last coolItem on first row) to the second row, put it after the Open Type item. 4. Drag the Search coolitem to the second row, put it after the Launch coolitem. 5. Drag the Script coolitem to the second row (last coolItem on first row), put it after the Search coolitem. 6. Press the Delete button. This will delete the first item on the second row. Notice that the second row is removed when the delete occurs. The second row should remain. 1. Run the attached test case. 2. Drag the Script coolitem to the second row. 3. Drag the Launch coolitem to the second row, put it after the Script item. 4. Drag the Search coolitem to the second row, put it after the Launch coolitem. 5. Drag the Open Type coolitem to the second row, put it after the Search coolitem. 6. Press the Delete button. This will delete the first item on the second row. Notice that the Launch item is moved to the first row when the delete occurs. The Launch item should stay on the second row.
resolved fixed
380f53e
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/CoolBar.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-08-01T15:20:56Z"
"2002-07-23T21:33:20Z"
22,060
Bug 22060 StyledText - bidi - ArrayIndexOutOfBoundsException
build 20020730 Not sure how to reproduce and when that happened. Attaching log.
resolved fixed
a7cb56d
["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/StyledText.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-08-01T14:38:17Z"
"2002-07-30T20:13:20Z"
21,179
Bug 21179 Step filter in-place text editor invisible
Build 2.0 Linux-GTK 1. Go to Window->Preferences->Java->Debug->Step Filtering 2. Click "Add Filter" 3. A checkbox appears in the tree, but there is no visible text editor. 4. Type "asdf". No text appears. 5. Hit ENTER. The text "asdf" now appears. We need to either fix the in-place text editor or get rid of it and replace it with a simple text-input area above the tree.
resolved fixed
65efffd
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Control.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-07-30T22:00:11Z"
"2002-07-02T14:26:40Z"
21,696
Bug 21696 StyledText - RTF transfer codepage encoding
build 20020716 The SWT RTFTransfer class currently uses the system default codepage to encode Unicode text in a multibyte character set. This breaks RTF transfer if the system codepage is not set correctly (data is lost during conversion). Text in more than one local codepage (e.g., mixed Japanese and Hebrew) can never be transfered correctly because RTFTransfer converts to a single local codepage. Data represented in a different codepage would be lost. In addition, the RTF spec mandates escaping non 7-bit characters using \'hh where hh is the hex value. Even if the codepage is set correctly and the text is in a single locale it should still be written in the espaced form. Note however that all Windows applications we tested seemed to tolerate the non escaped 8 bit form for transfering Hebrew text. In order to support text in more than one locale we would need to encode the text using RTF unicode escapes (\ud..d where d is the decimal value of the unicode character). Since some applications don't support the Unicode encoded RTF transfer (e.g., Lotus Notes) we need to use the mixed Unicode/ANSI text encoding which is backward compatible for non Unicode aware applications. Open questions: -performance impact of escaping 8-bit characters -do any non Microsoft applications support pasting the Unicode encoded RTF -performance impact of encoding using Unicode escapes mixed in with the ANSI escapes
resolved fixed
4104ced
["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/StyledText.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-07-30T21:21:33Z"
"2002-07-18T16:33:20Z"
21,472
Bug 21472 keyPressed event ignored by org.eclipse.swt.widgets.Text for ENTER key
Only the keyReleased event is received after hitting the ENTER key. I assume this is a Linux/gtk2 problem.
resolved fixed
8b6660c
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Button.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Decorations.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-07-30T18:56:47Z"
"2002-07-11T04:00:00Z"
21,338
Bug 21338 Accents and n don't work in editor using gtk
When I type n (ene) or vocals with accents (like a, e, i, o, u) don't work. This in java editor or text editor I use Eclipse 2 final release, on SuSe linux 7.3 and gnome 1.4. The value LANG variable is es_ES. When I run gtk-demo I can use accent and n, and when I use a eclipse wizard (like dialog for entry new task) I can use n and accents too.
resolved fixed
1053da2
["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/gtk/org/eclipse/swt/internal/gtk/OS.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Canvas.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Caret.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/Text.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Widget.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-07-30T18:15:07Z"
"2002-07-08T14:53:20Z"
22,036
Bug 22036 MOTIF: Appearance issue with Combo
In this test when the font is set to a particular font ("Serif for this test") by selecting the button on the shell, the down arrow which brings up the drop-down list is not visible because the font is too big. This down arrow is visible when the shell is resized. Once the shell is resized to a bigger size and the button is selected again to set the font to the system font, the down arrow is centered rather than being aligned to the right. But when the button is selected to set the font to "Serif" the down arrow appears aligned to the right. The test: -----------test case starts here---------------------------------- import org.eclipse.swt.SWT; import org.eclipse.swt.events.SelectionAdapter; import org.eclipse.swt.events.SelectionEvent; import org.eclipse.swt.graphics.Font; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.widgets.*; public class TestSWTChoice { public static void main(String[] args) { final Display disp = Display.getDefault(); Shell shell = new Shell(disp); shell.setLayout(new FillLayout(SWT.VERTICAL)); final Combo combo = new Combo( shell, SWT.CLIP_CHILDREN | SWT.CLIP_SIBLINGS | SWT.READ_ONLY | SWT.DROP_DOWN); combo.add("first"); combo.add("second"); combo.add("third"); combo.add("fourth"); combo.select(0); final Font font = disp.getSystemFont(); final Font bigFont = new Font(disp, "Serif", 12, SWT.ITALIC | SWT.BOLD); combo.setFont(font); final Button button = new Button(shell, SWT.BORDER); button.setText("Default"); button.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { if (combo.getFont().equals(font)) { button.setText("Serif"); combo.setFont(bigFont); } else { button.setText("Default"); combo.setFont(font); } } }); shell.setText("Choice Test"); shell.setSize(200, 200); shell.setLocation(0, 0); shell.open(); while (!shell.isDisposed()) { if (!disp.readAndDispatch()) { disp.sleep(); } } bigFont.dispose(); } } --------------test case ends here ------------------------------------
resolved fixed
7c5eb41
["bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/widgets/Combo.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-07-30T17:31:17Z"
"2002-07-30T14:40:00Z"
21,967
Bug 21967 GTK: Setting selection index to -1 for a Combo throws an exception.
When the selection index for a Combo is set to -1 an ArrayIndexOutofBoundsException is thrown. While this case in Windows is ignored and no exception is thrown. test: ------test case starts here-------------------------------- import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.*; import org.eclipse.swt.SWT; public class TestSWTChoice { public static void main(String[] args) { Display disp = Display.getDefault(); Shell shell = new Shell(disp); shell.setLayout(new FillLayout()); Combo combo = new Combo(shell, SWT.CLIP_CHILDREN | SWT.CLIP_SIBLINGS | SWT.READ_ONLY | SWT.DROP_DOWN); combo.add("first"); combo.add("second"); combo.add("third"); combo.select(-1); System.out.println(combo.getSelectionIndex()); shell.setBounds(50, 50, 100, 100); shell.open(); combo.add("fourth"); System.out.println(combo.getSelectionIndex()); combo.select(2); combo.add("fifth"); System.out.println(combo.getSelectionIndex()); while (!shell.isDisposed()) { if (!disp.readAndDispatch()) { disp.sleep(); } } } } -----------test ends here ---------------------------------------
verified fixed
392da77
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Combo.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2002-07-26T21:06:34Z"
"2002-07-26T16:13:20Z"