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,161 | 174,467 |
Bug 174467 Drag source image effect does not appear on OSX
| null |
2007-02-16 11:56:50
| 1,171,650,000 |
resolved fixed
|
3ab56b5
| 1,171,660,000 |
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/carbon/org/eclipse/swt/dnd/DragSource.java
|
SWT
|
2,162 | 112,724 |
Bug 112724 [OLE] OleClientSite.doVerb cause JVM crash
| null |
2005-10-14 22:23:43
| 1,129,340,000 |
resolved fixed
|
4cee151
| 1,171,660,000 |
bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleClientSite.java
|
SWT
|
2,163 | 133,161 |
Bug 133161 Table/Tree inconsistency with sorted column bg color when adding PaintItem listeners
|
The Tree has the sorted column background colour, but the Table does not, when adding PaintItem/MeasureItem/EraseItem listeners. public static void main(String[] args) { final Display display = new Display(); final Shell shell = new Shell(display); shell.setLayout(new FillLayout()); final int columns = 3; final int itemCount = 10; final int colWidth = 175; // -- final Tree tree = new Tree(shell, SWT.BORDER | SWT.VIRTUAL | SWT.FULL_SELECTION | SWT.MULTI); tree.setHeaderVisible(true); tree.setLinesVisible(true); for (int i = 0; i < columns; i++) { TreeColumn tc = new TreeColumn(tree, SWT.LEFT); tc.setText(i + " " + tc.toString()); tc.setWidth(colWidth); tc.setMoveable(true); } tree.setSortDirection(SWT.DOWN); tree.setSortColumn(tree.getColumn(0)); tree.setItemCount(itemCount); tree.addListener(SWT.SetData, new Listener() { public void handleEvent(Event event) { System.err.println("SetData:\tIndex: " + event.index + " Item: " + event.item + " Event: " + event); TreeItem item = (TreeItem) event.item; String text = String.valueOf(event.index); for (int i = 0; i <= columns; i++) { item.setText(i, text + " " + item.toString()); } } }); // -- final Table table = new Table(shell, SWT.BORDER | SWT.VIRTUAL | SWT.FULL_SELECTION | SWT.MULTI); table.setHeaderVisible(true); table.setLinesVisible(true); for (int i = 0; i < columns; i++) { TableColumn tc = new TableColumn(table, SWT.LEFT); tc.setText(i + " " + tc.toString()); tc.setWidth(colWidth); tc.setMoveable(true); } table.setSortDirection(SWT.DOWN); table.setSortColumn(table.getColumn(0)); table.setItemCount(itemCount); table.addListener(SWT.SetData, new Listener() { public void handleEvent(Event event) { System.err.println("SetData:\tIndex: " + event.index + " Item: " + event.item + " Event: " + event); TableItem item = (TableItem) event.item; String text = String.valueOf(event.index); for (int i = 0; i <= columns; i++) { item.setText(i, text + " " + item.toString()); } } }); // -- Listener l = new Listener() { public void handleEvent(Event event) { String eventName = ""; switch (event.type) { case SWT.MeasureItem : eventName = "MeasureItem"; break; case SWT.EraseItem : eventName = "EraseItem"; break; case SWT.PaintItem : eventName = "PaintItem"; break; } System.err.println(eventName + "\tIndex: " + event.index + " Item: " + event.item + " Event: " + event); } }; tree.addListener(SWT.MeasureItem, l); tree.addListener(SWT.EraseItem, l); tree.addListener(SWT.PaintItem, l); table.addListener(SWT.MeasureItem, l); table.addListener(SWT.EraseItem, l); table.addListener(SWT.PaintItem, l); final int timerDelay = 500; final Runnable r = new Runnable() { public void run() { int col = tree.indexOf(tree.getSortColumn()); if (++col == tree.getColumnCount()) col = 0; tree.setSortColumn(tree.getColumn(col)); table.setSortColumn(table.getColumn(col)); display.timerExec(timerDelay, this); } }; display.timerExec(timerDelay, r); shell.setSize(800, 600); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); }
|
2006-03-24 10:51:08
| 1,143,220,000 |
resolved fixed
|
7c6a6a5
| 1,171,420,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java
|
SWT
|
2,164 | 173,666 |
Bug 173666 Expandbar treats any mouse click as a left click
|
Build id: I20070208-2030 Steps: 1. Open Control example 2. Choose 'ExpandBar' tab 3. Enable 'Popup Menu' 4. Right click on a title bar, such as "What is your favorite button?" Notice that the right click is understood and a popup menu appears, but the click is also treated as a left click and causes the bar to expand/collapse. On other platforms (e.g. windows, linux), only left clicking causes the bar to expand/collapse.
|
2007-02-09 11:43:52
| 1,171,040,000 |
resolved fixed
|
f69868f
| 1,171,390,000 |
bundles/org.eclipse.swt/Eclipse SWT/emulated/expand/org/eclipse/swt/widgets/ExpandBar.java
|
SWT
|
2,165 | 172,843 |
Bug 172843 [Program] Notes bookmark URL cannot be launched by swt for Linux-GTK
|
On Linux, swt for gtk assumes all the file names and urls contain a '.'. So org.eclipse.swt.program.Program.launch will check if fileName contains '.' first. For the filenames with '.', swt will call gnome's native function to launch this file. Or else, this fileName is considered as a program and executed by Compatibility.exec. But for Notes, its bookmark URL is like "notes:///ClientBookmark?OpenWorkspace" without a '.'. So even Notes URL protocol is registered by gconf on Linux, Notes cannot be launched using Program.launch. But it can be launched by firefox. This problem blocks the program I'm working on so much. So is there any way to solve it? Thanks.
|
2007-02-05 05:07:48
| 1,170,670,000 |
verified fixed
|
425813d
| 1,171,310,000 |
bundles/org.eclipse.swt/Eclipse SWT Program/gtk/org/eclipse/swt/program/Program.java bundles/org.eclipse.swt/Eclipse SWT Program/motif/org/eclipse/swt/program/Program.java
|
SWT
|
2,166 | 170,907 |
Bug 170907 Right click a shell of SWT.NO_FOCUS and ON_TOP to bring up a context menu will trigger a shell deactivated event
|
Build ID: M20070112-1200 Steps To Reproduce: 1. New a shell with SWT.NO_FOCUS|ON_TOP from the workbench 2. Add shell listener to this shell to listen shellDeactivated event 3. Add a context menu to this shell 4. On right click the shell, while showing the context menu, a shellDeactivated event is triggered. More information: ONLY occurs in Linux eclipse, window Eclipse has no shellDeactivated event on the click bringing up the context menu. More information will be provided later.
|
2007-01-18 09:18:14
| 1,169,130,000 |
resolved fixed
|
13c959d
| 1,171,310,000 |
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Menu.java
|
SWT
|
2,167 | 173,089 |
Bug 173089 SWT Toggle Buttons on CoolBar keep pressed.
|
It isn't a critical bug. Even in Eclipse 3.2.1 Build id: M20060921-0945 you can reproduce it. Move your mouse over any coolbar with toogle buttons. Now press your second mouse button (suddenly, the right button) and, without release it, you can see that only that CoolBar buttons will be affected. Now, without release it, press the first mouse button (suddenly, the left button), and release them both when you want. The toolbar toogle button keeps pressed. And I felt impressed. Anyway, the best comes now. You can press now another toogle button with first mouse button of the same coolbar and, without release it, move away of it. When you release the mouse button, it still is pressed. And, for example, if you change a document and Save toogle button become active, you can do the same and when become inactive because you use ctrl+'S' or change the document to another previously saved, it still looks-like pressed.
|
2007-02-06 10:36:01
| 1,170,780,000 |
resolved fixed
|
e058e63
| 1,171,300,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ToolBar.java
|
SWT
|
2,168 | 173,846 |
Bug 173846 Table's FULL_SELECTION does not work correctly on custom draw table with background color
|
Clicking on area that is not on first column does NOT select the row. This happens for custom-draw table, with FULL_SELECTION style and background color. Run this example. Click on a table row on any column, except first. See that row is NOT selected. Only when click is on item's text itself, the row is selected. Now, move line "table.setBackground(display.getSystemColor(SWT.COLOR_WHITE));" before the listener definition. See, that now snippet works correctly, pressing anywhere selects the row. import org.eclipse.swt.*; import org.eclipse.swt.layout.*; import org.eclipse.swt.widgets.*; public class ProblemExample { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setText("Multiple lines in a TableItem"); shell.setLayout(new FillLayout()); Table table = new Table(shell, SWT.FULL_SELECTION); table.setHeaderVisible(true); table.setLinesVisible(true); for (int i = 0; i < 4; i++) { TableColumn column = new TableColumn(table, SWT.NONE); column.setText("Column " + i); column.setWidth(50); } for (int i = 0; i < 20; i++) new TableItem(table, SWT.NONE).setText("item " + i); //When table.setBackground moved here works fine !!! table.addListener(SWT.MeasureItem, new Listener() { public void handleEvent(Event event) { } }); table.setBackground(display.getSystemColor(SWT.COLOR_WHITE)); shell.pack(); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } }
|
2007-02-12 05:40:10
| 1,171,280,000 |
resolved fixed
|
0065087
| 1,171,300,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java
|
SWT
|
2,169 | 132,304 |
Bug 132304 Table: FULL_SELECTION focus outline too short when background image set
|
SWT-win32, v3228 The focus rectangle is not wide enough when a background image is set on a FULL_SELECTION table. See snippet and screenshot. --- import org.eclipse.swt.*; import org.eclipse.swt.graphics.*; import org.eclipse.swt.layout.*; import org.eclipse.swt.widgets.*; public class TableFocusTest { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); Image img = new Image(display, 64, 64); GC gc = new GC(img); gc.setBackground(display.getSystemColor(SWT.COLOR_MAGENTA)); gc.fillRectangle(img.getBounds()); gc.dispose(); Table tbl = new Table(shell, SWT.FULL_SELECTION); tbl.setHeaderVisible(true); tbl.setBackgroundImage(img); new TableColumn(tbl, SWT.LEFT).setWidth(100); new TableColumn(tbl, SWT.LEFT).setWidth(75); TableItem item = new TableItem(tbl, SWT.NONE); item.setText(0, "12345"); item.setText(1, "ABCDEF"); tbl.select(0); shell.setSize(350, 100); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } img.dispose(); display.dispose(); } }
|
2006-03-17 05:27:05
| 1,142,590,000 |
resolved fixed
|
4dfb9b2
| 1,171,060,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
|
SWT
|
2,170 | 173,670 |
Bug 173670 Disabling Controls does not prevent popup menu from functioning
|
Build id: I20070208-2030 Steps: 1. On a mac, open a control such as Group 2. Check "Popup Menu" and uncheck "Enabled" 3. Right click in the Group area. Notice that a popup menu appears. On other platforms (Windows, Linux) disabling a control also prevents the popup menu from appearing. On the mac, this is apparent with all controls that have a popup menu option with exception to: Canvas, CoolBar, ExpandBar, and ToolBar, which work properly.
|
2007-02-09 12:06:42
| 1,171,040,000 |
resolved fixed
|
bd612a2
| 1,171,050,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Control.java
|
SWT
|
2,171 | 172,918 |
Bug 172918 Drag not working in I20070205-0009
|
Dragging views doesn't work in this build. Occasionally you'll get the ability to drag a view to a new place but what happens is that a different view is dragged. After this you cannot drag at all - you get the drag rectangle with the X cursor. It is sometimes the case that you're in this state right from the get-go.
|
2007-02-05 16:15:52
| 1,170,710,000 |
resolved fixed
|
038b9c7
| 1,170,880,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Control.java
|
SWT
|
2,172 | 172,888 |
Bug 172888 Caret disapears on 'Go to Line...'
| null |
2007-02-05 12:13:27
| 1,170,700,000 |
verified fixed
|
c067849
| 1,170,720,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Shell.java
|
SWT
|
2,173 | 144,709 |
Bug 144709 toolkit.createText for SWT.MULTI widgets don't draw a border as they should on OS X
|
FormToolkit created multi-line text fields don't draw a border
|
2006-05-31 12:09:28
| 1,149,090,000 |
verified fixed
|
32ca2a3
| 1,170,460,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Text.java
|
SWT
|
2,174 | 154,944 |
Bug 154944 Holding mouse down on Table blocks Display.asyncExec and syncExec
|
Hold the mouse down on a table so that a MouseDown event isn't triggered (don't move the mouse or release the button). All runnables submitted with Display.asyncExec and/or Display.syncExec pile up in the queue until the MouseDown is triggered. This only appears to be an issue with Table. Here's a sample: ---------------------------- import org.eclipse.swt.SWT; import org.eclipse.swt.layout.GridData; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Label; import org.eclipse.swt.widgets.Shell; import org.eclipse.swt.widgets.Table; import org.eclipse.swt.widgets.TableItem; public class TableMouseDownAsyncExecBlocker { 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.BORDER | SWT.MULTI | SWT.FULL_SELECTION); table.setSize (200, 200); for (int i=0; i<12; i++) { TableItem item = new TableItem (table, SWT.NONE); item.setText(0, "Item " + i); } final Label label = new Label(shell, SWT.NONE); label.setText("#"); label.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); Thread t = new Thread("Runner") { Runnable runner = new Runnable() { int i; public void run() { if(!label.isDisposed() && label.getDisplay() != null) { String s = "#" + i++; label.setText(s); System.err.println(s); } } }; public void run() { while(!table.isDisposed() && table.getDisplay() != null) { try { Thread.sleep(1000); Display.getDefault().asyncExec(runner); } catch(Exception x) {} } } }; t.setDaemon(true); t.start(); shell.pack (); shell.open (); while (!shell.isDisposed ()) { if (!display.readAndDispatch ()) display.sleep (); } display.dispose (); } }
|
2006-08-23 17:46:57
| 1,156,370,000 |
resolved fixed
|
cabce7a
| 1,170,450,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java
|
SWT
|
2,175 | 169,048 |
Bug 169048 NullPointerException in Scrollable when parent=null
|
SWT 3230 GTK (no NPE on win32): Move the scrollbar in this snippet: public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(SWT.H_SCROLL); ScrollBar hscroll = shell.getHorizontalBar(); hscroll.setMinimum(0); hscroll.setMaximum(500); shell.setBounds(50, 50, 300, 200); shell.open (); while (!shell.isDisposed ()) { if (!display.readAndDispatch ()) display.sleep (); } display.dispose (); } Exception in thread "main" java.lang.NullPointerException at org.eclipse.swt.widgets.Scrollable.updateScrollBarValue(Scrollable.java:360) at org.eclipse.swt.widgets.ScrollBar.gtk_value_changed(ScrollBar.java:370) at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1400) at org.eclipse.swt.widgets.Display.windowProc(Display.java:3790) at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method) at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:5242) at org.eclipse.swt.widgets.Display.eventProc(Display.java:1133) at org.eclipse.swt.internal.gtk.OS._g_main_context_iteration(Native Method) at org.eclipse.swt.internal.gtk.OS.g_main_context_iteration(OS.java:1424) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2838) More information: Your bugzilla bug wizard is very annoying.
|
2006-12-25 14:20:17
| 1,167,070,000 |
resolved fixed
|
291191e
| 1,170,370,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Scrollable.java
|
SWT
|
2,176 | 166,483 |
Bug 166483 [Progress] Random shells come to the front when compare editor shows progress dialog
|
[I20061128-0800] Sometimes, when opening a compare editor from the sync view, other random shells (e.g. Firefox, Notes...) come to the front. This seems to be related to showing progress in a dialog. It does not happen if the compare results are displayed fast enough.
|
2006-12-01 09:09:17
| 1,164,980,000 |
resolved fixed
|
7fcc91e
| 1,170,360,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Shell.java
|
SWT
|
2,177 | 172,537 |
Bug 172537 No coloured cursor on GTK
| null |
2007-02-01 13:30:29
| 1,170,350,000 |
resolved fixed
|
3c08b85
| 1,170,350,000 |
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Cursor.java
|
SWT
|
2,178 | 172,175 |
Bug 172175 [DND] StyledText.getSelection() not valid during DnD?
| null |
2007-01-30 10:13:05
| 1,170,170,000 |
verified fixed
|
6898cc9
| 1,170,280,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextDropTargetEffect.java
|
SWT
|
2,179 | 167,744 |
Bug 167744 Vista Tracker incredibly slow
|
Using the Vista Aero theme try dragging a view with its own stack (for the best effect use the bottom stack in the Java perspective or anyother one with a few tabs). You should see an XOR rect as the insertion feedback. On my dual 3Ghz processor / 3GB box it's about 1/2 a sec per rectangle draw. This drawing is done by the set.custom.Tracker... My best guess is that it's getting hosed by the transparency handling (it works better if you switch to the 'Windows Classic' setup).
|
2006-12-12 16:26:52
| 1,165,960,000 |
resolved fixed
|
20653c6
| 1,170,260,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tracker.java
|
SWT
|
2,180 | 172,179 |
Bug 172179 Display.post(Event) with SWT.MouseMove moves to wrong location
|
Build ID: M20060921-0945 Steps To Reproduce: Create a simple SWT application (one is attached) that uses Display.post(Event) with Event type SWT.MouseMove to move the mouse to each x and/or y display coordinate. After each move, use Display.getCursorLocation() to find out where the cursor actually ended up. You will find that in some cases, especially for the lowest values of x or y, the cursor location ends up being different than it should have been. More information: When I run the attached SWT application on my system (Windows XP SP2 with a 1600x1200 screen) I get the following: Checking x dimension. Error: expected 1,600, got 0,600 Error: expected 2,600, got 1,600 Error: expected 3,600, got 2,600 Error: expected 4,600, got 3,600 Error: expected 5,600, got 4,600 Error: expected 6,600, got 5,600 Error: expected 7,600, got 6,600 Error: expected 8,600, got 7,600 Error: expected 9,600, got 8,600 Error: expected 10,600, got 9,600 Error: expected 11,600, got 10,600 Error: expected 12,600, got 11,600 Error: expected 13,600, got 12,600 Error: expected 14,600, got 13,600 Error: expected 15,600, got 14,600 Error: expected 16,600, got 15,600 Error: expected 17,600, got 16,600 Error: expected 18,600, got 17,600 Error: expected 19,600, got 18,600 Error: expected 20,600, got 19,600 Error: expected 21,600, got 20,600 Error: expected 22,600, got 21,600 Error: expected 23,600, got 22,600 Error: expected 24,600, got 23,600 Found 24 errors Checking y dimension. Error: expected 800,1, got 800,0 Error: expected 800,2, got 800,1 Error: expected 800,3, got 800,2 Error: expected 800,4, got 800,3 Error: expected 800,5, got 800,4 Error: expected 800,6, got 800,5 Error: expected 800,7, got 800,6 Error: expected 800,9, got 800,8 Error: expected 800,10, got 800,9 Error: expected 800,12, got 800,11 Error: expected 800,15, got 800,14 Error: expected 800,18, got 800,17 Found 12 errors The problem seems to be that the conversion from screen to "normalized" coordinates (for x or y) that is done by Display.post(Event) is such that it sometimes ends up below the bottom of the range of normalized values that map to that screen coordinate. So, the cursor location sometimes ends up 1 off in one dimension or the other. Specifically, it is these two calculations (on Windows, at least) that aren't quite adequate: inputs.dx = event.x * 65535 / (OS.GetSystemMetrics (OS.SM_CXSCREEN) - 1); inputs.dy = event.y * 65535 / (OS.GetSystemMetrics (OS.SM_CYSCREEN) - 1); I have found that something like the following calculation will result in normalized values in the middle of each range and works correctly (again, on Windows, at least): int width = OS.GetSystemMetrics(OS.SM_CXSCREEN); int height = OS.GetSystemMetrics(OS.SM_CYSCREEN); int rx = 65536 / width; int ry = 65536 / height; int inputs.dx = ((event.x * (65536 - rx)) / (width - 1)) + (rx / 2); int inputs.dy = ((event.y * (65536 - ry)) / (height - 1)) + (ry / 2);
|
2007-01-30 10:37:17
| 1,170,170,000 |
closed fixed
|
15e21f2
| 1,170,200,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java
|
SWT
|
2,181 | 158,746 |
Bug 158746 Canvas#scroll forces an update - any way around this besides setRedraw(false)
| null |
2006-09-26 09:55:05
| 1,159,280,000 |
resolved fixed
|
3588f4a
| 1,170,190,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
|
SWT
|
2,182 | 172,001 |
Bug 172001 Javadoc warnings in N20070129-0010
|
/builds/N200701290010/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Text.java:1567: warning - @param argument "string" is not a parameter name.
|
2007-01-29 08:31:46
| 1,170,080,000 |
resolved fixed
|
3327002
| 1,170,090,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Text.java
|
SWT
|
2,183 | 171,358 |
Bug 171358 [browser] exception thrown when JS call "confirm" in a frameset structure
|
Build ID: Eclipse 3.3 M4 Steps To Reproduce: Env: - Suse Linus ED10 - XULRUnner 1.8.0.1 shipped with sled10 - Eclipse 3.3M4/Eclipse 3.2.2 1. Open Eclipse, show view "Intenet Web Browser". 2. Visit a web page with frameset structure.(See attached sample html files) 3. Click the "confirm" button. 4. An exception is thown: rg.eclipse.swt.SWTError: XPCOM error -2147467262 at org.eclipse.swt.browser.Browser.error(Browser.java:1328) at org.eclipse.swt.browser.PromptService.getBrowser(PromptService.java:117) at org.eclipse.swt.browser.PromptService.Confirm(PromptService.java:183) at org.eclipse.swt.browser.PromptService$2.method5(PromptService.java:46) at org.eclipse.swt.internal.mozilla.XPCOMObject.callback5(XPCOMObject.java:456) at org.eclipse.swt.internal.gtk.OS._gtk_main_do_event(Native Method) at org.eclipse.swt.internal.gtk.OS.gtk_main_do_event(OS.java:5273) More information: - It is fine with the "confirm" call if no frameset
|
2007-01-23 03:27:19
| 1,169,540,000 |
verified fixed
|
6d236d6
| 1,169,850,000 |
bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/PromptService.java
|
SWT
|
2,184 | 168,384 |
Bug 168384 Problem with grayed disabled button image
|
SWT 3.3M4 seems to have problems with making button images gray when button is disabled. I attach here two images, one with SWT 3.3M4 and one with 3.2.1.
|
2006-12-18 01:48:51
| 1,166,420,000 |
resolved fixed
|
b0714f0
| 1,169,740,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Image.java
|
SWT
|
2,185 | 170,571 |
Bug 170571 Warnings in SWT launcher sample
|
There are two warnings in org.eclipse.swt.examples.launcher in HEAD. I will provide a patch.
|
2007-01-15 19:47:29
| 1,168,910,000 |
resolved fixed
|
7d60199
| 1,169,660,000 |
examples/org.eclipse.swt.examples.launcher/src/org/eclipse/swt/examples/launcher/LauncherPlugin.java
|
SWT
|
2,186 | 150,751 |
Bug 150751 In GTK, setBackgroundImage and setBackgroundMode failed when children setForeground
|
gtk version: 2.4.9 I want a label with colored foreground and a background image that inherit from its parent, but failed. public class TestLabelBackground { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setBackgroundImage(new Image(null, TestLabelBackground.class .getResourceAsStream("b.gif"))); shell.setBackgroundMode(SWT.INHERIT_DEFAULT); shell.setLayout(new GridLayout()); Label label = new Label(shell,SWT.NONE); // this disables background inherit label.setForeground(new Color(null, 255,220, 200)); label.setText("asdfasdgasdfa"); shell.setSize(300,200); shell.open(); while(!shell.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } } display.dispose(); } } It seems if parent's backgroundImage and mode are set after label's setForeground, things will be ok. But this approach is unreliable when UI is complex, i.e. in some cases, a control inherit an image not from it's own parent. In windows, setBackgroundImage and setBackgroundMode work fine when children setForeground.
|
2006-07-16 09:33:54
| 1,153,060,000 |
resolved fixed
|
7898e50
| 1,169,590,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Composite.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java
|
SWT
|
2,187 | 170,973 |
Bug 170973 [Program] Error when opening word and excel documents
|
To reproduce using Word: - Set external editor for .doc files to "Microsoft Word Document" in file association preferences - Select a word document in Navigator (file can be linked or directly contained within the project) and open - Word will open but displays an error "Word experienced an error trying to open the file" and file file is not loaded Looking at Program.execute (String fileName) the above steps result in the following command being executed: "C:\Program Files\Microsoft Office\OFFICE11\WINWORD.EXE" /n /ddeC: \Documents and Settings\Robert Elves\My Documents\mydocument.doc Aside from the missing space which appears to be causing this error, lack of quotes around the file path may also be problematic. Note that the document does open externally without error if Open With...System Editor is used.
|
2007-01-18 16:08:36
| 1,169,150,000 |
resolved fixed
|
9169eab
| 1,169,570,000 |
bundles/org.eclipse.swt/Eclipse SWT Program/win32/org/eclipse/swt/program/Program.java
|
SWT
|
2,188 | 171,278 |
Bug 171278 patch for org.eclipse.swt.win32.wce_ppc.arm/build_custom.xml
|
to address compile error Sonia and I looked at the custom build script and it is missing some elements that exist in the generated build scripts. Please release the patch and I will start a test build to ensure that the build doesn't fail tonight.
|
2007-01-22 14:11:05
| 1,169,490,000 |
resolved fixed
|
cd3e82e
| 1,169,530,000 |
bundles/org.eclipse.swt/Eclipse SWT PI/common_j2me/org/eclipse/swt/internal/Library.java
|
SWT
|
2,189 | 155,817 |
Bug 155817 [Viewers] Treeview expand/collapse ignores somewhat quick + and - clicks (doubleclicks)
|
- eclipse-SDK-3.2-win32.zip - Windows XP - Sun JDK 1.5.0 Java(TM) 2 Runtime Environment, Standard Edition (build 1.5.0-b64) Java HotSpot(TM) Client VM (build 1.5.0-b64, mixed mode) Clicking on + then - in a tree view ignores successive clicks if they are less than about half a second apart. This is not a problem in native Windows (Windows explorer, for example). Fixing this makes applications seem more responsive and improves the user experience. One example scenario would be missing with the mouse and expanding the wrong tree, then collapsing it immediately to expand the right one. To reproduce: - Start Eclipse 3.2 - Create a Java project, or go to Window->Show View->Other... - Rapidly click on the +/- to expand and collapse a tree. Notice how rapid successive clicks are ignored.
|
2006-08-31 09:40:06
| 1,157,030,000 |
verified fixed
|
3759191
| 1,169,490,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
|
SWT
|
2,190 | 170,813 |
Bug 170813 getSelection() method for VIRTUAL Tree returns max. eight items
| null |
2007-01-17 13:55:32
| 1,169,060,000 |
resolved fixed
|
958ee7a
| 1,169,130,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
|
SWT
|
2,191 | 170,900 |
Bug 170900 javadoc warnings in N200701180010
|
/builds/N200701180010/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/TreeDragSourceEffect.java:43: warning - @param argument "table" is not a parameter name. /builds/N200701180010/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/DragDetectEvent.java:24: warning - Tag @see: Class or Package not found: DragListener
|
2007-01-18 08:17:22
| 1,169,130,000 |
resolved fixed
|
faa9501
| 1,169,130,000 |
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/TreeDragSourceEffect.java bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/DragDetectEvent.java
|
SWT
|
2,192 | 170,785 |
Bug 170785 Table Headers getting random images on Vista when cycling through sort indicator
| null |
2007-01-17 11:06:34
| 1,169,050,000 |
resolved fixed
|
f47b3e2
| 1,169,060,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TableColumn.java
|
SWT
|
2,193 | 167,748 |
Bug 167748 Program class incorrectly escapes already-escaped characters on Mac
|
I20061212-0010 If I open help from a welcome link for a specific topic, for example, everything shows up fine except for the images in the topic. I get the placeholder image icons. If I sync with toc and click on the topic in the toc, the images show up.
|
2006-12-12 16:41:26
| 1,165,960,000 |
resolved fixed
|
0b2d32b
| 1,168,980,000 |
bundles/org.eclipse.swt/Eclipse SWT Program/carbon/org/eclipse/swt/program/Program.java
|
SWT
|
2,194 | 167,656 |
Bug 167656 Text widget has inconsistent font sizes on the mac
|
Some of the section descriptions in the plugin editor are cut off. The fonts used in these sections also seem to be a bit large and may be contributing to the problem. I'm not sure if this should be logged against UA or PDE... screencap of one such section forthcoming.
|
2006-12-12 10:32:36
| 1,165,940,000 |
resolved fixed
|
08808ec
| 1,168,970,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Text.java
|
SWT
|
2,195 | 170,463 |
Bug 170463 javadoc warning in N20070115-0010
| null |
2007-01-15 08:40:39
| 1,168,870,000 |
resolved fixed
|
1aebb88
| 1,168,900,000 |
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DropTargetEvent.java bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/DropTarget.java
|
SWT
|
2,196 | 166,760 |
Bug 166760 [browser]RedHat EL4Update4, swt.browser cannot show with installed xulrunner 1.8.0.1
| null |
2006-12-05 04:20:46
| 1,165,310,000 |
verified fixed
|
bf78cbe
| 1,168,880,000 |
bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/internal/mozilla/GREVersionRange.java bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/internal/mozilla/XPCOMGlue.java bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/internal/mozilla/XPCOMInit.java bundles/org.eclipse.swt/Eclipse SWT Mozilla/gtk/org/eclipse/swt/browser/Browser.java
|
SWT
|
2,197 | 169,784 |
Bug 169784 org.eclipse.swt.widgets.Link does not fire SelectionEvents
| null |
2007-01-07 09:32:50
| 1,168,180,000 |
resolved fixed
|
14cded5
| 1,168,390,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Link.java
|
SWT
|
2,198 | 169,845 |
Bug 169845 Mac OS X SWT: extremely slow behavior of Table with larger numbers of items
|
Build ID: I20061214-1445 Steps To Reproduce: 1.Modify Snippet38 to have count = 5000 2.Run it 3.On Linux, for example, it takes about 5 seconds for the initial window to come up, which is acceptable, but on Mac OS X it takes 9 full minutes. Tests performed on reasonably recent hardware. Tested using SWT drops: I20061214-1445 and M20060921-0945 on intel hardware. More information: I understand that virtual tables have better performance, but we have a large working app using normal tables (and many of them) that runs fine on all platforms except Mac OS X, due to this issue. Thanks in advance for your help.
|
2007-01-08 10:54:00
| 1,168,270,000 |
resolved fixed
|
62c9da7
| 1,168,390,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Table.java
|
SWT
|
2,199 | 147,518 |
Bug 147518 StyledText down arrow (cursor) broken
|
In StyledText with wrapped text when the cursor is in the first column (before the first letter), when the one attempts to move the cursor down via the arrow keys it will only move down one visual line. If the cursor is moved to the second column (after the first letter) then the cursor can be moved down with the arrow keys as expected. Also, when the cursor is placed at the bottom of the text (in the first column) and then moved up (via the arrow keys) the cursor will remain in the first column UNTIL the first row (the first visual line) where it will appear at the end of the line. Steps to reproduce: 1. C&P the code below (it's snippet 213 with the first line *not* indented (the code is purposefully commented out) to make it as easy as possible to display the problem). 2. Run the snippet. 3. (Without otherwise moving the cursor before) Move the cursor down with the down arrow key. It will only move down one visual line regardless of the number of times that the down arrow is pressed. 4. Move the cursor right with the right arrow key. Pressing the down arrow will now move the cursor down. 5. Place the cursor at the start of that last visual line. 6. Using the up arrow key move the cursor to the first visual line. The cursor will remain "left justified" until the first visual line. (FYI: I'm using "visual line" to distinguish from a IDocument "line".) Version: 3.2.0 Build id: I20060602-1317 This *did* work in other 3.2RC's but I'm not sure at what point it stopped. =================================== public class Snippet213 { static String text = "The first paragraph has an indentation of fifty pixels. Indentation is the amount of white space in front of the first line of a paragraph. If this paragraph wraps to several lines you should see the indentation only on the first line.\n\n" + "The second paragraph is center aligned. Alignment only works when the StyledText is using word wrap. Alignment, as with all other line attributes, can be set for the whole widget or just for a set of lines.\n\n" + "The third paragraph is justified. Like alignment, justify only works when the StyledText is using word wrap. If the paragraph wraps to several lines, the justification is performed on all lines but the last one.\n\n" + "The last paragraph is justified and right aligned. In this case, the alignment is only noticeable in the final line."; public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); StyledText styledText = new StyledText(shell, SWT.WRAP | SWT.BORDER); styledText.setText(text); // styledText.setLineIndent(0, 1, 50); styledText.setLineAlignment(2, 1, SWT.CENTER); styledText.setLineJustify(4, 1, true); styledText.setLineAlignment(6, 1, SWT.RIGHT); styledText.setLineJustify(6, 1, true); shell.setSize(300, 400); shell.open(); while(!shell.isDisposed()) { if(!display.readAndDispatch()) display.sleep(); } display.dispose(); } }
|
2006-06-16 16:28:06
| 1,150,490,000 |
resolved fixed
|
04edb15
| 1,168,040,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
|
SWT
|
2,200 | 167,391 |
Bug 167391 Accessible.get_accSelection(int pvarChildren) has error when multiple items are selected
|
Build ID: 3.2 Steps To Reproduce: 1. add AccessibleControlListener to a custom control, and implement getSelection(AccessibleControlEvent e) method 2. Return CHILDID_MULTIPLE when multiple children are selected, and return an array of childIDs in the children field. 3. In inspect32, selection has error as below. It can not display the multiple selection Selection: [Error IEnumVARIANT::Clone(): hr=0x80004001 - Not Implement] More information:
|
2006-12-11 04:24:50
| 1,165,830,000 |
resolved fixed
|
4a4c1b3
| 1,168,030,000 |
bundles/org.eclipse.swt/Eclipse SWT Accessibility/win32/org/eclipse/swt/accessibility/Accessible.java
|
SWT
|
2,201 | 164,355 |
Bug 164355 Horizontal scrolling occurs when calling Tree.setTopItem()
|
This can be seen in the Launch Configurations dialog. Will attach a snippet.
|
2006-11-13 12:30:49
| 1,163,440,000 |
resolved fixed
|
2cf6415
| 1,167,920,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
|
SWT
|
2,202 | 168,043 |
Bug 168043 SWT_AWT not working in CTabFolder with JDK 6 on Linux
|
If a SWT_AWT.newFrame is embedded into CTabFolder, the SWT_AWT frame is not rendered. It works if CTabFolder is replaced with TabFolder. In WinXP everything is ok. Works also fine in JDK 1.5.0_09. Failing Linux configuration: Java(TM) SE Runtime Environment (build 1.6.0-b105) Java HotSpot(TM) Client VM (build 1.6.0-b105, mixed mode, sharing) SWT Build 3.3 020 - Tuesday December 12, 2006 Ubuntu 6.10 Code to test ---> import java.awt.Frame; import javax.swing.JButton; import org.eclipse.swt.SWT; import org.eclipse.swt.awt.SWT_AWT; import org.eclipse.swt.custom.CTabFolder; import org.eclipse.swt.custom.CTabItem; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.layout.GridData; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; import org.eclipse.swt.widgets.TabFolder; import org.eclipse.swt.widgets.TabItem; public class SWTCTabFolderTest { public static void main(String[] args) { try { new SWTCTabFolderTest(); } catch (Throwable t) { t.printStackTrace(); } } public SWTCTabFolderTest() { Display display = new Display(); Shell shell = new Shell(); shell.setSize(400, 400); shell.setLayout(new FillLayout()); // TabFolder tabFolder = new TabFolder(shell, SWT.TOP); // TabItem tabItem = new TabItem(tabFolder, SWT.NONE); CTabFolder tabFolder = new CTabFolder(shell, SWT.TOP); CTabItem tabItem = new CTabItem(tabFolder, SWT.NONE); tabItem.setText("TabItem"); Composite awtComposite = new Composite(tabFolder, SWT.EMBEDDED); tabItem.setControl(awtComposite); Frame awtFrame = SWT_AWT.new_Frame(awtComposite); awtFrame.setLayout(new java.awt.GridLayout(1, 1)); awtFrame.add(new JButton("Button")); shell.setVisible(true); while (!shell.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } } display.dispose(); } }
|
2006-12-14 06:57:14
| 1,166,100,000 |
resolved fixed
|
0172f28
| 1,167,860,000 |
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
|
SWT
|
2,203 | 186,043 |
Bug 186043 Stochastic disease model needs to be modeled explicitly
|
The stochastic disease model needs to be modeled in the "standard" disease models.
|
2007-05-08 17:38:34
| 1,178,660,000 |
closed fixed
|
918e592
| 1,167,860,000 |
bundles/org.eclipse.swt/Eclipse SWT AWT/motif/org/eclipse/swt/awt/SWT_AWT.java
|
SWT
|
2,204 | 169,413 |
Bug 169413 [Viewers] SWT/JFace TableEditors don't work in 3.3M4 on OSX
|
Build ID: I20061214-1445 Steps To Reproduce: After upgrading to SWT and JFace 3.3M4, neither the JFace table editing snippets (Snippet019TableViewerAddRemoveColumnsWithEditingNewAPI, Snippet018TableViewerAddRemoveColumnsWithEditing) nor the SWT snippets (Snippet124) work on OS X anymore. This, of course, is not limited to the snippets, but also affects all other table editing code. More information: It seems the listeners are firing correctly, and the text controls are created, but fail to display or gain focus. In Snippet124, I was able to activate the text controls by changing focus to another window before double-clicking on the table cell. They will not activate if the Shell is already in focus.
|
2007-01-03 06:44:56
| 1,167,820,000 |
resolved fixed
|
47ec8ba
| 1,167,850,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Control.java
|
SWT
|
2,205 | 168,821 |
Bug 168821 Eclipse will crash with message "Widget is disposed".
|
Environment: MacOSX 10.4.8(PowerPC), java 1.5.0_06, Eclipse SDK 3.3M3 Steps to reproduce bug: 1. Eclipse > Preferences... > Team > CVS > SSH2 Connection Method > Key Management 2. Press "Generate DSA Key..." 3. Select the textfield for "Confirm passphrase:". 4. Press "Ok" button The error log has following line, !MESSAGE Unhandled event loop exception !STACK 0 org.eclipse.swt.SWTException: Widget is disposed at org.eclipse.swt.SWT.error(SWT.java:3450) at org.eclipse.swt.SWT.error(SWT.java:3373) at org.eclipse.swt.SWT.error(SWT.java:3344) at org.eclipse.swt.widgets.Widget.error(Widget.java:663) at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:332) at org.eclipse.swt.widgets.Control.setVisible(Control.java:3164) at org.eclipse.jface.dialogs.DialogMessageArea.restoreTitle(DialogMessageArea.java:129) at org.eclipse.jface.dialogs.DialogMessageArea.updateText(DialogMessageArea.java:151) at org.eclipse.jface.preference.PreferenceDialog.updateMessage(PreferenceDialog.java:1323) at org.eclipse.jface.preference.PreferencePage.setErrorMessage(PreferencePage.java:640) at org.eclipse.team.internal.ccvs.ssh2.CVSSSH2PreferencePage$6.focusLost(CVSSSH2PreferencePage.java:428) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:109) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1527) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1551) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1532) at org.eclipse.swt.widgets.Control.sendFocusEvent(Control.java:2367) at org.eclipse.swt.widgets.Control.forceFocus(Control.java:827) at org.eclipse.swt.widgets.Control.setFocus(Control.java:2817) at org.eclipse.swt.widgets.Composite.setFocus(Composite.java:892) at org.eclipse.swt.widgets.Control.fixFocus(Control.java:775) at org.eclipse.swt.widgets.Control.setVisible(Control.java:3208) at org.eclipse.swt.widgets.TabItem.releaseWidget(TabItem.java:195) at org.eclipse.swt.widgets.Widget.release(Widget.java:1417) at org.eclipse.swt.widgets.TabFolder.releaseChildren(TabFolder.java:507) at org.eclipse.swt.widgets.Widget.release(Widget.java:1408) at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:820) at org.eclipse.swt.widgets.Widget.release(Widget.java:1408) at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:820) at org.eclipse.swt.widgets.Widget.release(Widget.java:1408) at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:820) at org.eclipse.swt.widgets.Widget.release(Widget.java:1408) at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:820) at org.eclipse.swt.widgets.Widget.release(Widget.java:1408) at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:820) at org.eclipse.swt.widgets.Widget.release(Widget.java:1408) at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:820) at org.eclipse.swt.widgets.Widget.release(Widget.java:1408) at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:820) at org.eclipse.swt.widgets.Widget.release(Widget.java:1408) at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:820) at org.eclipse.swt.widgets.Canvas.releaseChildren(Canvas.java:177) at org.eclipse.swt.widgets.Decorations.releaseChildren(Decorations.java:365) at org.eclipse.swt.widgets.Shell.releaseChildren(Shell.java:1201) at org.eclipse.swt.widgets.Widget.release(Widget.java:1408) at org.eclipse.swt.widgets.Widget.dispose(Widget.java:652) at org.eclipse.jface.window.Window.close(Window.java:330) at org.eclipse.jface.dialogs.Dialog.close(Dialog.java:1001) at org.eclipse.jface.dialogs.TrayDialog.close(TrayDialog.java:143) at org.eclipse.jface.preference.PreferenceDialog.close(PreferenceDialog.java:291) at org.eclipse.ui.internal.dialogs.FilteredPreferenceDialog.close(FilteredPreferenceDialog.java:452) at org.eclipse.ui.internal.dialogs.WorkbenchPreferenceDialog.close(WorkbenchPreferenceDialog.java:140) at org.eclipse.jface.preference.PreferenceDialog.cancelPressed(PreferenceDialog.java:269) at org.eclipse.jface.preference.PreferenceDialog.buttonPressed(PreferenceDialog.java:238) at org.eclipse.jface.dialogs.Dialog$3.widgetSelected(Dialog.java:638) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1527) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1551) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1536) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1310) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3369) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2994) at org.eclipse.jface.window.Window.runEventLoop(Window.java:820) at org.eclipse.jface.window.Window.open(Window.java:796) at org.eclipse.ui.internal.OpenPreferencesAction.run(OpenPreferencesAction.java:65) at org.eclipse.ui.carbon.CarbonUIEnhancer.runAction(CarbonUIEnhancer.java:280) at org.eclipse.ui.carbon.CarbonUIEnhancer.access$0(CarbonUIEnhancer.java:274) at org.eclipse.ui.carbon.CarbonUIEnhancer$Target.commandProc(CarbonUIEnhancer.java:79) at org.eclipse.swt.internal.carbon.OS.MenuSelect(Native Method) at org.eclipse.swt.widgets.Display.mouseProc(Display.java:2786) at org.eclipse.swt.internal.carbon.OS.SendEventToEventTarget(Native Method) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2963) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1945) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1909) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:425) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) 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.equinox.internal.app.EclipseAppContainer.callMethod(EclipseAppContainer.java:522) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:147) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:170) 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:339) at org.eclipse.core.launcher.Main.basicRun(Main.java:283) at org.eclipse.core.launcher.Main.run(Main.java:984) at org.eclipse.core.launcher.Main.main(Main.java:959) This crash also occurs on Eclipse SDK 3.2.1 on MacOSX, but I have not been able to reproduce this bug on WindowsXP and GNU/Linux.
|
2006-12-21 03:24:43
| 1,166,690,000 |
resolved fixed
|
a98ddf7
| 1,166,730,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/TabItem.java
|
SWT
|
2,206 | 168,700 |
Bug 168700 [OpenModes] Double clicks not working in N20061220-0010
|
Double clicks no longer work in most views: Package explorer, Search view, Problems view, etc. It's in the nightly build N20061220-0010 PW
|
2006-12-20 10:01:25
| 1,166,630,000 |
verified fixed
|
df62042
| 1,166,660,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java
|
SWT
|
2,207 | 168,444 |
Bug 168444 NPE when using mouse to select next editor
|
Build ID: I20061214-1445 Steps To Reproduce: 1. Trigger next editor popoup (mapped to ctrl-tab for me) 2. Release Tab 3. Click one of the open editors in the popup (I only had two open) 4. NPE reported More information: java.lang.NullPointerException at org.eclipse.swt.widgets.Widget.kEventControlTrack(Widget.java:1068) at org.eclipse.swt.widgets.Control.kEventControlTrack(Control.java:1773) at org.eclipse.swt.widgets.Widget.controlProc(Widget.java:366) at org.eclipse.swt.widgets.Display.controlProc(Display.java:847) at org.eclipse.swt.internal.carbon.OS.CallNextEventHandler(Native Method) at org.eclipse.swt.widgets.Table.kEventMouseDown(Table.java:2151) at org.eclipse.swt.widgets.Widget.mouseProc(Widget.java:1277) at org.eclipse.swt.widgets.Display.mouseProc(Display.java:2825) at org.eclipse.swt.internal.carbon.OS.SendEventToEventTarget(Native Method) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2963) at org.eclipse.ui.internal.CyclePartAction.openDialog(CyclePartAction.java:459) at org.eclipse.ui.internal.CyclePartAction.runWithEvent(CyclePartAction.java:514) at org.eclipse.jface.commands.ActionHandler.execute(ActionHandler.java:119) at org.eclipse.core.commands.Command.executeWithChecks(Command.java:461) at org.eclipse.core.commands.ParameterizedCommand.executeWithChecks(ParameterizedCommand.java:424) at org.eclipse.ui.internal.handlers.HandlerService.executeCommand(HandlerService.java:160) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.executeCommand(WorkbenchKeyboard.java:465) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.press(WorkbenchKeyboard.java:791) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.processKeyEvent(WorkbenchKeyboard.java:838) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.filterKeySequenceBindings(WorkbenchKeyboard.java:563) at org.eclipse.ui.internal.keys.WorkbenchKeyboard.access$3(WorkbenchKeyboard.java:505) at org.eclipse.ui.internal.keys.WorkbenchKeyboard$KeyDownFilter.handleEvent(WorkbenchKeyboard.java:122) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Display.filterEvent(Display.java:1118) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1526) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1551) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1536) at org.eclipse.swt.widgets.Control.traverse(Control.java:3515) at org.eclipse.swt.widgets.Control.translateTraversal(Control.java:3470) at org.eclipse.swt.widgets.Control.kEventTextInputUnicodeForKeyEvent(Control.java:1862) at org.eclipse.swt.widgets.Widget.textInputProc(Widget.java:2031) at org.eclipse.swt.widgets.Display.textInputProc(Display.java:3807) at org.eclipse.swt.internal.carbon.OS.SendEventToEventTarget(Native Method) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2963) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1945) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1909) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:425) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) 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.equinox.internal.app.EclipseAppContainer.callMethod(EclipseAppContainer.java:522) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:147) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:354) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:170) 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:339) at org.eclipse.core.launcher.Main.basicRun(Main.java:283) at org.eclipse.core.launcher.Main.run(Main.java:984) at org.eclipse.core.launcher.Main.main(Main.java:959)
|
2006-12-18 14:10:32
| 1,166,470,000 |
resolved fixed
|
244083c
| 1,166,640,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Control.java
|
SWT
|
2,208 | 166,548 |
Bug 166548 SashForm no longer working on OSX
|
Build ID: I20061129-1340 Steps To Reproduce: The following snippet no longer works using the latest nightly builds. It did on SWT 3.3M3 and prior. Run the snippet and try to drag the sash. The sash does not move. 1/2 the time the cursor doesn't even change. public class SashFormTest { public static void main(String[] args) { Display display = Display.getDefault(); Shell shell = new Shell(display, SWT.SHELL_TRIM); shell.setLayout(new FillLayout()); SashForm sf = new SashForm(shell, SWT.VERTICAL); sf.SASH_WIDTH = 10; sf.setLayout(new FillLayout()); new Composite(sf, SWT.BORDER); new Composite(sf, SWT.BORDER); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } } } } More information:
|
2006-12-01 15:08:36
| 1,165,000,000 |
resolved fixed
|
0f2db3d
| 1,166,480,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Sash.java
|
SWT
|
2,209 | 168,314 |
Bug 168314 Snippet 252 a bit confusing
|
Snippet 252 (the one posted on the N&N for M4) sets a line width of 1/2. Since these are both integers, it does the division first and then the cast. This sets the line style to 0.0. I assume (since the N&N says something about fractional line width) you meant 1/2f.
|
2006-12-16 02:52:34
| 1,166,260,000 |
resolved fixed
|
c6bc47d
| 1,166,460,000 |
examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet252.java
|
SWT
|
2,210 | 167,872 |
Bug 167872 HandleLeak in Font.getFontData()
|
Build ID: M20060921-0945 Steps To Reproduce: 1. Create a small SWT project 2. Open the windows task manager, make the GDI object column visible 3. Add FontData fontData = getFont().getFontData()[0]; to the code 4. Debug to the inserted line, when you step over the GDI object count is incremented but there is no possibility to free the temporary created GDI handle More information: The problem is the implementation of getFontData: if (isDisposed()) SWT.error(SWT.ERROR_GRAPHIC_DISPOSED); LOGFONT logFont = OS.IsUnicode ? (LOGFONT)new LOGFONTW() : new LOGFONTA(); OS.GetObject(handle, LOGFONT.sizeof, logFont); return new FontData[] {FontData.win32_new(logFont, device.computePoints(logFont, handle))}; The handle created by OS.GetObject is not disposed.
|
2006-12-13 11:05:29
| 1,166,030,000 |
resolved fixed
|
c96aa82
| 1,166,110,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Device.java
|
SWT
|
2,211 | 167,991 |
Bug 167991 Javadoc warnings in I20061213-1800
|
/builds/I200612131800/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/LineAttributes.java:46: warning - Tag @see: Class or Package not found: org.eclipse.swt.SWT.LINE_CUSTOM /builds/I200612131800/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/LineAttributes.java:46: warning - Tag @see: Class or Package not found: org.eclipse.swt.SWT.LINE_DASH /builds/I200612131800/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/LineAttributes.java:46: warning - Tag @see: Class or Package not found: org.eclipse.swt.SWT.LINE_DASHDOT /builds/I200612131800/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/LineAttributes.java:46: warning - Tag @see: Class or Package not found: org.eclipse.swt.SWT.LINE_DASHDOTDOT /builds/I200612131800/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/LineAttributes.java:46: warning - Tag @see: Class or Package not found: org.eclipse.swt.SWT.LINE_DOT /builds/I200612131800/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/LineAttributes.java:46: warning - Tag @see: Class or Package not found: org.eclipse.swt.SWT.LINE_SOLID /builds/I200612131800/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/LineAttributes.java:55: warning - Tag @see: Class or Package not found: org.eclipse.swt.SWT.CAP_FLAT /builds/I200612131800/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/LineAttributes.java:55: warning - Tag @see: Class or Package not found: org.eclipse.swt.SWT.CAP_ROUND /builds/I200612131800/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/LineAttributes.java:55: warning - Tag @see: Class or Package not found: org.eclipse.swt.SWT.CAP_SQUARE /builds/I200612131800/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/LineAttributes.java:64: warning - Tag @see: Class or Package not found: org.eclipse.swt.SWT.JOIN_BEVEL /builds/I200612131800/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/LineAttributes.java:64: warning - Tag @see: Class or Package not found: org.eclipse.swt.SWT.JOIN_MITER /builds/I200612131800/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/LineAttributes.java:64: warning - Tag @see: Class or Package not found: org.eclipse.swt.SWT.JOIN_ROUND
|
2006-12-13 23:01:57
| 1,166,070,000 |
resolved fixed
|
dca6076
| 1,166,110,000 |
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/LineAttributes.java
|
SWT
|
2,212 | 164,493 |
Bug 164493 StyledText doesn't support advanced text services for Korean IME
| null |
2006-11-14 11:56:31
| 1,163,520,000 |
resolved fixed
|
a635ae6
| 1,166,050,000 |
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OSVERSIONINFOEX.java bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OSVERSIONINFOEXA.java bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OSVERSIONINFOEXW.java
|
SWT
|
2,213 | 166,547 |
Bug 166547 disposing tree columns creates 2 vertical scrollbars
|
I20061129-1340 When I toggle "show columns" in the variables view and a vertical scroll bar is present - I end up with two vertical scroll bars when no columns are showing.
|
2006-12-01 15:07:12
| 1,165,000,000 |
resolved fixed
|
6fe1815
| 1,166,050,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
|
SWT
|
2,214 | 167,476 |
Bug 167476 Text verify event fields different between GTK and every other platform
|
- Run the following snippet on GTK - Type 1 to overwrite the selected xx - See the word "BOGUS" in the Console. If you run this on any other platform, "BOGUS" is not printed. import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; import org.eclipse.swt.layout.*; import org.eclipse.swt.events.*; public class TextVerifyTest { static Shell shell; static Text text; static boolean ignore = false; public static void main(String[] args) { Display display = new Display(); shell = new Shell(display); shell.setLayout(new GridLayout()); shell.setText("Single-Line Text Test"); text = new Text(shell, SWT.SINGLE); text.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); text.setText("xx < type here"); text.setSelection(0, 2); text.addVerifyListener(new VerifyListener() { public void verifyText(VerifyEvent e) { System.out.println( "\nVerify, e.text=" + e.text + " e.start=" + e.start + " e.end=" + e.end + " ignore=" + ignore + (e.start == e.end && ignore == false ? " (BOGUS)" : "")); if (ignore) return; ignore = true; text.insert("yy"); ignore = false; text.setSelection(0, 2); e.doit = false; } }); shell.pack(); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } } }
|
2006-12-11 14:42:39
| 1,165,870,000 |
resolved fixed
|
4a34d65
| 1,165,880,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java
|
SWT
|
2,215 | 167,219 |
Bug 167219 NPE in org.eclipse.swt.widgets.Menu._setVisible
|
Found the following in my log file. No steps to reproduce. java.lang.NullPointerException at org.eclipse.swt.widgets.Menu._setVisible(Menu.java:199) at org.eclipse.swt.widgets.Display.runPopups(Display.java:3489) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3071)
|
2006-12-08 05:07:17
| 1,165,570,000 |
resolved fixed
|
9fb3536
| 1,165,610,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java
|
SWT
|
2,216 | 166,971 |
Bug 166971 Read only text widget renders background differently with WIN XP Theme
|
The text widget that describes the contents of the page on a properties page needs to be made transparent instead of just gray. Setting the background to gray does not work under Windows XP default theme which renders the tabs a lighter shade of gray. Will attach a screen shot. The text widget has the SWT.READ_ONLY bit set as well as using the .setEditable(false) method. Reproducer (sorry for the dependencies on WTP) 1. Install latest maintenance version of WTP 1.5 2. Create new J2EE Enterprise Application Project 3. Create new EJB Project 4. Create new Dynamic Web Project 5. Get Properties for Web Project 6. Click on J2EE Module Dependencies in tree. You should see two tabs (J2EE Modules and Web Libraries). The description in each tab will have a different background from the TabFolder.
|
2006-12-06 12:04:50
| 1,165,420,000 |
resolved fixed
|
2d17267
| 1,165,610,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Text.java
|
SWT
|
2,217 | 166,942 |
Bug 166942 Application does not start maximized if setMaximized called before Shell.open()
|
Build ID: 3.3.0 I20061102-1715 Steps To Reproduce: 1. Create a SWT application 2. call setMaximized(true) before shell.open() 3. Start the application, window does not ge maximized More information: The maximized state could be set before shell.open() and the application window was shown maximized when shell.open was called in version 3.2. This does not work in version 3.3. This can also be seen on eclipse itself, it does not start maximized anymore. Calling setMaximized after shell.open() works but produces flickering of the display.
|
2006-12-06 06:43:18
| 1,165,410,000 |
resolved fixed
|
c72fdbd
| 1,165,430,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Decorations.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Shell.java
|
SWT
|
2,218 | 158,982 |
Bug 158982 Table Headers getting random images on Vista
|
I20060926 Beta 2 The tasks view is getting random (i.e. they are not even in the ide plug-in) extra images assigned to the table headers. This is the only one of the marker views that has header images (it is fine in the ones we set explicitly) and it is not an issue in the others. I will attach a screenshot
|
2006-09-27 11:28:26
| 1,159,370,000 |
verified fixed
|
6369ca4
| 1,165,360,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TableColumn.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TreeColumn.java
|
SWT
|
2,219 | 166,793 |
Bug 166793 Custom-Drawing Selection-Color not working on col = 0 with sorting
|
SWT 3.3 M3 I noticed that its not possible to override the selection-color for the first column, when this column was set as sorting-column. In the following snippet, simply change the setSortColumn() to use the second column and its working as expected. Consider this snippet: public class Main { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); final Color c = new Color(display, 255, 0, 0); final Tree tree = new Tree(shell, SWT.FULL_SELECTION | SWT.BORDER); tree.setHeaderVisible(true); new TreeColumn(tree, SWT.NONE).setWidth(200); new TreeColumn(tree, SWT.NONE).setWidth(200); tree.setSortColumn(tree.getColumn(0)); tree.setSortDirection(SWT.DOWN); for (int i = 0; i < 20; i++) { new TreeItem(tree, SWT.NONE).setText("Hello World"); } tree.addListener(SWT.EraseItem, new Listener() { public void handleEvent(Event event) { if ((event.detail & SWT.SELECTED) != 0) { GC gc = event.gc; Rectangle area = tree.getClientArea(); Rectangle rect = event.getBounds(); Color background = gc.getBackground(); /* Take Label-Color for Selection-Color */ gc.setBackground(c); gc.fillRectangle(0, rect.y, area.width, rect.height); /* Restore colors for subsequent drawing */ gc.setBackground(background); event.detail &= ~SWT.SELECTED; } } }); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } } } }
|
2006-12-05 10:48:33
| 1,165,330,000 |
resolved fixed
|
32ed251
| 1,165,340,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
|
SWT
|
2,220 | 165,036 |
Bug 165036 Strange table coloring on Vista
|
Build: I20061114 Tables in Vista are drawing strangely. The first column sometimes has a different background color, and the blue selection bar doesn't span to the first column. I'll attach a screen shot.
|
2006-11-17 15:34:06
| 1,163,800,000 |
resolved fixed
|
9d69793
| 1,165,020,000 |
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.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,221 | 165,712 |
Bug 165712 Create wrapper Shell around existing handle
|
In support of the new launcher (bug ) we need to be able to create a shell using an existing handle from a window that was created natively (in the same process and thread)
|
2006-11-23 15:57:58
| 1,164,320,000 |
resolved fixed
|
fec0d69
| 1,165,010,000 |
bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/OS.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Shell.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Widget.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Widget.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Shell.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Widget.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Composite.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Shell.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Widget.java
|
SWT
|
2,222 | 82,272 |
Bug 82272 List returned by Device#getFontList(...) has a lot of repetition
|
I am trying to create a Font combo (like in MS Word), and am using getFontList (...) to get the font names. The first problem is that several FontDatas with the same name are returned. While most of these FontDatas vary slightly, some are identical (the first two in the following list, for instance). 1|Arial CE|24|0|WINDOWS|1|36|14|0|0|400|0|0|0|-18|3|2|1|34|Arial CE 1|Arial CE|24|0|WINDOWS|1|36|14|0|0|400|0|0|0|-18|3|2|1|34|Arial CE 1|Arial CE|24|0|WINDOWS|1|36|14|0|0|400|0|0|0|-52|3|2|1|34|Arial CE 1|Arial CE|24|0|WINDOWS|1|36|14|0|0|400|0|0|0|-95|3|2|1|34|Arial CE 1|Arial CE|24|0|WINDOWS|1|36|14|0|0|400|0|0|0|-94|3|2|1|34|Arial CE 1|Arial CE|24|0|WINDOWS|1|36|14|0|0|400|0|0|0|-70|3|2|1|34|Arial CE 1|Arial CE|23|1|WINDOWS|1|36|15|0|0|700|0|0|0|-18|3|2|1|34|Arial CE 1|Arial CE|23|1|WINDOWS|1|36|15|0|0|700|0|0|0|-18|3|2|1|34|Arial CE 1|Arial CE|23|1|WINDOWS|1|36|15|0|0|700|0|0|0|-52|3|2|1|34|Arial CE I am circumventing the above-mentioned problem by sticking the Strings in a set, and thus preventing repetition. The other problem is that fonts like Arial CE, Arial Baltic, Arial CYR, Arial TUR, Arial Greek, etc. are returned, when all I want is Arial.
|
2005-01-05 14:04:43
| 1,104,950,000 |
resolved fixed
|
cded08d
| 1,165,000,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Device.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Font.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/FontData.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/FontDialog.java
|
SWT
|
2,223 | 75,812 |
Bug 75812 [browser] Cursor over Safari Browser does not change
|
Hi, using the browser snippet from the snippet section, hovering over a Link with the mouse does not change the Cursor to the Hand Cursor. Running Safari standalone however shows the hand cursor. Ben
|
2004-10-07 11:57:02
| 1,097,160,000 |
resolved fixed
|
2329406
| 1,165,000,000 |
bundles/org.eclipse.swt/Eclipse SWT Browser/carbon/org/eclipse/swt/browser/Browser.java
|
SWT
|
2,224 | 166,479 |
Bug 166479 Javadoc warnings in N20061130-2300
|
/builds/N200611302300/src/plugins/org.eclipse.platform.doc.isv/../org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/LineAttributes.java:97: warning - Parameter "join" is documented more than once.
|
2006-12-01 08:48:58
| 1,164,980,000 |
resolved fixed
|
07b913c
| 1,164,990,000 |
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/LineAttributes.java
|
SWT
|
2,225 | 158,903 |
Bug 158903 org.eclipse.swt.internal.Library needs a way to override java.library.path
|
Bundling SWT with your application is a good way to deploy an SWT-based app without requiring the user to do a bunch of install work. Unfortunately, there's a hole in the deployment story at the moment-- in order to get the SWT native libs to load, the user of your Java code has to supply a correct java.library.path. This can be worked around with wrapper scripts, but there isn't a clean general solution. I propose allowing an SWT client program to specifically override the location where the SWT native libraries should be looked for. The mechanism I am proposing is that if the system property "swt.library.path" is set, Library should look there instead of using "java.library.path" (which cannot be changed at runtime). I will attach an implementation that demonstrates this.
|
2006-09-26 21:02:01
| 1,159,320,000 |
resolved fixed
|
3f4f119
| 1,164,920,000 |
bundles/org.eclipse.swt/Eclipse SWT PI/common_j2se/org/eclipse/swt/internal/Library.java
|
SWT
|
2,226 | 166,264 |
Bug 166264 CTabItem unnecessarily redraws entire Tab on setImage()
| null |
2006-11-29 16:28:27
| 1,164,840,000 |
resolved fixed
|
8d23aaa
| 1,164,910,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabItem.java
|
SWT
|
2,227 | 155,655 |
Bug 155655 [DND] 'Alt' does not request DROP_LINK
| null |
2006-08-30 05:53:09
| 1,156,930,000 |
resolved fixed
|
3092848
| 1,164,140,000 |
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/DropTarget.java bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java
|
SWT
|
2,228 | 162,198 |
Bug 162198 DnD removes selection and moves caret
|
I20061024-1200 StyledText DnD removes selection and moves caret if it acts as text DnD source and DnD target at the same time. 1. modify Snippet210.java to have only one text widget which acts as drag source and as drop target 2. start the snippet twice 3. select some text one window and copy+drag it to the other ==> selection in first window goes away and caret moves around 4. set focus back to window one ==> caret is at a totally different location Same happens if you start dragging some text outside of the window and abort. Maybe that's a user error and I have to write some additional code but I would expect that this works our of the box.
|
2006-10-25 08:53:50
| 1,161,780,000 |
verified fixed
|
023b007
| 1,163,540,000 |
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DragAndDropEffect.java bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/NoDragAndDropEffect.java bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/DropTarget.java bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/StyledTextDragAndDropEffect.java bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/TableDragAndDropEffect.java bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/TreeDragAndDropEffect.java
|
SWT
|
2,229 | 163,824 |
Bug 163824 When expanding tree in variables view, icon does not show expanded
|
1) Variables View tree must have enough elements visible so that scrolling is needed. 2) Scroll so that an unexpanded tree item is at the very bottom of the visible area. 3) Try to expand the last visible item. 4) The + icon does not change to a - icon, but the item is expanded. Screenshots to follow.
|
2006-11-08 11:30:07
| 1,163,000,000 |
resolved fixed
|
fa7846f
| 1,163,180,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TreeItem.java
|
SWT
|
2,230 | 158,831 |
Bug 158831 SWT Spinner selection value error
|
I am getting really strange values of Spinner.getSelection(). I set up the spinner in the following way (tested on Snippet190): spinner.setDigits(1); spinner.setMinimum(0); spinner.setMaximum(10000); spinner.setIncrement(1); spinner.setSelection(0); I get the result of selection 7 two times i.e. for 7th and 8th position (8 is never returned it jumps directly to 9). It gets even more interesting because again I get 9's twice (instead of 9 and 10). Then some numbers are returned correctly. The problem again starts at 47 - the values returned are basically "one step behind" of what they should be. I can't really see any pattern here... Obviously the actual number (selection / Math.pow(10, digits)) is incorrect as well. The same behaviour for SWT 3.2 and 3.3M2. I am using 3.2 Callisto GTK2 under Ubuntu.
|
2006-09-26 15:05:36
| 1,159,300,000 |
resolved fixed
|
fa01908
| 1,163,020,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Spinner.java
|
SWT
|
2,231 | 79,084 |
Bug 79084 Load TrueType fonts directly from a file..
|
In AWT a TrueType font file can be loaded directly into a Font object; File ttfFile = new File("MICR E13B Normal.ttf"); FileInputStream fis = new FileInputStream(ttfFile); Font font = Font.createFont(Font.TRUETYPE_FONT, fis); This functionality is important with applications that display financial documents because security fonts or MICR fonts are rarely installed on an end-user systems. The ability to load a TrueType font file into a org.eclipse.swt.graphics.Font object, or convert a AWT to a SWT is the feature request.
|
2004-11-19 11:14:58
| 1,100,880,000 |
resolved fixed
|
452fbe8
| 1,163,020,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/Device.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Device.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/Device.java bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/graphics/Device.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Device.java
|
SWT
|
2,232 | 163,594 |
Bug 163594 Program.launch doesn't work on OSX
|
The code for Program.launch for Mac wraps the file in a "file://" + param. The param is not encoded in any way, so it fails on files with spaces. The the very least, a replaceAll(" ", "%20") is needed. Possibly a URLEncoder.encode() as well. SWT 3.3M2
|
2006-11-06 15:56:59
| 1,162,850,000 |
resolved fixed
|
01ac6ad
| 1,162,920,000 |
bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/OS.java bundles/org.eclipse.swt/Eclipse SWT Program/carbon/org/eclipse/swt/program/Program.java
|
SWT
|
2,233 | 36,070 |
Bug 36070 no mouse move in button when dragging
|
Eclipse 2.1 Run the following example. Click down with the left mouse button in the button and drag the mouse. There are no mouse move events while the mouse button is down. public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); Button b = new Button(shell, SWT.BORDER); b.setBounds(10, 10, 100, 100); Listener l = new Listener() { public void handleEvent(Event e) { System.out.println(">>> mouse move event"); } }; b.addListener(SWT.MouseMove, l); shell.setSize(150, 150); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); }
|
2003-04-04 09:49:01
| 1,049,470,000 |
resolved fixed
|
981f2e3
| 1,162,850,000 |
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 bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Link.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/Sash.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Scale.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/ScrollBar.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Slider.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Spinner.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/ToolItem.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Tracker.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Widget.java
|
SWT
|
2,234 | 91,666 |
Bug 91666 Emulated CCombo vs. native Combo
| null |
2005-04-16 18:13:09
| 1,113,690,000 |
resolved wontfix
|
6087c1f
| 1,162,850,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java
|
SWT
|
2,235 | 161,550 |
Bug 161550 Expanding a TreeItem on Mac OS X fires MouseUp-MouseDown in the wrong order
|
Run the snippet below. Click somewhere in the Tree NOT on an expansion handle. Notice the events come in the expected order of MouseDown, MouseUp. Now expand the root node of the tree. Notice the events come in the reverse order of MouseUp, MouseDown. public class SimpleTreeTest { public static void main(String args[]) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); Tree tree = new Tree(shell, SWT.BORDER); TreeItem root = new TreeItem(tree, SWT.NONE); root.setText("Root"); TreeItem child = new TreeItem(root, SWT.NONE); child.setText("Child"); tree.addMouseListener(new MouseAdapter() { public void mouseDown(MouseEvent event) { System.out.println("mouseDown " + event); } public void mouseUp(MouseEvent event) { System.out.println("mouseUp " + event); } }); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } } } }
|
2006-10-19 07:12:02
| 1,161,260,000 |
resolved fixed
|
b582abc
| 1,162,580,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Button.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/Slider.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Spinner.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/ToolItem.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Tree.java
|
SWT
|
2,236 | 161,809 |
Bug 161809 [OpenGL] Mac GLCanvas does not immediately update GL state upon resize
|
The fixBounds method gets asyncExec'ed when a resize, hide or show event occurs... is there any reason this can't be called immediately? The problem is that I receive notification of the resize and try to draw to the canvas, but the drawing becomes invalid as soon as the fixBounds method gets called... fixBounds should've already been called before I started drawing! I am trying to do selective updates instead of just redrawing the screen constantly, so it's crucial that when I'm told about a resize I can immediately draw and the GL state will already be up to date. Specifically, I am trying to plug in an OpenGL version of the Draw2D Graphics class, and resizing the window creates a bunch of screen garbage because of this problem. Looking at the source for the Windows and Linux implementations of GLCanvas, it looks like they update their GL state immediately when notified of a resize event. Shouldn't the behavior be uniform across platforms?
|
2006-10-20 18:25:18
| 1,161,380,000 |
resolved fixed
|
2f936f6
| 1,162,500,000 |
bundles/org.eclipse.swt/Eclipse SWT OpenGL/carbon/org/eclipse/swt/opengl/GLCanvas.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/Shell.java
|
SWT
|
2,237 | 162,967 |
Bug 162967 Last element of a tree doesn't expand on double-click
|
Using I20061031-0656, when I double-click on the last element of a tree, nothing happens. But if I double-click on the previous element, both expands. This can be seen in the package explorer or the synchronize view.
|
2006-10-31 13:29:03
| 1,162,320,000 |
resolved fixed
|
043c304
| 1,162,320,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TreeItem.java
|
SWT
|
2,238 | 139,711 |
Bug 139711 Eclipse loses keyboard shortcuts on OSX
|
Beginning (I think) with 3.2 M5, Eclipse seems to lose the keyboard shortcut keys in some instances. I have yet to determine how exactly that happens, but from what I see, it has to do with switching to Eclipse from other applications. This means that the markers for the keys in the main menu and context menues are gone, and pressing the shortcut keys like cmd-C and cmd-V does nothing. As you can imagine, it's a pain to not being able to copy and paste... Deselecting the center content area and again switching from and to Eclipse makes the shortcuts appear again.
|
2006-05-02 11:12:57
| 1,146,580,000 |
resolved fixed
|
0d27137
| 1,162,250,000 |
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 bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Shell.java
|
SWT
|
2,239 | 158,175 |
Bug 158175 Java core [WM_BUTTONDOWN] when selecting a tree in Vista
|
Windows Vista Beta 2 Build I20060929 When I select the Outline View on Vista I periodically get a Java VM exception. I can't do this consistently (it happens every 2 hours or so). Here is the trace An unexpected exception has been detected in native code outside the VM. Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x750F9B16 Function=CreateMappedBitmap+0x14A8 Library=C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.5384.4_none_a8b0bff774788b5e\COMCTL32.dll Current Java thread: at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:1883) at org.eclipse.swt.widgets.Tree.callWindowProc(Tree.java:1321) at org.eclipse.swt.widgets.Tree.WM_LBUTTONDOWN(Tree.java:5434) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3285) at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:4889) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4072) at org.eclipse.swt.internal.win32.OS.DispatchMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.DispatchMessage(OS.java:1964) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3007) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:104) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:74) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:348) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:165) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:341) at org.eclipse.core.launcher.Main.basicRun(Main.java:285) at org.eclipse.core.launcher.Main.run(Main.java:987) at org.eclipse.core.launcher.Main.main(Main.java:962) Dynamic libraries: 0x00400000 - 0x0040B000 C:\R33\0921\eclipse\jre\bin\java.exe 0x77B20000 - 0x77C2D000 C:\Windows\system32\ntdll.dll 0x777F0000 - 0x778BE000 C:\Windows\system32\kernel32.dll 0x77730000 - 0x777EA000 C:\Windows\system32\ADVAPI32.dll 0x77680000 - 0x77728000 C:\Windows\system32\RPCRT4.dll 0x76790000 - 0x76838000 C:\Windows\system32\MSVCRT.dll 0x08000000 - 0x08138000 C:\R33\0921\eclipse\jre\bin\client\jvm.dll 0x775E0000 - 0x7767C000 C:\Windows\system32\USER32.dll 0x77AD0000 - 0x77B1A000 C:\Windows\system32\GDI32.dll 0x74590000 - 0x745C1000 C:\Windows\system32\WINMM.dll 0x778C0000 - 0x779FF000 C:\Windows\system32\ole32.dll 0x76930000 - 0x769C0000 C:\Windows\system32\OLEAUT32.dll 0x74550000 - 0x74587000 C:\Windows\system32\OLEACC.dll 0x75760000 - 0x757C7000 C:\Windows\system32\msvcp60.dll 0x76910000 - 0x7692E000 C:\Windows\system32\IMM32.DLL 0x76840000 - 0x76909000 C:\Windows\system32\MSCTF.dll 0x75C00000 - 0x75C2B000 C:\Windows\system32\apphelp.dll 0x75CB0000 - 0x75CB9000 C:\Windows\system32\LPK.DLL 0x75C30000 - 0x75CAC000 C:\Windows\system32\USP10.dll 0x10000000 - 0x10007000 C:\R33\0921\eclipse\jre\bin\hpi.dll 0x00BE0000 - 0x00BEE000 C:\R33\0921\eclipse\jre\bin\verify.dll 0x00BF0000 - 0x00C09000 C:\R33\0921\eclipse\jre\bin\java.dll 0x00C10000 - 0x00C1E000 C:\R33\0921\eclipse\jre\bin\zip.dll 0x03550000 - 0x0355F000 C:\R33\0921\eclipse\jre\bin\net.dll 0x76760000 - 0x7678D000 C:\Windows\system32\WS2_32.dll 0x76410000 - 0x76416000 C:\Windows\system32\NSI.dll 0x035A0000 - 0x035A8000 C:\R33\0921\eclipse\jre\bin\nio.dll 0x03670000 - 0x036C3000 C:\R33\0921\eclipse\configuration\org.eclipse.osgi\bundles\79\1\.cp\swt-win32-3309.dll 0x750C0000 - 0x75247000 C:\Windows\WinSxS\x86_microsoft.windows.common-controls_6595b64144ccf1df_6.0.5384.4_none_a8b0bff774788b5e\COMCTL32.dll 0x766D0000 - 0x76723000 C:\Windows\system32\SHLWAPI.dll 0x769C0000 - 0x76A1F000 C:\Windows\system32\comdlg32.dll 0x76BF0000 - 0x77588000 C:\Windows\system32\SHELL32.dll 0x76B30000 - 0x76BE6000 C:\Windows\system32\WININET.dll 0x764C0000 - 0x764C6000 C:\Windows\system32\Normaliz.dll 0x764D0000 - 0x76509000 C:\Windows\system32\iertutil.dll 0x764B0000 - 0x764B9000 C:\Windows\system32\VERSION.dll 0x76240000 - 0x7626B000 C:\Windows\system32\WINTRUST.dll 0x76150000 - 0x7623D000 C:\Windows\system32\CRYPT32.dll 0x75EB0000 - 0x75EC2000 C:\Windows\system32\MSASN1.dll 0x75E90000 - 0x75EAD000 C:\Windows\system32\USERENV.dll 0x75D50000 - 0x75D64000 C:\Windows\system32\Secur32.dll 0x75ED0000 - 0x75EFF000 C:\Windows\system32\ncrypt.dll 0x75D70000 - 0x75DAC000 C:\Windows\system32\bcrypt.dll 0x76A20000 - 0x76A49000 C:\Windows\system32\imagehlp.dll 0x763A0000 - 0x763DC000 C:\Windows\system32\uxtheme.dll 0x04F50000 - 0x04F58000 C:\R33\0921\eclipse\configuration\org.eclipse.osgi\bundles\17\1\.cp\os\win32\x86\localfile_1_0_0.dll 0x05120000 - 0x05133000 C:\R33\0921\eclipse\configuration\org.eclipse.osgi\bundles\79\1\.cp\swt-gdip-win32-3309.dll 0x74D00000 - 0x74EA8000 C:\Windows\WinSxS\x86_microsoft.windows.gdiplus_6595b64144ccf1df_1.0.5384.4_none_3926c030ef0acddf\gdiplus.dll 0x77A00000 - 0x77A84000 C:\Windows\system32\CLBCatQ.DLL 0x70D10000 - 0x70D40000 C:\Windows\system32\mlang.dll 0x752A0000 - 0x752A5000 C:\Windows\system32\msimg32.dll 0x76A50000 - 0x76B17000 C:\Windows\system32\urlmon.dll 0x75BA0000 - 0x75BFE000 C:\Windows\system32\SXS.DLL 0x75660000 - 0x756A3000 C:\Windows\System32\mswsock.dll 0x75650000 - 0x7565B000 C:\Windows\system32\nlaapi.dll 0x759A0000 - 0x759CA000 C:\Windows\system32\DNSAPI.dll 0x73520000 - 0x73528000 C:\Windows\System32\winrnr.dll 0x77590000 - 0x775D9000 C:\Windows\system32\WLDAP32.dll 0x76750000 - 0x76756000 C:\Windows\system32\PSAPI.DLL 0x73510000 - 0x7351F000 C:\Windows\system32\napinsp.dll 0x734F0000 - 0x73501000 C:\Windows\system32\pnrpnsp.dll 0x758B0000 - 0x758C7000 C:\Windows\system32\IPHLPAPI.DLL 0x75870000 - 0x758A1000 C:\Windows\system32\dhcpcsvc.DLL 0x75860000 - 0x75867000 C:\Windows\system32\WINNSI.DLL 0x73300000 - 0x73306000 C:\Windows\system32\rasadhlp.dll 0x752B0000 - 0x752B6000 C:\Windows\System32\wshtcpip.dll 0x6E2D0000 - 0x6E7B1000 C:\Windows\system32\ieframe.dll 0x76330000 - 0x7639B000 C:\Windows\system32\CRYPTUI.dll 0x75F00000 - 0x75F62000 C:\Windows\system32\NETAPI32.dll 0x75DB0000 - 0x75E8F000 C:\Windows\system32\WINBRAND.dll 0x70750000 - 0x70A8A000 C:\Windows\system32\MSHTML.dll 0x71000000 - 0x71029000 C:\Windows\system32\msls31.dll 0x70FD0000 - 0x70FFE000 C:\Windows\system32\MSRATING.dll 0x74850000 - 0x74857000 C:\Windows\system32\WSOCK32.dll 0x70F90000 - 0x70FC2000 C:\Windows\system32\IEUI.dll 0x723C0000 - 0x723CD000 C:\Windows\AppPatch\iebrshim.dll 0x73CC0000 - 0x73CCB000 C:\Windows\system32\msimtf.dll 0x74860000 - 0x7493F000 C:\Windows\system32\dbghelp.dll Heap at VM Abort: Heap def new generation total 6336K, used 1007K [0x10010000, 0x106e0000, 0x113c0000) eden space 5696K, 6% used [0x10010000, 0x1006bdc0, 0x105a0000) from space 640K, 99% used [0x10640000, 0x106dfff8, 0x106e0000) to space 640K, 0% used [0x105a0000, 0x105a0000, 0x10640000) tenured generation total 82852K, used 76965K [0x113c0000, 0x164a9000, 0x20010000) the space 82852K, 92% used [0x113c0000, 0x15ee97c8, 0x15ee9800, 0x164a9000) compacting perm gen total 39936K, used 39855K [0x20010000, 0x22710000, 0x24010000) the space 39936K, 99% used [0x20010000, 0x226fbd40, 0x226fbe00, 0x22710000) Local Time = Thu Sep 21 12:36:56 2006 Elapsed Time = 1195 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.2_08-b03 mixed mode) #
|
2006-09-21 12:51:58
| 1,158,860,000 |
resolved fixed
|
9ccf2b9
| 1,162,220,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
|
SWT
|
2,240 | 161,533 |
Bug 161533 JVM crash [Tree.setSelection] because SWT (Vista?) error
| null |
2006-10-19 04:58:31
| 1,161,250,000 |
resolved fixed
|
3419474
| 1,161,980,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
|
SWT
|
2,241 | 162,146 |
Bug 162146 [Browser] Appending to stream hangs the SWT Browser
| null |
2006-10-24 17:15:36
| 1,161,720,000 |
closed fixed
|
037eee8
| 1,161,960,000 |
bundles/org.eclipse.swt/Eclipse SWT Browser/motif/org/eclipse/swt/browser/Browser.java bundles/org.eclipse.swt/Eclipse SWT Mozilla/gtk/org/eclipse/swt/browser/Browser.java
|
SWT
|
2,242 | 162,411 |
Bug 162411 setExpanded(false) doesn't work when tree item is not visible (regression)
|
Build: I20061024 1) Expand a project with many children in the Navigator or Package Explorer view 2) Scroll the view down so that the project root tree item is not visible, but the children are still visible 3) Click "Collapse All" in the view tool bar. -> Nothing happens. The root element only collapses if it is visible, or if none of its children are visible. Reproduced the problem on XP, Win2K, and Vista. I suspect this is a problem in AbstractTreeViewer.collapseAll.
|
2006-10-26 11:08:59
| 1,161,880,000 |
resolved fixed
|
e305889
| 1,161,900,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TreeItem.java
|
SWT
|
2,243 | 162,084 |
Bug 162084 Tree.setRedraw(true) doesn't redraw
|
I20061024-0800 The Package Explorer no longer refreshes in certain scenarios. This is a blocker since the Package Explorer is unusable. Test Case: 1. expand some elements 2. click on the 'Collapse All' local tool bar button ==> tree doesn't collapse
|
2006-10-24 10:28:09
| 1,161,700,000 |
resolved fixed
|
dfdd831
| 1,161,700,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
|
SWT
|
2,244 | 159,586 |
Bug 159586 Need a way to expand TreeItems without causing scrolling
|
For the filtered tree that is showing up in more and more places in the UI (for example, in the preferences dialog, or the show view dialog), we would like to be able to expand the tree once it is filtered so that the user can see all matches. On Windows XP, TreeItem.setExpanded(true) scrolls the expanded item into view, which causes problems with what we are trying to do. We use redraw(false)/redraw(true) and setTopItem() to hide the scrolling, but the scrollbar can still be seen dancing around. Ideally, we would like to be able to expand an item without causing scrolling. If this is not possible, could the dancing scrollbar be fixed? I'll attach a snippet.
|
2006-10-03 09:47:19
| 1,159,880,000 |
resolved fixed
|
c964a36
| 1,161,640,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TreeItem.java
|
SWT
|
2,245 | 153,448 |
Bug 153448 Tree.setRedraw(true) causes the drawing operations to be ignored on solaris
|
The following code behaves like setRedraw(false) was called: Tree tree = new Tree(composite, SWT.BORDER | SWT.CHECK); ... (add tree items) tree.setRedraw(true); After call to setRedraw(true), user cannot check and/or select tree items (the check status can be readed using getChecked(); but is not displayed - as if redraw is turned off). Nested calls to Control.setRedraw() are stacked (as said in documentation); but I believe that extra "setRedraw(true)" calls should not turn redraw off. At least, on win32, that extra call does not cause problems (the bug appears on solaris-motif). Snippet will be attached in next comment.
|
2006-08-10 11:23:46
| 1,155,220,000 |
resolved fixed
|
106e75d
| 1,161,190,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/TableColumn.java bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/Tree.java bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/TreeColumn.java bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/TreeItem.java
|
SWT
|
2,246 | 154,429 |
Bug 154429 [64] HotSpot Virtual Machine error while starting eclipse3.3M1
| null |
2006-08-19 06:41:48
| 1,155,980,000 |
resolved fixed
|
d8d47f3
| 1,161,120,000 |
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java
|
SWT
|
2,247 | 153,196 |
Bug 153196 Paint example draws lots of garbage on mac
|
When I try the paint example on the mac (double click on tab to maximize the view), I see all kinds of garbage being drawn while I'm using it. For example: - The shape tools (line, square, circle) draw two copies.. one at the pointer and another about 100 pixels up and 20 pixels left. - The pencil doesn't draw where the pointer is.. it draws up and to the left. - The text tool that stamps "Hello!" draws even if I don't click.. i.e. it's drawing a whole bunch of "Hello!"s as I move the mouse. If I restore then maximize the view again, everything appears as it should. The garbage is gone and the lines are where they should be.
|
2006-08-08 17:54:54
| 1,155,070,000 |
resolved fixed
|
858cbea
| 1,161,010,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/GC.java
|
SWT
|
2,248 | 151,142 |
Bug 151142 pixel corruptions in table with Check flag and Images
|
swt 3.2 / head 20060719 windows vista beta 2 build 5384 the smaller the image the worse it looks, with image 32x32 you can not see the problem. public static void main(String[] args) { final Display display = new Display(); final Shell shell = new Shell(display); Table table = new Table (shell, SWT.CHECK); int size = 32; Image image = new Image (display, 16, 16); GC gc = new GC (image); gc.setBackground(display.getSystemColor(SWT.COLOR_BLUE)); gc.fillRectangle(0, 0, size, size); gc.setForeground(display.getSystemColor(SWT.COLOR_RED)); gc.drawRectangle(0, 0, size-1, size-1); gc.dispose(); for (int i = 0; i < 60; i++) { TableItem item = new TableItem (table, SWT.NONE); item.setText("Text" +i); item.setImage(image); } shell.setLayout(new FillLayout()); shell.setSize(400, 400); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } image.dispose(); display.dispose(); } }
|
2006-07-19 17:20:43
| 1,153,340,000 |
resolved fixed
|
4690e71
| 1,160,750,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java
|
SWT
|
2,249 | 160,647 |
Bug 160647 Table widget leaks
| null |
2006-10-12 05:36:25
| 1,160,650,000 |
resolved fixed
|
6bed35f
| 1,160,670,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java
|
SWT
|
2,250 | 105,764 |
Bug 105764 org.eclipse.swt.custom.ControlEditor.computeBounds() is package private
|
Suppose I've developed a custom SWT control called Grid, which is an alternative to the Table control. To support in-place cell editing, I would like to also develop a GridEditor, which should be similar in spirit to the existing org.eclipse.swt.custom.TableEditor. My GridEditor should inherit from ControlEditor in order to reuse the code that tracks the scrollbars of the Grid control (which is a Composite, after all). However, I cannot do that, because in my GridEditor class I *have* to override ControlEditor.computeBounds(), which should calculate the bounds of the in- place editing control according to the Grid's notion of cell bounds. It looks like the single method in ControlEditor, computeBounds() which should be protected is package protected instead.. And yes, I know I have the option of not basing my GridEditor on ControlEditor at all, but why is then ControlEditor public at all?
|
2005-08-02 06:07:54
| 1,122,980,000 |
resolved fixed
|
8eb1bb4
| 1,160,520,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/ControlEditor.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TableEditor.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TableTreeEditor.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TreeEditor.java
|
SWT
|
2,251 | 155,451 |
Bug 155451 Bad drawing in Tree and Table
|
This happens in 3.2 and HEAD. 1) Run ControlExample 2) Select Tree or Table tab 3) select SWT.MULTI radio button First problem, the tree/table is gray instead of white 4) Ctrl+select items 0, 1, 2, 1 (again) in that order, note that item draws badly (no string). The Tree also draws badly if you expand after selecting.
|
2006-08-28 15:24:48
| 1,156,790,000 |
resolved fixed
|
0d74a1a
| 1,159,800,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/TableItem.java bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/Tree.java bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/TreeItem.java
|
SWT
|
2,252 | 158,790 |
Bug 158790 external browser can't be found on Redhat
|
Ciao :) Following situation: - RHEL4, U3: start eclipse - SWT style welcome shows up, but the css one should for linux! - Window->Preferences->General->Web Browser shows: "Default system Web browser" as only option for an external browser, internal browser is disabled. - An Error Log has been generated in the mean time: Internal browser is not available: No more handles [Unknown Mozilla path (MOZILLA_FIVE_HOME not set)] - Back in the preferences, if I click on the "Default system Web browser" to show me it's settings I get a NPE(see bottom) - Links from the welcome page into the web work just fine, i.e. they open firefox as browser and walk it to the link. Now, my system, Red Hat Enterprise Workstation 4, Update 3, is special, there is no mozilla installed. Firefox is also installed in a custom way, by linking the executable, firefox, into /usr/bin. It points to /opt/firefox/firefox. Now, I tried to set MOZILLA_FIVE_HOME to /opt/firefox to help Eclipse a bit, that's when the following error happened: Internal browser is not available: No more handles [NS_InitEmbedding /opt/firefox/ error -2147221164] Eclipse should: 1.) handle the error situation in a better way(more descriptive error msgs), 2.) use the /usr/bin/firefox link as external browser without the need to have firefox installed in /etc/gre.d or pointed to by MOZILLA_FIVE_HOME 3.) use my firefox (1.5.0.7) or tell me why it can't Please feel free to ask for more info if you need any.. NPE: java.lang.NullPointerException at org.eclipse.ui.internal.browser.BrowserDescriptorDialog.createDialogArea(BrowserDescriptorDialog.java:104) at org.eclipse.jface.dialogs.Dialog.createContents(Dialog.java:802) at org.eclipse.jface.window.Window.create(Window.java:426) at org.eclipse.jface.dialogs.Dialog.create(Dialog.java:1124) at org.eclipse.jface.window.Window.open(Window.java:785) at org.eclipse.ui.internal.browser.WebBrowserPreferencePage$3.doubleClick(WebBrowserPreferencePage.java:276) at org.eclipse.jface.viewers.StructuredViewer$1.run(StructuredViewer.java:796)
|
2006-09-26 11:58:57
| 1,159,290,000 |
resolved fixed
|
0e5598c
| 1,159,560,000 |
bundles/org.eclipse.swt/Eclipse SWT Browser/motif/org/eclipse/swt/browser/Browser.java bundles/org.eclipse.swt/Eclipse SWT Mozilla/gtk/org/eclipse/swt/browser/Browser.java
|
SWT
|
2,253 | 158,970 |
Bug 158970 Disabling parent Composite doesn't throw FocusOut for the focused child control
|
On OS X when disabling the parent of the focus control a FocusOut event doesn't get fired for the control losing focus. It looks like the issue is in the Control.forceFocus() and Display.getFocusControl(int). When the "oldFocus" control is attempted to be retrieved from the display the display will return null because of the following check in Display.getFocusControl(int)... if (widget != null && widget instanceof Control) { Control control = (Control) widget; >>>return control.isEnabled () ? control : null;<<< } The control is disabled so it's not returned as the focused control. Attaching test case...
|
2006-09-27 10:27:01
| 1,159,370,000 |
verified fixed
|
87e1d7f
| 1,159,390,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Decorations.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Display.java
|
SWT
|
2,254 | 157,797 |
Bug 157797 Improve javadoc of Control#addKeyListener(..) to tell about changed traversal behavior
|
I20060919-0010 - remove source attachment from rt.jar - open java.lang.Integer => Focus is nowhere => Tab, Ctrl+Tab, F12 all don't give the focus back In 3.2 the initial focus was on the editor tab. I would expect the focus to be on the Attach Source button (if it exists), or in the text area with the decompiled text.
|
2006-09-19 08:59:41
| 1,158,670,000 |
resolved fixed
|
ceedcf5
| 1,159,370,000 |
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/KeyEvent.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java
|
SWT
|
2,255 | 103,809 |
Bug 103809 WinCE: VM crash on Display.dispose() call
|
I have problem disposing a Display. When calling Display.dispose the VM crashes (unexpected exit or freeze). Im using swt-3.1-win32-wce_ppc-arm-j2se on a MDA2 PocketPC with IBM j9. A test with Gotive WinCE device and HHP device shows the same results. Here is my simple testcode: System.out.println("started"); Display display = new Display (); Shell shell = new Shell (display); shell.setText("demo!"); shell.open (); while (!shell.isDisposed ()) { if (!display.readAndDispatch ()) display.sleep (); } System.out.println("before dispose"); display.dispose (); System.out.println("end"); The crash happens here: display.dispose();
|
2005-07-14 09:56:22
| 1,121,350,000 |
resolved fixed
|
31d850c
| 1,159,310,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Group.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ProgressBar.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Scale.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TabFolder.java
|
SWT
|
2,256 | 157,544 |
Bug 157544 List: preferred width incorrect after items are removed
|
If a win32/x86 List widget uses the SWT.H_SCROLL style, its horizontal scroll width is not recomputed when items are removed. This causes two problems: 1. computeSize(SWT.DEFAULT,SWT.DEFAULT,true) may return a width that is too big. 2. The list continues to display a horizontal scrollbar even when it is no longer necessary. The problem appears to be in List.setScrollWidth(int, boolean) : void setScrollWidth (int newWidth, boolean grow) { int width = OS.SendMessage (handle, OS.LB_GETHORIZONTALEXTENT, 0, 0); if (grow) { if (newWidth <= width) return; OS.SendMessage (handle, OS.LB_SETHORIZONTALEXTENT, newWidth + 3, 0); } else { if (newWidth < width) return; setScrollWidth (); } } This method compares the current horizontal extent to the maximum width of the items being added (grow=true) or removed (grow=false). If necessary it updates the horizontal extent (recalculating it from scratch when grow="false"). The problem is that the horizontal extent is always set to the maximum item width __plus 3 pixels__. Therefore, the current horizontal extent will _always_ be greater than the width of any of its items. In the case of removals, this means that the line: if (newWidth < width) return; is always true and the line: setScrollWidth (); is never executed.
|
2006-09-15 20:27:24
| 1,158,370,000 |
resolved fixed
|
8cc8a0e
| 1,159,230,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/List.java
|
SWT
|
2,257 | 158,462 |
Bug 158462 cleanup VerifyEvent constructor
|
current code: public VerifyEvent(Event e) { super(e); this.character = e.character; this.keyCode = e.keyCode; this.stateMask = e.stateMask; this.start = e.start; this.end = e.end; this.text = e.text; } super is: public KeyEvent(Event e) { super(e); this.character = e.character; this.keyCode = e.keyCode; this.stateMask = e.stateMask; this.doit = e.doit; } if i don't mess it up the constructor of verifyevent could easyly be reduced to: public VerifyEvent(Event e) { super(e); this.start = e.start; this.end = e.end; this.text = e.text; }
|
2006-09-23 23:28:15
| 1,159,070,000 |
resolved fixed
|
be914b6
| 1,159,210,000 |
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/VerifyEvent.java
|
SWT
|
2,258 | 93,938 |
Bug 93938 Combo displays selection range without focus
|
Editable Combos display their selection range even when they don't have focus. Text does not do this. Maybe this is just a bug in windows. It is confusing because it makes it hard to identify which control has keyboard focus. public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); Combo combo = new Combo(shell, SWT.NONE); combo.setItems(new String[] {"foo","bar"}); combo.setBounds(10, 10, 90, 30); combo.setText("blah"); combo.setSelection(new Point(0, 3)); Tree tree = new Tree(shell, SWT.H_SCROLL | SWT.V_SCROLL | SWT.SINGLE); new TreeItem(tree, 0).setText("item1"); tree.setFocus(); tree.setBounds(5, 40, 100, 100); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } }
|
2005-05-06 11:24:48
| 1,115,390,000 |
resolved fixed
|
863121f
| 1,159,200,000 |
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Combo.java
|
SWT
|
2,259 | 158,411 |
Bug 158411 Regression: Alt+Numpad keystrokes broken (Part 2)
| null |
2006-09-23 04:27:36
| 1,159,000,000 |
resolved fixed
|
eae7c08
| 1,159,200,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Widget.java
|
SWT
|
2,260 | 156,943 |
Bug 156943 TootlTip display error for negative location
|
I currently have a Dual monitor display with my main seondary monitor to the left of my main monitor. In order to display an error balloon, I determine the location of the balloon by the following code: Point textLocation = text.getLocation(); Point textSize = text.getSize(); textLocation = new Point(textLocation.x, textLocation.y+textSize.y); Point tipLocation = Display.getCurrent().map(text.getParent(), null, textLocation); The resulting tipLocation is positive when the Eclipse product is running on my main monitor (or on the secondary monitor when it is oriented to the right of my main), but when the Eclipse app is on the secondary monitor (left of main), the balloon does not show up in the proper location. instead, it appears on the top of the screen.
|
2006-09-11 17:44:06
| 1,158,010,000 |
resolved fixed
|
3ad00be
| 1,158,880,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ToolTip.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Widget.java
|
SWT
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.