issue_id
int64
2.03k
426k
title
stringlengths
9
251
body
stringlengths
1
32.8k
status
stringclasses
6 values
after_fix_sha
stringlengths
7
7
updated_files
stringlengths
29
34.1k
project_name
stringclasses
6 values
repo_url
stringclasses
6 values
repo_name
stringclasses
6 values
language
stringclasses
1 value
issue_url
null
before_fix_sha
null
pull_url
null
commit_datetime
unknown
report_datetime
unknown
200,956
Bug 200956 WinXP: Shell draws focus on setVisible(true)
Build ID: I20070811-1447 Steps To Reproduce: If a shell got focus once in her lifetime and is hidden using setVisible(false) then calling setVisible(true) will cause it to immediately draw focus. I couldn't find a way to prevent this behavior. Note: On Linux, this works perfectly. Steps to reproduce: 1. Run the snippet below 2. Click on the 'click me' button --> a second shell opens without drawing focus 3. Click on the 'close me' button --> the second shell gains focus and is closed 4. Click again on 'click me' --> the second shell opens again and immediately draws focus More information: import org.eclipse.swt.SWT; import org.eclipse.swt.events.SelectionAdapter; import org.eclipse.swt.events.SelectionEvent; import org.eclipse.swt.events.SelectionListener; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.Button; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; public class Snippet { static Shell anotherShell; public static void main(String[] args) { Display display = new Display(); final Shell shell = new Shell(display); shell.setLayout(new GridLayout(1, false)); Button button = new Button(shell, SWT.PUSH); button.setText("click me"); button.addSelectionListener(new SelectionAdapter() { @Override public void widgetSelected(SelectionEvent arg0) { if (anotherShell == null) { anotherShell= new Shell(shell, SWT.ON_TOP | SWT.NO_FOCUS | SWT.BORDER | SWT.TOOL); anotherShell.setLayout(new GridLayout(1, false)); Button button = new Button(anotherShell, SWT.PUSH); button.setText("close me"); button.addSelectionListener(new SelectionAdapter() { @Override public void widgetSelected(SelectionEvent arg0) { anotherShell.setVisible(false); } }); } anotherShell.setVisible(true); } }); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } }
resolved fixed
87e3bad
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Decorations.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2008-01-09T19:10:02Z"
"2007-08-23T14:40:00Z"
177,589
Bug 177589 up/down arrows don't work in a combobox on Linux
Eclipse 3.3 M5eh (I20070222-0951) Up and down keyboard keys don't work in a combobox. To reproduce: 1. Open Find dialog in text editor. Search for something. Close the dialog. 2. Open Find dialog again. Type something else in Find combobox. Press down arrow key. Noting happens. Expected behavior is scrolling to the previous search string.
resolved fixed
8192bff
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Combo.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2008-01-08T22:23:43Z"
"2007-03-15T17:33:20Z"
211,949
Bug 211949 [Browser] Linux(SLED10), Eclipse crash when XPCOM error in Mozilla OnStateChange callback
null
resolved fixed
cb3ba7b
["bundles/org.eclipse.swt/Eclipse", "SWT", "Mozilla/common/org/eclipse/swt/browser/Mozilla.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2008-01-03T18:16:42Z"
"2007-12-05T04:46:40Z"
213,247
Bug 213247 Combo box in CVS commit wizard leaves garbage behind on resize
null
resolved fixed
595e830
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Combo.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-12-20T00:13:02Z"
"2007-12-18T01:06:40Z"
205,736
Bug 205736 [OLE] MS Word OLE Crash
Eclipse build id or SWT version: M2 Platform(s) tested on: Windows XP SP2 Dutch Snippet title: MS Word OLE Crash Snippet code: When opening MS Word with the OLE support of SWT, it opens but after some random clicks (or run the spell checker) the window resizes and all menu's disapear. Then Word crashes. All office updates are installed, and I tried with Office XP (2002) and 2003 as well. Code: import java.io.File; import org.eclipse.swt.SWT; import org.eclipse.swt.events.SelectionAdapter; import org.eclipse.swt.events.SelectionEvent; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.ole.win32.OLE; import org.eclipse.swt.ole.win32.OleClientSite; import org.eclipse.swt.ole.win32.OleFrame; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.FileDialog; import org.eclipse.swt.widgets.Menu; import org.eclipse.swt.widgets.MenuItem; import org.eclipse.swt.widgets.Shell; public class WordSample { private Shell shell; private OleFrame frame; private OleClientSite site; private File openFile = null; public WordSample() { Display display = new Display(); shell = new Shell(display); shell.setLayout(new FillLayout()); shell.setSize(800, 600); Menu menuBar = new Menu(shell, SWT.BAR); Menu fileMenu = new Menu(menuBar); MenuItem fileItem = new MenuItem(menuBar, SWT.CASCADE); fileItem.setText("File"); fileItem.setMenu(fileMenu); MenuItem itema = new MenuItem(fileMenu, SWT.CASCADE); itema.setText("Open document"); MenuItem itemb = new MenuItem(fileMenu, SWT.CASCADE); itemb.setText("Radio B"); MenuItem itemc = new MenuItem(fileMenu, SWT.CASCADE); itemc.setText("Radio C"); shell.setMenuBar(menuBar); itema.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { FileDialog fileDialog = new FileDialog(shell, SWT.OPEN); fileDialog.setFilterExtensions(new String[] {"*.doc"}); String doc = fileDialog.open(); if (doc != null && !doc.equals("")) { openDocument(doc); } } }); itemb.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { FileDialog fileDialog = new FileDialog(shell, SWT.OPEN); fileDialog.setFilterExtensions(new String[] {"*.docx"}); String doc = fileDialog.open(); if (doc != null && !doc.equals("")) { openDocument(doc); } } }); itemb.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { saveDocument(); } }); frame = new OleFrame(shell, SWT.NONE); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } private void openDocument(String doc) { if (site != null && !site.isDisposed()) site.dispose(); site = new OleClientSite(frame, SWT.NONE, "Word.Document", openFile = new File(doc)); site.doVerb(OLE.OLEIVERB_OPEN); } private void saveDocument(){ if (site.isDirty()) { File tempFile = new File(openFile.getAbsolutePath() + ".tmp"); openFile.renameTo(tempFile); if (site.save(openFile, true)){ // save was successful so discard the backup openFile.delete(); } else { // save failed so restore the backup tempFile.renameTo(openFile); } } } public static void main(String[] args) { WordSample sample = new WordSample(); } }
resolved fixed
d5b649a
["bundles/org.eclipse.swt/Eclipse", "SWT", "OLE", "Win32/win32/org/eclipse/swt/ole/win32/OleFrame.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-12-18T20:42:21Z"
"2007-10-08T13:26:40Z"
213,200
Bug 213200 [Leopard] errors logged to console by CGPathGetCurrentPoint
Leopard is logging an error to the console when CGPathGetCurrentPoint is called on an empty path. This does not happen on Tiger. Error logged: <Error>: CGPathGetCurrentPoint: path 0x866600: no current point. Test Case: shell.addListener(SWT.Paint, new Listener() { public void handleEvent(Event event) { Path path = new Path(display); path.getCurrentPoint(new float[2]); path.dispose(); } });
resolved fixed
1f2aaff
["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/graphics/Path.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-12-17T17:39:00Z"
"2007-12-17T16:46:40Z"
205,264
Bug 205264 Path.addArc method does not work as expected on Apple OS X
null
resolved fixed
a92e752
["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/graphics/Path.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-12-17T16:54:10Z"
"2007-10-03T05:40:00Z"
205,866
Bug 205866 SWT.Settings - no notification on Vista
1. Hook a listener to SWT.Settings 2. Vista backdrop->right menu->Personalize->Window Color and Appearance 3. Change color scheme My assumption is that the listener should be notified. In the code below, message should be written to system out but never is. Following similar steps on XP it is. import org.eclipse.swt.SWT; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Event; import org.eclipse.swt.widgets.Listener; import org.eclipse.swt.widgets.Shell; public class RunTest { public static void main(String[] args) { Display display = new Display (); Shell shell = new Shell(display); shell.open (); System.out.println("Adding SWT.Settings listener"); Display.getCurrent().addListener(SWT.Settings, new Listener() { public void handleEvent(Event event) { System.out.println("SWT.Settings changed"); } }); while (!shell.isDisposed ()) { if (!display.readAndDispatch ()) display.sleep (); } display.dispose (); } }
resolved fixed
503e685
["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"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-12-14T21:12:23Z"
"2007-10-09T20:00:00Z"
212,556
Bug 212556 [Contributions] [Contributions] view menu remains after invoking item
M4 If you activate any view menu item the view menu flickers away and comes back just as it was before. For instance, open the view menu of the Problems view and choose Configure Contents. After the dialog is opened, dismiss it, and you'll see the menu pop back into focus.
resolved fixed
aa884f1
["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Control.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-12-13T22:10:20Z"
"2007-12-11T13:33:20Z"
212,823
Bug 212823 Calling Region.add with only 1 polygon point causes a segfault
Calling Region.add(int[]) with only 1 point in the array will cause a segfault on GTK 2.8.
resolved fixed
4e4ed4a
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/graphics/Region.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-12-12T22:32:33Z"
"2007-12-12T22:53:20Z"
212,671
Bug 212671 table.setToolTipText("") does not disable native tooltips
[I20071211-0010], Windows XP and Windows Vista Steps: 1. Hit Ctrl-3 to open the Quick Access Dialog 2. Type "er" 3. Hover over one of the cut-off entries -> Note that a native roll-over tooltip appears. My code calls table.setToolTipText(""), which should disable the native tooltips.
resolved fixed
5fccfd9
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Table.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-12-11T22:30:26Z"
"2007-12-11T21:53:20Z"
212,610
Bug 212610 Cannot delete text in Combo box
Open any dialog with a combo box (eg. create New Repository Location) and type some text in the combo box. Pressing Backspace or DEL will not delete the text.
resolved fixed
a5b13a5
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Combo.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-12-11T17:31:42Z"
"2007-12-11T16:20:00Z"
210,995
Bug 210995 SWT Combo doesn't gain focus during choice selection in Eclipse 3.3/GTK
Build ID: M20070921-1145 Steps To Reproduce: 1. Load the snippet of code included and run it Eclipse 3.3.1 Linux GTK. 2. Make a choice selection on the combo on the left without selecting the body of the Combo control. 3. Notice that Focus Gained message is not printed to console and the UI feedback from the Combo control does not indicate focus. Try same snippet on Eclipse 3.3.1 for Windows or Eclipse 3.2.2 for Linux/GTK. Focus Gained message is printed and UI feedback shows that the control has gained focus. More information: SWTTest Class import org.eclipse.swt.SWT; import org.eclipse.swt.events.*; import org.eclipse.swt.layout.*; import org.eclipse.swt.widgets.*; public class SWTTest { public static void main(String[] args) { Display display = new Display (); Shell shell = new Shell(display); shell.setLayout(new RowLayout()); String[] items = new String[]{"One","Two","Three"}; final Combo combo1 = new Combo(shell, SWT.BORDER); final Combo combo2 = new Combo(shell, SWT.BORDER); combo1.setItems(items); combo2.setItems(items); combo1.addFocusListener(new FocusAdapter(){ public void focusGained(FocusEvent e) { System.out.println("Focus Gained -" + ((Combo)e.getSource()).getText()); } public void focusLost(FocusEvent e) { System.out.println("Focus Lost"+ ((Combo)e.getSource()).getText()); } }); shell.pack(); shell.open(); while (!shell.isDisposed ()) { if (!display.readAndDispatch()) { display.sleep(); } } display.dispose(); } }
resolved fixed
3d6268b
["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/Combo.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Control.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-12-10T21:30:39Z"
"2007-11-26T23:33:20Z"
206,682
Bug 206682 Combo with SWT.READ_ONLY doesn't fire mouseevents
null
resolved fixed
4808863
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Combo.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-12-05T15:52:04Z"
"2007-10-17T19:40:00Z"
211,663
Bug 211663 [OLE] ActiveX/OLE Document support not working correctly in 3.4M3
null
resolved fixed
fef3f23
["bundles/org.eclipse.swt/Eclipse", "SWT", "OLE", "Win32/win32/org/eclipse/swt/ole/win32/OleClientSite.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-12-04T00:12:22Z"
"2007-12-01T00:46:40Z"
206,346
Bug 206346 GTK-BIDI: RTL support in ExpandBar
null
resolved fixed
24aed95
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/ExpandItem.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-12-03T21:21:55Z"
"2007-10-15T17:40:00Z"
208,427
Bug 208427 GTK-BIDI: RTL support in MenuItems
null
resolved fixed
0d47a69
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/MenuItem.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-12-03T20:38:23Z"
"2007-11-01T15:13:20Z"
210,873
Bug 210873 Icons for tooltip balloons don't work
Run Control example Go to ToolTip tab Select the SWT.ICON_ERROR, SWT.ICON_INFORMATION, SWT.ICON_WARNING icons and then click visible; there's no icons seen
resolved fixed
d6ff58b
["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Display.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-12-03T17:17:55Z"
"2007-11-25T22:33:20Z"
210,861
Bug 210861 Text alignment for text box doesn't work
With SWT.MULTI, the text box ignores SWT.CENTER/SWT.RIGHT.
resolved fixed
46a68f0
["bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Text.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-12-03T16:24:39Z"
"2007-11-25T14:13:20Z"
210,869
Bug 210869 Enabled on toolbar has no effect
Run Control example Go to 'toolbar' tab (you may have to stretch the window to get to this) Deselect 'enabled' You can still select menu items
resolved fixed
25c61b7
["bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/ToolBar.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/ToolItem.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-12-03T16:15:30Z"
"2007-11-25T22:33:20Z"
210,894
Bug 210894 Examples that use StyledText crash on startup
Reproducible for me by running JavaViewer, TextEditor or ClipboardExample from the examples project. The crash always dumps something similar to the console: 2007-11-25 22:40:36.133 java[4337:80f] *** _NSAutoreleaseNoPool(): Object 0x1d2fa0 of class NSException autoreleased with no pool in place - just leaking Stack: (0x9351d27f 0x9342a962 0x93431e18 0x938b564e 0x938b5d38 0x513e 0x258a) 2007-11-25 22:40:36.154 java[4337:80f] An uncaught exception was raised 2007-11-25 22:40:36.155 java[4337:80f] *** NSRunStorage, _NSBlockNumberForIndex(): index (0) beyond array bounds (0) 2007-11-25 22:40:36.155 java[4337:80f] *** _NSAutoreleaseNoPool(): Object 0x1462c0 of class NSCFString autoreleased with no pool in place - just leaking Stack: (0x9351d27f 0x9342a962 0x93435aca 0x9392f1ee 0x9093809b 0x938b5b0c 0x938b5d38 0x513e 0x258a) 2007-11-25 22:40:36.156 java[4337:80f] *** _NSAutoreleaseNoPool(): Object 0x15ba90 of class NSCFData autoreleased with no pool in place - just leaking Stack: (0x9351d27f 0x9342a962 0x9343ed45 0x9343e921 0x9392f202 0x9093809b 0x938b5b0c 0x938b5d38 0x513e 0x258a) 2007-11-25 22:40:36.157 java[4337:80f] *** Terminating app due to uncaught exception 'NSRangeException', reason: '*** NSRunStorage, _NSBlockNumberForIndex(): index (0) beyond array bounds (0)' 2007-11-25 22:40:36.158 java[4337:80f] Stack: ( 2475881067, 2425585819, 2475880523, 2475880586, 2476978576, 2477807156, 2477806691, 100269401, 56121777, 56097407 ) I tracked the crash down to the draw(GC gc, int x, int y, int selectionStart, int selectionEnd, Color selectionForeground, Color selectionBackground, int flags) method of TextLayout. It appears that when layoutManager.numberOfGlyphs() returns 0, the subsequent call to layoutManager.drawBackgroundForGlyphRange(range, pt) blows everything up. If I wrap that call around an if statement ensuring the call only gets made when range.length > 0, the examples startup as expected.
resolved fixed
7ce5971
["bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/graphics/TextLayout.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-12-03T16:04:04Z"
"2007-11-26T06:53:20Z"
211,361
Bug 211361 GraphicsExample crashes
I ran GraphicsExample, and used 'next' to step through the cycles of animations. A couple after it was drawing a spirograph-like drawing, it crashed. Looking through the list, it looks like it crashed on the one after the StarPolyTab was shown; but that would have been the intro tab. I wonder whether doing a full cycle and coming across a new tab again results in calling code that's previously been free'd? 2007-11-29 00:17:56.228 java[23179:10b] *** _NSAutoreleaseNoPool(): Object 0xa847eb0 of class NSException autoreleased with no pool in place - just leaking Stack: (0x954e9178 0x954170f8 0x9541d8e0 0x912ed39c 0x46ac) 2007-11-29 00:17:56.276 java[23179:10b] An uncaught exception was raised 2007-11-29 00:17:56.279 java[23179:10b] NSAffineTransform: Transform has no inverse 2007-11-29 00:17:56.282 java[23179:10b] *** _NSAutoreleaseNoPool(): Object 0x13bd30 of class NSCFString autoreleased with no pool in place - just leaking Stack: (0x954e9178 0x954170f8 0x95420d04 0x9135b014 0x9641a6ac 0x912ede28 0x46ac) 2007-11-29 00:17:56.284 java[23179:10b] *** _NSAutoreleaseNoPool(): Object 0x1693b0 of class NSCFData autoreleased with no pool in place - just leaking Stack: (0x954e9178 0x954170f8 0x95428858 0x95428704 0x9135b068 0x9641a6ac 0x912ede28 0x46ac) 2007-11-29 00:17:56.286 java[23179:10b] *** Terminating app due to uncaught exception 'NSGenericException', reason: 'NSAffineTransform: Transform has no inverse' 2007-11-29 00:17:56.289 java[23179:10b] Stack: (
resolved fixed
ee8bf71
["bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/graphics/GC.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/graphics/Transform.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-12-03T15:46:34Z"
"2007-11-29T01:33:20Z"
210,847
Bug 210847 SWT.ON_TOP on Shell doesn't appear to work
The ALWAYS_ON_TOP doesn't result in a window that's always on top.
resolved fixed
45f3f22
["bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Shell.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-12-03T15:23:11Z"
"2007-11-24T21:33:20Z"
211,220
Bug 211220 Add Browser to ControlExample
null
resolved fixed
1f128a2
["examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/BrowserTab.java", "examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/ControlExample.java", "examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/Tab.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-11-29T22:39:09Z"
"2007-11-28T14:26:40Z"
210,942
Bug 210942 Some convenience methods for StyledText
Hello, I would appreciate some convenience methods in the StyledText-API. For instance, In an application I like to get the contents of a certain line. At the moment I can't see a method with which this would conveniently possible. At least a method get the offset of a end of line would be helpful here (currently, I have to get the index of the following line and then subtract one but I have to take care about boundary issues myself). Sebastian
resolved fixed
6f2ca7d
["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/StyledText.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-11-28T20:10:11Z"
"2007-11-26T15:13:20Z"
111,259
Bug 111259 [DND] Insertion mark in TreeViewer does not go away on GTK
In the logic example, on GTK, if you click-and-drop a part in the outline view, the insertion mark does not go away when you exit the viewer. You see the same problem even if you don't drop the part in the outline.
resolved fixed
01ce461
["bundles/org.eclipse.swt/Eclipse", "SWT", "Drag", "and", "Drop/gtk/org/eclipse/swt/dnd/TableDropTargetEffect.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "Drag", "and", "Drop/gtk/org/eclipse/swt/dnd/TreeDropTargetEffect.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Tree.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-11-28T19:29:21Z"
"2005-09-30T19:53:20Z"
211,194
Bug 211194 Rollover tooltips in owner-drawn Tree only shown after delay
null
resolved fixed
666a2f0
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Tree.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-11-28T18:53:28Z"
"2007-11-28T11:40:00Z"
211,197
Bug 211197 Doubleclick does not work on owner-drawn TreeItem with rollover tooltip
null
resolved fixed
2377301
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Tree.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-11-28T17:50:02Z"
"2007-11-28T11:40:00Z"
210,853
Bug 210853 Spiner.setEnabled doesn't work
Using spinner.setEnabled(false) doesn't result in the spinner being disabled
resolved fixed
4280063
["bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Control.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/widgets/Spinner.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-11-26T21:52:21Z"
"2007-11-25T11:26:40Z"
178,044
Bug 178044 Trees and Tables with owner draw don't show rollover effect (tooltip)
I20070313-1051 Trees and Tables with a PaintItem listener installed do not show tooltips when hovering over clipped items. To reproduce, run the ControlExample, install the PaintItem listener and expand the Tree / resize a Table header.
resolved fixed
ec9593c
["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/win32/org/eclipse/swt/internal/win32/NMTTCUSTOMDRAW.java", "bundles/org.eclipse.swt/Eclipse", "SWT", "PI/win32/org/eclipse/swt/internal/win32/OS.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Table.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Tree.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/TreeColumn.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/TreeItem.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-11-26T21:22:45Z"
"2007-03-19T13:13:20Z"
110,916
Bug 110916 Backspace stops working (due to mouse stuck down)
Every now an then my backspace buttom stops working. Restarting eclipse fixes the problem... for a while. No other applications exhibit this behaviour. There are no indications in the error log as to what might have happened. I'm running 3.2M2
resolved fixed
fa95259
["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
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-11-26T17:41:14Z"
"2005-09-28T09:33:20Z"
208,837
Bug 208837 [Browser] On Linux, Browser does not send focus/activation events
null
resolved fixed
33c8d47
["bundles/org.eclipse.swt/Eclipse", "SWT", "Mozilla/gtk/org/eclipse/swt/browser/MozillaDelegate.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-11-22T21:35:46Z"
"2007-11-06T00:46:40Z"
204,289
Bug 204289 Closing context menu programmatically does not work when shell not active
null
resolved fixed
6bb6ca0
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Shell.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-11-20T22:42:14Z"
"2007-09-21T15:53:20Z"
210,412
Bug 210412 GC.setLineAttributes() uses "join" as "cap"
Build ID: M20071023-1652 Steps To Reproduce: 1. try to set line attributes in GC with a cap style other than the default More information: The code says "int cap = attributes.join" which should be "int cap = attributes.cap" Attached patch is based on current HEAD
resolved fixed
192f7b9
["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/graphics/GC.java", "bundles/org.eclipse.swt/Eclipse", "SWT/cocoa/org/eclipse/swt/graphics/GC.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/graphics/GC.java", "bundles/org.eclipse.swt/Eclipse", "SWT/motif/org/eclipse/swt/graphics/GC.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/GC.java", "bundles/org.eclipse.swt/Eclipse", "SWT/wpf/org/eclipse/swt/graphics/GC.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-11-20T18:44:27Z"
"2007-11-20T17:33:20Z"
206,894
Bug 206894 Linux - Control.setEnabled disables more than it should
Build ID: M20060629-1905 Steps To Reproduce: Run the following SWT program. The button in the first column of the table and the text field in the second column should operate such that if the button is selected, the text field in the same row is enabled. If the button isn't selected, the text field is disabled. The problem is on Linux if you unselect the button in the second row, it disables both the text field in its row, and the one in the first row. The problem appears to be the code in the Control.setEnabled between if (isDisposed ()) return; and if (fixFocus) fixFocus (control); As a test when I comment this code out it works as expected. More information: import java.util.Vector; import org.eclipse.jface.viewers.TableLayout; import org.eclipse.swt.SWT; import org.eclipse.swt.custom.TableEditor; import org.eclipse.swt.events.ModifyEvent; import org.eclipse.swt.events.ModifyListener; import org.eclipse.swt.events.SelectionAdapter; import org.eclipse.swt.events.SelectionEvent; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.layout.GridData; import org.eclipse.swt.widgets.Button; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; import org.eclipse.swt.widgets.Table; import org.eclipse.swt.widgets.TableColumn; import org.eclipse.swt.widgets.TableItem; import org.eclipse.swt.widgets.Text; import org.eclipse.ui.forms.widgets.FormToolkit; public class LinuxControl { public static Text conn1Text = null; public static Text conn2Text = null; public static void main(String [] args) { Vector buttonVector = new Vector(); Vector textVector = new Vector(); Display display = new Display (); Shell shell = new Shell (display); FormToolkit toolkit = new FormToolkit(shell.getDisplay()); shell.setLayout (new FillLayout ()); Table connTypeTable = new Table(shell, SWT.BORDER | SWT.MULTI); TableLayout tLayout = new TableLayout(); GridData data = new GridData(GridData.FILL_HORIZONTAL); connTypeTable.setLayoutData(data); connTypeTable.setLinesVisible(true); connTypeTable.setHeaderVisible(true); String [] headers = { "header1", "header2", "header3", "header4" }; for (int i = 0; i < headers.length; i++) { TableColumn column = new TableColumn(connTypeTable, SWT.NONE); column.setText(headers[i]); } connTypeTable.setLayout(tLayout); final Button conn1Check = toolkit.createButton(connTypeTable, "ConnType1", SWT.CHECK); conn1Check.setSelection(true); conn1Check.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { conn1Text.setEnabled(conn1Check.getSelection()); } }); buttonVector.add(conn1Check); conn1Text = new Text(connTypeTable, SWT.NONE); textVector.add(conn1Text); conn1Text.addModifyListener(new ModifyListener() { public void modifyText(ModifyEvent me) { } }); final Button conn2Check = toolkit.createButton(connTypeTable, "ConnType2", SWT.CHECK); conn2Check.setSelection(true); conn2Check.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { conn2Text.setEnabled(conn2Check.getSelection()); } }); buttonVector.add(conn2Check); conn2Text = new Text(connTypeTable, SWT.NONE); textVector.add(conn2Text); conn1Text.addModifyListener(new ModifyListener() { public void modifyText(ModifyEvent me) { } }); TableItem [] tableItems = new TableItem[2]; for (int i = 0; i < tableItems.length; i++) { tableItems[i] = new TableItem(connTypeTable, SWT.NONE); for (int j = 0; j < 4; j++) { if (j == 0) { TableEditor editor = new TableEditor(connTypeTable); Button button = (Button) buttonVector.get(i); button.setBackground(connTypeTable.getBackground()); editor.grabHorizontal = true; editor.setEditor(button, tableItems[i], j); } else if (j == 1) { TableEditor editor = new TableEditor(connTypeTable); editor.grabHorizontal = true; Text text = (Text) textVector.get(i); text.pack(); editor.setEditor(text, tableItems[i], j); } else if (j == 2) { tableItems[i].setText(j, "djakljdkla"); } else { tableItems[i].setText(j, "adadadfadfa"); } connTypeTable.getColumn(j).pack(); } } connTypeTable.pack(); shell.open (); while (!shell.isDisposed ()) { if (!display.readAndDispatch ()) display.sleep (); } display.dispose (); } }
resolved fixed
f2b99e9
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Control.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-11-19T20:34:35Z"
"2007-10-19T13:20:00Z"
210,214
Bug 210214 [OLE] Snippet265 leaks
null
resolved fixed
6f06552
["examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet265.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-11-19T20:17:17Z"
"2007-11-18T18:20:00Z"
209,854
Bug 209854 SWTException when loading large win32 ICO files
null
resolved fixed
f9a2560
["bundles/org.eclipse.swt/Eclipse", "SWT/common/org/eclipse/swt/internal/image/LEDataInputStream.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-11-19T19:09:29Z"
"2007-11-14T19:53:20Z"
209,650
Bug 209650 Cleanup after Windows browser control dispose is flawed
null
resolved fixed
5bda57c
["bundles/org.eclipse.swt/Eclipse", "SWT", "Browser/win32/org/eclipse/swt/browser/IE.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-11-19T16:59:08Z"
"2007-11-13T16:06:40Z"
206,432
Bug 206432 [Browser] Linux: SSL navigation is disabled when Mozilla profile directory does not exist
null
resolved fixed
44b9f44
["bundles/org.eclipse.swt/Eclipse", "SWT", "Mozilla/common/org/eclipse/swt/browser/AppFileLocProvider.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-11-16T20:16:37Z"
"2007-10-16T07:33:20Z"
209,752
Bug 209752 MenuItem#toString() behaves differently across platforms.
SWT Build ID: 3.4M3. Here's a test case that passes on linux/gtk/x86_64 and fails on win32: --------------------------------------- package net.sf.swtbot; import junit.framework.TestCase; import org.eclipse.swt.SWT; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Menu; import org.eclipse.swt.widgets.MenuItem; import org.eclipse.swt.widgets.Shell; /** * @author Ketan Padegaonkar &lt;KetanPadegaonkar [at] gmail [dot] com&gt; * @version $Id$ */ public class MenuQuirkTest extends TestCase { public class MenuExample { private final MenuItem menuItem; public MenuExample() { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new GridLayout()); // Create the bar menu Menu menuBar = new Menu(shell, SWT.BAR); // Create the File item's dropdown menu Menu fileMenu = new Menu(menuBar); // Create all the items in the bar menu MenuItem fileItem = new MenuItem(menuBar, SWT.CASCADE); fileItem.setText("File"); fileItem.setMenu(fileMenu); // Create all the items in the File dropdown menu MenuItem newItem = new MenuItem(fileMenu, SWT.NONE); newItem.setText("New"); // Create the first separator menuItem = new MenuItem(fileMenu, SWT.SEPARATOR); MenuItem saveItem = new MenuItem(fileMenu, SWT.NONE); saveItem.setText("Save"); shell.setMenuBar(menuBar); shell.open(); } } public void testSeparatorIsEnbledFailsAcrossPlatforms() throws Exception { MenuExample menuExample = new MenuExample(); assertEquals("MenuItem {}", menuExample.menuItem.toString()); // on win32: "MenuItem {|}" } }
resolved fixed
c5807e2
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/MenuItem.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-11-14T23:05:02Z"
"2007-11-14T06:00:00Z"
209,863
Bug 209863 Path leaks currentFigure and currentPoint when disposed
currentFigure and currentPoint should be freed in dispose
resolved fixed
3a7dc78
["bundles/org.eclipse.swt/Eclipse", "SWT/wpf/org/eclipse/swt/graphics/Path.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-11-14T21:07:39Z"
"2007-11-14T19:53:20Z"
209,339
Bug 209339 Modal shell loses focus when a second shell is opened.
This code hangs the UI since the modal shell does not have focus. public static void main(String[] args) { Display display = new Display(); final Shell shell = new Shell(display, SWT.SHELL_TRIM|SWT.APPLICATION_MODAL); shell.setText("Application Modal"); shell.setBounds(100, 100, 300, 100); shell.open(); Shell s = new Shell(display, SWT.SHELL_TRIM); s.setSize(200, 200); s.open(); s.dispose(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); }
resolved fixed
2b7cc4b
["bundles/org.eclipse.swt/Eclipse", "SWT/wpf/org/eclipse/swt/widgets/Shell.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-11-13T15:21:33Z"
"2007-11-09T14:53:20Z"
120,744
Bug 120744 [CCombo] Using CCombo breaks default button behaviour in RCP view
I have an RCP application. In one of my views I had a Text control with a Button next to it and a Table under them. I set the button up as the default button for the view's top composite' shell - using code like this: myTopComposite.getShell ().setDefaultButton (myRetrieveButton); This worked as I expected. After typing in the text box pressing the <enter> key caused the button's selection listener to recieve the widgetSelected event. Then I changed to a CCombo instead of the Text control. The default button is still being set the same way but now after typeing (or selecting a prepopulated selectin) pressing the <enter> key has no effect. If I use the mouse or <tab> key to put the focus on the table and pres the <enter> key things behave as I expected. I tried Combo (instead of CCombo) and that worked fine too. There seems to be something about the CCombo that is preventing the default button from getting the widgetSelected event when I press <enter>.
resolved fixed
4b36413
["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/CCombo.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-11-12T22:52:36Z"
"2005-12-13T21:40:00Z"
209,543
Bug 209543 Call Shell.setFullScreen(true) make the shell invisible
Build ID: I20071101-2000 Steps To Reproduce: 1. run this snippet public class FullScreenSnippet { public static void main(String[] args) { final Display display = new Display(); final Shell shell = new Shell(display); shell.setLayout(new RowLayout()); Button btn = new Button(shell, SWT.PUSH); btn.setText("make fullscreen but invisible"); btn.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { shell.setFullScreen(true); } }); shell.setMaximized(true); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } } display.dispose(); } } 2. click the button, the shell disappear. More information: My Operating System is Windows XP Prefessional SP2
resolved fixed
69091e0
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Shell.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-11-12T22:42:30Z"
"2007-11-12T20:40:00Z"
209,468
Bug 209468 StyledText#setSelection() does not reveal caret at end of line
I20071107-1300 StyledText#setSelection() does not reveal caret at end of line. Steps: - CustomControlExample > StyledText - Size: 50 X 50 - set caret to before "One" - Set/Get API - setSelection to 58,58 - give focus to the text area without changing the caret location (e.g. click to the StyledText tab and then press the Tab key) => caret is not visible (it is just after "One Two Three") This problem is also visible in Eclipse text editors when you press the End key on a long line. The "native" End key behavior in StyledText is OK.
resolved fixed
14e951a
["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/StyledText.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-11-12T17:50:30Z"
"2007-11-12T09:33:20Z"
207,819
Bug 207819 JFace tests don't run on WPF
I tried the WPF build for I20071029-0010 but it, while eclipse came up and appeared to be running correctly, it was unable to even successfully start any of the automated tests.
resolved fixed
8b33c2f
["bundles/org.eclipse.swt/Eclipse", "SWT/wpf/org/eclipse/swt/widgets/Table.java", "bundles/org.eclipse.swt/Eclipse", "SWT/wpf/org/eclipse/swt/widgets/TableColumn.java", "bundles/org.eclipse.swt/Eclipse", "SWT/wpf/org/eclipse/swt/widgets/TableItem.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-11-09T21:07:23Z"
"2007-10-29T17:46:40Z"
194,143
Bug 194143 WM_MOUSEWHEEL can send fractional deltas
The currently handlers for WM_MOUSEWHEEL in both Scrollable and Widget assume that the delta value for the scroll event will always be a multiple of OS.WHEEL_DELTA, or 120. Windows Vista changes this behavior, making WM_MOUSEWHEEL send "fractional" wheel deltas, which are slightly smaller than that. Watching the WM_MOUSEWHEEL events demonstrates that Vista frequently sends more WM_MOUSEWHEEL events with smaller deltas - for example, a delta of 90 followed by a delta of 60. SWT needs to handle these smaller fractional scroll events. Note that not all mice will cause this effect - it's only been observed in "smooth scroll" mice. Generic mice with the traditional "click"-style wheel that effectively send button presses for scrolling up and down will continue to send OS.WHEEL_DELTA increments.
resolved fixed
51ab70b
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Display.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Scrollable.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Widget.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-11-09T20:49:55Z"
"2007-06-24T18:33:20Z"
208,503
Bug 208503 SWT_AWT bridge on OS X reports incorrect message with failure
null
resolved fixed
6c51b90
["bundles/org.eclipse.swt/Eclipse", "SWT", "AWT/carbon/org/eclipse/swt/awt/SWT_AWT.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-11-08T22:22:39Z"
"2007-11-02T02:20:00Z"
208,649
Bug 208649 cannot input china punctuation
Build ID: I20071101-2000 Steps To Reproduce: 1.open a java editor or svn plugin commit dialog 2.change to china input method 3.type, editor can accept china text, but cannot accept china punctuation. More information:
closed fixed
4fc2427
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/IME.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-11-08T19:03:46Z"
"2007-11-03T03:20:00Z"
207,052
Bug 207052 Tree Listening to MeasureItem returns incorrect Client Area
Build ID: M20070921-1145 Steps To Reproduce: Run the following snippet: public class IncorrectMeasureItem { public static void main (String [] args) { final Display display = new Display (); Shell shell = new Shell (display); shell.setLayout (new FillLayout (SWT.VERTICAL)); final Tree tree = new Tree (shell, SWT.BORDER); final Tree tree2 = new Tree (shell, SWT.BORDER); final TreeItem item = new TreeItem(tree, SWT.RIGHT); final TreeItem item2 = new TreeItem(tree2, SWT.RIGHT); for (int i = 0; i < 4; ++i) { TreeItem newItem = new TreeItem(tree, SWT.None); newItem.setText("Item" + i); newItem = new TreeItem(tree2, SWT.None); newItem.setText("Item" + i); } shell.addListener(SWT.Resize, new Listener() { public void handleEvent(Event event) { item.setText(tree.getClientArea().toString()); item2.setText(tree2.getClientArea().toString()); }}); final Listener measureItemListener = new Listener() { public void handleEvent(Event event) { //do nothing }}; final Button button = new Button(shell, SWT.CHECK); button.setText("MeasureItem Listener"); button.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { if (button.getSelection()) { tree.addListener(SWT.MeasureItem, measureItemListener); } else { tree.removeListener(SWT.MeasureItem, measureItemListener); } }}); shell.pack (); shell.open (); while (!shell.isDisposed()) { if (!display.readAndDispatch ()) display.sleep (); } display.dispose (); } } Resize the window horizontally and vertically, notice that they return the same client area. Click the checkbox to add a MeasureItem listener to the first tree. Resize the window larger vertically to notice that the trees return different width. (Noteably, tree1's width is tree2's width + 17). resize the window smaller vertically and note that when then vertical scroll bar appears, the width returned is equal for the two trees. Note that removing the listener by unchecking the checkbox does not remove the symptoms. To make this effect more drastic, install a TreeEditor on the items like snippet111. The changes below is setting editor.grabHorizontal = true, text = new Text(composite, SWT.RIGHT), and removing the text size calculation (since grabHorizontal will do it). Insert this snippet before the shell.pack(). final Color black = display.getSystemColor (SWT.COLOR_BLACK); final TreeItem [] lastItem = new TreeItem [1]; final TreeEditor editor = new TreeEditor (tree); editor.grabHorizontal = true; tree.addListener (SWT.Selection, new Listener () { public void handleEvent (Event event) { final TreeItem item = (TreeItem) event.item; if (item != null && item == lastItem [0]) { boolean showBorder = true; final Composite composite = new Composite (tree, SWT.NONE); if (showBorder) composite.setBackground (black); final Text text = new Text (composite, SWT.RIGHT); final int inset = showBorder ? 1 : 0; composite.addListener (SWT.Resize, new Listener () { public void handleEvent (Event e) { Rectangle rect = composite.getClientArea (); text.setBounds (rect.x + inset, rect.y + inset, rect.width - inset * 2, rect.height - inset * 2); } }); Listener textListener = new Listener () { public void handleEvent (final Event e) { switch (e.type) { case SWT.FocusOut: item.setText (text.getText ()); composite.dispose (); break; case SWT.Traverse: switch (e.detail) { case SWT.TRAVERSE_RETURN: item.setText (text.getText ()); //FALL THROUGH case SWT.TRAVERSE_ESCAPE: composite.dispose (); e.doit = false; } break; } } }; text.addListener (SWT.FocusOut, textListener); text.addListener (SWT.Traverse, textListener); editor.setEditor (composite, item); text.setText (item.getText ()); text.selectAll (); text.setFocus (); } lastItem [0] = item; } }); More information: The difference of 17 may be related to the width of a scroll bar, or could just be coincidental.
resolved fixed
f5fda8b
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Tree.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-11-08T15:03:52Z"
"2007-10-22T13:33:20Z"
209,088
Bug 209088 Shell.getAlpha() returns inconsistent values
The javadoc doesn't seem to mention it, but I am guessing that setAlpha was meant to take a value from 0 (transparent) to 255 (opaque) to be consistent across platforms. On GTK and carbon getAlpha() returns an int from 0 to 255. On windows it returns a byte returned as an int, which can become negative. In shell.getAlpha() there is return pbAlpha [0]; I suggest: return pbAlpha[0] & 0xFF; Example code: shell.setAlpha(254) System.err.println(shell.getAlpha()); // currently returns -2, should probably return 254 to be consistent.
resolved fixed
f042739
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Shell.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-11-08T13:40:09Z"
"2007-11-07T21:13:20Z"
206,714
Bug 206714 Combo#toString() behaves differently on linux/gtk/x86_64 and windows
Combo#toString() which is actually Widget#toString(), invokes Widget#getNameText(). Subclasses of Widget are supposed to override Widget#getNameText(), which returns a default of an empty string. Apparently, Combo#getNameText() on windows is implemented such that it returns Combo#getText(). Combo#getNameText() on linux/gtk/x86_64 does not seem to be implemented -- as a result it defaults to what is returned by Widget#getNameString(). On windows this is what Combo#toString() returns: Combo {SWT.INHERIT_NONE} On linux/gtk/x86_64 this is what Combo#toString() returns: Combo {} I do not know what the behavior is on other os/ws combination.
resolved fixed
2d811a7
["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Combo.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Combo.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-11-08T00:56:44Z"
"2007-10-18T06:46:40Z"
209,039
Bug 209039 display.getMonitors() not implemented
only one monitor is returned on multi monitor systems.
resolved fixed
0a91b1b
["bundles/org.eclipse.swt/Eclipse", "SWT", "PI/wpf/org/eclipse/swt/internal/wpf/OS.java", "bundles/org.eclipse.swt/Eclipse", "SWT/wpf/org/eclipse/swt/widgets/Display.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-11-07T22:14:59Z"
"2007-11-07T15:40:00Z"
209,028
Bug 209028 Table and List test failures
null
resolved fixed
483a803
["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/List.java", "bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Table.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-11-07T16:06:17Z"
"2007-11-07T15:40:00Z"
208,675
Bug 208675 Image cheese when width of TreeColumn = 0
Run this snippet and hit the Button on the right side. Notice the image still showing. This is related to the fact that the second column is used as sortcolumn. public class Main { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new GridLayout(2, false)); Tree tree = new Tree(shell, SWT.SINGLE | SWT.FULL_SELECTION); tree.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true)); tree.setHeaderVisible(true); TreeColumn treeColumn = new TreeColumn(tree, SWT.LEAD); treeColumn.setText("Col 1"); final TreeColumn treeColumn2 = new TreeColumn(tree, SWT.LEAD); treeColumn2.setText("Col 2"); tree.setSortColumn(treeColumn2); TreeColumn treeColumn3 = new TreeColumn(tree, SWT.LEAD); treeColumn3.setText("Col 3"); TreeItem treeItem = new TreeItem(tree, SWT.NONE); treeItem.setText(0, "Hello World"); Image image = new Image(display, 16, 16); GC gc = new GC(image); gc.setBackground(display.getSystemColor(SWT.COLOR_RED)); gc.fillRectangle(image.getBounds()); gc.dispose(); treeItem.setImage(1, image); treeItem.setText(2, "Hello World"); Button button = new Button(shell, SWT.PUSH); button.setLayoutData(new GridData(SWT.BEGINNING, SWT.CENTER, false, false)); button.setText("Push Me"); button.addSelectionListener(new SelectionAdapter() { @Override public void widgetSelected(SelectionEvent e) { treeColumn2.setWidth(0); } }); for (int i = 0; i < tree.getColumnCount(); i++) { tree.getColumn(i).pack(); } shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } } } }
resolved fixed
c01f8c4
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Tree.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-11-07T12:54:46Z"
"2007-11-03T17:13:20Z"
204,393
Bug 204393 TitleAreaDialog's banner image has extraneous white borders
null
resolved fixed
046b2b1
["bundles/org.eclipse.swt/Eclipse", "SWT/wpf/org/eclipse/swt/widgets/Label.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-11-05T21:13:24Z"
"2007-09-23T23:26:40Z"
203,370
Bug 203370 [Custom Widgets] Tab height calc wrong on WPF
3.4 M1 WPF The height of CTabFolder tabs is based on the font height plus additional trim space. On WPF, there is too much space above/below the tab label. This presumably is because we're getting the wrong value from the font height calc on WPF?
resolved wontfix
7359029
["bundles/org.eclipse.swt/Eclipse", "SWT/wpf/org/eclipse/swt/widgets/ToolItem.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-11-05T17:23:40Z"
"2007-09-13T21:46:40Z"
207,927
Bug 207927 ITALIC and BORDER_* unreadable
null
resolved fixed
67b77f8
["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/graphics/TextLayout.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-11-05T15:40:39Z"
"2007-10-30T10:26:40Z"
204,561
Bug 204561 Table Javadoc is conflicting with TableEditor
There seems to be a specification conflict between org.eclipse.swt.widgets.Table and org.eclipse.swt.custom.TableEditor. Table Javadoc states the following: "Note that although this class is a subclass of Composite, it does not make sense to add Control children to it, or set a layout on it." On the other hand, TableEditor Javadoc states: "The Control provided as the editor must be created with its parent being the Table control specified in the TableEditor constructor." If a Table implementation on a platform is done according to the Javadoc specification then it won't have the support required by TableEditor. Is there a problem with TableEditor or should all the platforms support adding Composite children to Table? In that case the Javadoc/spec has to be changed.
resolved fixed
6c09b50
["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
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-11-05T13:35:03Z"
"2007-09-25T14:20:00Z"
208,566
Bug 208566 [64] cheese can appear if SetPoint is running
null
resolved fixed
bb26b87
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Display.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-11-02T15:36:49Z"
"2007-11-02T16:13:20Z"
207,662
Bug 207662 SWT.CHECK|SWT.VIRTUAL tables behave differently on Win32 and GTK/Linux
Build ID: 3.3 Steps To Reproduce: Run the attached snippet. Under Linux item number 2 and 3 aren't passed to the SetData Listener because they where "touched" using setChecked(true) and setChecked(false). Under Win32 item number 2 (setChecked(false)) is passed to the SetData Listener. The item which was setChecked(true) is not passed. Is this correct behaviour at all? That SetData isn't call when you check items? More information:
resolved fixed
0711ea2
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/TableItem.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/TreeItem.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-11-01T22:17:09Z"
"2007-10-27T10:13:20Z"
208,017
Bug 208017 Eclipse crashes when trying to print first page of .java file into PDF
null
resolved fixed
e6a8a3c
["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/StyledText.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-11-01T20:18:51Z"
"2007-10-30T16:00:00Z"
208,188
Bug 208188 MenuItem#isEnabled() works differently across platforms
Build ID: I20070625-1500 Here's a test case that passes on linux/gtk/x86_64 and fails on win32. ---------------------------------------------------------------------- package net.sf.swtbot; import junit.framework.TestCase; import org.eclipse.swt.SWT; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Menu; import org.eclipse.swt.widgets.MenuItem; import org.eclipse.swt.widgets.Shell; /** * @author Ketan Padegaonkar &lt;KetanPadegaonkar [at] gmail [dot] com&gt; * @version $Id$ */ public class MenuQuirkTest extends TestCase { public class MenuExample { private final MenuItem menuItem; public MenuExample() { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new GridLayout()); // Create the bar menu Menu menuBar = new Menu(shell, SWT.BAR); // Create the File item's dropdown menu Menu fileMenu = new Menu(menuBar); // Create all the items in the bar menu MenuItem fileItem = new MenuItem(menuBar, SWT.CASCADE); fileItem.setText("File"); fileItem.setMenu(fileMenu); // Create all the items in the File dropdown menu MenuItem newItem = new MenuItem(fileMenu, SWT.NONE); newItem.setText("New"); // Create the first separator menuItem = new MenuItem(fileMenu, SWT.SEPARATOR); MenuItem saveItem = new MenuItem(fileMenu, SWT.NONE); saveItem.setText("Save"); shell.setMenuBar(menuBar); shell.open(); } } public void testSeparatorIsEnbledFailsAcrossPlatforms() throws Exception { MenuExample menuExample = new MenuExample(); assertTrue(menuExample.menuItem.isEnabled()); } }
resolved fixed
faaf962
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/MenuItem.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-11-01T15:41:17Z"
"2007-10-31T05:53:20Z"
208,007
Bug 208007 line wrap at page end makes page number disapear when printing
null
resolved fixed
1b18e11
["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/StyledText.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-10-31T21:39:08Z"
"2007-10-30T16:00:00Z"
207,558
Bug 207558 Line numbers are printed too low
N20071026-0010. The line numbers are printed too low (using Courier New Regular 10) compared to the text (see attached picture).
resolved fixed
cba914d
["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/StyledText.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-10-31T18:12:12Z"
"2007-10-26T09:13:20Z"
207,613
Bug 207613 [Leopard] Progress dialog does not properly close on Leopard
Build ID: 3.3.1 running on OS X 10.5 Leopard Steps To Reproduce: 1. Create an IRunnableWithProgress 2. Run using the workbench progress service 3. Wait for runnable to complete More information: The progress dialog will not close unless you move the mouse.
resolved fixed
dfde6c5
["bundles/org.eclipse.swt/Eclipse", "SWT/common/org/eclipse/swt/widgets/Synchronizer.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-10-30T21:15:20Z"
"2007-10-26T20:20:00Z"
204,953
Bug 204953 [64] New project wizard does not work on Vista 64 bits
null
resolved fixed
271bf8e
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Composite.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-10-30T19:26:47Z"
"2007-09-28T20:06:40Z"
207,628
Bug 207628 Keyboard selection does not work with context menus on Leopard
Eclipse 3.3.1 on OS X 10.5 Leopard If you bring up a context menu ... say the Source menu [Command-option-s], scroll down to say Override/Implement methods, and press enter, the action is not selected and instead, the editor gets the enter key. I've also noticed that when you press the up and down arrows to select a menu, the editor cursor moves as well.
resolved fixed
6858e06
["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Display.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-10-30T17:14:06Z"
"2007-10-26T20:20:00Z"
202,782
Bug 202782 Indent in Column Header when sorting on Windows Vista
null
resolved fixed
1711d40
["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
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-10-30T08:35:19Z"
"2007-09-10T10:26:40Z"
204,571
Bug 204571 Eclipse process halted when interacting with tree.
Build ID: Build id: I20070625-1500 I'can't reproduce it reliably... it happened when I was interacting with the tree (in a CNF-based package explorer), and I was only able to see it because I always start eclipse with -Xdebug (so, I started another eclipse instance to see where it was locked). The stack where it gets halted is below. It happens on: while (hDeselectItem != hAnchor){....} that never ends. The hAnchor was always: 1330616848 and the hDeselectItem was always 0 (zero). Thread [main] (Suspended (breakpoint at line 5534 in Tree)) Tree.WM_KEYDOWN(int, int) line: 5534 Tree(Control).windowProc(int, int, int, int) line: 3701 Tree.windowProc(int, int, int, int) line: 5370 Display.windowProc(int, int, int, int) line: 4364 OS.DispatchMessageW(MSG) line: not available [native method] OS.DispatchMessage(MSG) line: 2264 Display.readAndDispatch() line: 3291 Workbench.runEventLoop(Window$IExceptionHandler, Display) line: 2389 Workbench.runUI() line: 2353 Workbench.access$4(Workbench) line: 2219 Workbench$4.run() line: 466 Realm.runWithDefault(Realm, Runnable) line: 289 Workbench.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 461 PlatformUI.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 149 IDEApplication.start(IApplicationContext) line: 106 EclipseAppHandle.run(Object) line: 153 EclipseAppLauncher.runApplication(Object) line: 106 EclipseAppLauncher.start(Object) line: 76 EclipseStarter.run(Object) line: 363 EclipseStarter.run(String[], Runnable) line: 176 NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method] NativeMethodAccessorImpl.invoke(Object, Object[]) line: 39 DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: 25 Method.invoke(Object, Object...) line: 585 Main.invokeFramework(String[], URL[]) line: 504 Main.basicRun(String[]) line: 443 Main.run(String[]) line: 1169 Main.main(String[]) line: 1144 Some other variables in that same context (hope it helps...) this Tree (id=55) accessible null background -1 backgroundImage null backgroundMode 0 columns TreeColumn[4] (id=100) currentItem null cursor null customDraw false data Object[9] (id=103) display Display (id=56) dragStarted false drawCount 0 eventTable EventTable (id=104) explorerTheme false font 722076327 foreground -1 gestureCompleted false hAnchor 1330616848 handle 2886106 headerImageList null headerToolTipHandle 0 hFirstIndexOf 1335940464 hInsert 0 hLastIndexOf 1335940464 horizontalBar ScrollBar (id=108) hSelect 0 hwndHeader 0 hwndParent 0 ignoreColumnMove false ignoreCustomDraw false ignoreDeselect false ignoreDrawBackground false ignoreDrawFocus false ignoreDrawForeground false ignoreDrawHot false ignoreDrawSelection false ignoreExpand false ignoreFullSelection false ignoreItemHeight false ignoreResize false ignoreSelect false ignoreShrink false imageList ImageList (id=110) insertAfter false itemCount 1 items TreeItem[668] (id=112) itemToolTipHandle 0 lastID 667 lastIndexOf 0 layout null layoutCount 0 layoutData null linesVisible false lockSelection false lpwp null menu Menu (id=115) newSelected false oldSelected false painted true parent Composite (id=117) printClient false scrollWidth 0 selectionForeground -1 shrink false sortColumn null sortDirection 0 state 32772 style 33555202 tabList null toolTipText null verticalBar ScrollBar (id=118) wParam 34 lParam 22085633 result null hItem 1330606776 code 0 hNewItem 1330521640 tvItem TVITEM (id=72) hDeselectItem 0 rect1 RECT (id=96) rect2 RECT (id=99) flags 6
resolved fixed
a8a9e72
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Tree.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-10-30T07:39:45Z"
"2007-09-25T17:06:40Z"
207,901
Bug 207901 custom drawn tree: 1st selection behaves oddly
Build ID: 3.3.1 M20070921-1145 I have a tree. It looks something like this, ignore the '*' for now: Text Header (i) Item long text (i) Item long text that continues * out here (i) Item more long text All of the items at the top level of the tree. The font on the Text Header item is large (2x normal & bold), but it has no icon. All of the other items have icons designated with (i). Everything is custom measured and painted. What I have found is that right after the tree is first created the hit test appears to use the width/height of the Text Header to determine selections. If I click off to the side (like where the '*' is) the Text Header is selected. Once a selection has been made SWT/Windows seems to figure out what's going on and selections occur normally. My workaround is to make and remove a selection right after item creation. If there aren't selection listeners it happens fast enough that there isn't a flicker. The tree is set up with FULL_SELECTION and has no columns. I expect selecting anywhere in the row should select that item. I'd love to give an example, and if time permits I will. At this point I'm too under the gun.
resolved fixed
62cb06d
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Tree.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-10-30T06:13:34Z"
"2007-10-30T02:06:40Z"
206,315
Bug 206315 GTK-BIDI: RTL support in CoolBar.
null
resolved fixed
98c4e6a
["bundles/org.eclipse.swt/Eclipse", "SWT/emulated/coolbar/org/eclipse/swt/widgets/CoolBar.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-10-29T21:55:38Z"
"2007-10-15T12:06:40Z"
207,852
Bug 207852 Widget disposed error when running UI test suite on WinXP
This was introduced between N20071026-0010 and N20071027-0010. Widget is disposed org.eclipse.swt.SWTException: Widget is disposed at org.eclipse.swt.SWT.error(SWT.java:3706) at org.eclipse.swt.SWT.error(SWT.java:3624) at org.eclipse.swt.SWT.error(SWT.java:3595) at org.eclipse.swt.widgets.Widget.error(Widget.java:441) at org.eclipse.swt.widgets.Widget.checkWidget(Widget.java:334) at org.eclipse.swt.widgets.Control.setBounds(Control.java:2568) at org.eclipse.swt.widgets.CoolBar.wmNotifyChild(CoolBar.java:1127) at org.eclipse.swt.widgets.Control.wmNotify(Control.java:4703) at org.eclipse.swt.widgets.Composite.wmNotify(Composite.java:1723) at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:4333) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3826) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4436) at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:2233) at org.eclipse.swt.widgets.CoolBar.callWindowProc(CoolBar.java:115) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3862) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4423) at org.eclipse.swt.internal.win32.OS.SendMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.SendMessage(OS.java:2995) at org.eclipse.swt.widgets.CoolBar.resizeToMaximumWidth(CoolBar.java:696) at org.eclipse.swt.widgets.CoolBar.destroyItem(CoolBar.java:312) at org.eclipse.swt.widgets.CoolItem.destroyWidget(CoolItem.java:199) at org.eclipse.swt.widgets.Widget.release(Widget.java:759) at org.eclipse.swt.widgets.Widget.dispose(Widget.java:419) at org.eclipse.jface.action.ToolBarContributionItem.dispose(ToolBarContributionItem.java:170) at org.eclipse.ui.internal.EditorActionBars.dispose(EditorActionBars.java:195) at org.eclipse.ui.internal.EditorManager.disposeEditorActionBars(EditorManager.java:363) at org.eclipse.ui.internal.EditorReference.doDisposePart(EditorReference.java:300) at org.eclipse.ui.internal.WorkbenchPartReference.dispose(WorkbenchPartReference.java:681) at org.eclipse.ui.internal.WorkbenchPage.disposePart(WorkbenchPage.java:1586) at org.eclipse.ui.internal.WorkbenchPage.handleDeferredEvents(WorkbenchPage.java:1345) at org.eclipse.ui.internal.WorkbenchPage.deferUpdates(WorkbenchPage.java:1329) at org.eclipse.ui.internal.WorkbenchPage.closeEditors(WorkbenchPage.java:1303) at org.eclipse.ui.internal.WorkbenchPage.closeAllEditors(WorkbenchPage.java:1122) at org.eclipse.ui.internal.WorkbenchPage.dispose(WorkbenchPage.java:1635) at org.eclipse.ui.internal.WorkbenchWindow.closeAllPages(WorkbenchWindow.java:825) at org.eclipse.ui.internal.WorkbenchWindow.hardClose(WorkbenchWindow.java:1559) at org.eclipse.ui.internal.WorkbenchWindow.busyClose(WorkbenchWindow.java:699) at org.eclipse.ui.internal.WorkbenchWindow.access$0(WorkbenchWindow.java:675) at org.eclipse.ui.internal.WorkbenchWindow$2.run(WorkbenchWindow.java:790) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67) at org.eclipse.ui.internal.WorkbenchWindow.close(WorkbenchWindow.java:788) at org.eclipse.ui.tests.harness.util.UITestCase.closeAllTestWindows(UITestCase.java:274) at org.eclipse.ui.tests.harness.util.UITestCase.doTearDown(UITestCase.java:215) at org.eclipse.ui.tests.harness.util.UITestCase.tearDown(UITestCase.java:203) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:354) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:206) at org.eclipse.test.UITestApplication$3.run(UITestApplication.java:195) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:124) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3721) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3358) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2395) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2359) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2225) at org.eclipse.ui.internal.Workbench$4.run(Workbench.java:468) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:288) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:463) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:106) at org.eclipse.test.UITestApplication.runApplication(UITestApplication.java:138) at org.eclipse.test.UITestApplication.run(UITestApplication.java:60) at org.eclipse.test.UITestApplication.start(UITestApplication.java:210) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:193) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:106) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:76) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:362) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:175) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:515) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:455) at org.eclipse.equinox.launcher.Main.run(Main.java:1193) at org.eclipse.equinox.launcher.Main.main(Main.java:1169) at org.eclipse.core.launcher.Main.main(Main.java:30)
resolved fixed
85b050d
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Composite.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-10-29T21:10:09Z"
"2007-10-29T20:33:20Z"
207,744
Bug 207744 [Contributions] Debug toolbar dropdown menu closes when submenu hidden
I20071029-0010 - Open Debug toolbar dropdown menu - move mouse to 'Debug As...' such that submenu shows up - move mouse away => dropdown menu closed
verified fixed
443e66e
["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/Menu.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/MenuItem.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-10-29T19:01:42Z"
"2007-10-29T09:26:40Z"
207,605
Bug 207605 GTK-BIDI: RTL support in PrintDialog
Since we're fixing this for all dialogs, we need to fix the PrintDialog as well.
resolved fixed
2fe6f26
["bundles/org.eclipse.swt/Eclipse", "SWT", "Printing/gtk/org/eclipse/swt/printing/PrintDialog.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Display.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-10-26T21:44:36Z"
"2007-10-26T17:33:20Z"
206,786
Bug 206786 GTK-BIDI: RTL support in ScrollBar.
null
resolved fixed
57b9842
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/ScrollBar.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-10-26T21:43:04Z"
"2007-10-18T15:06:40Z"
206,749
Bug 206749 GTK-BIDI: RTL support in MessageBox
null
resolved fixed
11ac2f3
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/MessageBox.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-10-26T21:42:06Z"
"2007-10-18T12:20:00Z"
206,609
Bug 206609 GTK-BIDI: RTL support in FontDialog
null
resolved fixed
9a40e4c
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/FontDialog.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-10-26T21:41:06Z"
"2007-10-17T11:20:00Z"
206,722
Bug 206722 GTK-BIDI: RTL support in FileDialog.
null
resolved fixed
25622bd
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/FileDialog.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-10-26T21:38:55Z"
"2007-10-18T09:33:20Z"
206,661
Bug 206661 GTK-BIDI: RTL support in DirectoryDialog.
null
resolved fixed
6cbfed1
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/DirectoryDialog.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-10-26T21:37:49Z"
"2007-10-17T16:53:20Z"
206,602
Bug 206602 GTK-BIDI: RTL support in ColorDialog
null
resolved fixed
6cef4b5
["bundles/org.eclipse.swt/Eclipse", "SWT/common/org/eclipse/swt/widgets/Dialog.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/ColorDialog.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-10-26T21:36:26Z"
"2007-10-17T11:20:00Z"
207,266
Bug 207266 Target editor's content tab buttons disappear completely
null
resolved fixed
46885e5
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Button.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-10-26T15:50:57Z"
"2007-10-24T10:00:00Z"
207,472
Bug 207472 "Dancing Scrollbar" in Tree
For a while I am seeing a weird bug, where the scrollbar thumb of a Tree shows on the bottom, although it should be on top. As soon as I move the mouse over the Tree, the thumb moves up to the correct position (see the two screen shots). I tried to get this into a snippet, but was unable to reproduce outside of RSSOwl. It is reproducable every time in RSSOwl. What I have found out so far is: - Its unrelated to using Custom Owner Drawn - Its related to using Columns - Its related to having parent tree items with childs And most importantly: Its related to executing a UIJob from inside a Job that sets the input to the Viewer. That is, executing a display.asyncExec() from a Thread. I was unable to reproduce in RSSOwl 2 as soon as I changed the UIJob to use display.syncExec AND executing it from the UI Thread instead a Job. Any ideas where I could look into to find out more? Ben
resolved fixed
26a6786
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Tree.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-10-26T15:24:07Z"
"2007-10-25T16:33:20Z"
117,580
Bug 117580 Modal behavior on GTK when I ask for modeless
If you do something simple like this on GTK: Shell shell = new Shell(parentShell, SWT.CLOSE | SWT.MODELESS); shell.open(); where the parent shell is a workbench window, you see a dialog and you can still access the workbench. So far so good. Now try it where the parent shell is a modal dialog, like the New Project wizard - you see the shell, but it blocks the wizard (it is modal). So it seems to depends on the context. This is causing problems with the existing context help window: Open the New Project wizard and hit Shift-F1, then try to follow the steps in a help page; you can't because you can't go back to the wizard unless you close the help window. We're going to be bringing cheat sheets right up to dialogs in 3.2 so that you can follow along, but this is preventing us from doing so in GTK, which is why I mark it as major.
resolved fixed
e30f469
["bundles/org.eclipse.swt/Eclipse", "SWT", "Printing/gtk/org/eclipse/swt/printing/PrintDialog.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/ColorDialog.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/DirectoryDialog.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Display.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/FileDialog.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/FontDialog.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/MessageBox.java", "bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Shell.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-10-25T15:12:16Z"
"2005-11-22T20:06:40Z"
207,347
Bug 207347 Snippet279 draws bad (draw icon with GDI+ gc)
null
resolved fixed
a5498b0
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/Image.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-10-24T18:54:17Z"
"2007-10-24T18:20:00Z"
206,743
Bug 206743 Tree with columns has drawing errors when resizing to a minimum
null
resolved fixed
a6f9842
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Tree.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-10-22T21:49:49Z"
"2007-10-18T12:20:00Z"
206,806
Bug 206806 getItemCount() incorrect in Vista for VIRTUAL trees
When you ask an item's parent for it's count on Vista it will give you the count of the number of items that have had the SetData callback called, not the item count set by setItemCount(). In the snipped below when we change from a flat list to a tree we will get incorrect parent item counts when it is queried. This is a serious issue for the tree viewer which relies on the parent's item count to determine reuse of widgets. Note that this does not happen the first time to bring this up - you have to switch from tree with a node expanded to flat and back again. package virtualtest; import org.eclipse.swt.SWT; import org.eclipse.swt.events.SelectionAdapter; import org.eclipse.swt.events.SelectionEvent; import org.eclipse.swt.layout.GridData; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.Button; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Event; import org.eclipse.swt.widgets.Listener; import org.eclipse.swt.widgets.Shell; import org.eclipse.swt.widgets.Tree; import org.eclipse.swt.widgets.TreeItem; public class TestVirtualTree { String TREE_LABEL = "Tree"; String FLAT_LABEL = "Flat"; boolean showingTree = true; public TestVirtualTree(Shell shell) { shell.setLayout(new GridLayout()); final Button button = new Button(shell, SWT.PUSH); button.setText(TREE_LABEL); final Tree tree = new Tree(shell, SWT.VIRTUAL); tree.setLayoutData(new GridData(400, 600)); tree.setItemCount(100); tree.addListener(SWT.SetData, new Listener() { @Override public void handleEvent(Event event) { TreeItem item = (TreeItem) event.item; int index = event.index; if (item.getParentItem() == null) { item.setItemCount(showingTree ? 10 : 0); item.setText(" ITEM " + String.valueOf(index) + " count = " + String.valueOf(item.getItemCount())); } else { item.setText(" ITEM " + String.valueOf(index) + " parent count = " + String.valueOf(item.getParentItem() .getItemCount())); } } }); button.addSelectionListener(new SelectionAdapter() { @Override public void widgetSelected(SelectionEvent e) { button.setText(showingTree ? FLAT_LABEL : TREE_LABEL); showingTree = !showingTree; tree.clearAll(true); } }); } /** * @param args */ public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); new TestVirtualTree(shell); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } }
resolved fixed
c307f97
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Tree.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-10-22T19:16:23Z"
"2007-10-18T17:53:20Z"
205,795
Bug 205795 UNDERLINE_ERROR text style does not work for IME strings
null
verified fixed
ca108ad
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/graphics/TextLayout.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-10-19T18:14:06Z"
"2007-10-09T08:53:20Z"
205,928
Bug 205928 underline text style needs clarification
I20071009-0800. The Javadoc of the old 'underline' and the new 'underlineStyle' need clarification: how do they relate to each other? - does 'underline' need to be true if 'underlineStyle' is set? - what style is used if only 'underline' is true but no style provided? I suggest that - 'underline' must be set to 'true' in order to get text underlined - the default style is spec'ed to be 'UNDERLINE_SINGLE'
verified fixed
ac1d00f
["bundles/org.eclipse.swt/Eclipse", "SWT/common/org/eclipse/swt/graphics/TextStyle.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-10-18T19:25:38Z"
"2007-10-10T15:26:40Z"
204,626
Bug 204626 [Browser] Intermittent crash on OS X in embedded browser when cancelling a download.
Build ID: I20070625-1500 Steps To Reproduce: 1. Open internal Web Browser View 2. Browse to a website that has a link to a file to download 3. Click the file link, save dialog should come up 4. Hit cancel 5. Repeat until crash occurs More information: The problem is in org.eclipse.swt.carbon.macosx.Safari in the method decideDestinationWithSuggestedFilename(). In the code where it says if (path == null) (cancel case), it should be sending Cocoa.S_cancel instead of S.release. This is during a delegate callback handler for the NSURLDownload, releasing the object during this callback can cause bad memory access exceptions. Here is a piece of the crash log: Command: eclipse Path: /Users/gcomnino/Desktop/eclipse3.4M1/Eclipse.app/Contents/MacOS/eclipse Parent: WindowServer [239] Version: 3.3 (3.3) PID: 1446 Thread: 0 Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_INVALID_ADDRESS (0x0001) at 0xa1a78a48 Thread 0 Crashed: 0 libobjc.A.dylib 0x90a59391 objc_msgSend + 33 1 com.apple.Foundation 0x9293607c -[NSURLDownload _writeDataForkData:resourceForkData:] + 44 2 com.apple.Foundation 0x92935bc0 -[NSURLDownload _decodeDownloadData:] + 161 3 com.apple.Foundation 0x92935108 -[NSURLDownload connection:didReceiveData:lengthReceived:] + 164 4 com.apple.Foundation 0x9285aafa -[NSURLConnection(NSURLConnectionInternal) _sendDidReceiveDataCallback] + 641 5 com.apple.Foundation 0x92858ddb -[NSURLConnection(NSURLConnectionInternal) _sendCallbacks] + 686 6 com.apple.Foundation 0x92858ab5 _sendCallbacks + 201 7 com.apple.CoreFoundation 0x9082cf92 CFRunLoopRunSpecific + 1213 8 com.apple.CoreFoundation 0x9082cace CFRunLoopRunInMode + 61 9 libswt-pi-carbon-3406.jnilib 0x1214d6df Java_org_eclipse_swt_internal_carbon_OS_CFRunLoopRunInMode + 61
resolved fixed
3528d69
["bundles/org.eclipse.swt/Eclipse", "SWT", "Browser/carbon/org/eclipse/swt/browser/Safari.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-10-17T21:27:15Z"
"2007-09-26T01:26:40Z"
205,983
Bug 205983 Mnemonics should not turn on until ALT is pressed
null
resolved fixed
38b82bb
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Composite.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-10-12T19:57:28Z"
"2007-10-10T21:00:00Z"
205,459
Bug 205459 Exception in Mozilla browser code not caught, leads to crash
null
resolved fixed
c7e1ac2
["bundles/org.eclipse.swt/Eclipse", "SWT", "Mozilla/common/org/eclipse/swt/internal/mozilla/XPCOMObject.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-10-04T16:16:17Z"
"2007-10-04T15:00:00Z"
198,673
Bug 198673 SWT: Program.getImageData() returns null when icon name has quotes.
Build ID: R-3.3-200706251500 Steps To Reproduce: My VLC application is registered for several extensions, but not all the ones it supports. In the registry, there is: VLC.aac, VLC.ac3, etc. Now VLC.ac3 is registered for the ac3 extension, and the getImageData() works. But for VLC.aac, getImageData() returns null. In the registry though, the two entries map to the same DefaultIcon. I found that the icon contains double quotes in its path. The entry is: "C:\Program Files\VideoLAN\VLC\vlc.exe", 0 In the Program.getImageData(), in the code that executes when the extension is null, I modified the value (at runtime) of the filename (after the substring in that case) to remove the double quotes, and it does return a non null image data. I guess the code should check if the name contains quotes and remove them before extracting the icon. More information: SWT 3.3 win32 Final Release - 25 June 2007
resolved fixed
df450ae
["bundles/org.eclipse.swt/Eclipse", "SWT", "Program/win32/org/eclipse/swt/program/Program.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-10-03T21:18:43Z"
"2007-08-02T13:06:40Z"
205,130
Bug 205130 Expanding/Collapsing tree nodes in Quick Windows closes window
- on Mac open the Quick Outline on some Java CU - expand/collapse any node wioth children Observe: a single click expands/collapses the node *and* closes the window. In addition single clicking on any tree item closes the window too (I'm not sure whether this is the correct behavior).
resolved fixed
b2b1219
["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Tree.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-10-03T18:49:42Z"
"2007-10-01T23:06:40Z"
205,063
Bug 205063 Compare viewer does not draw background colors for changes (StyledText)
null
resolved fixed
34ce88e
["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/StyledTextRenderer.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-10-01T19:40:54Z"
"2007-10-01T14:46:40Z"
73,645
Bug 73645 Custom caret problems
M200409080800 (3.0.1) -open Java editor with source -turn off "Smart Insert Mode" via Edit menu Observe: the caret should have a gap in the center (that's OK, no problem here) - move caret horizontally with cursor keys Observe: sometimes caret "sticks" to old position and you get a new caret at the new position, so effectively two carets are visible (but only one blinks). - pull down a menu from the menubar so that the menu covers the area where the caret is Observe: the caret draws on top of the menu
resolved fixed
828423f
["bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Canvas.java", "bundles/org.eclipse.swt/Eclipse", "SWT/carbon/org/eclipse/swt/widgets/Caret.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-10-01T19:26:34Z"
"2004-09-10T09:53:20Z"
205,099
Bug 205099 Creating a button clears mnemonics
public static void main (String [] args) { Display display = new Display (); final Shell shell = new Shell (display); shell.setLayout (new RowLayout ()); Table table = new Table (shell, SWT.NONE); for (int i=0; i<8; i++) { TableItem item = new TableItem (table, SWT.NONE); item.setText (i + " Item " + i + " that is really wide!"); } Tree tree = new Tree (shell, SWT.NONE); for (int i=0; i<8; i++) { TreeItem item = new TreeItem (tree, SWT.NONE); item.setText (i + " Item " + i + " that is really wide!"); } Canvas canvas = new Canvas (shell, SWT.BORDER); Listener listener = new Listener () { public void handleEvent (Event e) { GC gc = e.gc; gc.drawRectangle(10, 10, 20, 20); gc.drawFocus(12, 12, 17, 17); } }; canvas.addListener (SWT.Paint, listener); Button button = new Button (shell, SWT.PUSH); button.setText ("&Create a Control"); button.addListener (SWT.Selection, new Listener () { public void handleEvent (Event e) { new Button (shell, SWT.NONE).dispose (); //CLEARS FOCUS DRAWING } }); shell.pack (); shell.open (); while (!shell.isDisposed ()) { if (!display.readAndDispatch ()) display.sleep (); } display.dispose (); }
resolved fixed
3838c6e
["bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Button.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Control.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Group.java", "bundles/org.eclipse.swt/Eclipse", "SWT/win32/org/eclipse/swt/widgets/Widget.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-10-01T19:00:15Z"
"2007-10-01T17:33:20Z"
202,672
Bug 202672 Accessibility: ROLE_TABLE does not work correctly on GTK
Returning a role of ACC.ROLE_TABLE[*] in Accessible.getRole() currently confuses GTK's gnopernicus, and as a result it does not speak the name strings of table headers or cells. Until this bug is fixed, a workaround for this is to return ACC.ROLE_LIST for the table, and ACC.ROLE_LISTITEM for the table cells when SWT is running on GTK. Here is an example snippet that shows this workaround (see the getRole method): import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; import org.eclipse.swt.accessibility.*; import org.eclipse.swt.layout.*; import org.eclipse.swt.graphics.*; public class AccessibleCustomTable { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display, SWT.SHELL_TRIM); shell.setLayout(new GridLayout()); CustomTable table = new CustomTable(shell, SWT.BORDER); table.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true)); table.setColumnCount(3); table.setRowCount(5); for (int row = 0; row < table.getRowCount(); row++) { for (int col = 0; col < table.getColumnCount(); col++) { CustomTableCell cell = new CustomTableCell(table, SWT.NONE); cell.setText("cell " + col + "/" + row); } } Button button = new Button(shell, SWT.PUSH); button.setLayoutData(new GridData(SWT.FILL, SWT.CENTER, true, false)); button.setText("Sibling control for testing focus changes"); table.setFocus(); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } static class CustomTableCell { String text; Rectangle bounds; public CustomTableCell(Composite parent, int style) { ((CustomTable)parent).addCell(this); } public void setText(String text) { this.text = text; } public String getText() { return text; } public Rectangle getBounds() { return bounds; } } static class CustomTable extends Composite { CustomTableCell cells[] = new CustomTableCell[0]; int columnCount, rowCount; int focusIndex = 0; public CustomTable(Composite parent, int style) { super(parent, style); initAccessible(); int[] events = new int[]{ SWT.FocusIn, SWT.FocusOut, SWT.KeyDown, SWT.MouseDown, SWT.Paint, SWT.Resize, SWT.Traverse, }; for (int i = 0; i < events.length; i++) { addListener(events[i], new Listener() { public void handleEvent(Event event) { switch (event.type) { case SWT.FocusIn: onFocus(event); break; case SWT.FocusOut: onFocus(event); break; case SWT.KeyDown: onKeyDown(event); break; case SWT.MouseDown: onMouseDown(event); break; case SWT.Paint: onPaint(event); break; case SWT.Resize: onResize(event); break; case SWT.Traverse: onTraverse(event); break; } } }); } } public void setColumnCount(int columnCount) { this.columnCount = columnCount; } public int getColumnCount() { return columnCount; } public void setRowCount(int rowCount) { this.rowCount = rowCount; } public int getRowCount() { return rowCount; } void addCell(CustomTableCell customTableCell) { CustomTableCell[] newCells = new CustomTableCell[cells.length + 1]; System.arraycopy(cells, 0, newCells, 0, cells.length); cells = newCells; cells[cells.length - 1] = customTableCell; } protected void onFocus(Event event) { redraw(); getAccessible().setFocus(focusIndex); } void onKeyDown(Event event) { // Hook a key event so that the custom table can take focus. } void onMouseDown(Event event) { Point pt = new Point(event.x, event.y); for (int index = 0; index < cells.length; index++) { if (cells[index].getBounds().contains(pt)) { focusIndex = index; break; } } redraw(); getAccessible().setFocus(focusIndex); } void onPaint(Event event) { GC gc = event.gc; // Draw the grid lines Rectangle bounds = getBounds(); int columnWidth = bounds.width / columnCount; int rowHeight = bounds.height / rowCount; int x = columnWidth; for (int col = 0; col < columnCount - 1; col++) { gc.drawLine(x, 0, x, bounds.height); x += columnWidth; } int y = rowHeight; for (int row = 0; row < rowCount - 1; row++) { gc.drawLine(0, y, bounds.width, y); y += rowHeight; } // Draw the text centered in the cells int fontHeight = getFont().getFontData()[0].getHeight(); int yOffset = (rowHeight - fontHeight) / 2; for (int col = 0; col < columnCount; col++) { for (int row = 0; row < rowCount; row++) { int index = row * columnCount + col; String text = cells[index].getText(); int stringWidth = gc.stringExtent(text).x; int xOffset = (columnWidth - stringWidth) / 2; gc.drawString(text, col * columnWidth + xOffset, row * rowHeight + yOffset, true); } } // Draw the focus rectangle if (isFocusControl()) { int row = focusIndex / columnCount; int col = focusIndex - row * columnCount; gc.drawFocus(col * columnWidth, row * rowHeight, columnWidth, rowHeight); } } void onResize(Event event) { // Cache the bounds of each cell Rectangle bounds = getBounds(); int columnWidth = bounds.width / columnCount; int rowHeight = bounds.height / rowCount; int x = 0; for (int col = 0; col < columnCount; col++) { int y = 0; for (int row = 0; row < rowCount; row++) { int index = row * columnCount + col; cells[index].bounds = new Rectangle(x, y, columnWidth, rowHeight); y += rowHeight; } x += columnWidth; } } void onTraverse(Event event) { switch (event.detail) { case SWT.TRAVERSE_ESCAPE: case SWT.TRAVERSE_RETURN: case SWT.TRAVERSE_TAB_NEXT: case SWT.TRAVERSE_TAB_PREVIOUS: if (isFocusControl()) event.doit = true; break; case SWT.TRAVERSE_ARROW_NEXT: focusIndex++; if (focusIndex >= cells.length) focusIndex = 0; event.doit = true; event.detail = SWT.TRAVERSE_NONE; getAccessible().setFocus(focusIndex); break; case SWT.TRAVERSE_ARROW_PREVIOUS: if (focusIndex <= 0) focusIndex = cells.length; focusIndex--; event.doit = true; event.detail = SWT.TRAVERSE_NONE; getAccessible().setFocus(focusIndex); break; } redraw(); } void initAccessible() { Accessible accessible = getAccessible(); accessible.addAccessibleListener(new AccessibleAdapter() { public void getName(AccessibleEvent e) { if (e.childID != ACC.CHILDID_SELF) { e.result = cells[e.childID].text; } } public void getHelp(AccessibleEvent e) { if (e.childID != ACC.CHILDID_SELF) { int row = e.childID / columnCount; int col = e.childID - row * columnCount; e.result = "This is the cell in row " + row + " column " + col; } } }); accessible.addAccessibleControlListener(new AccessibleControlAdapter() { public void getChildAtPoint(AccessibleControlEvent e) { int childID = ACC.CHILDID_NONE; Point pt = toControl(e.x, e.y); for (int index = 0; index < cells.length; index++) { if (cells[index].getBounds().contains(pt)) { childID = index; break; } } if (childID == ACC.CHILDID_NONE) { if (getBounds().contains(pt)) { childID = ACC.CHILDID_SELF; } } e.childID = childID; } public void getLocation(AccessibleControlEvent e) { Rectangle bounds = getBounds(); if (e.childID != ACC.CHILDID_SELF) { bounds = cells[e.childID].getBounds(); } Point pt = toDisplay(bounds.x, bounds.y); e.x = pt.x; e.y = pt.y; e.width = bounds.width; e.height = bounds.height; } public void getChildCount(AccessibleControlEvent e) { e.detail = cells.length; } public void getFocus(AccessibleControlEvent e) { if (isFocusControl()) { e.childID = focusIndex; } else { e.childID = ACC.CHILDID_NONE; } } public void getRole(AccessibleControlEvent e) { if (e.childID == ACC.CHILDID_SELF) { e.detail = (SWT.getPlatform().equals("gtk")) ? ACC.ROLE_LIST : ACC.ROLE_TABLE; } else if (e.childID >= 0 && e.childID < cells.length) { e.detail = (SWT.getPlatform().equals("gtk")) ? ACC.ROLE_LISTITEM : ACC.ROLE_TABLECELL; } } public void getSelection(AccessibleControlEvent e) { e.childID = (focusIndex == -1) ? ACC.CHILDID_NONE : focusIndex; } public void getState(AccessibleControlEvent e) { int state = 0; if (e.childID == ACC.CHILDID_SELF) { state = ACC.STATE_NORMAL; } else if (e.childID >= 0 && e.childID < cells.length) { state = ACC.STATE_SELECTABLE; if (isFocusControl()) { state |= ACC.STATE_FOCUSABLE; } if (e.childID == focusIndex) { state |= ACC.STATE_SELECTED; if (isFocusControl()) { state |= ACC.STATE_FOCUSED; } } } e.detail = state; } public void getChildren(AccessibleControlEvent e) { Object[] children = new Object[cells.length]; for (int i = 0; i < cells.length; i++) { children[i] = new Integer(i); } e.children = children; } }); } } }
resolved fixed
1e794f0
["bundles/org.eclipse.swt/Eclipse", "SWT", "Accessibility/gtk/org/eclipse/swt/accessibility/AccessibleObject.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-09-27T19:01:53Z"
"2007-09-07T18:33:20Z"
204,008
Bug 204008 StyledText.doMouseWordSelect - NPE
Build ID: swt.version=3346 Steps To Reproduce: I've seen this exception several times in our logs but I cannot seem to reproduce the exception. I may be focus to/from a StyledText with selected text. It may be selected text word wrap. I wish I could help more. I cannot seem to reproduce it, but our clients can More information: java.lang.NullPointerException at org.eclipse.swt.custom.StyledText.doMouseWordSelect(Unknown Source) at org.eclipse.swt.custom.StyledText.doMouseLocationChange(Unknown Source) at org.eclipse.swt.custom.StyledText.handleMouseMove(Unknown Source) at org.eclipse.swt.custom.StyledText$7.handleEvent(Unknown Source) at org.eclipse.swt.widgets.EventTable.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Widget.sendEvent(Unknown Source) at org.eclipse.swt.widgets.Display.runDeferredEvents(Unknown Source) at org.eclipse.swt.widgets.Display.readAndDispatch(Unknown Source) at XXX.main(XXX.java:676) {XXX Used to protect our privacy}
resolved fixed
e71fa4d
["bundles/org.eclipse.swt/Eclipse", "SWT", "Custom", "Widgets/common/org/eclipse/swt/custom/StyledText.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-09-26T15:33:43Z"
"2007-09-19T16:40:00Z"
204,330
Bug 204330 [Launcher] JVM crash on splash teardown on linux.gtk.x86
Run the attached testApplication (use the ap.product file to launch as an application). Get a JVM crash as the splash screen is torn down. The application does the following: public Object start(IApplicationContext context) throws Exception { Display display = PlatformUI.createDisplay(); display.dispose(); return IApplication.EXIT_OK; } Crash happens when the launcher calls g_main_context_iteration to spin the event loop to take down the splash. Crash does not occur if Platform.endSplash() is inserted before display.dispose()
resolved fixed
1cafb9b
["bundles/org.eclipse.swt/Eclipse", "SWT/gtk/org/eclipse/swt/widgets/Display.java"]
SWT
https://github.com/eclipse-platform/eclipse.platform.swt
eclipse-platform/eclipse.platform.swt
java
null
null
null
"2007-09-24T13:55:07Z"
"2007-09-21T21:26:40Z"