id
int64 1
6.5k
| bug_id
int64 2.03k
426k
| summary
stringlengths 9
251
| description
stringlengths 1
32.8k
⌀ | report_time
stringlengths 19
19
| report_timestamp
int64 1B
1.39B
| status
stringclasses 6
values | commit
stringlengths 7
9
| commit_timestamp
int64 1B
1.39B
| files
stringlengths 25
32.8k
| project_name
stringclasses 6
values |
---|---|---|---|---|---|---|---|---|---|---|
2,661 | 94,370 |
Bug 94370 SWT crashes with KERN_PROTECTION_FAILURE on mac
|
I wrote a small SWT stand alone program which crashes every time on MacOS X. The same program work flawlessly on Microsoft Windows platforms. To recreate, run the test program, resize the window that appears, wait a few seconds and then you will get the fatal exception.
|
2005-05-10 11:22:16
| 1,115,740,000 |
resolved fixed
|
60a9b02
| 1,129,650,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/GCData.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Control.java
|
SWT
|
2,662 | 109,215 |
Bug 109215 Moveable table column and DND feedback clash on MacOS X
| null |
2005-09-09 19:05:54
| 1,126,310,000 |
resolved fixed
|
7afad41
| 1,129,650,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Tree.java
|
SWT
|
2,663 | 89,687 |
Bug 89687 computeSize(-1, -1) wrong for Text with SWT.Wrap.
|
Eclipse 3.1 M6 Run the ControlExample and go to the Text tab. Make the size 50 by 50. Now make the size Preferred. The preferred size of the text seems to be based on its current size. The preferred default size should just be one line.
|
2005-03-30 15:59:33
| 1,112,220,000 |
resolved fixed
|
45c66a5
| 1,129,590,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Scrollable.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Text.java
|
SWT
|
2,664 | 111,910 |
Bug 111910 Regression: Empty unusable dialogs on Redhat 8+9 / gtk-2.0.6-8
|
On Redhat Linux 8 with the default GTK version (gtk2-2.0.6-8 and gtk+-1.2.10-22), most dialogs that directly derive from org.eclipse.jface.Dialog remain empty (gray on gray). For instance, this affects the "Filter Markers" dialog which is available from the Problems or Tasks view when pressing the filter button and also some dialogs in the Preferences. This is a regression since Eclipse-3.1. It worked OK in Eclipse-3.0.1 as well as 3.0.2. By investigation it turned out that when a dialog is marked resizeable, the bug does not appear. Therefore, a valid workaround is to change the constructor of org.eclipse.jface.Dialog such that setShellStyle() includes the SWT.RESIZE flag: setShellStyle(SWT.RESIZE | SWT.DIALOG_TRIM | SWT.APPLICATION_MODAL | getDefaultOrientation()); We suspect, however, that a correct fix must be made somewhere else, since with Eclipse-3.1 or later on Redhat 8 another problem is that most dialogs are not correctly sized on open. They always appear in a default size, which is pretty large, so that dialogs with only little content look bad. This affects the startup progress monitor, all other progress monitors, the startup workspace selection dialog, and all "simple" dialogs. It does not affect wizards, Preferences, TitleAreaDialogs and other complex dialogs. The same problem with empty dialogs appears on Redhat9 with GTK 2.0.6-8. I'm marking severity as "major" since this problem makes Eclipse-3.1 unusable on Redhat8 and 9, and there are Eclipse users (Nortel) which cannot upgrade to newer gtk due to other software or company restrictions.
|
2005-10-07 10:49:42
| 1,128,700,000 |
resolved fixed
|
66bca6c
| 1,129,310,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java
|
SWT
|
2,665 | 57,723 |
Bug 57723 BIDI: StyledText bug when changing the color of bold text
|
In the Text Editor example included in the SWT examples, write the Arabic word UNEi. Double click the word to select it. Make it bold, then change its color. The last letter appears unshaped.
|
2004-04-07 08:07:30
| 1,081,340,000 |
resolved fixed
|
8e45647
| 1,129,240,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java
|
SWT
|
2,666 | 102,525 |
Bug 102525 Button in a toolbar not sized correctly
| null |
2005-07-01 15:29:50
| 1,120,250,000 |
resolved fixed
|
c897ae2
| 1,129,150,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolItem.java
|
SWT
|
2,667 | 112,336 |
Bug 112336 StyledText is still misbehaving
|
As followup to the breakage in yesterdays I-build, StyledText is still doing the jitterbug but it's no longer resulting in crashes. The cursor will occasionally dance around, particularly when backspacing. Despite being visibly placed in one spot, the deletion occurs at what I expect to be the correct position. Hitting enter seems to reset the cursor to the correct position.
|
2005-10-12 09:57:21
| 1,129,130,000 |
resolved fixed
|
f873a5e
| 1,129,150,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/TextLayout.java
|
SWT
|
2,668 | 104,041 |
Bug 104041 [browser]browser.execute() fails when Acrobat Reader v7 is displayed in browser
|
I have a pdf document which I am displaying in the browser. Then, to print the contents of the browser I do browser.execute("window.print()"); The above works fine for Acrobat Reader v5, but throws a NullPointerException for Acrobat Reader v7. After debugging, I found that it cannot find the value of "parentWindow" for some reason. Therefore, not only printing, but ANY javascript passed in to execute method will throw a NullPointerException. Thanx, - Kalman
|
2005-07-15 12:56:15
| 1,121,450,000 |
resolved fixed
|
1fcac31
| 1,129,120,000 |
bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/Browser.java
|
SWT
|
2,669 | 111,762 |
Bug 111762 JVM dump in SWT native method
|
I had eclipse-SDK-N20051006-0010-linux-gtk.tar.gz running on gtk2-2.4.13-14 in gnome-desktop-2.8.0-3 I had done some compiles and cleans, fixed some errors, closed all editors in the java perspective, and then I did CTRL+SHIFT+T and it cored. I'll attached the stack trace. PW
|
2005-10-06 09:22:03
| 1,128,600,000 |
resolved fixed
|
c99d8d5
| 1,128,610,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java
|
SWT
|
2,670 | 93,763 |
Bug 93763 Clicking on the button frame does not activate toolitem's drop down
|
For toolitems created with SWT.DROP_DOWN, the menu appears if the click occurs within the bounds of the arrow itself. However, these bounds do not include the right hand side of the button frame. I hit this a lot in eclipse, where I'd like to open the menu for the Run toolitem, but I end up launching the last application instead. The attached patch modifies the bounds checking to count the frame as being part of the arrow's area.
|
2005-05-04 23:38:16
| 1,115,260,000 |
resolved fixed
|
9aa71ec
| 1,128,550,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolItem.java
|
SWT
|
2,671 | 71,348 |
Bug 71348 Can't listen Excel events
|
use the following code,I can't listen Excel events.But The same way use to "word.document",it's successful. public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); OleFrame frame = new OleFrame(shell,SWT.NONE); shell.setLayout(new GridLayout()); frame.setLayoutData(new GridData(GridData.FILL_HORIZONTAL | GridData.FILL_VERTICAL)); OleControlSite site = new OleControlSite(frame,SWT.NONE,"Excel.Sheet"); OleAutomation doc = new OleAutomation(site); int [] dispInfo = doc.getIDsOfNames(new String[] {"Application"}); System.out.println(dispInfo[0]); Variant variant = doc.getProperty(dispInfo[0]); OleAutomation app = variant.getAutomation(); variant.dispose(); int WorkbookBeforeSave= 0x00000623; site.addEventListener(app,WorkbookBeforeSave,new OleListener() { public void handleEvent(OleEvent event) { System.out.println("event"); } }); site.doVerb(OLE.OLEIVERB_OPEN); shell.open(); while(!shell.isDisposed()) { if(!display.readAndDispatch()) display.sleep(); } app.dispose(); } }
|
2004-08-04 01:09:02
| 1,091,600,000 |
resolved fixed
|
1ca19e7
| 1,128,540,000 |
bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleControlSite.java
|
SWT
|
2,672 | 110,346 |
Bug 110346 Text widget does not trigger SWT.DefaultSelection events on Return or Enter
|
M2 Text widget does not trigger SWT.DefaultSelection events on Return or Enter To reproduce: use ControlExample
|
2005-09-22 12:58:29
| 1,127,410,000 |
resolved fixed
|
9690379
| 1,128,530,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Combo.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Composite.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Link.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/List.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Sash.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Text.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Tree.java
|
SWT
|
2,673 | 111,322 |
Bug 111322 Tab Folder Style TOP does not work
|
Since release 3.1 incl 3.1.1 the style TOP does not work any longer. Easy to reproduce w "new TabFolder(parent, SWT.TOP)"
|
2005-10-03 06:24:11
| 1,128,340,000 |
resolved fixed
|
5489602
| 1,128,480,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TabFolder.java
|
SWT
|
2,674 | 110,923 |
Bug 110923 TableItem.setImage does not redraw the item
|
In a Table with multiple columns I'm trying to display some images. When setting an image to null in a table column other than the first, the item is not redrawn, ie the image that has been visible before will not be cleared. The changes to the item is visible only after covering the application with another window and revealing it again (or minimizing and restoring the window). Here is a snippet that reproduces the issue on my Windows XP box with 3.1 SWT (Start the application, you will see a 2x2 table with 4 blue squares. Pressing the button calls setImage(0,null) and setImage(1,null) on the first row of the table. The expected result is that the two blue boxes vanish in the first row. In fact, only the first box vanishes; the second box is still visible. It can be made to vanish if you temporarily hide the table with some other window): package snippets; import org.eclipse.swt.SWT; import org.eclipse.swt.events.SelectionAdapter; import org.eclipse.swt.events.SelectionEvent; import org.eclipse.swt.graphics.GC; import org.eclipse.swt.graphics.Image; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.Button; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; import org.eclipse.swt.widgets.Table; import org.eclipse.swt.widgets.TableColumn; import org.eclipse.swt.widgets.TableItem; public class SnippetTableProblem { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new GridLayout()); final Table table = new Table(shell, SWT.NONE); final TableItem item1 = new TableItem(table, SWT.NONE); final TableItem item2 = new TableItem(table, SWT.NONE); new TableColumn(table, SWT.NONE).setWidth(50); new TableColumn(table, SWT.NONE).setWidth(50); Image image = new Image(display, 16, 16); GC gc = new GC(image); gc.setForeground(display.getSystemColor(SWT.COLOR_BLUE)); gc.fillRectangle(0, 0, 16, 16); item1.setImage(0, image); item2.setImage(0, image); item1.setImage(1, image); item2.setImage(1, image); Button button = new Button(shell, SWT.PUSH); button.setText("Remove images"); button.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { item1.setImage(0, null); item1.setImage(1, null); } }); table.setSize(100, 100); shell.setSize(200, 200); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } image.dispose(); display.dispose(); } }
|
2005-09-28 07:38:26
| 1,127,910,000 |
resolved fixed
|
9146e79
| 1,128,470,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TableItem.java
|
SWT
|
2,675 | 51,480 |
Bug 51480 JUnit tests for Browser are printing to console
| null |
2004-02-10 11:40:32
| 1,076,430,000 |
resolved fixed
|
619e55d
| 1,128,460,000 |
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Image.java tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/browser/Browser1.java tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/browser/Browser2.java tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/browser/Browser3.java tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/browser/Browser4.java tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/browser/Browser5.java tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/browser/Browser6.java tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/browser/Browser7.java tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/browser/Browser8.java tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/browser/Browser9.java tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/browser/Test_BrowserSuite.java
|
SWT
|
2,676 | 110,342 |
Bug 110342 SWT Example Launcher: Double-click on "Standalone" folder produces a "Could not instantiate the class to run" log
|
Build: Eclipse 3.1 I20050627-1435 Platform: Solaris GTK Steps: - Install Eclipse 3.1 with SWT Examples - From Eclipse workbench, go to Window -> Show View -> Other ... - Expand SWT Examples and select SWT Example Launcher. Click OK. - From the SWT Example Launcher view, double-click the "Standalone" folder (under Examples) to open it. The following error log is created: !ENTRY org.eclipse.swt.examples.launcher 4 0 2005-09-22 12:00:56.675 !MESSAGE Could not instantiate the class to run. !STACK 1 org.eclipse.core.runtime.CoreException: Executable extension definition for "mainClass" not found. at org.eclipse.core.internal.registry.ConfigurationElement.throwException (ConfigurationElement.java:192) at org.eclipse.core.internal.registry.ConfigurationElement.createExecutableExtensio n(ConfigurationElement.java:108) at org.eclipse.core.internal.registry.ConfigurationElementHandle.createExecutableEx tension(ConfigurationElementHandle.java:48) at org.eclipse.swt.examples.launcher.ItemDescriptor.createItemInstance (ItemDescriptor.java:62) at org.eclipse.swt.examples.launcher.LauncherView.launchItem (LauncherView.java:186) at org.eclipse.swt.examples.launcher.LauncherView.access$2 (LauncherView.java:169) at org.eclipse.swt.examples.launcher.LauncherView$1.widgetDefaultSelected (LauncherView.java:69) at org.eclipse.swt.widgets.TypedListener.handleEvent (TypedListener.java:97) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1021) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:2867) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2572) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench (Workbench.java:367) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run (IDEApplication.java:103) at org.eclipse.core.internal.runtime.PlatformActivator$1.run (PlatformActivator.java:226) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:376) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:163) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334) at org.eclipse.core.launcher.Main.basicRun(Main.java:278) at org.eclipse.core.launcher.Main.run(Main.java:973) at org.eclipse.core.launcher.Main.main(Main.java:948) !SUBENTRY 1 org.eclipse.core.runtime 4 1 2005-09-22 12:00:56.677 !MESSAGE Executable extension definition for "mainClass" not found.
|
2005-09-22 12:09:19
| 1,127,410,000 |
resolved fixed
|
5f1d51a
| 1,128,370,000 |
examples/org.eclipse.swt.examples.launcher/src/org/eclipse/swt/examples/launcher/LauncherView.java
|
SWT
|
2,677 | 109,341 |
Bug 109341 Update the desc doc process
|
Update the description document process document ("Writing description documents") to reflect that the RG needs a description but not a sizing, and that the AG requires the sizing.
|
2005-09-12 18:18:40
| 1,126,560,000 |
closed fixed
|
0577307
| 1,128,360,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
|
SWT
|
2,678 | 111,157 |
Bug 111157 TreeItem.setBackground doesn't work
|
SWT Win32 - 3206 (3.2M2) 1. Setting a treeItem's background only sets column 0, unlike a tableItem which sets all columns. (setBackground(Color)) 2. Setting a treeItem's column background (setBackground(int,Color)) doesn't seem to do anything. public static void main(String[] a) { Display display = new Display(); Shell shell = new Shell(display); shell.setText(SWT.getPlatform() + " - " + SWT.getVersion()); shell.setLayout(new FillLayout()); Table table = new Table(shell, SWT.H_SCROLL | SWT.FULL_SELECTION); table.setHeaderVisible(true); table.setLinesVisible(true); for (int i = 0; i < 3; i++) { new TableColumn(table, SWT.NONE).setWidth(100); } for (int i = 0; i < 10; i++) { TableItem ti = new TableItem(table, SWT.NONE); ti.setText(1, "Right Click Me!"); ti.setBackground(table.getDisplay().getSystemColor(SWT.COLOR_RED)); if (i % 2 == 0) ti.setBackground(1, table.getDisplay().getSystemColor(SWT.COLOR_RED)); } Tree tree = new Tree(shell, SWT.H_SCROLL | SWT.FULL_SELECTION); tree.setHeaderVisible(true); tree.setLinesVisible(true); for (int i = 0; i < 3; i++) { new TreeColumn(tree, SWT.NONE).setWidth(100); } for (int i = 0; i < 10; i++) { TreeItem ti = new TreeItem(tree, SWT.NONE); ti.setText(1, "Right Click Me!"); ti.setBackground(tree.getDisplay().getSystemColor(SWT.COLOR_RED)); if (i % 2 == 0) ti.setBackground(1, tree.getDisplay().getSystemColor(SWT.COLOR_RED)); } shell.setBounds(50, 50, 600, 200); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); }
|
2005-09-29 18:26:58
| 1,128,030,000 |
resolved fixed
|
bb4ebb4
| 1,128,360,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
|
SWT
|
2,679 | 111,284 |
Bug 111284 Crash in TreeSelection - Event
| null |
2005-10-01 09:39:51
| 1,128,170,000 |
resolved fixed
|
9d77c02
| 1,128,180,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java
|
SWT
|
2,680 | 88,958 |
Bug 88958 DirectoryDialog and FileDialog bring CPU utilization to 100%
|
It seems that this fix for 76195 creates problems is Eclipse 3.1. When I open DierectoryDialog and there are pending asyncExecs the dialog keeps receiving WM_ENTERIDLE events and that brings the CPU utilization to 100%. That makes the DiarctoryDialog node expanding extremely slow, almost impossible to use.
|
2005-03-23 19:36:22
| 1,111,620,000 |
resolved fixed
|
7498f88
| 1,128,100,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/DirectoryDialog.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/FileDialog.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/Table.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
|
SWT
|
2,681 | 103,894 |
Bug 103894 browser fail to hyper link to another page
| null |
2005-07-14 15:25:33
| 1,121,370,000 |
resolved fixed
|
66b5bac
| 1,128,090,000 |
bundles/org.eclipse.swt/Eclipse SWT Browser/carbon/org/eclipse/swt/browser/Browser.java
|
SWT
|
2,682 | 110,949 |
Bug 110949 link error in GC.setClipping(x, y, w, h) on pocket pc
|
Calling GC.setClipping(x, y, w, h) on pocket pc, using dll 3206, throws a link error. This seriously hobbles one of our custom widgets.
|
2005-09-28 11:52:16
| 1,127,920,000 |
resolved fixed
|
f06b65a
| 1,128,030,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java
|
SWT
|
2,683 | 98,296 |
Bug 98296 Browser in BrowserExample opens too small
|
3.1RC1 - run the BrowserExample and the Browser opens as a pinhead - resize the parent shell and the Browser grows to its correct size
|
2005-06-03 11:07:01
| 1,117,810,000 |
resolved fixed
|
7858358
| 1,128,030,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Shell.java
|
SWT
|
2,684 | 110,824 |
Bug 110824 Trying to create launch config results in StackOverflowError
|
I was working with last night's build on Linux-GTK, and trying to create a launch configuration causes a StackOverflowError. Steps: 1. I checked out the platform-ui and platform-ui-tests modules 2. Go to the Run icon triangle and select "Run..." from the dropdown it goes away, and then pops up an error saying you better exit the workbench. I've included the .log, but it's not very useful :-) !SESSION 2005-09-27 10:54:20.899 ----------------------------------------------- eclipse.buildId=N20050927-0010 java.version=1.4.2_08 java.vendor=Sun Microsystems Inc. BootLoader constants: OS=linux, ARCH=x86, WS=gtk, NL=en_US Command-line arguments: -os linux -ws gtk -arch x86 !ENTRY org.eclipse.ui 4 4 2005-09-27 11:51:03.172 !MESSAGE Unhandled event loop exception !ENTRY org.eclipse.ui 4 0 2005-09-27 11:51:03.186 !MESSAGE java.lang.StackOverflowError !STACK 0 java.lang.StackOverflowError PW
|
2005-09-27 12:07:44
| 1,127,840,000 |
resolved fixed
|
10f885d
| 1,127,930,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java
|
SWT
|
2,685 | 33,979 |
Bug 33979 visitor pattern
|
It would be nice to have a visitor pattern implementation to be able to traverse a given schema. As in most Abstract Syntax Trees it is very useful to be able to traverse them without the need for "instanceof".
|
2003-03-06 10:35:22
| 1,046,960,000 |
verified fixed
|
06c0901
| 1,127,850,000 |
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Button.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Button.java
|
SWT
|
2,686 | 110,767 |
Bug 110767 java.lang.NoSuchMethodError: XErrorProc when setting Display into debug mode on Linux/GTK x86-64-bit
|
The code: DeviceData data = new DeviceData(); data.debug = true; Display display = new Display(data); Generates: Exception in thread "main" java.lang.NoSuchMethodError: XErrorProc at org.eclipse.swt.internal.Callback.bind(Native Method) at org.eclipse.swt.internal.Callback.<init>(Callback.java:123) at org.eclipse.swt.internal.Callback.<init>(Callback.java:78) at org.eclipse.swt.internal.Callback.<init>(Callback.java:60) at org.eclipse.swt.graphics.Device.init(Device.java:540) at org.eclipse.swt.widgets.Display.init(Display.java:2027) at org.eclipse.swt.graphics.Device.<init>(Device.java:142) at org.eclipse.swt.widgets.Display.<init>(Display.java:429) at SVGBadMatchTester.run(SVGBadMatchTester.java:63) at SVGBadMatchTester.main(SVGBadMatchTester.java:56) When I look at the swt jar itself, I see: static int XErrorProc(int xDisplay, int xErrorEvent) But when I look closer at the code in org.eclipse.swt.internal.Callback, it looks like these 2 parameters are intended to be pointers. So I think the reason it is getting the error, is that it is looking for XErrorProc(long xDisplay, long xErrorEvent), which would be appropriate for 64-bit, and not finding it. The error does not occur in the 32-bit version
|
2005-09-27 04:04:55
| 1,127,810,000 |
resolved fixed
|
eecf444
| 1,127,840,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Device.java
|
SWT
|
2,687 | 110,753 |
Bug 110753 gdk_region_get_rectangles leaks
|
gdk_region_get_rectangles() requires that the returned array be freed with g_free(). This was missed in GC.setTransform() and GC.drawImageXRender().
|
2005-09-26 22:34:29
| 1,127,790,000 |
resolved fixed
|
3e9b199
| 1,127,790,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/GC.java
|
SWT
|
2,688 | 108,949 |
Bug 108949 [browser] javascript alerts are not shown
| null |
2005-09-07 11:52:48
| 1,126,110,000 |
resolved fixed
|
ed0168a
| 1,127,500,000 |
bundles/org.eclipse.swt/Eclipse SWT Browser/carbon/org/eclipse/swt/browser/Browser.java bundles/org.eclipse.swt/Eclipse SWT Browser/motif/org/eclipse/swt/browser/PromptService.java bundles/org.eclipse.swt/Eclipse SWT Browser/mozilla/org/eclipse/swt/browser/PromptService.java
|
SWT
|
2,689 | 110,432 |
Bug 110432 atk_object_factory_create_accessible errors
|
Running Eclipse with SWT from HEAD I get these errors all over the place. I am using atk 1.9.1 and GTK+ 2.6.7. I also saw the same errors at home with atk 1.10.1 and GTK+ 2.6.10. ** (Gecko:18693): CRITICAL **: atk_object_factory_create_accessible: assertion `ATK_IS_OBJECT_FACTORY (factory)' failed
|
2005-09-23 09:27:11
| 1,127,480,000 |
resolved fixed
|
ee3df50
| 1,127,490,000 |
bundles/org.eclipse.swt/Eclipse SWT Accessibility/gtk/org/eclipse/swt/accessibility/AccessibleFactory.java
|
SWT
|
2,690 | 104,407 |
Bug 104407 Right click on Tree does not honor the SWT.FULL_SELECTION style
| null |
2005-07-19 16:52:57
| 1,121,810,000 |
resolved fixed
|
9468047
| 1,127,430,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
|
SWT
|
2,691 | 100,363 |
Bug 100363 Spinner: getSelection() during modify event should return new value (enable dynamic behaviour)
| null |
2005-06-16 05:49:43
| 1,118,920,000 |
resolved fixed
|
0168d04
| 1,127,430,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Spinner.java
|
SWT
|
2,692 | 50,646 |
Bug 50646 CTabFolder tooltips are not read out
|
M6 gnopernicus is not reading out CTabFolder tooltips properly because they're faked. It simply says "Hide/Restore window". Tried: - adding accessible listeners to the tip shell and its contained label - removing ON_TOP from tip shell creation - giving focus to contained label when shown
|
2004-01-26 17:18:08
| 1,075,160,000 |
resolved fixed
|
da6d7c2
| 1,127,420,000 |
bundles/org.eclipse.swt/Eclipse SWT Accessibility/gtk/org/eclipse/swt/accessibility/Accessible.java bundles/org.eclipse.swt/Eclipse SWT Accessibility/gtk/org/eclipse/swt/accessibility/AccessibleFactory.java bundles/org.eclipse.swt/Eclipse SWT Accessibility/gtk/org/eclipse/swt/accessibility/AccessibleObject.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/accessibility/gtk/ATK.java
|
SWT
|
2,693 | 108,921 |
Bug 108921 Tree with lines visible not painted correctly
|
Background: I used the TableTree in my application up to now. Since it is marked as deprecated in Eclipse 3.1, I tried to replace it with the tree widget using columns. When using columns in the Tree widget with setLinesVisible(true), not all lines are painted as in the old TableTree. Only the lines of rows with content are shown, but not those lines of rows with no content. Furthermore the lines are totally invisible while rearraning the size of a column. In my opinion the lines should be always shown in the widget if setLinesVisible is set to true.
|
2005-09-07 08:42:10
| 1,126,100,000 |
resolved fixed
|
397136f
| 1,127,340,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
|
SWT
|
2,694 | 110,057 |
Bug 110057 [browser] crash whenever a Browser is disposed
|
3.2M2 test build (does not happen on linux-gtk) - run eclipse - open the javadoc view - close it by pressing the 'X' on its tab, and eclipse will shut down with the error message below - this problem has appeared as a side effect of M2 work that changed the order of things that are done at dispose time (in an effort to keep widgets 'valid' during dispose callbacks) sh-3.00$ The program '<unknown>' received an X Window System error. This probably reflects a bug in the program. The error was 'BadWindow (invalid Window parameter)'. (Details: serial 19210 error_code 3 request_code 10 minor_code 0) (Note to programmers: normally, X errors are reported asynchronously; that is, you will receive the error a while after causing it. To debug your program, run it with the --sync command line option to change this behavior. You can then get a meaningful backtrace from your debugger if you break on the gdk_x_error() function.)
|
2005-09-20 12:41:27
| 1,127,230,000 |
resolved fixed
|
d5acf87
| 1,127,330,000 |
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Composite.java
|
SWT
|
2,695 | 110,073 |
Bug 110073 perspective button goes blank after closing perspective
|
3.2M2 observed on linux-motif and hpux, but not on gtk, so appears to be swt problem - drag the CBanner's separator to ~ the 50% mark - press its "Open Perspective" button, switch to the Debug perspective - after the perspective switch is done, right-click the Debug button in the CBanner and select Close - this returns you to the previous perspective, but its button in the CBanner now appears blank - will attach screenshot next
|
2005-09-20 14:22:56
| 1,127,240,000 |
resolved fixed
|
dfa24e6
| 1,127,330,000 |
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/ToolItem.java
|
SWT
|
2,696 | 87,503 |
Bug 87503 implement OSX opengl binding
| null |
2005-03-09 10:13:14
| 1,110,380,000 |
resolved fixed
|
8d76022
| 1,126,550,000 |
bundles/org.eclipse.swt.opengl/carbon/org/eclipse/swt/internal/opengl/carbon/AGL.java bundles/org.eclipse.swt.opengl/carbon/org/eclipse/swt/opengl/GLCanvas.java bundles/org.eclipse.swt.opengl/carbon/org/eclipse/swt/opengl/GLFormatData.java bundles/org.eclipse.swt.opengl/carbon/org/eclipse/swt/opengl/GLPBuffer.java
|
SWT
|
2,697 | 109,131 |
Bug 109131 GC advanced features not supported on CE.NET 4.2 (no GDI dll ?)
|
target, os, platform, swt : - windows ce.net 4.2 (processor PXA-255 aka ARMv5TE) - j9 jvm (wince-arm-ppro-5.7.2-P-20050701-1626) downloaded from IBM trials website - swt-3.1-win32-wce_ppc-arm-j2se (official SWT 3.1 release) j9 command : j9 -jcl:ppro10 -cp "swt.jat;my.jar" -Djava.libray.path=. Snippet for example these following methods don't work in my platform : GC.setAntiAlias(SWT.ON|SWT.OFF) GC.setTramsform(Transform t) ... more ... The following code works on Windows/Linux platform but no on CE.NET platform : package com.mail.reader; import org.eclipse.swt.SWT; import org.eclipse.swt.events.PaintEvent; import org.eclipse.swt.events.PaintListener; import org.eclipse.swt.graphics.Color; import org.eclipse.swt.graphics.Font; import org.eclipse.swt.graphics.GC; import org.eclipse.swt.graphics.Transform; import org.eclipse.swt.widgets.Canvas; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Display; import java.awt.Point; public class SpeedoMeter extends Canvas { private static final Color black = Display.getDefault().getSystemColor(SWT.COLOR_BLACK); private static final Color white = Display.getDefault().getSystemColor(SWT.COLOR_WHITE); private static final Color red = Display.getDefault().getSystemColor(SWT.COLOR_RED); private static final Font defaultFont = new Font(Display.getDefault(), "Tahoma", 12, SWT.NORMAL ); private static final String spedooName = "Pilz SpeedoMeter"; int spotNumber = 20; Point spotSize = new Point(15, 3); int minimum; int maximum; float selection; public SpeedoMeter(Composite p, int s) { super(p, s|SWT.DOUBLE_BUFFERED); addPaintListener(new PaintListener() { public void paintControl(PaintEvent e){ e.gc.setAntialias(SWT.ON); drawControl(e.gc); } }); } private void drawControl(GC g) { // init font g.setFont(defaultFont); // draw disc g.setBackground(white); g.setForeground(white); double w = getSize().x<getSize().y?getSize().x:getSize().y; g.fillArc(0, 0, (int)w, (int)w, 0, 360); // draw spots Point spotLocation = new Point((int)(w-spotSize.y)/2, spotSize.y/2); Transform tr = new Transform(getDisplay()); tr.translate((float)w/2, (float)w/2); double spotAngle = 360/spotNumber; for (int nSpot=0,maxSpots=spotNumber;nSpot<maxSpots;nSpot++) { g.setBackground(black); g.setForeground(black); g.setTransform(tr); g.fillRectangle(spotLocation.y, spotLocation.x-spotSize.x, spotSize.y, spotSize.x); tr.rotate((float)spotAngle); } org.eclipse.swt.graphics.Point extPt = g.textExtent(spedooName); // draw labels tr = new Transform(getDisplay()); tr.translate((float)w/2, (float)w/2); g.setTransform(tr); g.drawString(spedooName, -extPt.x/2, extPt.y*2, true); // draw indicator g.setBackground(red); g.setForeground(red); tr.rotate(selection - 90f); g.setTransform(tr); g.fillRoundRectangle(-4, -4, (int)w/2, 8, 8, 8); } public int getMaximum() { return maximum; } public void setMaximum(int maximum) { this.maximum = maximum; } public int getMinimum() { return minimum; } public void setMinimum(int minimum) { this.minimum = minimum; } public int getSpotNumber() { return spotNumber; } public void setSpotNumber(int spotNumber) { this.spotNumber = spotNumber; } public Point getSpotSize() { return spotSize; } public void setSpotSize(Point spotSize) { this.spotSize = spotSize; } public float getSelection() { return selection; } public void setSelection(float selection) { this.selection = selection; redraw(); } }
|
2005-09-09 07:58:15
| 1,126,270,000 |
resolved wontfix
|
2c677f6
| 1,126,300,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Device.java
|
SWT
|
2,698 | 108,865 |
Bug 108865 SWT.DOUBLE_BUFFERED + GC.drawFocus() equals cheese
|
Snippet incoming...
|
2005-09-06 15:24:00
| 1,126,030,000 |
resolved fixed
|
253492d
| 1,126,280,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Composite.java
|
SWT
|
2,699 | 108,060 |
Bug 108060 Extra non-functional horizontal scroll bar in TreeViewer
|
I removed the deprecated TableTree on a preferences page created previously and replaced it with Tree. Everything seems to work and look the same except for a non-functional horizontal scroll bar that now appears below the Tree. This horizontal scroll bar does nothing and appears no matter how the page is sized. When the page is small enough to where a horizontal scroll bar is needed, another scroll bar appears under the non-functional scroll bar. Here is my ceateContents() code: protected Control createContents(Composite parent) { Composite masterComposite = new Composite(parent, SWT.NONE); Layout masterLayout = new FillLayout(); masterComposite.setLayout(masterLayout); CellEditor[] editors = new CellEditor[COLUMN_PROPERTIES.length]; viewer = new TreeViewer(masterComposite, SWT.BORDER | SWT.SINGLE); viewer.setColumnProperties(COLUMN_PROPERTIES); viewer.setCellEditors(editors); viewer.setCellModifier(new CellModifier(viewer)); viewer.setLabelProvider(new ViewerLabelProvider()); viewer.setContentProvider(new ViewerContentProvider()); viewer.setSorter(new ViewerSorter() { public int compare(Viewer viewer, Object e1, Object e2) { if (e1 == null || e2 == null) return 0; if (e1 instanceof X5CardDescriptor && e2 instanceof X5CardDescriptor) return ((X5CardDescriptor) e1).getName().compareTo(((X5CardDescriptor) e2).getName()); return 0; } }); viewer.setInput(CARD_CATEGORY); Tree tree = viewer.getTree(); tree.setHeaderVisible(true); tree.setLinesVisible(false); TreeColumn cardColumn = new TreeColumn(tree, SWT.LEAD); cardColumn.setText(COLUMN_PROPERTIES[0]); cardColumn.setWidth(180); editors[0] = null; TreeColumn bgColorColumn = new TreeColumn(tree, SWT.LEAD); bgColorColumn.setText(COLUMN_PROPERTIES[1]); bgColorColumn.setWidth(70); editors[1] = new ColorCellEditor(tree); TreeColumn fgColorColumn = new TreeColumn(tree, SWT.LEAD); fgColorColumn.setText(COLUMN_PROPERTIES[2]); fgColorColumn.setWidth(70); editors[2] = new ColorCellEditor(tree); TreeColumn fontStyleColumn = new TreeColumn(tree, SWT.LEAD); fontStyleColumn.setText(COLUMN_PROPERTIES[3]); fontStyleColumn.setWidth(70); editors[3] = new ComboBoxCellEditor(tree, FS_VALUES, SWT.READ_ONLY); return masterComposite; }
|
2005-08-25 17:33:42
| 1,125,010,000 |
resolved fixed
|
f38bcfe
| 1,126,200,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
|
SWT
|
2,700 | 108,423 |
Bug 108423 GC.drawArc doesn't work correct with Cairo
| null |
2005-08-30 16:20:38
| 1,125,430,000 |
resolved fixed
|
7a91c43
| 1,126,030,000 |
bundles/org.eclipse.swt/Eclipse SWT/cairo/org/eclipse/swt/graphics/Path.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/GC.java
|
SWT
|
2,701 | 108,796 |
Bug 108796 Please make FormAttachment() public
|
This is kind of an esoteric use-case, but making FormAttachment public would make it possible to write more readable XSWT code. For example, due to the package private contructor, we currently must write the following: <text x:id="secondCol" text="Second column"> <layoutData x:class="formData"> <left x:p0="firstColLabel" offset="10"/> <top x:p0="firstColLabel" offset="0" alignment="TOP"/> <right x:p0="90"/> </layoutData> </text> (the x:p0 is a meta-tag for specifying constructor arguments) If a 0-arg constructor were public, we could instead write: <text x:id="secondCol" text="Second column"> <layoutData x:class="formData"> <left control="firstColLabel" offset="10"/> <top control="firstColLabel" offset="0" alignment="TOP"/> <right numerator="90"/> </layoutData> </text> which is much more readable/understandable without looking hard at it first.
|
2005-09-05 12:51:23
| 1,125,940,000 |
resolved fixed
|
f9d3965
| 1,126,030,000 |
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/layout/FormAttachment.java
|
SWT
|
2,702 | 108,190 |
Bug 108190 Combo doesn't produce modification event for ALT-DOWN
|
If I fill the NewWizardPage only with my keyboard, the Finish button won't be enabled...
|
2005-08-27 03:41:25
| 1,125,130,000 |
resolved fixed
|
8a67f63
| 1,125,620,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Combo.java
|
SWT
|
2,703 | 107,243 |
Bug 107243 Scrollbar.setValues silently does nothing
|
if one of the 6 values in setValues is not valid, setValues returns without doing anything. This is not the equivalent of calling the methods separately, which is what the javadoc states. For example, if "increment" is 0, all values are ignored.
|
2005-08-17 13:47:34
| 1,124,300,000 |
resolved fixed
|
be75614
| 1,125,610,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ScrollBar.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Slider.java
|
SWT
|
2,704 | 46,387 |
Bug 46387 Patch for saving animated GIFs
|
Despite the documentation, the save() method of the ImageLoader class can't create an animated GIF file from an ImageData array. This is because the FileFormat class only uses the first ImageData object when its save() method is invoked. There's even a comment to this effect: "We do not currently support writing multi-image files, so we use the first image in the loader's array." I have written my own (functional) application for converting ImageData arrays to animated GIFs. I would like to contribute to Eclipse by modifying the FileFormat class to support animation. To whom should I send the code? Sincerely, Matt Scarpino
|
2003-11-10 21:28:38
| 1,068,520,000 |
resolved fixed
|
ff32f75
| 1,125,610,000 |
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/ImageLoader.java bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/FileFormat.java bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/GIFFileFormat.java bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/JPEGFileFormat.java bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/OS2BMPFileFormat.java bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/PNGFileFormat.java bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/TIFFFileFormat.java bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/WinBMPFileFormat.java bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/WinICOFileFormat.java
|
SWT
|
2,705 | 107,684 |
Bug 107684 Resetting of clipping region does not work if gc.setTransform was called
|
On Windows, I was trying to set a clipping region on the GC, do some painting, reset the clipping region and do some more painting: public static void main(String[] args) { final Display display = new Display(); final Shell shell = new Shell(display); shell.addPaintListener(new PaintListener() { public void paintControl(PaintEvent event) { GC gc = event.gc; Display display = event.display; Transform transform = new Transform(display); gc.setTransform(transform); // <-- clipping is fine if I comment out this line /* Set the clipping region. */ Region region = new Region(display); gc.getClipping(region); gc.setClipping(50, 50, 100, 100); /* Do some painting. */ gc.setBackground(display.getSystemColor(SWT.COLOR_RED)); gc.fillRectangle(50, 50, 100, 100); /* Reset the clipping region. */ gc.setClipping(/* (Region)null */region); /* Do some more painting. */ gc.fillRectangle(200, 50, 100, 100); transform.dispose(); region.dispose(); } }); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } Whatever is painted after restoring the clipping region does not show up on the shell - it seems that the clipping region is not reset properly. However, clipping works fine if I restore the clipping region by calling gc.setClipping((Region)null) or if I don't set the transform on the GC.
|
2005-08-22 21:18:39
| 1,124,760,000 |
resolved fixed
|
553d736
| 1,125,600,000 |
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/gdip/Gdip.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java
|
SWT
|
2,706 | 34,184 |
Bug 34184 Native Tree: No tooltips
|
I2003-03-07 On windows, when an item is to long to be completely displayed, a tooltip will popup showing the complete label. This doesn't happen on OSX.
|
2003-03-08 04:33:42
| 1,047,120,000 |
resolved fixed
|
e1e3063
| 1,125,430,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Tree.java
|
SWT
|
2,707 | 105,772 |
Bug 105772 Strange background color of label on text search page
|
I20050726-1222 SWT has enabled native support for correct background color of tab bocks. However one label inside the search page has a strange background color now.
|
2005-08-02 06:50:56
| 1,122,980,000 |
resolved fixed
|
ed8e699
| 1,125,350,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CLabel.java
|
SWT
|
2,708 | 81,567 |
Bug 81567 [PropertiesView] Properties View scrolling problem
|
On OS X when the Properties view contains a scroll bar, select the first property, click the scroll bar and drag down, when you let go of the mouse button, the view will scroll back to the top such that the property you select is the first item in the view. In this case, using the down arrow button to scroll doees not work at all.
|
2004-12-17 17:06:13
| 1,103,320,000 |
resolved fixed
|
ac5ada7
| 1,125,340,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/List.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Tree.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Widget.java
|
SWT
|
2,709 | 97,597 |
Bug 97597 Tree is not showing lines
|
3.1RC1 - run the snippet below - the Tree that's displayed does not show any horizontal lines, though Tree.setLinesVisible(true) was invoked public static void main(String[] args) { final Display display = new Display(); final Shell shell = new Shell(display); shell.setBounds(10,10,250,200); final Tree tree = new Tree (shell, SWT.NONE); tree.setBounds(10,10,200,200); tree.setLinesVisible(true); new TreeItem(tree, SWT.NONE).setText("item 1"); new TreeItem(tree, SWT.NONE).setText("item 2"); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); }
|
2005-05-31 13:15:23
| 1,117,560,000 |
resolved fixed
|
dd97de1
| 1,125,330,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
|
SWT
|
2,710 | 96,339 |
Bug 96339 Next Editor causes crash when remapped to Ctrl-Tab
|
Adding a Ctrl-Tab mapping to what is normally Cmd-Shift-F6 (Next Editor) causes Eclipse 3.1M7 to crash. The first time it is invoked, the editor selection window is opened, the second time causes the crash.
|
2005-05-23 15:09:25
| 1,116,880,000 |
resolved fixed
|
96da34c
| 1,125,000,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Control.java
|
SWT
|
2,711 | 106,928 |
Bug 106928 JVM terminates when closing web broser with Command W on Mac OS X
|
- find a .html file in one of your projects. - open the .html file with the web browser - close that editor tab using Command W -> JVM running eclipse terminates reproducible It seems to be important to use Command W. Using the mouse just closes the editor Tab. Environment: Eclipse 3.2M1 Safari Version 2.0 (412.2) Mac OS X 10.4.2 Build 8C46 $ java -version java version "1.4.2_07" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.2_07-215) Java HotSpot(TM) Client VM (build 1.4.2-50, mixed mode) JDK 1.5.0 is installed but I believe it is not used in this case.
|
2005-08-13 01:17:20
| 1,123,910,000 |
resolved fixed
|
9f34832
| 1,124,990,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Combo.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Display.java
|
SWT
|
2,712 | 106,511 |
Bug 106511 Cannot set text selection in VerifyListener.verifyText
|
On Linux GTK I cannot set the text selection inside the verifyText() method. In the example below, setting the text works correctly, so why not setting the selection? import org.eclipse.swt.SWT; import org.eclipse.swt.events.VerifyEvent; import org.eclipse.swt.events.VerifyListener; import org.eclipse.swt.layout.GridData; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; import org.eclipse.swt.widgets.Text; public class TestSetSelectionInVerify { private static VerifyListener lnr; public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new GridLayout()); final Text text = new Text(shell, SWT.BORDER); text.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); lnr = new VerifyListener() { public void verifyText(VerifyEvent evt) { evt.doit = false; text.removeVerifyListener(lnr); text.setText("Hello"); text.setSelection(1, 3); text.addVerifyListener(lnr); } }; text.addVerifyListener(lnr); shell.setSize(300, 200); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } }
|
2005-08-09 12:05:17
| 1,123,600,000 |
resolved fixed
|
90e8793
| 1,124,990,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Spinner.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java
|
SWT
|
2,713 | 106,494 |
Bug 106494 creating Table/TreeColumn makes existing item disappear
|
3.2 - run the snippet below - push the button, which creates a column 0 and pack()s it - on mac this makes the item's text disappear, but it should just create a column and pack it to the item text's width public static void main(String[] args) { Display display = new Display (); Shell shell = new Shell (display); shell.setBounds (10,10,300,200); final Table table = new Table (shell, SWT.NONE); table.setBounds (10,10,150,100); table.setHeaderVisible(true); new TableItem (table, SWT.NONE).setText ("item"); shell.open (); Button button = new Button(shell, SWT.PUSH); button.setBounds(200,10,70,30); button.setText("Push"); button.addListener(SWT.Selection, new Listener() { public void handleEvent(Event event) { new TableColumn(table, SWT.NONE).pack(); } }); while (!shell.isDisposed ()){ if (!display.readAndDispatch ())display.sleep (); } display.dispose (); }
|
2005-08-09 11:15:47
| 1,123,600,000 |
resolved fixed
|
658d8a4
| 1,124,910,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Tree.java
|
SWT
|
2,714 | 34,159 |
Bug 34159 [Tasks] First three columns of Task List too wide w/native table
|
The type, completion, and priority columns of the Task list using the native table widget on MacOS X are much wider than are necessary for displaying the icons in those columns and appear not to be resizable.
|
2003-03-07 16:46:22
| 1,047,070,000 |
resolved fixed
|
5d2821d
| 1,124,900,000 |
bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/OS.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/TableColumn.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/TableItem.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Tree.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/TreeColumn.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/TreeItem.java
|
SWT
|
2,715 | 106,024 |
Bug 106024 Combo and Text#setSelection(int, int) does not handle start > end with SWT.SINGLE
|
I20050803-0800 In a Text widget with text "abc", the behavior of #setSelection(int, int) depends on whether the flag SWT.SINGLE is set. - with SWT.SINGLE, setSelection(3,1) sets the caret to position 3 - without SWT.SINGLE, setSelection(3,1) sets the caret to position 1 The second behavior should also apply for the SWT.SINGLE case. This would also match the documented behavior of StyledText#setSelection(int, int).
|
2005-08-04 06:27:16
| 1,123,150,000 |
resolved wontfix
|
c246b71
| 1,124,900,000 |
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Text.java
|
SWT
|
2,716 | 105,622 |
Bug 105622 ToolItem.setText("") should remove Text and return to initial Height
|
When calling setText("") on a ToolItem, the item is still requiring more height, as if a Text was visible. I would expect the ToolItem to return to the initial State it had before calling any setText. Otherwise it would not be possible to restore the state. A common usecase is to switch between "Only Icons" and "Icons and Text" interface for Toolbars (compare Firefox Toolbar). Snippet: public class Main { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); final ToolBar bar = new ToolBar(shell, SWT.FLAT); final ToolItem item = new ToolItem(bar, SWT.PUSH); item.setText("Hello World"); item.setImage(new Image(display, 32, 32)); bar.pack(); item.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { item.setText(""); bar.pack(); } }); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } } } } After clicking on the Toolitem, the Text is removed, but the ToolItem is still bigger than neccessary. Ben
|
2005-07-29 20:06:47
| 1,122,680,000 |
resolved fixed
|
f2e9a18
| 1,124,810,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ToolItem.java
|
SWT
|
2,717 | 106,502 |
Bug 106502 setting Table column alignment does not visually update
|
3.2M1 - run the snippet below - push the button, which sets the second column's alignment to SWT.RIGHT -> no visual update is shown until the item's second column area is damaged/exposed public static void main(String[] args) { Display display = new Display (); Shell shell = new Shell (display); shell.setBounds (10,10,300,200); final Table table = new Table (shell, SWT.NONE); table.setBounds (10,10,150,100); table.setHeaderVisible(true); new TableColumn(table, SWT.NONE).setWidth(75); new TableColumn(table, SWT.NONE).setWidth(75); new TableItem (table, SWT.NONE).setText (new String[] {"c1","c2"}); shell.open (); Button button = new Button(shell, SWT.PUSH); button.setBounds(200,10,70,30); button.setText("Push"); button.addListener(SWT.Selection, new Listener() { public void handleEvent(Event event) { table.getColumn(1).setAlignment(SWT.RIGHT); } }); while (!shell.isDisposed ()) { if (!display.readAndDispatch ()) display.sleep (); } display.dispose (); }
|
2005-08-09 11:44:14
| 1,123,600,000 |
resolved fixed
|
bb04550
| 1,124,750,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TableColumn.java
|
SWT
|
2,718 | 106,006 |
Bug 106006 [Contributions] NullPointerExceptions in MenuManager.update
|
Today, with no apparent cause, my Eclipse (with MyEclipse, but as will be described later, I've eliminated MyEclipse as a cause) started displaying dialogs that "an error has occurred" when performing various operations (opening files, closing files, committing to CVS). Checking the logs revealed that NPEs were occurring in MenuManager.update, essentially whenever I clicked on anything. Initially I thought perhaps something in my workspace was corrupted, so I quit Eclipse and created a new workspace... same problem. Then I freshly unpacked a new Eclipse 3.1 and did not install MyEclipse in it, and let it create another new workspace on startup... same problem. I also tried to switch the default VM on my Mac OS X 10.4.2 system back to 1.4 (I use 1.5 normally)... same problem. So I'm reporting it in the hope that somebody can either figure out what in my configuration that I didn't manage to delete is causing the problem, or figure out what in Eclipse is causing the problem. System information, in case it'll be useful: PowerBook G4, 15", 1.5GHz, 1.5GB memory. It was 1.25GB memory until today, but Eclipse was working fine for a while even with the new memory, and it doesn't seem to me that that would be likely to cause this sort of issue anyway. Log produced by Eclipse: !SESSION 2005-08-03 17:22:08.956 ----------------------------------------------- eclipse.buildId=I20050627-1435 java.version=1.5.0_02 java.vendor=Apple Computer, Inc. BootLoader constants: OS=macosx, ARCH=ppc, WS=carbon, NL=en_US Framework arguments: -keyring /Volumes/Anlashok/Users/dmz/.eclipse_keyring -showlocation Command-line arguments: -os macosx -ws carbon -arch ppc -keyring /Volumes/Anlashok/Users/ dmz/.eclipse_keyring -consoleLog -showlocation !ENTRY org.eclipse.ui 4 4 2005-08-03 17:22:51.918 !MESSAGE Unhandled event loop exception !ENTRY org.eclipse.ui 4 0 2005-08-03 17:22:51.921 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException at org.eclipse.jface.action.MenuManager.update(MenuManager.java:591) at org.eclipse.jface.action.MenuManager.updateAll(MenuManager.java:721) at org.eclipse.ui.internal.WorkbenchWindow.updateActionBars(WorkbenchWindow.java:2485) at org.eclipse.ui.internal.WorkbenchWindow.updateActionSets(WorkbenchWindow.java:2555) at org.eclipse.ui.internal.WorkbenchPage$ActionSwitcher.updateActionSets(WorkbenchPage.java: 485) at org.eclipse.ui.internal.WorkbenchPage$ActionSwitcher.updateActivePart(WorkbenchPage.java: 335) at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:2857) at org.eclipse.ui.internal.WorkbenchPage.activate(WorkbenchPage.java:552) at org.eclipse.ui.internal.WorkbenchPage.makeActive(WorkbenchPage.java:1090) at org.eclipse.ui.internal.WorkbenchPage.updateActivePart(WorkbenchPage.java:1070) at org.eclipse.ui.internal.WorkbenchPage.hideView(WorkbenchPage.java:2012) at org.eclipse.ui.internal.ViewPane.doHide(ViewPane.java:196) at org.eclipse.ui.internal.PartStack.close(PartStack.java:495) at org.eclipse.ui.internal.PartStack.close(PartStack.java:478) at org.eclipse.ui.internal.PartStack$1.close(PartStack.java:102) at org.eclipse.ui.internal.presentations.util.TabbedStackPresentation$1.handleEvent (TabbedStackPresentation.java:81) at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java: 267) at org.eclipse.ui.internal.presentations.util.AbstractTabFolder.fireEvent(AbstractTabFolder.java: 276) at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder.access$1 (DefaultTabFolder.java:1) at org.eclipse.ui.internal.presentations.defaultpresentation.DefaultTabFolder $1.closeButtonPressed(DefaultTabFolder.java:67) at org.eclipse.ui.internal.presentations.PaneFolder.notifyCloseListeners(PaneFolder.java:563) at org.eclipse.ui.internal.presentations.PaneFolder$3.close(PaneFolder.java:190) at org.eclipse.swt.custom.CTabFolder.onMouse(CTabFolder.java:2075) at org.eclipse.swt.custom.CTabFolder$1.handleEvent(CTabFolder.java:292) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1380) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1404) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1389) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1237) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3060) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2712) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334) at org.eclipse.core.launcher.Main.basicRun(Main.java:278) at org.eclipse.core.launcher.Main.run(Main.java:973) at org.eclipse.core.launcher.Main.main(Main.java:948) !ENTRY org.eclipse.ui 4 4 2005-08-03 17:23:01.562 !MESSAGE Unhandled event loop exception !ENTRY org.eclipse.ui 4 0 2005-08-03 17:23:01.564 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException at org.eclipse.jface.action.MenuManager.update(MenuManager.java:591) at org.eclipse.jface.action.MenuManager.updateAll(MenuManager.java:721) at org.eclipse.ui.internal.WorkbenchWindow.updateActionBars(WorkbenchWindow.java:2485) at org.eclipse.ui.internal.WorkbenchPage.updateActionBars(WorkbenchPage.java:3301) at org.eclipse.ui.internal.WorkbenchPage$ActionSwitcher.updateActivePart(WorkbenchPage.java: 336) at org.eclipse.ui.internal.WorkbenchPage.setActivePart(WorkbenchPage.java:2857) at org.eclipse.ui.internal.WorkbenchPage.requestActivation(WorkbenchPage.java:2471) at org.eclipse.ui.internal.PartPane.requestActivation(PartPane.java:249) at org.eclipse.ui.internal.PartPane.handleEvent(PartPane.java:214) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1380) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1404) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1385) at org.eclipse.swt.widgets.Shell.setActiveControl(Shell.java:1214) at org.eclipse.swt.widgets.Control.sendFocusEvent(Control.java:1999) at org.eclipse.swt.widgets.Control.forceFocus(Control.java:637) at org.eclipse.swt.widgets.Decorations.restoreFocus(Decorations.java:376) at org.eclipse.swt.widgets.Shell.kEventWindowActivated(Shell.java:857) at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1880) at org.eclipse.swt.widgets.Display.windowProc(Display.java:3716) at org.eclipse.swt.internal.carbon.OS.ReceiveNextEvent(Native Method) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2677) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334) at org.eclipse.core.launcher.Main.basicRun(Main.java:278) at org.eclipse.core.launcher.Main.run(Main.java:973) at org.eclipse.core.launcher.Main.main(Main.java:948) !ENTRY org.eclipse.ui.workbench 4 2 2005-08-03 17:23:03.931 !MESSAGE Problems occurred when invoking code from plug-in: "org.eclipse.ui.workbench". !STACK 0 java.lang.NullPointerException at org.eclipse.swt.widgets.Menu.releaseWidget(Menu.java:884) at org.eclipse.swt.widgets.Widget.dispose(Widget.java:604) at org.eclipse.swt.widgets.Decorations.releaseWidget(Decorations.java:345) at org.eclipse.swt.widgets.Shell.releaseWidget(Shell.java:1117) at org.eclipse.swt.widgets.Widget.dispose(Widget.java:604) at org.eclipse.jface.window.Window.close(Window.java:321) at org.eclipse.jface.window.ApplicationWindow.close(ApplicationWindow.java:291) at org.eclipse.ui.internal.WorkbenchWindow.hardClose(WorkbenchWindow.java:1403) at org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:646) at org.eclipse.ui.internal.WorkbenchWindow.access$0(WorkbenchWindow.java:627) at org.eclipse.ui.internal.WorkbenchWindow$2.run(WorkbenchWindow.java:728) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:726) at org.eclipse.jface.window.WindowManager.close(WindowManager.java:108) at org.eclipse.ui.internal.Workbench$11.run(Workbench.java:588) at org.eclipse.core.internal.runtime.InternalPlatform.run(InternalPlatform.java:1044) at org.eclipse.core.runtime.Platform.run(Platform.java:783) at org.eclipse.ui.internal.Workbench.busyClose(Workbench.java:585) at org.eclipse.ui.internal.Workbench.access$8(Workbench.java:522) at org.eclipse.ui.internal.Workbench$13.run(Workbench.java:713) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.ui.internal.Workbench.close(Workbench.java:711) at org.eclipse.ui.internal.Workbench.close(Workbench.java:686) at org.eclipse.ui.internal.Workbench$21.handleEvent(Workbench.java:1621) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3212) at org.eclipse.swt.widgets.Display.close(Display.java:817) at org.eclipse.swt.widgets.Display.commandProc(Display.java:701) at org.eclipse.swt.internal.carbon.OS.SendEventToEventTarget(Native Method) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2682) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334) at org.eclipse.core.launcher.Main.basicRun(Main.java:278) at org.eclipse.core.launcher.Main.run(Main.java:973) at org.eclipse.core.launcher.Main.main(Main.java:948) !ENTRY org.eclipse.ui 4 4 2005-08-03 17:23:06.504 !MESSAGE Unhandled event loop exception !ENTRY org.eclipse.ui 4 0 2005-08-03 17:23:06.666 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException at org.eclipse.swt.widgets.Menu.releaseWidget(Menu.java:884) at org.eclipse.swt.widgets.Widget.dispose(Widget.java:604) at org.eclipse.swt.widgets.Decorations.releaseWidget(Decorations.java:357) at org.eclipse.swt.widgets.Shell.releaseWidget(Shell.java:1117) at org.eclipse.swt.widgets.Widget.dispose(Widget.java:604) at org.eclipse.swt.widgets.Display.release(Display.java:2760) at org.eclipse.swt.graphics.Device.dispose(Device.java:202) at org.eclipse.swt.widgets.Display.close(Display.java:818) at org.eclipse.swt.widgets.Display.commandProc(Display.java:701) at org.eclipse.swt.internal.carbon.OS.SendEventToEventTarget(Native Method) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2682) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1699) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1663) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334) at org.eclipse.core.launcher.Main.basicRun(Main.java:278) at org.eclipse.core.launcher.Main.run(Main.java:973) at org.eclipse.core.launcher.Main.main(Main.java:948) !ENTRY org.eclipse.osgi 2005-08-03 17:23:06.677 !MESSAGE Application error !STACK 1 java.lang.NullPointerException at org.eclipse.swt.widgets.Menu.releaseWidget(Menu.java:884) at org.eclipse.swt.widgets.Widget.dispose(Widget.java:604) at org.eclipse.swt.widgets.Decorations.releaseWidget(Decorations.java:357) at org.eclipse.swt.widgets.Shell.releaseWidget(Shell.java:1117) at org.eclipse.swt.widgets.Widget.dispose(Widget.java:604) at org.eclipse.swt.widgets.Display.release(Display.java:2760) at org.eclipse.swt.graphics.Device.dispose(Device.java:202) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:118) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:334) at org.eclipse.core.launcher.Main.basicRun(Main.java:278) at org.eclipse.core.launcher.Main.run(Main.java:973) at org.eclipse.core.launcher.Main.main(Main.java:948) !ENTRY org.eclipse.core.runtime 2 2 2005-08-03 17:23:07.616 !MESSAGE Job found still running after platform shutdown. Jobs should be canceled by the plugin that scheduled them during shutdown: org.eclipse.ui.internal.progress.ProgressViewUpdater$1
|
2005-08-03 21:06:42
| 1,123,120,000 |
resolved fixed
|
7178243
| 1,124,740,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Menu.java
|
SWT
|
2,719 | 105,494 |
Bug 105494 setting image in TreeItem column 1 affects its future column 0 image
|
HEAD, July 28 - run the snippet below, which initially puts an image in the item's second column - press the button, which puts an image into the item's first column -> but it does not appear - resize the first column slightly to make this image appear public static void main(String[] args) { Display display = new Display (); final Image image = new Image(display, 16, 16); GC gc = new GC(image); gc.drawOval(2,2,12,6); gc.dispose(); final Shell shell = new Shell(display); shell.setBounds(10,10,300,300); final Tree tree = new Tree(shell, SWT.NONE); tree.setBounds(10,10,200,200); tree.setHeaderVisible(true); new TreeColumn(tree, SWT.NONE).setWidth(100); new TreeColumn(tree, SWT.NONE).setWidth(100); final TreeItem item = new TreeItem(tree, SWT.NONE); item.setText(new String[] {"col0","col1"}); item.setImage(1,image); Button button = new Button(shell, SWT.PUSH); button.setBounds(220,10,60,30); button.setText("Push"); button.addListener(SWT.Selection, new Listener() { public void handleEvent(Event event) { item.setImage(image); System.out.println("image was just set into item column 0"); System.out.println("if you don't see it try resizing column 0"); } }); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } image.dispose(); display.dispose(); }
|
2005-07-28 13:47:53
| 1,122,570,000 |
resolved fixed
|
d36e375
| 1,124,740,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
|
SWT
|
2,720 | 100,665 |
Bug 100665 Add Resource.getDevice()
|
It would be really useful to if Resource had a getDevice() method. The JFace ImageDescriptors could use this when creating a descriptor from an existing resource. The descriptor is capable of reusing the existing image when asked for another image on the same device, but it frequently needs to create copies of the image in the (common) situations where the device is unknown. A getDevice() method would allow us to reduce the number of images created when a new image is created on the same device.
|
2005-06-17 16:42:47
| 1,119,040,000 |
resolved fixed
|
94a5b34
| 1,124,470,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/Resource.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java
|
SWT
|
2,721 | 92,636 |
Bug 92636 [Browser] Clicking in web browser (editor) does not dismiss fast view
|
If I have a fast view open, and I click in a regular editor or other view, the fast view correctly gets dismissed. However, if I have an internal browser widget editor open and I click in it, the fast view does not get dismissed, and I have to click in some otehr view to get it dismissed. eclipse 3.1M6 on linux FC2
|
2005-04-25 16:29:27
| 1,114,460,000 |
resolved fixed
|
770baa3
| 1,124,470,000 |
bundles/org.eclipse.swt/Eclipse SWT Mozilla/gtk/org/eclipse/swt/browser/Browser.java
|
SWT
|
2,722 | 107,329 |
Bug 107329 AIOOBException caused by Tree.setRedraw()
|
I20050816-1235 My Sync view is currently hosed. Any attempt to refresh it results in the following exception in my log. I have no idea how I've gotten into this state. org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.ArrayIndexOutOfBoundsException: 4) at org.eclipse.swt.SWT.error(SWT.java:3241) at org.eclipse.swt.SWT.error(SWT.java:3164) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:126) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2951) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2734) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1734) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1698) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:338) at org.eclipse.core.launcher.Main.basicRun(Main.java:282) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952) Caused by: java.lang.ArrayIndexOutOfBoundsException: 4 at org.eclipse.swt.widgets.Tree.getItems(Tree.java:1119) at org.eclipse.swt.widgets.Tree.setScrollWidth(Tree.java:2056) at org.eclipse.swt.widgets.Tree.setRedraw(Tree.java:2051) at org.eclipse.team.internal.ui.synchronize.AbstractSynchronizeModelProvider.refreshModelRoot (AbstractSynchronizeModelProvider.java:354) at org.eclipse.team.internal.ui.synchronize.AbstractSynchronizeModelProvider.access$0 (AbstractSynchronizeModelProvider.java:336) at org.eclipse.team.internal.ui.synchronize.AbstractSynchronizeModelProvider$2.run (AbstractSynchronizeModelProvider.java:329) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.team.internal.ui.Utils$4.run(Utils.java:664) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123) ... 18 more
|
2005-08-18 10:51:24
| 1,124,380,000 |
resolved fixed
|
06d7238
| 1,124,400,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Tree.java
|
SWT
|
2,723 | 107,324 |
Bug 107324 Recent changes causing a VM crash
|
Running with SWT from head is causing the UI test suites to die with a VM crash. The last thing to occur before this happens is a failed test with the following stack: org.eclipse.swt.SWTException: Widget is disposed at org.eclipse.swt.SWT.error(SWT.java:3241) at org.eclipse.swt.SWT.error(SWT.java:3164) at org.eclipse.swt.SWT.error(SWT.java:3135) at org.eclipse.swt.widgets.Widget.error(Widget.java:684) at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:319) at org.eclipse.swt.widgets.Menu.indexOf(Menu.java:809) at org.eclipse.swt.widgets.MenuItem.setMenu(MenuItem.java:707) at org.eclipse.swt.widgets.Menu.releaseParent(Menu.java:899) at org.eclipse.swt.widgets.Widget.release(Widget.java:1301) at org.eclipse.swt.widgets.Widget.release(Widget.java:1287) at org.eclipse.swt.widgets.Widget.dispose(Widget.java:615) at org.eclipse.swt.widgets.Decorations.releaseChildren(Decorations.java:356) at org.eclipse.swt.widgets.Shell.releaseChildren(Shell.java:1104) at org.eclipse.swt.widgets.Widget.release(Widget.java:1296) at org.eclipse.swt.widgets.Widget.release(Widget.java:1287) at org.eclipse.swt.widgets.Widget.dispose(Widget.java:615) at org.eclipse.jface.window.Window.close(Window.java:321) at org.eclipse.jface.window.ApplicationWindow.close(ApplicationWindow.java:291) at org.eclipse.ui.internal.WorkbenchWindow.hardClose(WorkbenchWindow.java:1403) at org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:646) at org.eclipse.ui.internal.WorkbenchWindow.access$0(WorkbenchWindow.java:627) at org.eclipse.ui.internal.WorkbenchWindow$2.run(WorkbenchWindow.java:728) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:69) at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:726) at org.eclipse.ui.tests.util.UITestCase.closeAllTestWindows(UITestCase.java:274) at org.eclipse.ui.tests.util.UITestCase.doTearDown(UITestCase.java:215) at org.eclipse.ui.tests.api.IWorkbenchPageTest.doTearDown(IWorkbenchPageTest.java:69) at org.eclipse.ui.tests.util.UITestCase.tearDown(UITestCase.java:203) at junit.framework.TestCase.runBare(TestCase.java:130) at junit.framework.TestResult$1.protect(TestResult.java:106) at junit.framework.TestResult.runProtected(TestResult.java:124) at junit.framework.TestResult.run(TestResult.java:109) at junit.framework.TestCase.run(TestCase.java:118) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at junit.framework.TestSuite.runTest(TestSuite.java:208) at junit.framework.TestSuite.run(TestSuite.java:203) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344) at org.eclipse.pde.internal.junit.runtime.RemotePluginTestRunner.main (RemotePluginTestRunner.java:57) at org.eclipse.pde.internal.junit.runtime.UITestApplication$1.run(UITestApplication.java:99) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:2951) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2727) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1734) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1698) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:367) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:103) at org.eclipse.pde.internal.junit.runtime.UITestApplication.run(UITestApplication.java:39) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:163) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:338) at org.eclipse.core.launcher.Main.basicRun(Main.java:282) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952)
|
2005-08-18 10:07:19
| 1,124,370,000 |
resolved fixed
|
5d95d0e
| 1,124,400,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Combo.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Menu.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/MenuItem.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Widget.java
|
SWT
|
2,724 | 107,112 |
Bug 107112 Closing an editor adds "Widget is disposed" error to the errorlog
| null |
2005-08-16 09:30:23
| 1,124,200,000 |
resolved fixed
|
2040db2
| 1,124,290,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Canvas.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Canvas.java
|
SWT
|
2,725 | 107,127 |
Bug 107127 Modify Event is sent twice in case of SWT.MULTI
|
in org.eclipse.swt.widgets.Text.setText() is this condition /* * Bug in Windows. When the widget is multi line * text widget, it does not send a WM_COMMAND with * control code EN_CHANGE from SetWindowText () to * notify the application that the text has changed. * The fix is to send the event. */ if ((style & SWT.MULTI) != 0) { sendEvent (SWT.Modify); // widget could be disposed at this point } Currently there is no such in source code described windows bug. So ModifyEvent is sent to listeners twice. Tested on WindowsXP and Windows2k3.
|
2005-08-16 12:10:57
| 1,124,210,000 |
resolved wontfix
|
abbbf75
| 1,124,230,000 |
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Text.java
|
SWT
|
2,726 | 107,145 |
Bug 107145 Javadoc can not refer to package protected methods
|
In the javadoc for Widget.destroyWidget, we refer to package protected methods. These must be removed. We can just put them in the comments or remove them entirely. The following build errors are caused by this problem: /builds/I200508161235/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Widget.java:333: warning - Tag @see: can't find releaseChild in org.eclipse.swt.widgets.Widget /builds/I200508161235/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Widget.java:333: warning - Tag @see: can't find releaseWidget in org.eclipse.swt.widgets.Widget /builds/I200508161235/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Widget.java:333: warning - Tag @see: can't find releaseHandle in org.eclipse.swt.widgets.Widget
|
2005-08-16 14:17:10
| 1,124,220,000 |
resolved fixed
|
cccbf7c
| 1,124,220,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Widget.java
|
SWT
|
2,727 | 107,048 |
Bug 107048 Path.moveTo draws lines
|
See the following code fragment: Device device = Display.getDefault(); Image image = new Image(device,100,100); GC gc = new GC(image); Path path = new Path(device); path.moveTo(10,10); path.lineTo(90,10); path.moveTo(10,90); // <== draws a line on Windows path.lineTo(90,90); Color black = new Color(device,0,0,0); gc.setForeground(black); gc.drawPath(path); black.dispose(); gc.dispose(); ImageLoader loader = new ImageLoader(); loader.data = new ImageData[1]; loader.data[0] = image.getImageData(); loader.save("test.jpg", SWT.IMAGE_JPEG); image.dispose(); This should build a Path with two lines and draw it on the image. On Windows XP SP2 with Java 5.0 Update 4, the second moveTo also draws a line (see the created image file). On OSX with Java 5.0, it works as expected.
|
2005-08-15 12:52:53
| 1,124,120,000 |
resolved fixed
|
5eaedf1
| 1,124,130,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Path.java
|
SWT
|
2,728 | 106,851 |
Bug 106851 NPEs caused by recent Tree changes
|
Sometime between your M1 Carbon submission and what's in HEAD changes have been made to Tree that are causing NPEs in the JFace test suites. Stack traces will follow.
|
2005-08-12 10:41:26
| 1,123,860,000 |
resolved fixed
|
c76f5cd
| 1,123,870,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Tree.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/TreeItem.java
|
SWT
|
2,729 | 106,730 |
Bug 106730 Rendering problems on Customize Perspective dialog
|
Version: 3.1.0 Build id: I20050811-0010 When i opened the Customize Perspective dialog the area between the first and second panels is drawing incorrectly. It appears as if the text from the editor is showing through. This area is covered by a sash.
|
2005-08-11 06:07:44
| 1,123,750,000 |
resolved fixed
|
7ae6613
| 1,123,800,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Sash.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Spinner.java
|
SWT
|
2,730 | 106,536 |
Bug 106536 TableItem.getBounds - small inconsistencies
|
Eclipse 3.2 I20050808-2000 1) TableItem.getImageBounds(int) - this should return a rectangle that is the height of the row. Currently, it is returning a rectangle the height of the image. 2) Tableitem.getBounds(int) - this is returning a rectangle that overlaps the gridlines. It should return a rectangle that is just inside the gridlines. I used xmag to look closely at the pixels to see this. Below is an example that shows these problems: public static void main(String[] args) { int style = SWT .BORDER; style |= SWT.FULL_SELECTION; final Display display = new Display(); final Color red = display.getSystemColor(SWT.COLOR_RED); final Color green = display.getSystemColor(SWT.COLOR_GREEN); final Color darkRed = display.getSystemColor(SWT.COLOR_DARK_RED); final Color darkGreen = display.getSystemColor(SWT.COLOR_DARK_GREEN); int s1 = 20, s2 = 10; final Image image1 = new Image (display, s1, s2); GC gc1 = new GC (image1); gc1.drawRectangle (0, 0, s1 - 1, s2 - 1); gc1.setBackground (display.getSystemColor (SWT.COLOR_CYAN)); gc1.fillRectangle (1, 1, s1 - 2, s2 - 2); gc1.dispose (); Shell shell = new Shell(display); shell.setLayout(new GridLayout()); final Table table = new Table(shell, style); table.setLayoutData(new GridData(SWT.LEFT, SWT.TOP, true, true)); table.setHeaderVisible(true); table.setLinesVisible(true); TableColumn column1 = new TableColumn(table, SWT.NONE); column1.setText("column1"); TableColumn column2 = new TableColumn(table, SWT.NONE); column2.setText("column2"); TableColumn column3 = new TableColumn(table, SWT.NONE); column3.setText("column3"); for (int i = 0; i < 20; i++) { TableItem item = new TableItem(table, SWT.NONE); item.setText(new String[] { "item " + i, "column 1 asdad as das da sd asd" + i, "asd asd asd as das d asd ad sdasdasdasd"}); item.setImage(new Image[] {image1, null, null}); // item.setImage(new Image[] {null, image1, null}); // item.setImage(new Image[] {null, null, image1}); // item.setImage(new Image[] {image1, image1, image1}); // item.setImage(new Image[] {null, image1, image1}); } column1.pack(); column2.pack(); column3.pack(); final Canvas c1 = new Canvas(table, SWT.NONE); c1.setBackground(red); final Canvas c2 = new Canvas(table, SWT.NONE); c2.setBackground(green); final Canvas c3 = new Canvas(table, SWT.NONE); c3.setBackground(red); final Canvas c4 = new Canvas(table, SWT.NONE); c4.setBackground(green); final Canvas c5 = new Canvas(table, SWT.NONE); c5.setBackground(darkRed); final Canvas c6 = new Canvas(table, SWT.NONE); c6.setBackground(darkGreen); final Canvas c7 = new Canvas(table, SWT.NONE); c7.setBackground(darkRed); final Canvas c8 = new Canvas(table, SWT.NONE); c8.setBackground(darkGreen); PaintListener l = new PaintListener() { public void paintControl(PaintEvent e) { GC gc = e.gc; Rectangle r1; Rectangle r2; TableItem item = table.getItem(4); r1 = item.getBounds(0); c1.setBounds(r1); r2 = item.getBounds(1); c2.setBounds(r2); item = table.getItem(5); r1 = item.getBounds(0); c3.setBounds(r1); r2 = item.getBounds(1); c4.setBounds(r2); item = table.getItem(6); r1 = item.getImageBounds(0); c5.setBounds(r1); r2 = item.getImageBounds(1); c6.setBounds(r2); item = table.getItem(7); r1 = item.getImageBounds(0); c7.setBounds(r1); r2 = item.getImageBounds(1); c8.setBounds(r2); }; }; table.addPaintListener(l); shell.pack(); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); }
|
2005-08-09 14:26:58
| 1,123,610,000 |
resolved fixed
|
9ce9802
| 1,123,790,000 |
bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/TableItem.java bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/TreeItem.java
|
SWT
|
2,731 | 106,542 |
Bug 106542 showing/hiding column sort arrow should recompute display text
|
the following patch should go into HEAD after 3.2M1
|
2005-08-09 15:03:41
| 1,123,610,000 |
resolved fixed
|
6ecd251
| 1,123,790,000 |
bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/TableColumn.java bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/TreeColumn.java
|
SWT
|
2,732 | 104,589 |
Bug 104589 Crash while running JFace test suites
| null |
2005-07-20 17:38:38
| 1,121,900,000 |
resolved fixed
|
b5df55b
| 1,123,700,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/List.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java
|
SWT
|
2,733 | 91,013 |
Bug 91013 Can not resolve an instance reference from another method
|
Can not bring up shell with a composite,
|
2005-04-11 12:14:19
| 1,113,240,000 |
closed fixed
|
c13285f
| 1,123,700,000 |
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/SWT.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/CoolBar.java
|
SWT
|
2,734 | 106,647 |
Bug 106647 VM crash in TableItem dispose
|
The iter in a TableItem is being g_free()'d twice. This causes a VM crash in the JFace test "testBulkExpand".
|
2005-08-10 12:30:43
| 1,123,690,000 |
resolved fixed
|
3547c59
| 1,123,690,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java
|
SWT
|
2,735 | 106,058 |
Bug 106058 Antialiasing memory leak
|
SWT 3138, WinXP : When setting the antialising using either : gc.setAntialias(SWT.ON); or gc.setTextAntialias(SWT.ON); the application leaks (at a rate of approcimately 300kB/s => 20MB is leaked every minute) I experience the leak from the windows taks manager, GDI objects is constant, same with handles, but memory keep raising. If I turn off the antialiasing in the application (while debugging with eclipse), the leak stops, if I turn it back on, the leak comes back.
|
2005-08-04 10:59:38
| 1,123,170,000 |
resolved fixed
|
261b174
| 1,123,250,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java
|
SWT
|
2,736 | 105,133 |
Bug 105133 mouse wheel scrolling in editor moves scrollbar thumb but not content
|
N20050726-0010 When using the mouse wheel inside an editor in eclipse, the scrollbar's thumb is moved, but not the StyledText content. The following works as expected: - Scrolling in other views (outline...) - Scrolling the editor by moving the scrollbar thumb directly - Scrolling the editor by using the mouse wheel on the scrollbar - Scrolling the editor using keys (PgDown, Ctrl+Down etc)
|
2005-07-26 06:14:44
| 1,122,370,000 |
resolved fixed
|
13a310a
| 1,123,100,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ScrollBar.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Slider.java
|
SWT
|
2,737 | 105,591 |
Bug 105591 Problems setting and updating an Image on a Label
|
Using latest 3.2 IBuild of SWT, I am seeing different results setting and updating an Image on a Label to 3.1. See this snippet: public class Main { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); Image image = new Image(display, 160, 160); GC gc = new GC(image); gc.setBackground(display.getSystemColor(SWT.COLOR_BLUE)); gc.fillRectangle(0, 0, 160, 160); gc.dispose(); final Image image2 = new Image(display, 160, 160); GC gc2 = new GC(image2); gc2.setBackground(display.getSystemColor(SWT.COLOR_RED)); gc2.fillRectangle(0, 0, 160, 160); gc2.dispose(); final Label label = new Label(shell, SWT.NONE); label.setImage(image); label.addMouseListener(new MouseAdapter() { public void mouseDown(MouseEvent e) { label.setImage(image2); } }); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } } } } With 3.1 I am seeing the Blue Rectangle in the center of the Shell. A click on it updates to the Red Label. With 3.2 I am seeing the Blue Rectangle top-left of the Shell. A click on it does not update to the Red Label until I call redraw. Ben
|
2005-07-29 13:32:09
| 1,122,660,000 |
resolved fixed
|
49347c4
| 1,123,090,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Label.java
|
SWT
|
2,738 | 59,537 |
Bug 59537 [Workbench] Accessibility: Minimize and Maximize icons in views missing accessibility info.
|
All Eclipse view do not have tooltips for minimize and maximize icons. Neither do they get focus when hovering the mouse over the icon. Use MS Inspect Objects to see this clearly by selecting Show Highlight Rectangle from the Options menu.
|
2004-04-21 17:31:46
| 1,082,580,000 |
resolved fixed
|
3125ba4
| 1,123,020,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java
|
SWT
|
2,739 | 105,849 |
Bug 105849 SWT bugs: GDI Handles leak
|
Running Eclipse SDK Version: 3.1.0 Build id: I20050617-1618 Some GDI objects are allocated but never released eventually causing SWTError: No more handles (1) Class: org.eclipse.swt.graphics.Image Method: int[] createGdipImage() At the very end of creating an icon, the following code lines: if (iconInfo.hbmColor == 0) OS.DeleteObject(iconInfo.hbmColor); if (iconInfo.hbmMask == 0) OS.DeleteObject(iconInfo.hbmMask); should be simply changed to: if (iconInfo.hbmColor != 0) OS.DeleteObject(iconInfo.hbmColor); if (iconInfo.hbmMask != 0) OS.DeleteObject(iconInfo.hbmMask); (2) Class: org.eclipse.swt.graphics.GC Method: void fillGradientRectangle() These two Colors are allocated: int fromGpColor = Gdip.Color_new(data.alpha << 24 | rgb); int toGpColor = Gdip.Color_new(data.alpha << 24 | rgb); However, wrong parameters are passed for their release: Gdip.Color_delete(fromColor); //this is the text color value not Handle! Gdip.Color_delete(toColor);//this is the background color value not Handle! Please note that the above leaks happen every time the screen gets painted an an icon is there or a shape with gradient fill is enabled. The leaked handles add up quite quickly and crash Eclipse.
|
2005-08-02 15:56:10
| 1,123,010,000 |
resolved fixed
|
d5baa37
| 1,123,010,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Image.java
|
SWT
|
2,740 | 104,301 |
Bug 104301 Support discovery of AWT Frames by walking the Widget hierarchy
|
There is no way to get a reference to an embedded AWT frame by walking the SWT hierarchy. ( well there is some reference to the created frame that is kept internally implicitely in the Listeners created internally by SWT_AWT, but that is the only place.) This makes automating GUI tests impossible with tests frameworks when AWT is embedded in SWT, since you cannot discover fully what your UI is made of. Getting a reference to the embedded AWT object when walking the SWT hierarchy would help quite a bit. Mixed applications (a frequent use case for folks migrating from Swing to RCP) are not testable for now. I don't know what could be the right solution that could be both portable and clean, but here are some ideas: Conceptually the AWT frame is a child of the composite is has been embedded in. Potentially a control type could be created for an embedded AWT object, and made a children of the receiving composite. There is a precedent for that with OleFrame. That control could either be found from the Composite#_getChildren or Composite#_getTabList and feed the getChildren normally. Or reference to the frame coudl be kept as a member of the control and injected into the Children. In addition, this could be an opportunity standardize the semantics of the AWT frame creation with something like new AwtFrame(Composite parent) and deprecating the old way using SWT_AWT.new_frame. I do not know is if there is native way to get a Frame once created using natives, but the frame should have a OS handle I guess, and could make its way as a control. Just some wild thoughts. BTW, I have not looked into the SWT in AWT but I guess the pb may be similar but not as an important use case IMHO.
|
2005-07-18 21:15:17
| 1,121,740,000 |
resolved fixed
|
964f59e
| 1,123,000,000 |
bundles/org.eclipse.swt/Eclipse SWT AWT/emulated/org/eclipse/swt/awt/SWT_AWT.java bundles/org.eclipse.swt/Eclipse SWT AWT/gtk/org/eclipse/swt/awt/SWT_AWT.java bundles/org.eclipse.swt/Eclipse SWT AWT/motif/org/eclipse/swt/awt/SWT_AWT.java bundles/org.eclipse.swt/Eclipse SWT AWT/win32/org/eclipse/swt/awt/SWT_AWT.java
|
SWT
|
2,741 | 105,213 |
Bug 105213 moveBelow(null) does not adjust z order
|
R3.1 Linux GTK Red Hat EL 4.0 When you call Control#moveBelow(null) on GTK the control is not moved to the bottom of the list on GTK. On Windows this moves to the bottom of the list.
|
2005-07-26 15:41:28
| 1,122,410,000 |
resolved fixed
|
3a868a5
| 1,123,000,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Control.java
|
SWT
|
2,742 | 80,798 |
Bug 80798 setToolTipText() method of org.eclipse.swt.widgets.Combo not working in Linux platform
|
In Linux(GTK), the setToolTipText(String) does not show the tool tip text for Combo (org.eclipse.swt.widgets.Combo).
|
2004-12-13 05:47:10
| 1,102,930,000 |
resolved fixed
|
06e0274
| 1,122,590,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java
|
SWT
|
2,743 | 96,916 |
Bug 96916 Spinner.setToolTipText() doesn't work
|
No tooltip appears on the spinner widget after Spinner.setToolTipText().
|
2005-05-27 03:44:23
| 1,117,180,000 |
resolved fixed
|
50dcb29
| 1,122,580,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Combo.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Shell.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Spinner.java
|
SWT
|
2,744 | 104,992 |
Bug 104992 List control bug [cheese when resizing]
|
Two list controls on a sashform and I want to show the selected item even after the list control is resized. I've added a resize listener to both list control and called showSelection() method. In some situation the list items are doubled, see attached image. I posted a bug report since I didn't got any answer on the newsgroup.
|
2005-07-25 07:08:36
| 1,122,290,000 |
resolved fixed
|
6ba4134
| 1,122,580,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/List.java
|
SWT
|
2,745 | 104,966 |
Bug 104966 Link displays as enabled when setText called after setEnabled
|
VE 1.1 Running with XP manifest 1. Create a new Visual bean (SWT) 2. Drop a link on the composite 3. Set the enabled property on the link to be disabled 4. Note: the link is now disabled in the preview 5. Close the editor 6. Re-open the editor 7. Observe: link now shows as enabled When you run the application the link shows as enabled, but is actually disabled. If you change the order of the initialization such that the enabled status is set after the text is set it displays correctly. This could be an SWT bug.
|
2005-07-24 23:17:12
| 1,122,260,000 |
resolved fixed
|
9fa5fc1
| 1,122,570,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Link.java
|
SWT
|
2,746 | 82,277 |
Bug 82277 [XP theme] coolbars gradient background
| null |
2005-01-05 14:38:07
| 1,104,950,000 |
resolved fixed
|
0f87afa
| 1,122,480,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/CoolBar.java
|
SWT
|
2,747 | 96,053 |
Bug 96053 Spinner: Pressing buttons should focus spinner and select text
| null |
2005-05-19 22:06:10
| 1,116,550,000 |
resolved fixed
|
afa1f36
| 1,122,420,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Spinner.java
|
SWT
|
2,748 | 105,132 |
Bug 105132 Image flashing when using a Tree in a themed TabFolder
| null |
2005-07-26 05:59:37
| 1,122,370,000 |
resolved fixed
|
5066ff8
| 1,122,390,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Composite.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java
|
SWT
|
2,749 | 18,607 |
Bug 18607 XP Look and Feel - 3D border appearance on some widgets does not match single blue line border on other widgets
|
Not sure if this is a bug in the way our bordering works, or in the example, etc. - click on the Text tab in the control example - click on the SWT.BORDER flag - notice Text widget is bordered with a flat, light blue rectangle, but StyledText widget is highlighted with a 3D border.
|
2002-06-01 11:39:56
| 1,022,950,000 |
resolved fixed
|
6c07ecd
| 1,122,330,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/Control.java
|
SWT
|
2,750 | 103,642 |
Bug 103642 resetting clipping path doesn't work when transforms are involved
|
Eclipse 3.1 Release on Mac OS X 10.4.1 A clipping path set with setClipping(Path) is not reset by setClipping(null) if a transform has been used before on the GC. This happens on Mac OS X (10.4.1) but not on Windows XP. See the following code fragment: Device device = Display.getDefault(); // create an image 100x100 Image image = new Image(device,100,100); GC gc = new GC(image); // fill image with solid green Color green = new Color(device,0,255,0); gc.setBackground(green); gc.fillRectangle(0,0,100,100); // set a transformation and reset it again Transform transform = new Transform(device,1.5f,0,0,1.5f,0,0); gc.setTransform(transform); gc.setTransform(null); // set a clipping path and reset it again Path clipPath = new Path(device); clipPath.addRectangle(25,25,50,50); gc.setClipping(clipPath); // gc.setClipping(25,25,50,50); gc.setClipping((Region)null); // fill image with solid red Color red = new Color(device,255,0,0); gc.setBackground(red); gc.fillRectangle(0,0,100,100); On Mac OS X the red rectangle is clipped to clipPath despite explicitely resetting the clipping path. On XP it works as expected (red rectangle fills whole image). Workaround: if the clipping path has been set via setClipping(x,y,w,h), a following reset works (uncomment gc.setClipping(25,25,50,50) in the above code fragment). Also, if there is never any transformation set, it works without the workaround!
|
2005-07-13 08:11:42
| 1,121,260,000 |
resolved fixed
|
0b68d64
| 1,121,980,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/GC.java
|
SWT
|
2,751 | 103,627 |
Bug 103627 Text#getCaretPosition() returns wrong value for non-zero selection
|
I20050627-1435 (3.1) Text#getCaretPosition() returns a wrong value for a non-zero selection. Steps: - set text "This is some text" - set caret to position 0, then press Ctrl+Shift+Right -> caret is at position 4 now, but #getCaretPosition() returns 0.
|
2005-07-13 05:20:29
| 1,121,250,000 |
resolved fixed
|
61583f8
| 1,121,980,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Text.java
|
SWT
|
2,752 | 103,431 |
Bug 103431 JavaDoc for Composite.getChildren() is wrong
|
The JavaDoc says that it returns the children in the order they are drawn, when the reverse is true. getChildren() actually seems to return the children in the opposite of the order they are drawn. (Calling Control.moveAbove(null) moves a control to the beginning of the list and makes it the topmost control) The JavaDoc would also be more clear if it had an example: "For example, the topmost control appears at the beginning of the array".
|
2005-07-11 20:55:32
| 1,121,130,000 |
resolved fixed
|
b18e91d
| 1,121,960,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Composite.java
|
SWT
|
2,753 | 104,280 |
Bug 104280 Support the 'toolbar' button on OS X
|
It would be create if Eclipse windows could make use of the standard toolbar button that is found in the upper right hand corner of most OS X applications.
|
2005-07-18 17:02:49
| 1,121,720,000 |
verified fixed
|
91397db
| 1,121,880,000 |
bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/OS.java
|
SWT
|
2,754 | 104,509 |
Bug 104509 reducing VIRTUAL Table's item count can show drawing problem
|
3.1 - run the MassiveTableTest - invoke Table2->SetItemCount with a value of 50 - scroll to the very bottom of the Table - invoke Table2->SetItemCount with a value of 45 - this reduces the item count, but does not paint the result properly -> this will happen whenever a Table's top index changes as a result of a reduced SetItemCount (so when the user is scrolled near the bottom of the Table)
|
2005-07-20 11:35:54
| 1,121,870,000 |
resolved fixed
|
7c253ee
| 1,121,870,000 |
bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/Table.java
|
SWT
|
2,755 | 92,313 |
Bug 92313 Virtual table: flashes on clear
|
The open type dialog has a virtual table with lets say 100 elements. Now I get a new result set, adjust the item count (lets say to 90) and clear the whole table. This cases the table to be redrawn which can be recognized as a short flash. To reproduce: - take JDT/UI form HEAD - enable VIRTUAL support in TypeInfoViewer - start workspace - load all Eclipse plug-ins as binary - open the dialog - type List - in the text field repeat removeing t and adding t at the end. You see the table flashing. Is there anything I can do to avoid this.
|
2005-04-21 18:42:29
| 1,114,120,000 |
resolved fixed
|
70f0345
| 1,121,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/Table.java
|
SWT
|
2,756 | 102,272 |
Bug 102272 Repainting a double-buffered canvas may cause pixel corruption
| null |
2005-06-30 03:48:11
| 1,120,120,000 |
resolved fixed
|
7ebed4b
| 1,121,790,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Composite.java
|
SWT
|
2,757 | 103,934 |
Bug 103934 Table.getItem(Point) uses incorrect calculation on Motif
|
In all Motif versions of SWT, the method Table.getItem(Point) does not work correctly if the index of the top item of the table is anything other than zero. Thus it does not work correctly if the table is scrolled down. The method will almost always return null. The bug is in the line: int index = (point.y - getHeaderHeight ()) / itemHeight - topIndex; The final minus sign should be a plus sign. The line should instead read: int index = (point.y - getHeaderHeight ()) / itemHeight + topIndex; The method works correctly on Windows. I have not tried GTK.
|
2005-07-14 19:50:04
| 1,121,380,000 |
resolved fixed
|
e942a36
| 1,121,710,000 |
bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/Tree.java
|
SWT
|
2,758 | 100,387 |
Bug 100387 CTabFolder creates and disposes a Shell on every MouseHover
|
CTabFolder.showToolTip() currently does the following: On MouseHover: - create a temporary shell - if there's a tooltip: set it and show it - otherwise: dispose the shell There are no tooltips for the tabs used for views in Eclipse. As you hover over each tab, a new Shell is created and disposed on each MouseHover event.
|
2005-06-16 08:44:38
| 1,118,930,000 |
resolved fixed
|
7cdc97f
| 1,121,700,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java
|
SWT
|
2,759 | 102,794 |
Bug 102794 GridLayout has change behaviour between 3.0.2 and 3.1
|
Running the following problem on 3.0.2 and 3.1 shows a difference in behaviour: public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); ScrolledComposite sc1 = new ScrolledComposite(shell, SWT.H_SCROLL | SWT.V_SCROLL); Composite editor = new Composite(sc1, SWT.SHADOW_NONE); sc1.setContent(editor); sc1.setLayout(new FillLayout()); GridLayout layout = new GridLayout(); layout.numColumns = 6; layout.makeColumnsEqualWidth = true; editor.setLayout(layout); Label boxLabel = new Label(editor, SWT.NONE); boxLabel.setText("My label"); Text textBox = new Text(editor, SWT.H_SCROLL | SWT.V_SCROLL | SWT.MULTI | SWT.BORDER); textBox.setText("Some text for the text box\nAlso with a new line"); // do layout bits GridData labelData = new GridData(SWT.RIGHT, SWT.TOP, false, false); boxLabel.setLayoutData(labelData); GridData textBoxData = new GridData(SWT.FILL, SWT.CENTER, true, false, 5, 1); textBoxData.widthHint = 400; textBox.setLayoutData(textBoxData); sc1.setExpandHorizontal(true); sc1.setExpandVertical(true); sc1.setMinSize(editor.computeSize(SWT.DEFAULT, SWT.DEFAULT)); shell.pack(); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } Basically on 3.0.2 the window that appears has a label of about 80 pixels wide and a textbox of 400 pixels wide. With 3.1 the label is about 400 pixels wide, with the text box being about 2000 pixels wide. This appears to be a combination of the text box spanning 5 columns and the use of layout.makeColumnsEqualWidth = true; Turning off makeColumnsEqualWidth helps but it means that the real app this if from ends up looking untidy. Using minimumWidth instead of widthHint doesn't help. Commenting out the minimumWidth line helps, but the form ends up being wider than I'd like. The effect I'm trying to achieve is that labels are 1 column wide then text boxes are either 2 or 5 columns wide (so some rows get two labels and text boxes) The scrolled composite is needed because in the real app the forms are actually within a TabItem, so I need the ability to scroll.
|
2005-07-05 17:56:18
| 1,120,600,000 |
resolved fixed
|
cb48ee3
| 1,121,700,000 |
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/layout/GridLayout.java
|
SWT
|
2,760 | 103,603 |
Bug 103603 ImageData getPixel operation
|
The method "int getPixel(int x, int y)" of ImageData has several "if"s in a row, depending on the depth. Even if smart (the ones doing image processing) users should not be using "getPixel" repeateadly, it's a shame that is does not use a switch statement, which is bound to be mush faster. Since it is not even an "if/elsif", and the method starts with one, images of depth 8 or more, which are very common for digital photography end up iterating over all the depth before arriving at the desired depth.
|
2005-07-12 22:54:57
| 1,121,220,000 |
resolved fixed
|
6e47399
| 1,121,390,000 |
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/ImageData.java
|
SWT
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.