id
int64 1
6.5k
| bug_id
int64 2.03k
426k
| summary
stringlengths 9
251
| description
stringlengths 1
32.8k
⌀ | report_time
stringlengths 19
19
| report_timestamp
int64 1B
1.39B
| status
stringclasses 6
values | commit
stringlengths 7
9
| commit_timestamp
int64 1B
1.39B
| files
stringlengths 25
32.8k
| project_name
stringclasses 6
values |
---|---|---|---|---|---|---|---|---|---|---|
3,961 | 22,926 |
Bug 22926 Clipboard copy/paste is cut/paste on Windows 98
| null |
2002-08-27 21:20:41
| 1,030,500,000 |
verified fixed
|
f1cdac2
| 1,031,600,000 |
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/Clipboard.java
|
SWT
|
3,962 | 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)
|
2002-03-21 12:16:39
| 1,016,730,000 |
resolved fixed
|
cc1c88c
| 1,031,600,000 |
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
|
3,963 | 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(); }
|
2002-08-20 05:05:23
| 1,029,830,000 |
resolved fixed
|
f6a78b3
| 1,031,600,000 |
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
|
3,964 | 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.
|
2002-09-06 14:36:36
| 1,031,340,000 |
resolved fixed
|
f9ff5e6
| 1,031,340,000 |
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
|
3,965 | 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.
|
2002-02-21 08:08:25
| 1,014,300,000 |
resolved fixed
|
5ce168a
| 1,031,330,000 |
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
|
3,966 | 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
|
2002-05-24 14:57:02
| 1,022,270,000 |
resolved fixed
|
3fc68a0
| 1,031,160,000 |
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/FileDialog.java
|
SWT
|
3,967 | 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
|
2002-08-30 09:16:51
| 1,030,710,000 |
resolved fixed
|
eb276cc
| 1,031,090,000 |
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Widget.java
|
SWT
|
3,968 | 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(); } } } }
|
2002-07-02 14:22:24
| 1,025,630,000 |
resolved fixed
|
b665bd2
| 1,031,080,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Label.java
|
SWT
|
3,969 | 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.
|
2002-06-03 13:30:06
| 1,023,130,000 |
resolved fixed
|
791cf78
| 1,031,080,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Label.java
|
SWT
|
3,970 | 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(); }
|
2002-08-27 16:37:11
| 1,030,480,000 |
resolved fixed
|
7b295d5
| 1,031,070,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java
|
SWT
|
3,971 | 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.
|
2002-08-12 15:39:14
| 1,029,180,000 |
resolved fixed
|
6dab169
| 1,030,740,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Scrollable.java
|
SWT
|
3,972 | 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(); } }
|
2002-08-01 16:40:47
| 1,028,230,000 |
resolved fixed
|
9967d59
| 1,030,650,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TableTreeItem.java
|
SWT
|
3,973 | 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
|
2002-08-26 17:25:51
| 1,030,400,000 |
verified fixed
|
dea462a
| 1,030,630,000 |
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/ShellTab.java
|
SWT
|
3,974 | 22,874 |
Bug 22874 2104: Converter contains references to Converter.class
| null |
2002-08-26 17:49:53
| 1,030,400,000 |
resolved fixed
|
ac1c83e
| 1,030,460,000 |
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/internal/Converter.java
|
SWT
|
3,975 | 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.
|
2002-08-21 15:40:51
| 1,029,960,000 |
resolved fixed
|
ed0c0ab
| 1,030,380,000 |
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
|
3,976 | 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.
|
2002-08-22 11:30:41
| 1,030,030,000 |
resolved fixed
|
41dec2f
| 1,030,110,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java
|
SWT
|
3,977 | 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(); } }
|
2002-08-22 15:16:11
| 1,030,040,000 |
resolved fixed
|
e623fd3
| 1,030,050,000 |
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Menu.java
|
SWT
|
3,978 | 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.
|
2002-05-17 20:13:41
| 1,021,680,000 |
resolved fixed
|
9e5650f
| 1,030,030,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Button.java
|
SWT
|
3,979 | 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
|
2002-08-15 09:45:14
| 1,029,420,000 |
resolved fixed
|
cb2be3a
| 1,030,030,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/ScrolledComposite.java
|
SWT
|
3,980 | 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
|
2002-06-14 04:37:53
| 1,024,040,000 |
resolved fixed
|
426dc59
| 1,029,870,000 |
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/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
|
3,981 | 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.
|
2002-04-30 13:44:22
| 1,020,190,000 |
resolved fixed
|
6fc3a77
| 1,029,780,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java
|
SWT
|
3,982 | 22,457 |
Bug 22457 Win32 org.eclipse.swt.widgets.Combo computeSize() is wrong
| null |
2002-08-14 19:38:14
| 1,029,370,000 |
resolved fixed
|
093c863
| 1,029,440,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Button.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Combo.java
|
SWT
|
3,983 | 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.
|
2002-08-12 15:43:56
| 1,029,180,000 |
resolved fixed
|
107a45b
| 1,029,180,000 |
bundles/org.eclipse.swt/Eclipse SWT AWT/win32/org/eclipse/swt/internal/awt/win32/SWT_AWT.java
|
SWT
|
3,984 | 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.
|
2002-08-09 13:32:38
| 1,028,910,000 |
resolved fixed
|
30eda25
| 1,029,170,000 |
bundles/org.eclipse.swt/Eclipse SWT/emulated/coolbar/org/eclipse/swt/widgets/CoolBar.java
|
SWT
|
3,985 | 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.
|
2002-07-05 17:18:25
| 1,025,900,000 |
resolved fixed
|
bb59e96
| 1,028,910,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
|
SWT
|
3,986 | 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.
|
2002-07-24 15:14:30
| 1,027,540,000 |
resolved wontfix
|
559b15b
| 1,028,820,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/CoolBar.java
|
SWT
|
3,987 | 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.
|
2002-08-06 10:19:27
| 1,028,640,000 |
verified fixed
|
965c373
| 1,028,660,000 |
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Text.java
|
SWT
|
3,988 | 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.
|
2002-05-09 09:21:06
| 1,020,950,000 |
resolved fixed
|
9cf20db
| 1,028,650,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
|
SWT
|
3,989 | 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.
|
2002-07-23 17:36:24
| 1,027,460,000 |
resolved fixed
|
380f53e
| 1,028,220,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/CoolBar.java
|
SWT
|
3,990 | 22,060 |
Bug 22060 StyledText - bidi - ArrayIndexOutOfBoundsException
|
build 20020730 Not sure how to reproduce and when that happened. Attaching log.
|
2002-07-30 16:45:59
| 1,028,060,000 |
resolved fixed
|
a7cb56d
| 1,028,210,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
|
SWT
|
3,991 | 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.
|
2002-07-02 09:11:17
| 1,025,620,000 |
resolved fixed
|
65efffd
| 1,028,070,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java
|
SWT
|
3,992 | 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
|
2002-07-18 11:12:42
| 1,027,010,000 |
resolved fixed
|
4104ced
| 1,028,060,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
|
SWT
|
3,993 | 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.
|
2002-07-10 22:50:15
| 1,026,360,000 |
resolved fixed
|
8b6660c
| 1,028,060,000 |
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
|
3,994 | 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.
|
2002-07-08 11:46:30
| 1,026,140,000 |
resolved fixed
|
1053da2
| 1,028,050,000 |
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/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
|
3,995 | 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 ------------------------------------
|
2002-07-30 10:17:13
| 1,028,040,000 |
resolved fixed
|
7c5eb41
| 1,028,050,000 |
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Combo.java
|
SWT
|
3,996 | 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 ---------------------------------------
|
2002-07-26 12:40:06
| 1,027,700,000 |
verified fixed
|
392da77
| 1,027,720,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java
|
SWT
|
3,997 | 21,937 |
Bug 21937 COMObject leakage on OleControlSite
|
Both constructors of OleControlSite and OleClientSite calls the same function : "createCOMInterfaces()". If you create new instance of OleControlSite, its field COMObjects (such as iDispatch, iUnknown) are initialized two time but the first ones are never disposed. COMObject::ObjectMap manages all instances of COMObject, so this problem is java-side memory leakage as well as OLE resource leakage. Any referencer of OleControlSite's instances are not garbage collected, so this is not tiny problem.
|
2002-07-26 05:41:21
| 1,027,680,000 |
resolved fixed
|
2c8437a
| 1,027,720,000 |
bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleControlSite.java
|
SWT
|
3,998 | 21,564 |
Bug 21564 GTK: Text of Button(with style bit SWT.CHECK) does not show up correctly
| null |
2002-07-12 16:24:24
| 1,026,510,000 |
verified fixed
|
104fba3
| 1,027,710,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Button.java
|
SWT
|
3,999 | 21,958 |
Bug 21958 ControlExample FileDialog does not filter correctly
|
The FileDialog created in the Dialog tab has extensions and filter names set but these are not working correctly. Delete the entry in File name field Set the filter to Doc files and go to a folder with *.doc files. You will see the folders but not the files. Same is true for all the other filters. I set the file name field to "*.doc" then I see the doc files. I noted that this occurs even if the file extension field is set to something else such as Batch Files. I noted that the extension for .txt has an extra period after ie (".txt.") but removing this still does not fix the dialog behaviour. I also noted that on GTK and Motif the filters do not seem to apply at all. It should be noted in the javadoc for FileDialog.setFilterExtensions etc that these filters are not applied on all platforms.
|
2002-07-26 11:22:32
| 1,027,700,000 |
resolved fixed
|
edc6d32
| 1,027,700,000 |
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/DialogTab.java
|
SWT
|
4,000 | 21,563 |
Bug 21563 Mnemonics give focus to the label on GTK
|
Build 2.0 release Linux/GTK For widgets that do not contain heder text, the mnemonic can be stored in a label adjacent to the widget. When such a mnemonic is triggered on GTK, keyboard focus is incorrectly being given to the label instead of the widget. To reproduce: 1) Open the Workbench->Editors preference page. 2) Press Alt+K to give keyboard focus to the Keybindings combobox - the combobox does not get hilighted 3) Press up/down to change the keybindings - nothing happens 4) Press Tab - the combobox gets hilighted 5) Press up/down - scrolls through the available options - the combobox has keyboard focus
|
2002-07-12 16:15:40
| 1,026,500,000 |
resolved fixed
|
e8971aa
| 1,027,630,000 |
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Label.java
|
SWT
|
4,001 | 21,831 |
Bug 21831 Debug events wait for further UI events
|
Build I-20020723 VM: J2RE 1.3.1 IBM Windows 32 build cn131-20020403 (JIT enabled: jitc) - new Java project - new class: public class Hello { public static void main(String[] args) { System.out.println("Hi"); System.out.println("Hi"); System.out.println("Hi"); System.out.println("Hi"); System.out.println("Hi"); System.out.println("Hi"); } - set breakpoint on first line - launch under debugger - wait until debugger settles down at breakpoint - hit F6 - nothing happens - wiggle mouse - the step occurs You may need to wiggle the mouse even to get to the breakpoint (seems to affect all debug events, not just step). At first I thought the debugger was just being horrendously slow, but if you wiggle the mouse immediately after stepping, or while clicking on the step button, it gets processed quickly.
|
2002-07-23 16:05:21
| 1,027,450,000 |
verified fixed
|
d0a1cdc
| 1,027,630,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java
|
SWT
|
4,002 | 21,526 |
Bug 21526 Shell.computeTrim does not include menu bar
|
Eclipse R2.0. On GTK2. Shell.computeTrim does not include the size of the menu bar when one is present. Other platforms do.
|
2002-07-12 10:11:06
| 1,026,480,000 |
resolved fixed
|
4950fb5
| 1,027,610,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java
|
SWT
|
4,003 | 21,573 |
Bug 21573 TableTreeItem should have get/setGrayed() methods like TableItem
| null |
2002-07-14 08:15:54
| 1,026,650,000 |
resolved fixed
|
69d665c
| 1,027,540,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TableTreeItem.java
|
SWT
|
4,004 | 21,653 |
Bug 21653 WinCE/SH4: Arrow keys don't generate key events
|
We have a machine running WindowsCE on an SH4 that has a full keyboard and mouse, based on a customer configuration. The customer has reported (and we have verified) that certain key events are not getting propagated by SWT on this platform. In the following testcase, key events fire for the letter keys, but no key events are fired for the arrow keys. --- cut here --- import org.eclipse.swt.SWT; import org.eclipse.swt.events.KeyAdapter; import org.eclipse.swt.events.KeyEvent; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.widgets.*; public class TestSwtKeyEvents { public static void main(String[] args) { Display disp = Display.getDefault(); Shell shell = new Shell(disp); shell.setLayout(new FillLayout()); Canvas canvas = new Canvas(shell, 0); canvas.addKeyListener(new KeyAdapter() { public void keyPressed(KeyEvent e) { switch (e.keyCode) { case SWT.ARROW_DOWN: System.out.println ("arrow down"); break; case SWT.ARROW_UP: System.out.println ("arrow up"); break; case SWT.ARROW_LEFT: System.out.println ("arrow left"); break; case SWT.ARROW_RIGHT: System.out.println ("arrow right"); break; default: System.out.println (e.character); } } }); shell.pack(); shell.open(); while (!shell.isDisposed()) { if (!disp.readAndDispatch()) { disp.sleep(); } } } }
|
2002-07-17 09:00:16
| 1,026,910,000 |
resolved fixed
|
19738ec
| 1,027,520,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java
|
SWT
|
4,005 | 21,706 |
Bug 21706 BidiUtil in win32 has Class.forName() usage
|
Well, kind of. And so what if it does? OK, 2047 has a line in org.eclipse.swt.internal.BidiUtil of: static Callback callback = new Callback (BidiUtil.class, "windowProc", 4); The BidiUtil.class is syntactic sugar for Class.forName("org...BidiUtil"). The problem with this is that method throws a NoClassDefFoundError, which is not defined in the CLDC class libraries, which causes us a little problem in the CLDC version of SWT. You'd only see this problem if you verified or used jxeLink or something; the compiler gens the call itself, and just assumes NoClassDefFoundError is around, so you won't ever get a compiler error from the eclipse compiler (nor Sun's compiler). So, I'd like this changed. Here's the simplest way to change to remove the reflection. - add a private constructor. There are no non-static methods in this class, so actually, this would be a good thing to do anyway. Might as well prevent people from instantiating the class if there's no need to. You're not adding any size, because the compiler gives you a free public constructor anyway. You're just making the contructor private instead of public. - change the line above to: static Callback callback = new Callback (new BidiUtil().getClass (), "windowProc", 4); I haven't tested it, but it should do exactly the same thing.
|
2002-07-18 14:40:19
| 1,027,020,000 |
resolved fixed
|
a252d41
| 1,027,440,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/internal/BidiUtil.java
|
SWT
|
4,006 | 19,380 |
Bug 19380 listboxes flash as preferences dialog is resized
|
Open the preferences dialog and goto the Java>Compiler page. Now resize the dialog and the column of listboxes will flash as you do so.
|
2002-06-05 13:47:32
| 1,023,300,000 |
resolved fixed
|
3875e3b
| 1,027,020,000 |
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Combo.java
|
SWT
|
4,007 | 14,799 |
Bug 14799 Window manipulations block other threads from executing
|
On Win32 platforms (such as Win2k and WinNT), operations such as moving a scrollbar arm and resizing a window block other threads from executing. This is not the case on QNX. In case this is unclear, I have a testcase. Also, it should be noted that despite the trivial nature of the test, it represents the kind of issue we have with java.awt.ScrollPane, where we try to repaint a view as it is scrolling, from the AWT main thread. 1. After the window opens, observe the background color changing between black and white 2. Try to move the scrollbar's arm up and down - observe that the color changing thread no longer changes the colors. That thread will also be blocked if you grab the shell's corner and do some frequent resizing. On Photon, the color changes continue to occur. ----- testcase follows --------- import org.eclipse.swt.SWT; import org.eclipse.swt.graphics.Color; 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 TestSwtScrollEvents { Display display; Shell shell; Canvas canvas; public static void main(String[] args) { TestSwtScrollEvents test = new TestSwtScrollEvents(); test.createWidgets(); test.open(); } void createWidgets() { display = new Display(); shell = new Shell(display); shell.setLayout(new FillLayout()); canvas = new Canvas(shell, SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL); } void open() { shell.pack(); shell.open(); createBackgroundThread(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } } /* * on a background thread change the color of the canvas. * you should see the canvas switch between black and white * as long as the ui is responsive. */ void createBackgroundThread() { // create something to run Runnable runnable = new Runnable() { Color black = display.getSystemColor(SWT.COLOR_BLACK); Color white = display.getSystemColor(SWT.COLOR_WHITE); Color background = black; public void run() { while(!shell.isDisposed()) { // set the background color of the canvas. This must // be done on the ui thread display.syncExec(new Runnable() { public void run() { canvas.setBackground (background); } }); // wait .5 second before changing the background color try { Thread.sleep(500); } catch (InterruptedException e) {} // toggle color if (background == black) background = white; else background = black; } } }; // create a new thread for changing the background color and start it new Thread(runnable).start(); } }
|
2002-04-26 16:26:22
| 1,019,850,000 |
resolved fixed
|
7c4f71f
| 1,027,010,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java
|
SWT
|
4,008 | 21,456 |
Bug 21456 GTK: Cannot type in Text widget contained in Shell which has style bit as NO_TRIM
|
When the Shell has NO_TRIM as its style bit we cannot type in the text widget in that Shell. Here is 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.layout.RowLayout; import org.eclipse.swt.widgets.*; public class TestSWTNoTrimtext { public static void main(String[] args) { Display disp = Display.getDefault(); final Shell shell = new Shell(disp, SWT.NO_TRIM); try { shell.setLayout(new RowLayout(SWT.VERTICAL)); Text mainbox = new Text( shell, SWT.MULTI | SWT.HORIZONTAL | SWT.VERTICAL | SWT.CLIP_CHILDREN | SWT.CLIP_SIBLINGS | SWT.NULL); Button button = new Button(shell, SWT.BORDER); button.setText("Close"); //mainbox.setEnabled(true); button.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { shell.dispose(); } }); mainbox.setText("testing"); shell.setSize(200, 200); shell.open(); } catch (Exception e) { System.out.println("Error!!"); } while (!shell.isDisposed()) { if (!disp.readAndDispatch()) { disp.sleep(); } } } } --------------------------test case ends here --------------------------
|
2002-07-10 13:25:58
| 1,026,320,000 |
verified fixed
|
1721059
| 1,026,940,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java
|
SWT
|
4,009 | 21,374 |
Bug 21374 Problem with Umlauts in Photon
|
We've got problems wuth Umlauts in our UI. The cause for that is, that for the AWT/SWT character conversion the Class org.eclipse.swt.internal.Converter is used which uses the converters of the String class. The converter in the String class is the standard converter which is set with 'file-converter=utf8'. This is showing all Umlauts correctly in the UI but all I/O interfaces are using this conversion as well. Since these are external code we're not able to change them and set encoding back to Latin1. The question is: The Photon port of the AWT/SWT must use UTF8 for displaying Text in Photon. Why is the converter that is dependant on the 'file-converter' parameter? The OTI implementation is marked as 'SLOW AND BOGUS' when will that be changed?
|
2002-07-08 15:12:33
| 1,026,160,000 |
resolved fixed
|
57dbd01
| 1,026,940,000 |
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/internal/Converter.java
|
SWT
|
4,010 | 21,440 |
Bug 21440 Unable to display Today screen when SWT app running on WinCE
|
Once I have deployed an SWT application to the PocketPC and started the application, I cannot show the Today screen in the PocketPC. If I choose Start- Today, my application is shown instead of the Today screen. Just open an SWT-based window, and then using the task list button, try to switch to the Today view - it continues displaying the SWT app and changes the title bar to the text "Today".
|
2002-07-10 11:03:30
| 1,026,310,000 |
resolved fixed
|
386907a
| 1,026,930,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Shell.java
|
SWT
|
4,011 | 21,449 |
Bug 21449 GTK: Calling Text.setSelection() causes GPF
|
When the test is run with the style bit as MULTI a GPF occurs. Here is the test case: ------------------start of test case --------------------------------- import org.eclipse.swt.SWT; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.widgets.*; public class TestSWTTextselection { public static void main(String[] args) { Shell shell = null; Display disp = null; try { disp = Display.getDefault(); shell = new Shell(disp); shell.setLayout(new FillLayout()); Text mainbox = new Text(shell, SWT.BORDER|SWT.MULTI | SWT.HORIZONTAL | SWT.VERTICAL); mainbox.setEnabled(true); mainbox.setText("testing"); mainbox.setSelection(3,3); shell.setSize(400, 400); shell.open(); } catch (Exception e) { System.out.println("Error!!"); } while (!shell.isDisposed()) { if (!disp.readAndDispatch()) { disp.sleep(); } } } } -------------------------end of test case ------------------------
|
2002-07-10 12:10:44
| 1,026,320,000 |
verified fixed
|
1d1cba9
| 1,026,930,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java
|
SWT
|
4,012 | 32,770 |
Bug 32770 Java application launch shortcut error doesn't help user
|
1. Open a java file containing a main method. 2. Select a non-resource-based view (such as the Debug view). 3. Click Debug As->Java Application. 4. A dialog appears: "Launch failed: no main type found". We should consider tracking resource selection the way external tools tracks selection for variable expansion (in fact, we should be able to combine the two into a single mechanism?). Also, we should improve the quality of the error message. The message should give the user a hint about what they need to do to fix the problem - in this case, they need to select a resource. The message should say something like "Launch failed: No file with a main type selected"
|
2003-02-24 14:41:55
| 1,046,120,000 |
verified fixed
|
5bfc4a3
| 1,026,850,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Shell.java
|
SWT
|
4,013 | 21,596 |
Bug 21596 StyledText - initial bidi caret position wrong when widget empty
|
build 2.0 When no initial text is set in the widget the caret is not positioned at the left edge of the widget. It is a few pixels too far right. This does not happen when setText has been called.
|
2002-07-15 15:33:29
| 1,026,760,000 |
resolved fixed
|
28542bd
| 1,026,760,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
|
SWT
|
4,014 | 12,181 |
Bug 12181 StyledText - mixing text width/caret position is confusing
|
build 20020321 The concept of caret position and text width used to be interchangeable. We always measure text from the beginning of the line to a character offset in the line which normally is the same as the caret position. This changed when we added support for margins in SINGLE mode. When a left margin is set, the caret positition == text width + leftMargin. We should make this difference and the concept of caret position == text width clearer in the doc. This is especially confusing since we introduced StyledTextBidi.getCaretPosition which is called in bidiTextWidth and is also used for caret position *and* text width. We may want to rename getCaretPosition and the textWidth methods so that they suggest neither caret position nor text width (getTextPosition ?).
|
2002-03-22 18:46:04
| 1,016,840,000 |
resolved fixed
|
47bdf98
| 1,026,750,000 |
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 bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextBidi.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextRenderer.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/WrappedContent.java
|
SWT
|
4,015 | 18,429 |
Bug 18429 ScrolledComposite with LayoutManager is VERY slow in iPAQ
|
I've tried the examples for the ScrolledComposite from the javadoc on the iPAQ an it is very slow. After touching the slider it took 2 sec to move the slider to the new position and another 6 sec to scroll the content of the widget. I've tried the old examples (displaying 10 buttons) and the new one (two ScrolledComposite and one button to add buttons to these widgets). Then I modified the old examples (deleting the LayoutManager) and placed the buttons by myself (setLocation). This helps. Now I can move the slider while the content is repainted. Seems that the LayoutManager is too slow for the iPAQ. I'm using: iPAQ with pocketPC2002 swt-win32-2040.dll j9 You can find the examples in the old and the new javadoc of ScrolledComposite.
|
2002-05-31 09:05:35
| 1,022,850,000 |
resolved fixed
|
8166f2f
| 1,026,500,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java
|
SWT
|
4,016 | 21,524 |
Bug 21524 StyledText - NPE when typing text and caret is null
|
build R2.0 To reproduce: -run the SwtStyledTextUseCase -select Text Area->hide/show caret -type a character. You get a walkback in StyledText.handleTextChanged java.lang.NullPointerException Stack trace: java/lang/Throwable.<init>()V java/lang/Throwable.<init>(Ljava/lang/String;)V java/lang/NullPointerException.<init>(Ljava/lang/String;)V org/eclipse/swt/custom/StyledText.handleTextChanged (Lorg/eclipse/swt/custom/TextChangedEvent;)V org/eclipse/swt/custom/StyledText$6.textChanged (Lorg/eclipse/swt/custom/TextChangedEvent;)V org/eclipse/swt/custom/StyledTextListener.handleEvent (Lorg/eclipse/swt/widgets/Event;)V org/eclipse/swt/custom/DefaultContent.sendTextEvent (Lorg/eclipse/swt/custom/StyledTextEvent;)V org/eclipse/swt/custom/DefaultContent.replaceTextRange(IILjava/lang/String;)V org/eclipse/swt/custom/StyledText.modifyContent (Lorg/eclipse/swt/widgets/Event;Z)V org/eclipse/swt/custom/StyledText.sendKeyEvent (Lorg/eclipse/swt/widgets/Event;)V org/eclipse/swt/custom/StyledText.doContent(C)V org/eclipse/swt/custom/StyledText.handleKey(Lorg/eclipse/swt/widgets/Event;)V org/eclipse/swt/custom/StyledText.handleKeyDown (Lorg/eclipse/swt/widgets/Event;)V org/eclipse/swt/custom/StyledText$8.handleEvent (Lorg/eclipse/swt/widgets/Event;)V org/eclipse/swt/widgets/EventTable.sendEvent(Lorg/eclipse/swt/widgets/Event;) V org/eclipse/swt/widgets/Widget.sendEvent(Lorg/eclipse/swt/widgets/Event;)V org/eclipse/swt/widgets/Display.runDeferredEvents()Z org/eclipse/swt/widgets/Display.readAndDispatch()Z org/eclipse/swt/examples/exampleframework/SwtExample.run() Lorg/eclipse/swt/examples/exampleframework/SwtExample; org/eclipse/swt/examples/tests/SwtStyledTextUseCase.main([Ljava/lang/String;) V
|
2002-07-12 09:33:31
| 1,026,480,000 |
resolved fixed
|
36e6638
| 1,026,490,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
|
SWT
|
4,017 | 21,523 |
Bug 21523 StyledText - caret does not move when widget shell is not open
|
build R2.0 The caret does not move horizontally when the widget has not been made visible yet (i.e., its shell has not been opened) and API is called that should move the caret. To reproduce add the line text.invokeAction(ST.COLUMN_NEXT); to the SwtStyledTextUseCase.createWorkRegion Observe that the caret is still at offset 0 when the user case is started. When cursor next is pressed the caret is at offset 2. The problem is that StyledText.showLocation returns scroll == true when horizontal scroll was called even if the horizontal scroll does not actually occur because the passed scroll distance is 0.
|
2002-07-12 09:19:15
| 1,026,480,000 |
resolved fixed
|
b5d04fb
| 1,026,480,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
|
SWT
|
4,018 | 11,994 |
Bug 11994 StyledText - replace getXAtOffset(caretOffset) with caret.getLocation().x
|
build 20020319 In a number of places we get the location of the caret by calling getXAtOffset (caretOffset). I haven't looked at the code but we may be able to replace this with a call to caret.getLocation().x. This won't be possible though if the caret is null (i.e., when there is no caret). We could at least optimize the case when there is a caret.
|
2002-03-20 17:01:59
| 1,016,660,000 |
resolved fixed
|
edc261c
| 1,026,430,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
|
SWT
|
4,019 | 12,178 |
Bug 12178 StyledText - move StyledTextRenderer#bidiTextWidth to DisplayRenderer
|
build 20020321 bidiTextWidth is used by the StyledTextRenderer to calculate the line start location on bidi platforms. This is important for display rendering because of the bidi caret inset. For printing however there is no need for a bidi caret inset. The current method should be moved to DisplayRenderer, made abstract in StyledTextRenderer and just return 0 in the PrintRenderer. StyledTextRenderer#getLastCaretDirection could then also be moved to PrintRenderer and removed completely in StyledTextRenderer.
|
2002-03-22 18:00:37
| 1,016,840,000 |
resolved fixed
|
535ac73
| 1,026,420,000 |
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/PrintRenderer.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextRenderer.java
|
SWT
|
4,020 | 21,415 |
Bug 21415 Javadoc for CLabel.setBackground has typos
|
In the Javadoc for the subject method, the following line appears: * Specify a gradiant of colours to be draw in the background of the CLabel. "draw" should be "drawn" "gradiant" should be "gradient" (actually 2 occurrences of this in this method)
|
2002-07-09 15:13:34
| 1,026,240,000 |
resolved fixed
|
732e953
| 1,026,410,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CLabel.java
|
SWT
|
4,021 | 15,088 |
Bug 15088 StyledText - getTopIndex semantics undefined when no line fully visible
| null |
2002-05-02 10:14:09
| 1,020,350,000 |
resolved fixed
|
debbbdd
| 1,026,410,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
|
SWT
|
4,022 | 20,690 |
Bug 20690 StyledText - bidi - should force font script when keyboard language changed
|
StyledText derives whether or not to reorder text based on what the font script is (this is what MS doc says to do when using GetCharacterPlacement). If you have your font script set incorrectly (e.g., Western vs. Hebrew/Arabic), RtoL text will be displayed as LtoR, which is confusing. Other applications (e.g., WordPad) set the font script when the keyboard language is changed. We should do this if we can. Post 2.0.
|
2002-06-19 17:46:51
| 1,024,520,000 |
resolved fixed
|
4ed026a
| 1,026,330,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/internal/BidiUtil.java
|
SWT
|
4,023 | 21,413 |
Bug 21413 CoolBar computeSize fails on XP
|
selfhosting with SWT code > 20020709 (no build available so far) CoolBar computeSize fails on windows XP (tested running with the manifest file) Situation 1: 1 - Resize the workbench windows until the CoolBar wraps. 2 - Maximized the workbench window. 3 - A empty row remains (bug). Note: It looks like the SetWindowPos do not cause the CoolBar unwrap. Situation 2: 1 - Play a bit resizing the workbench windows making the CoolBar wrap and unwrap. 2 - Eventually a empty row appears. Note: It looks like the compute trim for the coolbar on XP have to consider more than the border size.
|
2002-07-09 13:56:40
| 1,026,240,000 |
resolved fixed
|
983c5f7
| 1,026,330,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/CoolBar.java
|
SWT
|
4,024 | 21,154 |
Bug 21154 StyledText - BIDI - Bad effect of RLO unicode character
|
Tested on win2k Arabic Locale, build eclipse-SDK-GM4-win32.zip -Create a new Java Project. -Create a new Java Class named TestStyledText. -Insert the following code in the newly created class: public class TestStyledText { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new GridLayout()); shell.setSize(300, 300); Group grp1 = new Group(shell, SWT.NULL); grp1.setLayout(new GridLayout()); StyledText styledText = new StyledText(grp1, SWT.H_SCROLL | SWT.V_SCROLL | SWT.MULTI); styledText.setSize(500, 500); styledText.setText("\u202e\uFE9F\uFEF4\uFEFC\uFEE5"); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } } } -The \u202e is Right to Left Override unicode control character. -Run the Java class as a Java application. -Only the character \uFEE5 is displayed in the StyledText component, other are displayed as white spaces, NB:When I select all the text and copy it to notepad, it is correctly displayed.
|
2002-06-30 09:03:30
| 1,025,440,000 |
resolved fixed
|
70ad0ef
| 1,026,320,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextBidi.java
|
SWT
|
4,025 | 15,554 |
Bug 15554 DCR - alignment in a text widget
|
I am looking for a way to set the string in a text widget right aligned (e.g. for numbers). For a javax.swing.JTextField there exists a function setHorizontalAlignment( JTextField.RIGHT) - There should be something similar for org.eclipse.widgets.Text to set left / right / center alignment.
|
2002-05-08 13:00:20
| 1,020,880,000 |
resolved fixed
|
31e7415
| 1,026,310,000 |
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Text.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Text.java bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Text.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Text.java
|
SWT
|
4,026 | 16,205 |
Bug 16205 StyledText - Tab does not tab out of read-only
|
Build 20020515 - Help / About - select a portion of the about text (this is a read-only StyledText) - hit Tab - it does not go to the next control Since Tab has no effect on the StyledText content since it is read-only, it should do tab traversal. Note that we are working around this post 20020515 by using a traverse listener. If this is fixed, please let us know so we can remove this workaround.
|
2002-05-16 18:11:14
| 1,021,590,000 |
resolved fixed
|
132f3a8
| 1,026,250,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
|
SWT
|
4,027 | 21,223 |
Bug 21223 StyledText - Cursor should stop blinking when moving
|
If I hold the "down" button inside a java file, the cursor blinks while moving downward. It should only blink when still.
|
2002-07-03 22:26:00
| 1,025,750,000 |
resolved fixed
|
4304c6f
| 1,026,250,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Caret.java
|
SWT
|
4,028 | 11,868 |
Bug 11868 StyledText: text selection with key 'arrow down' does not include last line
| null |
2002-03-20 10:14:43
| 1,016,640,000 |
resolved fixed
|
a302881
| 1,026,250,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
|
SWT
|
4,029 | 21,386 |
Bug 21386 Help uses xerces implementation classes instead of APIs
|
Help uses org.apache.xerces packages instead of APIs (javax.xml.parsers packages).
|
2002-07-08 17:26:11
| 1,026,160,000 |
resolved fixed
|
715380d
| 1,026,240,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/GC.java
|
SWT
|
4,030 | 16,110 |
Bug 16110 StyledText scroll not working with PageUp/Down keys.
|
When all contensts are selected in StyledText, PageDown or PageUp keys does not scroll the client area so that the caret is shown in the window. Behavior of ArrowDown and ArrowUp keys looks good. With TextEditor: 1) Open the text file which is large enough to show a vertical scrollbar. 2) Scroll down to the middle of the file. 3) Edit -> Select All 4) Push PageUp key.
|
2002-05-16 02:12:10
| 1,021,530,000 |
resolved fixed
|
4c56a53
| 1,026,230,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
|
SWT
|
4,031 | 19,964 |
Bug 19964 Coolbar - can "lose" items when platform widget wraps
|
Build 20020611 1. Size the workbench and Reset Toolbar Layout so that you have two rows of items, with only a couple of items on the second row. 2. Size the workbench smaller and smaller vertically. When the items on the first row can no longer fit (due to minimum size reached for all), the platform widget will start to wrap items from row 1 to row 2. Notice that you "lose" the original second row items. The WorkbenchWindowLayout is being called during the resize and the size of the coolbar recomputed, so this appears to be an SWT bug. If you Reset Toolbar Layout, the problem will be fixed, but that is because wrap indices are explicitly being set.
|
2002-06-11 20:10:59
| 1,023,840,000 |
resolved fixed
|
ae9e98c
| 1,026,230,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/CoolBar.java
|
SWT
|
4,032 | 21,030 |
Bug 21030 StyledText - during cut if clipboard copy fails do not delete text
| null |
2002-06-26 16:02:08
| 1,025,120,000 |
resolved fixed
|
32e29cd
| 1,026,170,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
|
SWT
|
4,033 | 17,252 |
Bug 17252 accelerator labels: Ctrl-Shift-A, Shift-Ctrl-A or Shift-Ctl-A?
|
F1 on linux-gtk: I see the modifier keys of accelerator labels are reversed on gtk: Shift-Ctrl- instead of Ctrl-Shift- . Looking at some gtk (1.x) programs, they actually use Shift-Ctl- . Either we should be platform compliant (Shift-Ctl-) or use the unified way (Ctrl-Shift-).
|
2002-05-23 09:44:31
| 1,022,160,000 |
resolved fixed
|
ed23340
| 1,025,900,000 |
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/MenuItem.java
|
SWT
|
4,034 | 16,986 |
Bug 16986 JavaViewer example should remember path
|
The JavaViewer example does not remember the path of the last file opened. Every time the user opens a file, he has to walk the file system again. This can be easily done by keeping the FileDialog around.
|
2002-05-22 14:52:36
| 1,022,090,000 |
resolved fixed
|
d5a48d1
| 1,025,900,000 |
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/javaviewer/JavaViewer.java
|
SWT
|
4,035 | 16,777 |
Bug 16777 Busy cursor lost over progress indicator edges
|
Whenever BusyIndicator.showWhile() is used around a ProgressMonitorDialog, there are 1 pixel borders around the progress indicator that retain the default cursor. The busy cursor should be active for the entire ProgressMonitorDialog. To reproduce: 1) Check something out of CVS that will take around 10 seconds. 2) While the operation is in progress, mouse over the busy indicator. 3) Depending on how fast you moved the cursor, you will see the cursor flash over the borders of the busy indicator. If you stop the cursor on the correct pixel, the busy cursor changes back to the normal cursor. This behaviour was observed in F1 on Windows. Linux-Motif does not exhibit this behaviour.
|
2002-05-22 09:38:52
| 1,022,070,000 |
resolved fixed
|
04a2a93
| 1,025,890,000 |
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.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/Sash.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Shell.java
|
SWT
|
4,036 | 19,434 |
Bug 19434 ToolItem does not need to check for TOGGLE
|
20020602 ToolItem does not need to check for SWT.TOGGLE in setSelection and getSelection. Suspect this code was cut/pasted from Button, but since TOGGLE is not a ToolItem style, the check for TOGGLE is unnecessary.
|
2002-06-05 18:52:59
| 1,023,320,000 |
resolved fixed
|
5449682
| 1,025,820,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ToolItem.java
|
SWT
|
4,037 | 20,956 |
Bug 20956 Emulated CoolItem do not respect SWT.DROP_DOWN flag
|
build 20020624 A CoolItem should only has the chevron when the SWT.DROP_DOWN flag is set, but the emulated CoolItem always has it doesn't matter if the flag is set or not. ControlExample shows this bug. I think we should fix this after 2.0.
|
2002-06-25 12:18:03
| 1,025,020,000 |
resolved fixed
|
cd729e2
| 1,025,810,000 |
bundles/org.eclipse.swt/Eclipse SWT/emulated/coolbar/org/eclipse/swt/widgets/CoolBar.java bundles/org.eclipse.swt/Eclipse SWT/emulated/coolbar/org/eclipse/swt/widgets/CoolItem.java
|
SWT
|
4,038 | 18,705 |
Bug 18705 Too much flashin in Control Example
|
- run the control example - resize the window _in_the_vertical_direction_only_ - notice that all tabs in the TabFolder and all Frames flash. - why? only the bottom edge of the outermost frames need to be repainted.
|
2002-06-03 09:33:46
| 1,023,110,000 |
resolved fixed
|
c762252
| 1,025,810,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ToolBar.java
|
SWT
|
4,039 | 18,253 |
Bug 18253 Coolbar - disposing items not honoring setRedraw = false
|
1. Put a breakpoint at the for loop in the button handler. 2. Run the attached test case with debug. Press the delete button. 3. Step through the for loop. Notice that redraws are occurring even though setRedraw is set to false.
|
2002-05-29 18:39:11
| 1,022,710,000 |
resolved fixed
|
e293cd5
| 1,025,800,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/CoolBar.java
|
SWT
|
4,040 | 19,630 |
Bug 19630 Coolbar - odd dispose behavior
|
Run the attached test case. Press the Remove button. The remove action will remove the first coolitem. First the coolitem's associated toolbar is disposed, then it executes setControl(null) for the coolitem, then it disposes the coolitem. Note that the setControl(null) method cause an SWTException, which is odd.
|
2002-06-07 13:37:12
| 1,023,470,000 |
resolved fixed
|
cd0ca06
| 1,025,800,000 |
bundles/org.eclipse.swt/Eclipse SWT/emulated/tabfolder/org/eclipse/swt/widgets/TabItem.java bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/TabItem.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/CoolItem.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TabItem.java
|
SWT
|
4,041 | 15,728 |
Bug 15728 Packages view selection always one too high
|
If you have selected a class and then switch back to the packages view to see it the selection is always one element above the top of the view. STEPS 1) Open a Type Hierarchy on a class 2) Select its superclass and open an editor 3) Switch back to the packages view - the selection will be one element too high and not visible
|
2002-05-10 09:55:11
| 1,021,040,000 |
resolved fixed
|
3bf1326
| 1,025,800,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
|
SWT
|
4,042 | 15,559 |
Bug 15559 JAWS reads the parent window for dialog shells
|
JAWS has a feature that allows you to read the contents of a message box. If a message box pops you can hit Ins+B and it will read all of the widgets in the box. In the Eclipse UI MessageBox (a window with a modal shell) this feature will read the contents of the window parenting the dialog rather than the dialog. In other applications (like the Word Detect and Repair dialog) this will read all of the widgets in the dialog.
|
2002-05-08 13:42:34
| 1,020,880,000 |
resolved fixed
|
783a786
| 1,025,800,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Shell.java
|
SWT
|
4,043 | 20,846 |
Bug 20846 WIN32: 'Combo.indexOf' always returns -1 for empty string
|
This is a problem of both the ComboLBox and ListBox control of Windows. The implementation of 'List.indexOf' already shows a solution which will also work fine for the Combo. (Theorem: Every set of bugs has an accumulation point.)
|
2002-06-21 16:51:05
| 1,024,690,000 |
resolved fixed
|
6d9ffc9
| 1,025,800,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Combo.java
|
SWT
|
4,044 | 20,159 |
Bug 20159 Right-clicking on coolbar grabber causes strange behavior
|
Build F3 (20020612) Redhat 7.2, KDE 2.2-10 (Both Motif and GTK2) If you right click and release on a coolbar grabber (like a regular mouse click), then the 4-way arrow cursor appears (as if to say, you may now move the coolbar). The coolbar will follow the mouse from now on, but only if you go really slow, if you slide too fast then the coolbar stops following (but the 4- way arrow is still there). If you move on the grabber again then it starts following the mouse again. Also, after right clicking on a grabber, if you move your mouse under the coolbar and then back up on a different grabber, then the coolbar jumps. You can even lock the coolbars and the 4-way arrow is still present. The only way to get out of the 4-way arrow cursor mode is to left click on the original grabber.
|
2002-06-13 09:40:13
| 1,023,980,000 |
resolved fixed
|
42cd796
| 1,025,730,000 |
bundles/org.eclipse.swt/Eclipse SWT/emulated/coolbar/org/eclipse/swt/widgets/CoolBar.java
|
SWT
|
4,045 | 20,904 |
Bug 20904 SWT exception on LayoutExample (Photon)
|
build 20020624 (F4) 1 - Run the LayoutExample (org.eclipse.swt.examples) 2 - Go to the RowLayout tab 3 - Insert a control 4 - define a width for this control The following log will be write in the console: org.eclipse.swt.SWTException: Widget is disposed Stack trace: java/lang/Throwable.<init>()V java/lang/Throwable.<init>(Ljava/lang/String;)V org/eclipse/swt/SWTException.<init>(ILjava/lang/String;)V org/eclipse/swt/SWTException.<init>(I)V org/eclipse/swt/SWT.error(ILjava/lang/Throwable;)V org/eclipse/swt/SWT.error(I)V org/eclipse/swt/widgets/Widget.error(I)V org/eclipse/swt/widgets/Control.getDisplay()Lorg/eclipse/swt/widgets/Display; org/eclipse/swt/widgets/Control.processKey(I)I org/eclipse/swt/widgets/Widget.processEvent(III)I org/eclipse/swt/widgets/Text.processEvent(III)I org/eclipse/swt/widgets/Display.windowProc(III)I org/eclipse/swt/internal/photon/OS.PtAppProcessEvent(I)V org/eclipse/swt/widgets/Display.sleep()Z org/eclipse/swt/examples/layoutexample/LayoutExample.main ([Ljava/lang/String;)V
|
2002-06-24 13:39:48
| 1,024,940,000 |
resolved fixed
|
f0c9f4c
| 1,025,720,000 |
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Control.java
|
SWT
|
4,046 | 19,615 |
Bug 19615 StyledText - example Text Editor bug in copy/paste
|
build 20020602 (F2) 1 - Run TextEditor example on org.eclipse.swt.examples 2 - aaaa on it 3 - set a style (bold, blue, red, whatever you want) for the first and the last chars. (it have to be the same style for both) 4 - Copy it and paste 5 - The style you choice will be applied on the first and on the second char of the paste string. Bug, can be on Styled Text, Drag'n Drop, or in the example itself. Tested on Windows/Motif (both show the problem). More info: if you paste the text in the Micrsoft Word it is done correctly. Likely the problem is on the StyledText when it is parsing RTF to be insert in.
|
2002-06-07 12:28:48
| 1,023,470,000 |
resolved fixed
|
dbcfafc
| 1,025,710,000 |
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/texteditor/TextEditor.java
|
SWT
|
4,047 | 20,722 |
Bug 20722 GTK TableColumn#pack does not work if no header
|
Eclipse 0620 Linux GTK Red Hat 7.2 under KDE Table.pack only seems to work if the column headers are visible AND they have text. Table.pack should make the column the wider of the header or the widest entry in the column and it should work regardless of whether the header is visible. 1) Run the example below. The second column is visible, the first column is not. 2) Uncomment the line "table.setHeaderVisible" The second column is visible, the first column still is not. 3) Uncomment the lines "column1.setText" and "column2.setText" Now the first column is visible as well as the second column. 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); //table.setHeaderVisible(true); TableColumn column1 = new TableColumn(table, SWT.NONE); //column1.setText("Column 1"); TableColumn column2 = new TableColumn(table, SWT.NONE); //column2.setText("Column 2"); for (int i = 0; i < 100; i++) { TableItem item = new TableItem(table, SWT.NONE); item.setText(new String[] {"item 0 " + i, "item 1 " + i}); } column1.pack(); column2.pack(); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); }
|
2002-06-20 10:48:44
| 1,024,580,000 |
resolved fixed
|
4313796
| 1,025,710,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TableColumn.java
|
SWT
|
4,048 | 20,683 |
Bug 20683 [ExternalTools] F3 (and F2) crashes the JVM when trying to cancel an external tool on linux-gtk
|
When I create an external tool to run this shell script: #!/bin/sh sleep 1m (I put that in my testcase project under the name test2.sh and pop to a shell to make it chmod 755) I create an external tool with the following properties: Location: ${workspace_loc:/testcase/test2.sh} Arguments: Directory: ${workspace_loc:/testcase} Then I run it. Of course it sleeps for 1m, so I press "cancel", which doesn't kill the process, but rather attempts to wait for it to finish, I get bored of waiting for that, and click the X in the top right, asking my window manager to close the window. Eclipse promptly crashes, popping up the motif error dialog: JVM terminated. Exit code=6 -cp /usr/local/lib/eclipse-F3/startup.jar org.eclipse.core.launcher.Main -os linux -ws gtk -arch x86 -showsplash /usr/local/lib/eclipse-F3/eclipse -showsplash 600 -data /home/burner/.eclipse It also dumps a JVM crash page, so I'm attaching the hs_err_pid5155.log I assume this is an SWT problem with GTK because is says an exception was raised outside the VM...
|
2002-06-19 16:14:34
| 1,024,520,000 |
resolved fixed
|
3d07da0
| 1,025,710,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java
|
SWT
|
4,049 | 17,993 |
Bug 17993 Find/Replace shouldn't replace typed entry with value from history
|
I'm using the F1 build. The Find/Replace dialog (accessed through Edit > Find/Replace...) has a history of recent searches. When you type in the "Find" or "Replace With" fields it searches for entries from a previous search. If it finds one, it replaces what you have typed with the value from the history. The search of the history is case insensitive, which means that the case of what you have typed may be changed to the case of the value in the history. In some scenarios this makes it impossible to perform find or replace operations. For example, searching for "hello" and replacing it with "hi" then searching for "Hello" and replacing it with "Hi" is not possible. For me, it is very common to perform operations like this. I think the current behaviour to be changed to something more simple which allows the full range of find and replace operations to be performed. It would be better if what I type isn't replaced with a value from the history. The current behaviour seems to be similar to "autocomplete" which is particularly common in browsers. In the future, perhaps, a full "autocomplete" feature could be provided. But this should still respect the case of what the user types. Until then, I think the feature should be removed. --- To reproduce: - Open a document so that Edit>Find/Replace... becomes available. - Choose Edit>Find/Replace... - Type "a" into the Find field. - Click "Find". - Try to type "A" into the Find field. You shouldn't be able to. The behaviour is similar for the Replace With field.
|
2002-05-27 17:53:08
| 1,022,540,000 |
resolved fixed
|
90feef1
| 1,025,710,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java
|
SWT
|
4,050 | 21,192 |
Bug 21192 UnsatisfiedLinkError thrown when pressing a hardware key
|
Using SWT 2047 on PocketPC I get an UnsatisfiedLinkError on OS.VkKeyScanW(S)S in Control#WM_KEYDOWN. OS.VkKeyScanW is not part of the 2047 SWT DLL for PocketPC (I believe the function does not exist on this platform). If I comment the snippet below for PocketPC it works fine: for (int i=0; i<ACCENTS.length; i++) { int value = OS.VkKeyScan (ACCENTS [i]); if ((value & 0xFF) == wParam && (value & 0x600) == 0x600) { return null; } }
|
2002-07-02 18:53:34
| 1,025,650,000 |
resolved fixed
|
f386913
| 1,025,710,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java
|
SWT
|
4,051 | 21,006 |
Bug 21006 could not write some characters with a french keyboard
|
With a French keyboard, it is impossible to write some characters in all editors, with all eclipse builds. The characters are : ~ tilde ` accent is there a workaround to enables Eclipse to write these characters in editors ?? thanks
|
2002-06-26 09:26:19
| 1,025,100,000 |
resolved fixed
|
1cde07f
| 1,025,120,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java
|
SWT
|
4,052 | 20,965 |
Bug 20965 Java editor hangs on Tab or Ctrl+/
|
When I select 20 lines (but not 19) in the Java editor and press Tab or Ctrl+/, the editor freezes, although the workbench doesn't: I am able to save & close the editor.
|
2002-06-25 14:16:13
| 1,025,030,000 |
resolved fixed
|
b976085
| 1,025,120,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextBidi.java
|
SWT
|
4,053 | 17,191 |
Bug 17191 SWT Error in JUnit view
|
F1 Suse 8.0, KDE 3.0, GTK 2 - switch to Java perspective - open JUnit view - select Hierarchy tab Got exception (works under Windows & Motif) org.eclipse.swt.SWTError: Argument cannot be null at org.eclipse.swt.widgets.Widget.error(Widget.java:289) at org.eclipse.swt.widgets.Tree.showItem(Tree.java:1034) at org.eclipse.swt.widgets.Tree.setSelection(Tree.java:986) at org.eclipse.jdt.internal.junit.ui.HierarchyRunView.setSelectedTest(HierarchyRunView.java:177) at org.eclipse.jdt.internal.junit.ui.TestRunnerViewPart.testViewChanged(TestRunnerViewPart.java:652) at org.eclipse.jdt.internal.junit.ui.TestRunnerViewPart.access$10(TestRunnerViewPart.java:648) at org.eclipse.jdt.internal.junit.ui.TestRunnerViewPart$11.widgetSelected(TestRunnerViewPart.java:642) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:85) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:75) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:810) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:531) at org.eclipse.swt.custom.CTabFolder.setSelection(CTabFolder.java:1679) at org.eclipse.swt.custom.CTabFolder.onMouseDown(CTabFolder.java:1796) at org.eclipse.swt.custom.CTabFolder.access$4(CTabFolder.java:1793) at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:196) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:75) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:815) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1379) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1223) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1085) at org.eclipse.ui.internal.Workbench.run(Workbench.java:1068) at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:739) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462) at java.lang.reflect.Method.invoke(Native Method) at org.eclipse.core.launcher.Main.basicRun(Main.java:200) at org.eclipse.core.launcher.Main.run(Main.java:643) at org.eclipse.core.launcher.Main.main(Main.java:476)
|
2002-05-23 06:57:21
| 1,022,150,000 |
resolved fixed
|
e96c96f
| 1,025,020,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java
|
SWT
|
4,054 | 20,615 |
Bug 20615 "Override methods" dialog too greedy with focus, also has no vertical scrollbar
|
In the linux gtk (2.0) port, the override methods dialog doesn't have a vertical scrollbar, so I couldn't select a method that was below the first 15 or so methods listed. Even worse, it is overly greedy with its focus, so I couldn't even access my window manager's features to resize the window (which was quite surprising). This should be reproducable by creating a class that extends something with a lot of methods, such as javax.swing.JTable and then selected Override methods from the popup menu that appears when right-clicking on the source editor. mike
|
2002-06-18 21:26:27
| 1,024,450,000 |
resolved fixed
|
f9c953e
| 1,024,510,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java
|
SWT
|
4,055 | 20,556 |
Bug 20556 ImageAnalyzer example - bug in the set background
|
build 20020617 1 - Run the ImageAnalyzer found on org.eclipse.swt.examples. 2 - In the Background Combo choice a different Color 3 - the canvas on center will not changed its background color, only the scrollbar will. The bug is on examples, though this is working properly on Windows. A possible fix is remove imageCanvas.fillRectangle(...) call from the changeBackground() method. Maybe we should fix this to F4..
|
2002-06-18 14:06:09
| 1,024,420,000 |
resolved fixed
|
e309bef
| 1,024,500,000 |
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/imageanalyzer/ImageAnalyzer.java
|
SWT
|
4,056 | 20,513 |
Bug 20513 Combo control in view toolbar does not refresh view properly
|
Eclipse build: F1, F2 and F3 Platform: Windows 2000 (professional) If an SWT Combo widget is added as a contribution to a view's toolbar, updating the associated toolbar manager leaves an unpainted background region displayed in the view. This region happens to correspond to the size of the Combo drop- down list. It appears that the view's content control is not being refreshed. This problem did not occur in the M5 (or any earlier) drop but is present in builds F1, F2 and F3. I tracked down the Windows messages being sent to the control when the toolbar manager is updated. The logic in ViewForm.layout(boolean) attempts to calculate the size of the container (center toolbar) and then calls setBounds() on the toolbar to update its position and size. Eventually, OS.SetWindowPos() is called for the combo control and the following messages were received by Display.widowProc(): WM_WINDOWPOSCHANGING WM_NCCALCSIZE WM_NCPAINT WM_ERASEBKGND WM_WINDOWPOSCHANGED WM_SIZE WM_PAINT I will attach a ZIP file with a simple plugin that demonstrates the problem. The steps required to show the problem are: 1. Window->Show View->Other ... 2. In the "Other" category, select the view "Test Combo View" and open it. 3. Move the view to the right side of the workbench window (beside the tasks view) and alternate activating the Tasks view and the combo view. 4. The values in the combobox are used to determine how often the combo is actually visible. Thus, setting the value to every third time means that the view can be activated twice without having the combo visible but on the third activation, the combo appears. Ensure the view is wide enough so that the combo will be located between the label and the close button, otherwise, when it appears, it will resize the view contents and cause a repaint of those contents to occur.
|
2002-06-17 16:46:06
| 1,024,350,000 |
resolved fixed
|
d2c591f
| 1,024,430,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ToolBar.java
|
SWT
|
4,057 | 20,362 |
Bug 20362 Coolbar cannot be traversed to
|
F3 Note that I also see this in the F1 build, so this is not a side-effect of SN and SQ's recent changes involving tabbing. Eclipse's CoolBar can't be tabbed into on Motif, but it can be on Windows.
|
2002-06-14 12:37:14
| 1,024,070,000 |
resolved fixed
|
144c657
| 1,024,340,000 |
bundles/org.eclipse.swt/Eclipse SWT/emulated/coolbar/org/eclipse/swt/widgets/CoolBar.java bundles/org.eclipse.swt/Eclipse SWT/emulated/coolbar/org/eclipse/swt/widgets/CoolItem.java
|
SWT
|
4,058 | 20,365 |
Bug 20365 Bidi - NPE when closing Eclipse
|
build F3 -had a workspace created with English Win2k in English system locale -switched the default locale to Hebrew -restarted Windows -in Eclipse I could now type R2L Hebrew text -on shutdown I got the attached NPE in BidiUtil.removeLanguageListener
|
2002-06-14 12:52:43
| 1,024,070,000 |
verified fixed
|
4519543
| 1,024,090,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/internal/BidiUtil.java
|
SWT
|
4,059 | 20,176 |
Bug 20176 TableItem.getText(int) returns garbage in GTK
|
Build F3, Linux/GTK Calling TableItem.getText(int) with a multicolumn table sometimes returns garbage. In the following example, the first item is retrieved correctly but the second and third come back mangled. This is what I see when I run the code below: --- 1 _x0008_A_x0017_@_x0008_A_x0017_@_eclipse_swt_internal_gtk_OS_g_1malloc _x0008_A_x0017_@_x0008_A_x0017_@_x0008_ --- This bug is causing LayoutExample to die when a user clicks on the Add button in the Row Layout tab. --8<-------- import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; public class TableTest { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.open(); Table table = new Table(shell, SWT.NONE); TableColumn column = new TableColumn(table, SWT.NONE); column = new TableColumn(table, SWT.NONE); column = new TableColumn(table, SWT.NONE); TableItem item = new TableItem(table, SWT.NONE); item.setText(new String[] { "1", "2", "3" }); System.out.println(item.getText(0)); System.out.println(item.getText(1)); System.out.println(item.getText(2)); } }
|
2002-06-13 10:32:03
| 1,023,980,000 |
resolved fixed
|
22fad4b
| 1,024,090,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TableItem.java
|
SWT
|
4,060 | 19,244 |
Bug 19244 Spacing between Table rows grows with number of rows
|
The spacing between rows in a Table widget appears to grow relative to the number of rows in the table. The spacing seems normal with a few rows. With may rows (ex. 100), the spacing can grow to be so large that you cannot even scroll to see all of the rows. Here's a snippet of our code: ----beginning of snippet 1 private Table createTable(Composite group) { // create the table Table table = new Table( group, SWT.CHECK|SWT.BORDER|SWT.MULTI|SWT.H_SCROLL|SWT.V_SCROLL); GridData gridData = new GridData(); gridData.horizontalSpan = 4; gridData.heightHint = 150; gridData.widthHint = 375; gridData.horizontalAlignment = GridData.FILL; table.setLayoutData( gridData ); // create the columns int[] columnWidths = {135, 120, 120}; TableColumn tableColumn1 = new TableColumn(table, SWT.NULL); tableColumn1.setWidth(columnWidths[0]); tableColumn1.setText(ResourceClass.GetResourceString ("elementSelectionDialog.Logical_Root")); TableColumn tableColumn2 = new TableColumn(table, SWT.NULL); tableColumn2.setWidth(columnWidths[1]); tableColumn2.setText(ResourceClass.GetResourceString ("elementSelectionDialog.Storage_Path")); TableColumn tableColumn3 = new TableColumn(table, SWT.NULL); tableColumn3.setWidth(columnWidths[2]); tableColumn3.setText(ResourceClass.GetResourceString ("elementSelectionDialog.CM_Status")); return table; } ----end of snippet 1 Methods used to populate Table: ----beginning of snippet 2 item = new TableItem( items, SWT.NULL ); item.setData( unit ); strList[0] = logicalName; item.setText( strList ); item.setImage( icoImage ); ----end of snippet 2
|
2002-06-04 22:23:24
| 1,023,240,000 |
resolved fixed
|
53cdfc1
| 1,024,080,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TableItem.java
|
SWT
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.