id
int64 1
6.5k
| bug_id
int64 2.03k
426k
| summary
stringlengths 9
251
| description
stringlengths 1
32.8k
⌀ | report_time
stringlengths 19
19
| report_timestamp
int64 1B
1.39B
| status
stringclasses 6
values | commit
stringlengths 7
9
| commit_timestamp
int64 1B
1.39B
| files
stringlengths 25
32.8k
| project_name
stringclasses 6
values |
---|---|---|---|---|---|---|---|---|---|---|
1,761 | 216,805 |
Bug 216805 [Browser] shutting down XPCOM glue can lead to crash with sun 1.6 jre
| null |
2008-01-28 14:20:09
| 1,201,550,000 |
resolved fixed
|
dcf63b8
| 1,201,560,000 |
bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/Mozilla.java
|
SWT
|
1,762 | 196,864 |
Bug 196864 Toolbar should support animated gifs
|
Build ID: 3.3 Steps To Reproduce: Currently if an animated gif is passed to the toolbar it will just display a still image instead of the animation itself. We need toolbars to have the ability to support and display animated gifs. More information:
|
2007-07-17 15:19:09
| 1,184,700,000 |
resolved fixed
|
a8dee29
| 1,201,560,000 |
examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet288.java
|
SWT
|
1,763 | 211,531 |
Bug 211531 [Browser] Stop calling HIJavaViewCreateWithCocoaView
|
Build ID: n/a Steps To Reproduce: The SWT calls HIJavaViewCreateWithCocoaView to create an HIView that embeds an AWT frame. While it's now just a pass-through to HICocoaViewCreate, it's still SPI, so new work that is Leopard-only (like the Cocoa port) should not use it. Use HICocoaViewCreate instead.
|
2007-11-29 19:27:48
| 1,196,380,000 |
resolved fixed
|
179cb47
| 1,201,540,000 |
bundles/org.eclipse.swt/Eclipse SWT Mozilla/carbon/org/eclipse/swt/browser/MozillaDelegate.java
|
SWT
|
1,764 | 190,793 |
Bug 190793 GTK Printing getClipping returns [0,0,1,1]
| null |
2007-06-04 08:49:32
| 1,180,960,000 |
resolved fixed
|
665d789
| 1,201,540,000 |
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
|
SWT
|
1,765 | 216,482 |
Bug 216482 Different table behaviour after SWT.MeasureItem/SWT.PaintItem event under Windows XP and Vista
| null |
2008-01-24 13:05:50
| 1,201,200,000 |
resolved fixed
|
f04e618
| 1,201,310,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
|
SWT
|
1,766 | 216,431 |
Bug 216431 SWT_AWT: sun.awt.EmbeddedFrame is activated incorrectly
|
SWT activates the sun.awt.EmbeddedFrame by means of dispatching it the WINDOW_ACTIVATED & WINDOW_GAINED_FOCUS events (on opening an embedding shell). From AWT's perspective the EmbeddedFrame is a heavyweight component (particularly a toplevel window). A heavyweight component (in contrast to a lightweight) actually can't be focused by simply dispatching (or posting) it a focus event. Setting it a focused component should be made on the native level. The approach used by SWT has worked prior to JDK 1.5 but no longer works. Unfortunately, the only reason it worked was a bug in AWT. The bug has been fixed and then for activation of the EmbeddedFrame there has been introduced another (correct) way, namely the following method in the sun.awt.EmbeddedFrame class: /** * Synthesize native message to activate or deactivate EmbeddedFrame * window depending on the value of parameter <code>b</code>. * Peers should override this method if they are to implement * this functionality. * @param b if <code>true</code>, activates the window; * otherwise, deactivates the window */ public void synthesizeWindowActivation(boolean b) Since JDK 1.5, in order to activate the EmbeddedFrame this method should be called (with the parameter set to "true") instead of dispatching the WINDOW_ACTIVATED & WINDOW_GAINED_FOCUS events. This method serves to activate the EmbeddedFrame on the native level. It correctly generates appropriate activation & focus Java events that are dispatched asynchronously. The testcase below reproduces the problem. When it's run with JDK 1.4 the button is focused when the shell is opened, with JDK 1.5 it's not. -------------------------------------------- import java.awt.Frame; import javax.swing.JButton; import org.eclipse.swt.SWT; import org.eclipse.swt.awt.SWT_AWT; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.widgets.Composite; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; public class SwtAwtBridge { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); shell.setSize(100, 100); Frame swingFrame = SWT_AWT.new_Frame(new Composite(shell, SWT.EMBEDDED)); JButton button = new JButton("button"); swingFrame.add(button); button.requestFocusInWindow(); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } } --------------------------------------------
|
2008-01-24 08:46:39
| 1,201,180,000 |
resolved fixed
|
a13c1fa
| 1,201,300,000 |
bundles/org.eclipse.swt/Eclipse SWT AWT/win32/org/eclipse/swt/awt/SWT_AWT.java
|
SWT
|
1,767 | 210,756 |
Bug 210756 Closing context menu programmatically does not work on the Mac
| null |
2007-11-23 08:25:11
| 1,195,820,000 |
resolved fixed
|
aaa7920
| 1,201,300,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Menu.java
|
SWT
|
1,768 | 216,614 |
Bug 216614 NPE in image
|
I'm getting some NPEs in the Image constructor from last night's nightly on windows XP: java.lang.NullPointerException at org.eclipse.swt.graphics.Image.init(Image.java:1805) at org.eclipse.swt.graphics.Image.init(Image.java:1936) at org.eclipse.swt.graphics.Image.<init>(Image.java:484) at org.eclipse.jface.resource.ImageDescriptor.createImage(ImageDescriptor.java:289) at org.eclipse.jface.resource.ImageDescriptor.createImage(ImageDescriptor.java:227) There seem to have been a lot of changes to the constructors yesterday.
|
2008-01-25 12:29:45
| 1,201,280,000 |
resolved fixed
|
f90690e
| 1,201,290,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Image.java
|
SWT
|
1,769 | 216,593 |
Bug 216593 [browser] unavailable Safari events crash Eclipse
| null |
2008-01-25 10:34:46
| 1,201,280,000 |
resolved fixed
|
44b5930
| 1,201,280,000 |
bundles/org.eclipse.swt/Eclipse SWT Browser/carbon/org/eclipse/swt/browser/Safari.java bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/cocoa/Cocoa.java
|
SWT
|
1,770 | 216,340 |
Bug 216340 Display.readAndDispatch() always returns true
|
readAndDispatch always returns true. sleep() isn't implemented. jface test suite relies on a while(readAndDispatch()) loop to clear events so they're not able to run their tests on WPF.
|
2008-01-23 15:49:28
| 1,201,120,000 |
resolved fixed
|
b6d6369
| 1,201,120,000 |
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
|
1,771 | 216,287 |
Bug 216287 Compiler warnings in N20080123-0010 in swt tests
|
/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Region.java : 1 warning : OTHER WARNINGS 1. WARNING in /JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Region.java (at line 899) int[] onePoint = new int[] {}; The local variable onePoint is never read
|
2008-01-23 10:18:26
| 1,201,100,000 |
resolved fixed
|
1d50905
| 1,201,110,000 |
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_graphics_Region.java
|
SWT
|
1,772 | 205,713 |
Bug 205713 It displays a wrong character when input "1" character by display.post() method on Mac OS X
|
Build ID: 3.3 Steps To Reproduce: In following example, I want to input a "1" character in a text widget. However, I got a curious "" character but not "1". import org.eclipse.swt.SWT; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Event; import org.eclipse.swt.widgets.Shell; import org.eclipse.swt.widgets.Text; public class TryPost { /** * @param args */ public static void main(String[] args) { new TryPost(); } public TryPost() { final Display display = new Display(); final Shell shell = new Shell(display); shell.setLayout(new GridLayout(4, false)); final Text text = new Text(shell, SWT.BORDER); shell.pack(); shell.open(); new Thread() { public void run() { display.syncExec(new Runnable() { public void run() { Event event = new Event(); event.type = SWT.KeyDown; event.keyCode = 0; event.character = '1'; display.post(event); event = new Event(); event.type = SWT.KeyUp; event.keyCode = 0; event.character = '1'; display.post(event); } }); } }.start(); while(!shell.isDisposed()) { if(!display.readAndDispatch()) display.sleep(); } display.dispose(); } } More information: I have tried it on both Mac OS X 10.4.9 and Mac OS X 10.5 beta. It has the same result. I check the code and guess it may caused by these codes(Display.java): switch (type) { case SWT.KeyDown: case SWT.KeyUp: { ... if ((result1 & 0x7f) == key || (result2 & 0x7f) == key) { vKey = i; break; } } ... } when event.character is '1', if result value is 177, (result & 0x7f) will be 49, which is the ASCII value of '1'. So it input 177 as key value but not 49, and it will display a curious "" character. I suggest it can be modified as: if ((result1 & 0xff) == key || (result2 & 0xff) == key) it will work.
|
2007-10-08 07:28:39
| 1,191,840,000 |
resolved fixed
|
b13f35c
| 1,201,110,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Display.java
|
SWT
|
1,773 | 133,933 |
Bug 133933 [Browser] KeyDown events not fired on Safari
|
Eclipse 3.2 I20060329 - 1200 -Put the javadoc dialog in focus by pressing F2 -Click within the dialog -The Esc key no longer works to exit the dialog, one has to click back within the main eclipse window to exit
|
2006-03-29 16:33:23
| 1,143,670,000 |
resolved fixed
|
e7487a6
| 1,201,100,000 |
bundles/org.eclipse.swt/Eclipse SWT Browser/carbon/org/eclipse/swt/browser/Safari.java bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/WebBrowser.java bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/Mozilla.java bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/cocoa/Cocoa.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Widget.java
|
SWT
|
1,774 | 199,495 |
Bug 199495 in Device.getFontList() every FontData has height=0
|
The title says it all. In win32 and gtk I can create a font using: font = new Font(display, display.getFontList("Courier", true)[0]); in mac this fails cause display.getFontList("Courier", true)[0].getHeight() == 0.
|
2007-08-09 18:29:40
| 1,186,700,000 |
resolved fixed
|
5418abb
| 1,201,040,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Font.java
|
SWT
|
1,775 | 216,137 |
Bug 216137 [Linux] DateTime does not render correctly values < 10.
|
[Linux] DateTime does not render correctly values < 10. For example, typically hours/minutes/seconds less than 10 are rendered as two digits (e.g. 10:01 AM), which is the way they are rendered on Windows. However, on Linux, they are rendered as single numbers (see screen capture).
|
2008-01-22 09:24:12
| 1,201,010,000 |
closed fixed
|
cc24637
| 1,201,030,000 |
bundles/org.eclipse.swt/Eclipse SWT/emulated/datetime/org/eclipse/swt/widgets/DateTime.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/DateTime.java
|
SWT
|
1,776 | 16,987 |
Bug 16987 [CCombo] does not respond to MouseWheel
|
.Build 'F1' Bring up the Eclipse Properties view. Put focus to a value entry defined with a combobox (e.g. as in step A9.6 of 'PDE Usage Scenarios') The keyboard (arrows up and down) can be used to cycle through the items in the combobox. The wheel mouse has no effect.
|
2002-05-22 14:55:54
| 1,022,090,000 |
resolved fixed
|
3767c6e
| 1,200,960,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java
|
SWT
|
1,777 | 215,875 |
Bug 215875 Table/TreeEditor broken on OS-X since at least I20071218
|
I'm not sure what has changed but JFace-CellEditing isn't working any more since this I-build whereas the same code works with I20071213.
|
2008-01-18 19:12:01
| 1,200,700,000 |
resolved fixed
|
07ac521
| 1,200,960,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Control.java
|
SWT
|
1,778 | 47,783 |
Bug 47783 Jpeg encoding (image height =1)
|
I get an exception when I save an ImageData (width=x HEIGHT=1) to JPEG file : Exception: ------------------------------------------------------- java.lang.ArrayIndexOutOfBoundsException at java.lang.System.arraycopy(Native Method) at org.eclipse.swt.internal.image.JPEGFileFormat.compress(JPEGFileFormat.java:207) at org.eclipse.swt.internal.image.JPEGFileFormat.convertMultiRGBToYCbCr(JPEGFileFormat.java:373) at org.eclipse.swt.internal.image.JPEGFileFormat.convertImageToYCbCr(JPEGFileFormat.java:316) at org.eclipse.swt.internal.image.JPEGFileFormat.unloadIntoByteStream(JPEGFileFormat.java:1887) at org.eclipse.swt.internal.image.FileFormat.unloadIntoStream(FileFormat.java:107) at org.eclipse.swt.internal.image.FileFormat.save(FileFormat.java:99) at org.eclipse.swt.graphics.ImageLoader.save(ImageLoader.java:194) at XXXXXXXXXXXXXXX Source code: ------------------------------------------------------------------- if (compressedHeight < componentHeight) { int srcOfs = (compressedHeight - 1) * componentWidth; for (int yPos = compressedHeight; yPos <= componentHeight; yPos++) { int dstOfs = (yPos - 1) * componentWidth; System.arraycopy(imageComponent, srcOfs, imageComponent, dstOfs, componentWidth); } } So, if compressedHeight=1 , I understand that it calls an System.arrayCopy from a position O to the SAME position 0 ! Thanks for your fantastic project: ECLIPSE !
|
2003-12-01 04:57:43
| 1,070,270,000 |
resolved fixed
|
6aa1139
| 1,200,950,000 |
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/JPEGFileFormat.java
|
SWT
|
1,779 | 193,433 |
Bug 193433 [Combo] Incorrect initial focus in Generate constructor using fields
|
Build ID: I20070608-1718 Steps To Reproduce: 1. Invoke the "Generate constructor using fields" dialog in a class that has a few fields. 2. Press the enter key 3. The superclass constructor combo opens, instead of the OK button being pressed More information: In previous Eclipse version, when invoking the "Generate constructor using fields" dialog the OK button had the focus, which permitted to immediately and easily validate the dialog in case the default settings are accepted (a common situation for me). With Eclipse 3.3, the dialog's initial focus is on the superclass constructor combo. I think the previous behavior was better.
|
2007-06-19 22:40:18
| 1,182,310,000 |
resolved fixed
|
9ae99bb
| 1,200,950,000 |
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java
|
SWT
|
1,780 | 182,196 |
Bug 182196 [CCombo] Mouse Listener Support for CCombo
|
The mouse listener I attach to a CCombo doesn't get any events (because it probably needs to be attached to the Text control). I really want to get these events so I can program some special behavior for double click in my cell editor.
|
2007-04-12 14:38:21
| 1,176,400,000 |
resolved fixed
|
e43d95e1
| 1,200,950,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java
|
SWT
|
1,781 | 166,187 |
Bug 166187 TableItem#getBounds(0) incorrect when adding columns in asyncExec
|
To reproduce start the snippet and click on the shown item (its column 2) you'll notice in the console that the widths are incorrect for the first column and it doesn't change if you resize the table (the second does!)
|
2006-11-29 07:20:41
| 1,164,800,000 |
resolved fixed
|
f43e578
| 1,200,950,000 |
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
|
1,782 | 211,188 |
Bug 211188 Looks like squiggle and error_underline style have fat dash at end
|
I20071127-0800 gtk2-2.2.4-125.17 The squiggle and the error_underline style on Linux-GTK look a bit ugly as the seem to end with a fat dash.
|
2007-11-28 05:14:37
| 1,196,240,000 |
resolved fixed
|
0c959d1
| 1,200,950,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/TextLayout.java
|
SWT
|
1,783 | 191,413 |
Bug 191413 Control's tooltip displays abnormally on linux platform.
|
Build ID: M20070212-1330 Steps To Reproduce: 1.Create a canvas on a shell and set the canvas' tooltip. 2.Create a button on the canvas. 3.Launch the application on linux platform and hover on the button. 4.The canvas' tooltip displays above the button, while on windows platform, the canvas' tooltip will never display above the button. Code snippet: public static void main(String[] args) { final Display display = Display.getDefault(); final Shell shell = new Shell(); shell.setSize(500, 375); shell.setText("Tooltip Application"); //----------------------- shell.setLayout(new FillLayout()); final Canvas control = new Canvas(shell,SWT.NONE); control.setToolTipText("this is control canvas"); Button button = new Button(control,SWT.PUSH); button.setText("OK"); button.setSize(200,200); //----------------------- shell.layout(); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } shell.dispose(); } More information:
|
2007-06-06 23:12:28
| 1,181,190,000 |
resolved fixed
|
6b3f40f
| 1,200,690,000 |
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java
|
SWT
|
1,784 | 197,224 |
Bug 197224 Annoying Message Box "prohibit running ActiveX controls" appear in browser when accessing page with applet
|
Build ID: I20070625-1500 Steps To Reproduce: This bug is caused by the workaround implemented for bug id 59506. To reproduce; use the SWT/Eclipse browser to access a page that contains an applet. More information: The ShowMessage method in WebSite.java attempts to resolve this problem however it is not working on my version of IE7. This is because lpstrText contains the following value; "One or more ActiveX controls could not be displayed because either: 1) Your current security settings prohibit running ActiveX controls on this page, or 2) You have blocked a publisher of one of the controls. As a result, the page may not display correctly." and the string loaded from SHDOCLC.DLL contains the following text; "Your current security settings prohibit running ActiveX controls on this page. As a result, the page may not display correctly." These strings are not equal therefore this annoying message box is always displayed.
|
2007-07-19 22:01:36
| 1,184,900,000 |
resolved fixed
|
b35a49d
| 1,200,680,000 |
bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/WebSite.java
|
SWT
|
1,785 | 184,063 |
Bug 184063 Logitech Revolution mouse doesn't scroll down editor when in "free-spinning" mode
|
Build ID: M20060921-0945 Steps To Reproduce: 1. Spend too much on a mouse. 2. Turn scroll acceleration to minimum (or this will somewhat mask the effect) 3. Scrolling down on free-spinning mode only occurs when spun at high speed, where as scrolling up works normally. 4. Spinning very fast in either direction causes strangeness and generally odd behavour with free-spinning scrolling all round. More information: Logitech's new mouse has a scrolling mode where the wheel spins smoothly. This works immediately in most applications but eclipse demonstrates odd behaviour when using the mode.
|
2007-04-25 13:28:55
| 1,177,520,000 |
resolved fixed
|
d682551
| 1,200,590,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Scrollable.java
|
SWT
|
1,786 | 211,865 |
Bug 211865 Tooltip always prompt up in the wrong place
| null |
2007-12-04 06:32:27
| 1,196,770,000 |
resolved fixed
|
ce2277d
| 1,200,520,000 |
bundles/org.eclipse.swt/Eclipse SWT/emulated/tooltip/org/eclipse/swt/widgets/ToolTip.java
|
SWT
|
1,787 | 215,431 |
Bug 215431 Label: SWT.LEFT, SWT.CENTER, SWT.RIGHT not implemented
|
See summary
|
2008-01-15 22:31:47
| 1,200,450,000 |
resolved fixed
|
bc388f1
| 1,200,450,000 |
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Label.java
|
SWT
|
1,788 | 210,845 |
Bug 210845 SWT.Wrap for text labels doesn't wrap
|
Run control example Go to 'label' tab Click on SWT.WRAP Text label doesn't wrap
|
2007-11-24 16:47:28
| 1,195,940,000 |
resolved fixed
|
bce2ffc
| 1,200,450,000 |
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Label.java
|
SWT
|
1,789 | 213,923 |
Bug 213923 popup menu has bunch of empty items if it contains many items
| null |
2007-12-27 07:11:18
| 1,198,760,000 |
resolved fixed
|
b136139
| 1,200,340,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Menu.java
|
SWT
|
1,790 | 215,148 |
Bug 215148 Inconsistent Spinner behaviour across platforms
| null |
2008-01-13 12:05:41
| 1,200,240,000 |
resolved fixed
|
4c6c40a
| 1,200,340,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Spinner.java
|
SWT
|
1,791 | 214,160 |
Bug 214160 Issues with transparent images when advanced graphics is on
| null |
2008-01-02 16:38:48
| 1,199,310,000 |
resolved fixed
|
9fb31e5
| 1,200,330,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Image.java
|
SWT
|
1,792 | 152,822 |
Bug 152822 Incorrect key events reported when NO_FOCUS style used
|
SWT-gtk, v3305, gtk2-2.8.10-36, German keyboard - Run the snippet below - Type a (' dead key + a) or e (^ dead key + e) Output on Windows: keyDown: character=a keyDown: character=e Output on GTK (note missing accents): keyDown: character=a keyDown: character=e When the NO_FOCUS style is removed, the output is as expected. Appears to depend on a block of code checking for NO_FOCUS in Composite.createHandle(int, boolean, boolean). --- import org.eclipse.swt.*; import org.eclipse.swt.layout.*; import org.eclipse.swt.widgets.*; public class KeyTest { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); Canvas cnv = new Canvas(shell, SWT.NO_FOCUS); cnv.addListener(SWT.KeyDown, new Listener() { public void handleEvent(Event e) { System.out.println("keyDown: character=" + e.character); } }); shell.setBounds(200, 200, 200, 200); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } }
|
2006-08-04 02:18:57
| 1,154,670,000 |
resolved fixed
|
853fc83
| 1,200,090,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Composite.java
|
SWT
|
1,793 | 120,192 |
Bug 120192 org.eclipse.swt.ole.win32.OleAutomation has a reference leak
|
On line 96, objITypeInfo is AddRef'd. However, the semantics of GetTypeInfo has the returned ITypeInfo as an out parameter, and thus has already been AddRef'd. The additional ref constitutes a reference leak. I recommend changing the line to: // TypeInfo is an out param, do not AddRef or this will leak. Be happy to fix this one myself if I can get CVS access. Thanks, Scott
|
2005-12-09 17:01:58
| 1,134,170,000 |
resolved fixed
|
8ad26ac
| 1,200,000,000 |
bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleAutomation.java
|
SWT
|
1,794 | 214,754 |
Bug 214754 ControlExample's "Select Listeners" has sizing problems
| null |
2008-01-09 10:00:14
| 1,199,890,000 |
resolved fixed
|
83f204d
| 1,199,980,000 |
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/Tab.java
|
SWT
|
1,795 | 211,685 |
Bug 211685 DateTime fires spurious SelectionEvents
| null |
2007-12-02 12:04:50
| 1,196,620,000 |
resolved fixed
|
30433b5
| 1,199,910,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/DateTime.java
|
SWT
|
1,796 | 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(); } }
|
2007-08-23 11:01:40
| 1,187,880,000 |
resolved fixed
|
87e3bad
| 1,199,910,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Decorations.java
|
SWT
|
1,797 | 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.
|
2007-03-15 12:37:34
| 1,173,980,000 |
resolved fixed
|
8192bff
| 1,199,830,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java
|
SWT
|
1,798 | 211,949 |
Bug 211949 [Browser] Linux(SLED10), Eclipse crash when XPCOM error in Mozilla OnStateChange callback
| null |
2007-12-04 22:37:01
| 1,196,830,000 |
resolved fixed
|
cb3ba7b
| 1,199,380,000 |
bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/Mozilla.java
|
SWT
|
1,799 | 213,247 |
Bug 213247 Combo box in CVS commit wizard leaves garbage behind on resize
| null |
2007-12-17 19:54:44
| 1,197,940,000 |
resolved fixed
|
595e830
| 1,198,110,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Combo.java
|
SWT
|
1,800 | 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(); } }
|
2007-10-08 10:27:47
| 1,191,850,000 |
resolved fixed
|
d5b649a
| 1,198,010,000 |
bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleFrame.java
|
SWT
|
1,801 | 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(); } });
|
2007-12-17 12:17:55
| 1,197,910,000 |
resolved fixed
|
1f2aaff
| 1,197,910,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/Path.java
|
SWT
|
1,802 | 205,264 |
Bug 205264 Path.addArc method does not work as expected on Apple OS X
| null |
2007-10-03 01:39:29
| 1,191,390,000 |
resolved fixed
|
a92e752
| 1,197,910,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/Path.java
|
SWT
|
1,803 | 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 (); } }
|
2007-10-09 16:09:15
| 1,191,960,000 |
resolved fixed
|
503e685
| 1,197,670,000 |
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java
|
SWT
|
1,804 | 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.
|
2007-12-11 09:47:45
| 1,197,380,000 |
resolved fixed
|
aa884f1
| 1,197,580,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Control.java
|
SWT
|
1,805 | 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.
|
2007-12-12 17:30:44
| 1,197,500,000 |
resolved fixed
|
4e4ed4a
| 1,197,500,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Region.java
|
SWT
|
1,806 | 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.
|
2007-12-11 16:51:21
| 1,197,410,000 |
resolved fixed
|
5fccfd9
| 1,197,410,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java
|
SWT
|
1,807 | 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.
|
2007-12-11 12:02:11
| 1,197,390,000 |
resolved fixed
|
a5b13a5
| 1,197,390,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java
|
SWT
|
1,808 | 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(); } }
|
2007-11-26 17:26:47
| 1,196,120,000 |
resolved fixed
|
3d6268b
| 1,197,320,000 |
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java
|
SWT
|
1,809 | 206,682 |
Bug 206682 Combo with SWT.READ_ONLY doesn't fire mouseevents
| null |
2007-10-17 15:10:04
| 1,192,650,000 |
resolved fixed
|
4808863
| 1,196,870,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java
|
SWT
|
1,810 | 211,663 |
Bug 211663 [OLE] ActiveX/OLE Document support not working correctly in 3.4M3
| null |
2007-11-30 19:57:47
| 1,196,470,000 |
resolved fixed
|
fef3f23
| 1,196,730,000 |
bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleClientSite.java
|
SWT
|
1,811 | 206,346 |
Bug 206346 GTK-BIDI: RTL support in ExpandBar
| null |
2007-10-15 12:25:40
| 1,192,470,000 |
resolved fixed
|
24aed95
| 1,196,720,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ExpandItem.java
|
SWT
|
1,812 | 208,427 |
Bug 208427 GTK-BIDI: RTL support in MenuItems
| null |
2007-11-01 10:55:24
| 1,193,930,000 |
resolved fixed
|
0d47a69
| 1,196,710,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/MenuItem.java
|
SWT
|
1,813 | 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
|
2007-11-25 16:57:47
| 1,196,030,000 |
resolved fixed
|
d6ff58b
| 1,196,700,000 |
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
|
1,814 | 210,861 |
Bug 210861 Text alignment for text box doesn't work
|
With SWT.MULTI, the text box ignores SWT.CENTER/SWT.RIGHT.
|
2007-11-25 08:43:25
| 1,196,000,000 |
resolved fixed
|
46a68f0
| 1,196,700,000 |
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Text.java
|
SWT
|
1,815 | 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
|
2007-11-25 16:14:19
| 1,196,030,000 |
resolved fixed
|
25c61b7
| 1,196,700,000 |
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
|
1,816 | 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.
|
2007-11-26 01:56:59
| 1,196,060,000 |
resolved fixed
|
7ce5971
| 1,196,700,000 |
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/TextLayout.java
|
SWT
|
1,817 | 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: (
|
2007-11-28 19:26:54
| 1,196,300,000 |
resolved fixed
|
ee8bf71
| 1,196,700,000 |
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
|
1,818 | 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.
|
2007-11-24 17:37:11
| 1,195,940,000 |
resolved fixed
|
45f3f22
| 1,196,700,000 |
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Shell.java
|
SWT
|
1,819 | 211,220 |
Bug 211220 Add Browser to ControlExample
| null |
2007-11-28 09:21:56
| 1,196,260,000 |
resolved fixed
|
1f128a2
| 1,196,380,000 |
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
|
1,820 | 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
|
2007-11-26 10:46:12
| 1,196,090,000 |
resolved fixed
|
6f2ca7d
| 1,196,280,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
|
SWT
|
1,821 | 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.
|
2005-09-30 16:53:19
| 1,128,110,000 |
resolved fixed
|
01ce461
| 1,196,280,000 |
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
|
1,822 | 211,194 |
Bug 211194 Rollover tooltips in owner-drawn Tree only shown after delay
| null |
2007-11-28 06:10:40
| 1,196,250,000 |
resolved fixed
|
666a2f0
| 1,196,280,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
|
SWT
|
1,823 | 211,197 |
Bug 211197 Doubleclick does not work on owner-drawn TreeItem with rollover tooltip
| null |
2007-11-28 06:17:03
| 1,196,250,000 |
resolved fixed
|
2377301
| 1,196,270,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
|
SWT
|
1,824 | 210,853 |
Bug 210853 Spiner.setEnabled doesn't work
|
Using spinner.setEnabled(false) doesn't result in the spinner being disabled
|
2007-11-25 07:15:06
| 1,195,990,000 |
resolved fixed
|
4280063
| 1,196,110,000 |
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
|
1,825 | 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.
|
2007-03-19 09:04:31
| 1,174,310,000 |
resolved fixed
|
ec9593c
| 1,196,110,000 |
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
|
1,826 | 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
|
2005-09-28 05:19:13
| 1,127,900,000 |
resolved fixed
|
fa95259
| 1,196,100,000 |
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
|
1,827 | 208,837 |
Bug 208837 [Browser] On Linux, Browser does not send focus/activation events
| null |
2007-11-05 20:12:03
| 1,194,310,000 |
resolved fixed
|
33c8d47
| 1,195,770,000 |
bundles/org.eclipse.swt/Eclipse SWT Mozilla/gtk/org/eclipse/swt/browser/MozillaDelegate.java
|
SWT
|
1,828 | 204,289 |
Bug 204289 Closing context menu programmatically does not work when shell not active
| null |
2007-09-21 12:28:58
| 1,190,390,000 |
resolved fixed
|
6bb6ca0
| 1,195,600,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Shell.java
|
SWT
|
1,829 | 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
|
2007-11-20 11:44:40
| 1,195,580,000 |
resolved fixed
|
192f7b9
| 1,195,580,000 |
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
|
1,830 | 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 (); } }
|
2007-10-19 10:34:09
| 1,192,800,000 |
resolved fixed
|
f2b99e9
| 1,195,500,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java
|
SWT
|
1,831 | 210,214 |
Bug 210214 [OLE] Snippet265 leaks
| null |
2007-11-18 14:25:38
| 1,195,410,000 |
resolved fixed
|
6f06552
| 1,195,500,000 |
examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet265.java
|
SWT
|
1,832 | 209,854 |
Bug 209854 SWTException when loading large win32 ICO files
| null |
2007-11-14 15:12:00
| 1,195,070,000 |
resolved fixed
|
f9a2560
| 1,195,500,000 |
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/LEDataInputStream.java
|
SWT
|
1,833 | 209,650 |
Bug 209650 Cleanup after Windows browser control dispose is flawed
| null |
2007-11-13 10:43:04
| 1,194,970,000 |
resolved fixed
|
5bda57c
| 1,195,490,000 |
bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/IE.java
|
SWT
|
1,834 | 206,432 |
Bug 206432 [Browser] Linux: SSL navigation is disabled when Mozilla profile directory does not exist
| null |
2007-10-16 04:40:56
| 1,192,520,000 |
resolved fixed
|
44b9f44
| 1,195,240,000 |
bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/AppFileLocProvider.java
|
SWT
|
1,835 | 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 <KetanPadegaonkar [at] gmail [dot] com> * @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 {|}" } }
|
2007-11-14 01:28:43
| 1,195,020,000 |
resolved fixed
|
c5807e2
| 1,195,080,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/MenuItem.java
|
SWT
|
1,836 | 209,863 |
Bug 209863 Path leaks currentFigure and currentPoint when disposed
|
currentFigure and currentPoint should be freed in dispose
|
2007-11-14 16:04:35
| 1,195,070,000 |
resolved fixed
|
3a7dc78
| 1,195,070,000 |
bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/graphics/Path.java
|
SWT
|
1,837 | 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(); }
|
2007-11-09 09:39:07
| 1,194,620,000 |
resolved fixed
|
2b7cc4b
| 1,194,970,000 |
bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Shell.java
|
SWT
|
1,838 | 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>.
|
2005-12-13 16:17:04
| 1,134,510,000 |
resolved fixed
|
4b36413
| 1,194,910,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java
|
SWT
|
1,839 | 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
|
2007-11-12 15:30:32
| 1,194,900,000 |
resolved fixed
|
69091e0
| 1,194,910,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Shell.java
|
SWT
|
1,840 | 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.
|
2007-11-12 05:49:58
| 1,194,860,000 |
resolved fixed
|
14e951a
| 1,194,890,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
|
SWT
|
1,841 | 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.
|
2007-10-29 13:42:21
| 1,193,680,000 |
resolved fixed
|
8b33c2f
| 1,194,640,000 |
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
|
1,842 | 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.
|
2007-06-24 15:29:15
| 1,182,710,000 |
resolved fixed
|
51ab70b
| 1,194,640,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Scrollable.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Widget.java
|
SWT
|
1,843 | 208,503 |
Bug 208503 SWT_AWT bridge on OS X reports incorrect message with failure
| null |
2007-11-01 23:40:30
| 1,193,970,000 |
resolved fixed
|
6c51b90
| 1,194,560,000 |
bundles/org.eclipse.swt/Eclipse SWT AWT/carbon/org/eclipse/swt/awt/SWT_AWT.java
|
SWT
|
1,844 | 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:
|
2007-11-02 23:39:23
| 1,194,060,000 |
closed fixed
|
4fc2427
| 1,194,550,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/IME.java
|
SWT
|
1,845 | 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.
|
2007-10-22 09:50:29
| 1,193,060,000 |
resolved fixed
|
f5fda8b
| 1,194,530,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
|
SWT
|
1,846 | 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.
|
2007-11-07 15:23:11
| 1,194,470,000 |
resolved fixed
|
f042739
| 1,194,530,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Shell.java
|
SWT
|
1,847 | 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.
|
2007-10-18 03:10:52
| 1,192,690,000 |
resolved fixed
|
2d811a7
| 1,194,480,000 |
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
|
1,848 | 209,039 |
Bug 209039 display.getMonitors() not implemented
|
only one monitor is returned on multi monitor systems.
|
2007-11-07 10:12:18
| 1,194,450,000 |
resolved fixed
|
0a91b1b
| 1,194,470,000 |
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
|
1,849 | 209,028 |
Bug 209028 Table and List test failures
| null |
2007-11-07 09:39:50
| 1,194,450,000 |
resolved fixed
|
483a803
| 1,194,450,000 |
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
|
1,850 | 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(); } } } }
|
2007-11-03 12:57:38
| 1,194,110,000 |
resolved fixed
|
c01f8c4
| 1,194,440,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
|
SWT
|
1,851 | 204,393 |
Bug 204393 TitleAreaDialog's banner image has extraneous white borders
| null |
2007-09-23 18:58:43
| 1,190,590,000 |
resolved fixed
|
046b2b1
| 1,194,300,000 |
bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/Label.java
|
SWT
|
1,852 | 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?
|
2007-09-13 17:38:57
| 1,189,720,000 |
resolved wontfix
|
7359029
| 1,194,280,000 |
bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/widgets/ToolItem.java
|
SWT
|
1,853 | 207,927 |
Bug 207927 ITALIC and BORDER_* unreadable
| null |
2007-10-30 06:23:13
| 1,193,740,000 |
resolved fixed
|
67b77f8
| 1,194,280,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/TextLayout.java
|
SWT
|
1,854 | 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.
|
2007-09-25 11:27:21
| 1,190,730,000 |
resolved fixed
|
6c09b50
| 1,194,270,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
|
SWT
|
1,855 | 208,566 |
Bug 208566 [64] cheese can appear if SetPoint is running
| null |
2007-11-02 10:56:02
| 1,194,020,000 |
resolved fixed
|
bb26b87
| 1,194,020,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java
|
SWT
|
1,856 | 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:
|
2007-10-27 06:04:01
| 1,193,480,000 |
resolved fixed
|
0711ea2
| 1,193,960,000 |
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
|
1,857 | 208,017 |
Bug 208017 Eclipse crashes when trying to print first page of .java file into PDF
| null |
2007-10-30 11:09:03
| 1,193,760,000 |
resolved fixed
|
e6a8a3c
| 1,193,950,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
|
SWT
|
1,858 | 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 <KetanPadegaonkar [at] gmail [dot] com> * @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()); } }
|
2007-10-31 02:12:26
| 1,193,810,000 |
resolved fixed
|
faaf962
| 1,193,930,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/MenuItem.java
|
SWT
|
1,859 | 208,007 |
Bug 208007 line wrap at page end makes page number disapear when printing
| null |
2007-10-30 10:46:45
| 1,193,760,000 |
resolved fixed
|
1b18e11
| 1,193,870,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
|
SWT
|
1,860 | 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).
|
2007-10-26 05:04:29
| 1,193,390,000 |
resolved fixed
|
cba914d
| 1,193,850,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
|
SWT
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.