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
561
315,140
Bug 315140 StyledText.RTFWriter ignores font style
Eclipse 3.6 RC2 I'm trying to use StyledText to create a simple Rich Text editor. In order to extract RTF from it, I'm using the clipboard workaround. I'm running into an issue when the style of the text is defined in the font (as opposed to fontStyle). It seems RTFWriter only writes styles if they are in fontStyle but ignores the ones in FontData.getStyle() I wonder if this is a bug or I am missing something.
2010-05-31 16:24:25
1,275,340,000
resolved fixed
7f81e13
1,281,730,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
SWT
562
316,806
Bug 316806 refresh problem in table on windows vista
3.6 RC4 1. Run the snippet 2. Press End (cause the table to show the last item) 3. Select an item, Press Del (deletes the select item) Note item at the selected index shows empty, the item at index + 1 shows the old text, the item at itemCount - 1 shows the old text.
2010-06-14 15:04:20
1,276,540,000
resolved fixed
02960b5
1,281,710,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java
SWT
563
322,253
Bug 322253 [Widgets] Context menu does not go away after setVisible(false)
3.5, 3.6 and latest 3.7 build. Happens on MacOSX 10.5.6 and 10.5.8 but not 10.6. Our org.eclipse.jdt.ui.tests.leaks.JavaLeakTest.testJavaEditorContextMenu() test ('org.eclipse.jdt.ui.tests' bundle) waits forever on Mac Cocoa because the menu doesn't get closed using setVisible(false). The result is that the test runs 2 hours before it gets killed. This works on all other platforms and also on the latest Mac version, hence filing against SWT. The relevant code is in JavaLeakTest.openContextMenu(Menu). Should be easy to extract a snippet from that.
2010-08-10 12:37:42
1,281,460,000
resolved fixed
28a7c9c
1,281,710,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Menu.java
SWT
564
243,529
Bug 243529 [DND] [Mac] Erratic DND behaviour on Mac OS X
null
2008-08-07 21:37:48
1,218,160,000
resolved fixed
bcb8c5d
1,281,550,000
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/carbon/org/eclipse/swt/dnd/DragSource.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Tree.java
SWT
565
314,416
Bug 314416 Checkboxes in disabled tables rendered incorrectly on Windows
Build Identifier: 3.6.RC2 The checkboxes in disabled tables are not rendered like normal disabled checkboxes in all Windows platforms. The checkboxes are functionally disabled (no checked state change possible) but they are displayed like active checkboxes. However, normal checkboxes that are not part of a table are rendered differently when disabled. Linux/GTK and OSX/Cocoa are ok. Based on the mail template app, I created a showcase app to display the differences (see attachment). Please see attached screen shots. Reproducible: Always Steps to Reproduce: 1. download and import the attached project 2. run it on windows xp/vista/7 (classic or aero mode make no difference) 3. compare the rendering of the disabled checkboxes out and inside the table
2010-05-26 05:17:40
1,274,870,000
resolved fixed
80ca895
1,281,460,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java
SWT
566
322,151
Bug 322151 Help menu is broken
I20100805-1700 On my mac cocoa the help menu is broken. Steps to reproduce: 1) Extract the I20100805-1700 Mac Cocoa build 32-bit 2) Start a fresh workspace. 3) Try to click on the help menu. You will notice nothing happens and the rest of the menu items disappear. (File, Edit, Source etc.). Nothing in the log to indicate an error.
2010-08-09 11:21:36
1,281,370,000
resolved fixed
7c12fc4
1,281,380,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Shell.java
SWT
567
322,137
Bug 322137 SWT.ON_TOP shells do not stay above all applications
The SWT.ON_TOP shell in the snippet below goes behind other windows when the application looses focus import org.eclipse.swt.SWT; import org.eclipse.swt.layout.*; import org.eclipse.swt.widgets.*; public class OnTopIssue { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setText("main"); shell.setLayout(new GridLayout(1, false)); shell.setBounds(100, 100, 200, 200); Shell onTop = new Shell(display, SWT.SHELL_TRIM | SWT.ON_TOP); onTop.setText("ontop"); onTop.setBounds(130, 130, 200, 200); Button button = new Button(onTop, SWT.PUSH); button.setText("Push"); button.pack(); onTop.open(); Shell s = new Shell(onTop, SWT.DIALOG_TRIM | SWT.APPLICATION_MODAL); //works // Shell s = new Shell(onTop, SWT.DIALOG_TRIM); //works // Shell s = new Shell(SWT.DIALOG_TRIM); //fails on Windows, Cocoa, Carbon s.setBounds(150, 150, 200, 200); s.setText("dialog"); Button button1 = new Button(s, SWT.PUSH); button1.setText("Push"); button1.pack(); s.open(); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } }
2010-08-09 09:59:36
1,281,360,000
resolved fixed
b998894
1,281,380,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Shell.java
SWT
568
284,777
Bug 284777 user gtk setting should be checked before adding "Input Methods" item to context menus
null
2009-07-27 11:58:44
1,248,710,000
resolved fixed
651f61f
1,281,380,000
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Menu.java
SWT
569
317,902
Bug 317902 Segmentation Fault When Widget looses focus
null
2010-06-24 20:30:55
1,277,430,000
resolved fixed
2f47908
1,281,120,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java
SWT
570
312,371
Bug 312371 [Widgets] [SWT/Carbon]SWT.MouseExit event being generated when it should not be.
Build Identifier: 20090920-1017 MouseExit event is being thrown on the first drag attempt when it should not be. In general, a MouseExit event will issue when you drag mouce outside out the widget and mouse left key up. But in this case, on the first drag, MouseExit event issue before your mouse left key up. This bug is tested in swt-carbon 3.5.2. And in swt-cocoa 3.5.2, this bug disappear. Reproducible: Always Steps to Reproduce: 1.Run source code. A shell will display. 2.Click down mouse left key inside the blue area, and holding down, darg the mouse outside of the blue area. In this process, mouce left key still hold down. 3.Notice "exit" printed to stdout, showing that a MouseExit event was thrown when it should not be.
2010-05-11 02:00:08
1,273,560,000
resolved fixed
c39aa1b
1,281,110,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Composite.java
SWT
571
312,365
Bug 312365 Carbon: DnD fails when dropping object to a child control.
Build Identifier: SWT v3646a DnD fails when dropping object to a child control. So far, we see this issue on Carbon/Mac OS X. Windows works. Reproducible: Always Steps to Reproduce: 1. Create a Composite and setup DropTarget for it. 2. Create a child control in the Composite. 3. Drop an object to the child control. result: the dropped object ignored, and DnD fails. problem: The bug is in DropTarget.FindDropTarget(). The bug happens because DropTarget.FindDropTarget() thinks the DnD object dropped to the child control, But, since the child control's getData() returns null, the line "return (DropTarget) widget.getData(DND.DROP_TARGET_KEY);" returns null. It should return correct parent in this case.
2010-05-10 22:13:48
1,273,540,000
resolved fixed
60c0423
1,281,110,000
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/carbon/org/eclipse/swt/dnd/DropTarget.java
SWT
572
321,898
Bug 321898 3702a/3703 Button.java changes seems to be causing UI test failures
null
2010-08-05 12:06:04
1,281,020,000
verified fixed
45788d0
1,281,030,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Button.java
SWT
573
316,238
Bug 316238 [Widgets] Main menu lost when using "open in new window"
Build Identifier: I20080617-2000 Main menu will lost after minimize and maximize the windows when there are more than one window. Reproducible: Always Steps to Reproduce: 1. Open Eclipse, select a project. 2. Right click the project, and choose "open in new window". 3. When the new window opened, minimize the window, then minimize the main(parent) window. 4. Move focus to other things(Let the Eclipse main menu changed); 5. Maximize the new window, then maximize the main window. The Eclipse main menu disappeared after maximize the main window. If in the 5th step, firstly maximize the main window, then maximize the new window, then the main menu will disappear when new window mazimized.
2010-06-09 00:59:12
1,276,060,000
resolved fixed
4c1ca4c
1,280,950,000
bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/OS.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Shell.java
SWT
574
321,614
Bug 321614 Mouse move events broken in SWT.TOOL shells
null
2010-08-03 11:19:20
1,280,850,000
resolved fixed
c94ecb6
1,280,880,000
bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSApplication.java bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPanel.java bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSWindow.java 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 bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Shell.java
SWT
575
321,359
Bug 321359 Purple-icons drawing image with cairo in Solaris-sparc (big-endian)
import org.eclipse.swt.SWT; import org.eclipse.swt.custom.*; import org.eclipse.swt.graphics.*; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.widgets.*; public class Test { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.addListener(SWT.Paint, new Listener() { public void handleEvent(Event event) { GC gc = event.gc; Image image = new Image(gc.getDevice(), 100, 100); GC imageGC = new GC(image); imageGC.setBackground(gc.getDevice().getSystemColor(SWT.COLOR_RED)); // imageGC.setBackground(gc.getDevice().getSystemColor(SWT.COLOR_GREEN)); // imageGC.setBackground(gc.getDevice().getSystemColor(SWT.COLOR_BLUE)); imageGC.fillRectangle(image.getBounds()); imageGC.dispose(); ImageData data = image.getImageData(); for (int y = 0; y < data.height; y++) { for (int x = 0; x < data.width; x++) { data.setAlpha(x, y, 0xFF); } } image.dispose(); image = new Image(gc.getDevice(), data); gc.setAdvanced(true); System.out.println(gc.getAdvanced()); gc.drawImage(image, 100, 100); image.dispose(); } }); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } }
2010-07-30 11:16:15
1,280,500,000
resolved fixed
075e829
1,280,500,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Image.java
SWT
576
297,633
Bug 297633 [Widgets] Background of widgets in Group are incorrect
When no background is set on widgets within a Group that has a parent whose BackgroundMode is SWT.INHERIT_DEFAULT, the widget's background appears to be the background of the parent. This is a cocoa-only regression. Windows displays it fine, as well as Carbon and Cocoa SWT 3.5 (and early Cocoa SWT 3.6). I'm currently seeing this bug with build 3624. Snippet: import org.eclipse.swt.SWT; import org.eclipse.swt.graphics.Color; import org.eclipse.swt.layout.*; import org.eclipse.swt.widgets.*; public class testGroupBG { public static void main(String[] args) { Display display = new Display(); Color color = new Color(display, 180, 180, 200); Shell shell = new Shell(display, SWT.SHELL_TRIM); shell.setLayout(new FillLayout()); Composite c1 = new Composite(shell, SWT.NONE); c1.setLayout(new FillLayout()); c1.setBackground(color); c1.setBackgroundMode(SWT.INHERIT_DEFAULT); Composite c2 = new Composite(shell, SWT.NONE); c2.setLayout(new FillLayout()); c2.setBackgroundMode(SWT.INHERIT_DEFAULT); makeGroup(c1, "Group Test (BG)"); makeGroup(c2, "Group Test (No BG)"); shell.open(); while (!shell.isDisposed()) if (!display.readAndDispatch()) display.sleep(); } private static void makeGroup(Composite parent, String title) { Group group = new Group(parent, SWT.NONE); group.setText(title); group.setLayout(new RowLayout()); String s = "This is a line on SWT " + SWT.getPlatform() + "/" + SWT.getVersion(); for (int i = 0; i < 10; i++) { new Label(group, SWT.LEFT).setText(s); new Button(group, SWT.CHECK).setText("Checkbox"); } } } ==================== The first composite sets the color, and the result is both the label and the checkbox having the wrong background. The second composite doesn't set the background, and only the checkbox has the wrong background. If I remove the INHERIT_DEFAULT, it all works fine.
2009-12-11 17:46:15
1,260,570,000
resolved fixed
54aabb4
1,280,350,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Button.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Label.java
SWT
577
320,484
Bug 320484 Weak FontData hashCode
The following font datas all produce the same hash code: new FontData( "Times", 15, SWT.NORMAL ).hashCode(); new FontData( "Times", 14, SWT.BOLD ).hashCode(); new FontData( "Times", 13, SWT.ITALIC ).hashCode(); new FontData( "Times", 12, SWT.BOLD | SWT.ITALIC ).hashCode(); This can be fixed by changing FontData hashCode from: return name.hashCode() ^ getHeight() ^ style; to: return name.hashCode() ^ getHeight() << 2 ^ style;
2010-07-21 06:46:38
1,279,710,000
resolved fixed
9b6b9f9
1,280,330,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/FontData.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/FontData.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/FontData.java bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/graphics/FontData.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/FontData.java bundles/org.eclipse.swt/Eclipse SWT/wpf/org/eclipse/swt/graphics/FontData.java
SWT
578
315,948
Bug 315948 SWT doesnt work on WinCE 6.0 since v3312. Missing check on OS.IsWinCE
Build Identifier: SWT doesnt work on WinCE because of commit 1.298 in org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java /* Make the process DPI aware for Windows Vista */ if (OS.WIN32_VERSION >= OS.VERSION (6, 0)) OS.SetProcessDPIAware (); should be replaced by /* Make the process DPI aware for Windows Vista */ if (!OS.IsWinCE && OS.WIN32_VERSION >= OS.VERSION (6, 0)) OS.SetProcessDPIAware (); Reproducible: Always Steps to Reproduce: 1. start an SWT App on WinCE 6.0
2010-06-07 06:26:01
1,275,910,000
resolved fixed
1d20a0f
1,280,330,000
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java
SWT
579
320,879
Bug 320879 Application crashes when the link widget is invoked through keyboard
null
2010-07-26 05:50:35
1,280,140,000
resolved fixed
32d27db
1,280,170,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Control.java
SWT
580
320,581
Bug 320581 [Widgets] [GTK2.18] JVM crash when call Control.moveAbove(Control control)
Build Identifier: 20100218-1602 Under my working environment (Ubuntu 10.04 with JDK 1.5.0_16-b02), call function Control.moveAbove(Control control) to move a control above itself will cause JVM crash. Reproducible: Always Steps to Reproduce: 1.write a simple snippet 2.Call Control.moveAbove(Control control) to move a control above itself. 3.JVM crash under ubuntu 9.10(GTK+ 2.18.3) and ubuntu 10.04(GTK+ 2.20.1)
2010-07-21 23:14:42
1,279,770,000
resolved fixed
b490cbe
1,280,130,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java
SWT
581
302,802
Bug 302802 Absolute positioning shifts the position around 10 pixels vertical dirction swt cocoa
Build Identifier: version 3.617 If I position a widget relative to an other widget by absolute values (setBounds(x,y,width, height)) the position of the widget is around 10 pixel shifted, so I need to workaround like this.decimalSeparatorLabel.setBounds(10, OSDE.IS_MAC_COCOA ? 14 : 24, 140, 22); There is also a shift in horizontal direction, but this seams acceptable. I see this mainly if the parent widget is of type Group. The Carbon version only does not have this problem, but Text widget seams to small in viewpoint of height. Reproducible: Always Steps to Reproduce: 1.code a small application where labels combos text is positioned absolute to a surrounding Group 2.compile this and execute for different platforms. Linux and Windows seams identically where the Cocoa version has it misplaced. 3.copy the application as image of an screen shot and overlay using a graphical editor supporting layer and opacity.
2010-02-13 07:28:20
1,266,060,000
resolved fixed
1b6ce02
1,279,840,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Group.java
SWT
582
299,451
Bug 299451 [DND] Tracker rectangle appears on wrong screen when dragging part
I'm running a dual screen setup, main screen 1920x1200, left of it a second screen, 1680x1050px. When resizing the Riena Application on the main screen, the "tracker" rectangle appears on the secondary screen.
2010-01-12 20:22:20
1,263,350,000
resolved fixed
7bc0581
1,279,810,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tracker.java
SWT
583
320,135
Bug 320135 [painting] "Show whitespace character" option makes the editor very slow on Mac
Build Identifier: 20100617-1415 Enabling the option "Show whitespace character" makes the editor very slow on Mac. Did not tested this on other platforms. The editor is very responsive if this option is off. Using Eclipse Cocoa 64bit version Reproducible: Always Steps to Reproduce: 1.Enable "Show whitespace character" 2. Try to use the editor
2010-07-16 14:05:19
1,279,300,000
resolved fixed
93745a7
1,279,750,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/Font.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/FontMetrics.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/GC.java
SWT
584
313,208
Bug 313208 Shell focus problems after closing sub-dialog
I20100516-0800 Cocoa (works fine on WinXP) Steps in the SDK: - in a new project, open Properties dialog and go to the Builders page - click New - click OK - click OK - double-click the newly created Ant builder - click Cancel => now, the Properties dialog is broken: - Tab or Ctrl+Tab don't move the focus - when you Command+Tab to another application, the Properties dialog still looks active (colored trim buttons), but it isn't. When you try to Command+Tab back to the dialog, it doesn't take focus. - when you try to click OK or Cancel, the first click does not press the button. But the second click works as expected. I didn't find a good pattern to tell where or why this happens, but it happens consistently for some dialogs. Another case in the SDK is when you add a resource filter and then double-click to edit a filter.
2010-05-17 13:55:21
1,274,120,000
resolved fixed
3a13e11
1,279,230,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/Display.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/List.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Tree.java
SWT
585
312,195
Bug 312195 "New > Untitled Text File" via wizard does not give focus to editor
I20100509-0800 Cocoa "New > Untitled Text File" via wizard does not give focus to editor. The editor is created, but the previously focused editor keeps focus. Works fine via toolbar button menu or via File > New > submenu.
2010-05-09 19:59:26
1,273,450,000
resolved fixed
90a827f
1,279,210,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Decorations.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Shell.java
SWT
586
313,315
Bug 313315 [cocoa, gef] Guide markers not fully visible on Cocoa
null
2010-05-18 06:02:01
1,274,180,000
resolved fixed
c838608
1,279,150,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/graphics/GC.java
SWT
587
313,846
Bug 313846 Dialog popup from a parent shell is covers by another shell which is popup from the parent shell
Build Identifier: SWT 3.5.2 On Mac, Dialog popup from a parent shell is covers by another shell which is popup from the parent shell Reproducible: Always Steps to Reproduce: 1. Create Shell A.On Shell A, there are two buttons, one (named "open Shell B") 1. Create Shell A.On Shell A, there are two buttons, one (named "open Shell B") can open a child Shell B, one (named "open dialog C") can open child dialog C. 2. Click "Open Shell B" to open Shell B, click "Open dialog C" to open dialog C 3. Now dialog C is foremost, drag dialog C to Shell B, now dialog C can covers Shell B - dialog C is on Shell B. Click Shell B to make it to the foremost, drag dialog C to Shell B, now Shell B is still on the top of dialog C - Shell B covers dialog C. Click Shell A to bring Shell A to foremost, drag dialog C to Shell B, dialog C can be on the top of Shell B this time.
2010-05-20 23:53:28
1,274,410,000
resolved fixed
bf8caaf
1,279,150,000
bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/OS.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Shell.java
SWT
588
317,843
Bug 317843 SWT.COLOR_INFO_BACKGROUND is brighter than the OS tooltip bg color
null
2010-06-24 11:20:36
1,277,390,000
resolved fixed
7343b81
1,279,140,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java
SWT
589
319,677
Bug 319677 VoiceOver doesn't read tooltip (help tag)
null
2010-07-13 05:55:48
1,279,010,000
resolved fixed
7a3e580
1,279,140,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
590
315,812
Bug 315812 [accessibility] text-based ToolItems read out their help/tooltip text instead of text
Build ID: I20100603-1500 VoiceOver reads back the tooltip help of a ToolItem with text. It should read the text if the tool item is just a button. 1. Launch org.eclipse.swt.examples.accessibility.ControlsWithLabelsExample 2. Turn on VoiceOver. 3. Move the VoiceOver cursor to the Toolbar. The ToolItems are labelled "Item0", "Item1", "Item2". --> VoiceOver reads back "ToolItem ToolTip0", which is the tooltip text for Item0. It should have said Item0 because it's a text button. Not a 3.6 regression.
2010-06-04 14:01:36
1,275,670,000
resolved fixed
feef74e
1,279,060,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/ToolItem.java
SWT
591
218,929
Bug 218929 Support SWT.TOOL style for shells on the Mac
I20080212-0800 Add support for the SWT.TOOL style for shells on the Mac. Currently, TOOL shells look like ordinary shells. Would be nice if they could look like e.g the font picker.
2008-02-14 05:33:27
1,202,990,000
resolved fixed
c9423c4
1,278,970,000
bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSPanel.java bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/OS.java bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/SWTPanel.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Shell.java
SWT
592
319,582
Bug 319582 AIOOBE calling IAHyperlink methods
null
2010-07-12 10:40:37
1,278,950,000
resolved fixed
1100861
1,278,950,000
bundles/org.eclipse.swt/Eclipse SWT Accessibility/win32/org/eclipse/swt/accessibility/Accessible.java
SWT
593
313,740
Bug 313740 Unable to select any window when JFace warning dialog and file browse dialog are both open
Build Identifier: 3.4.2.M20090107-0800 If you open the preference page, then from there click on a Browse button to open a file browser dialog, then trigger some event that causes an org.eclipse.jface.dialogs.MessageDialog.openWarning() call to happen, you end up with a warning dialog under the file browser, and neither one can actually be clicked on, thus causing a locking situation. The user must force quit the application. There does not seem to be an appropriate SWT style that will allow a dialog like this to be on top of a File Browser or similar system level dialog (such as the Font picker). Reproducible: Always Steps to Reproduce: 1. Go to a preference page that has a Browse... button on it. Click it to open a file browser dialog 2. With that dialog open, call org.eclipse.jface.dialogs.MessageDialog.openWarning() 3. Two windows are open, neither one can be dismissed. Must force quit the application.
2010-05-20 10:39:17
1,274,370,000
resolved fixed
74958a3
1,278,630,000
bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/OS.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/DirectoryDialog.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/FileDialog.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Shell.java
SWT
594
309,269
Bug 309269 [Widgets] Table selection event does not return a correct table item
Build Identifier: M20090211-1700 Here's a snippet: import org.eclipse.swt.SWT; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.layout.GridData; 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.Table; import org.eclipse.swt.widgets.TableColumn; import org.eclipse.swt.widgets.TableItem; public class TableItemTest { static Table table = null; public static void main(String[] args) { final Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); int style = SWT.CHECK | SWT.MULTI | SWT.BORDER | SWT.H_SCROLL | SWT.V_SCROLL | SWT.FULL_SELECTION; table = new Table(shell, style); final GridData gridData = new GridData(0, 0, false, false); gridData.horizontalSpan = 3; gridData.heightHint = 120; table.setLayoutData(gridData); table.setHeaderVisible(true); TableColumn column = new TableColumn(table, SWT.CENTER); column.setWidth(60); column = new TableColumn(table, SWT.LEFT); column.setWidth(80); column = new TableColumn(table, SWT.LEFT); column.setWidth(300); column = new TableColumn(table, SWT.LEFT); column.setWidth(80); for (int i = 0; i < 5; i++) { TableItem item = new TableItem(table, SWT.NONE); item.setText(new String[] { String.valueOf(i), "XXXXXX" }); } table.addListener(SWT.Selection, new Listener() { public void handleEvent(Event event) { TableItem item = (TableItem) event.item; int index = table.indexOf(item); System.out.println(index); } }); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } } the printed index is not correct Reproducible: Always Steps to Reproduce: using the provided snippet can easily reproduce this problem
2010-04-15 04:08:01
1,271,320,000
resolved fixed
90f6257
1,278,620,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Tree.java
SWT
595
315,932
Bug 315932 [printing] Print selection prints whole file
Build Identifier: I20100520-1744 If you open a xmxl file, select some lines , press <CTRL>+P and select "Selected Text" at the printer dialog, the hole xml file will be printed. This is especially annoying if you print at a network printer (in separate room) and the xml file has a size of about 2MB. Reproducible: Always Steps to Reproduce: 1. open a xml file 2. select several lines 3. goto print and select "Selection"
2010-06-07 02:42:58
1,275,890,000
resolved fixed
861b5d3
1,278,510,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
SWT
596
294,761
Bug 294761 Gripper icon on Mac status bar should be transparent
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.5) Gecko/20091102 Firefox/3.5.5 (.NET CLR 3.5.30729) Build Identifier: M20090211-1700 The gripper icon on the right hand side of the status bar, used for resizing windows on the Mac, is not transparent like the native one is. This looks bad, especially if your shell background color is not grey. Reproducible: Always Steps to Reproduce: 1.Create a shell with a status bar 2.Look at the lower right corner 3.
2009-11-10 11:10:12
1,257,870,000
resolved fixed
d53aedc
1,278,500,000
bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/OS.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Shell.java
SWT
597
316,938
Bug 316938 Incorrect signature for OS.XGetWindowProperty
OS.XGetWindowProperty has an incorrect signature, it uses longs in some places that should be ints. I will attach a patch. This causes problems for file open on solaris.
2010-06-15 12:05:02
1,276,620,000
resolved fixed
7cbb5d1
1,278,450,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/Display.java
SWT
598
314,243
Bug 314243 [Widgets] Tooltip for tool item in inactive shell not updated when mouse moved to other item
3.5.2 and I20100523-0800 Cocoa The tooltip for a tool item in an inactive shell is not updated when the mouse is moved to an other item in same group. Steps: - Control Example > ToolBar - Set/Get API - hover over fist item of example toolbar => hover is SWT.PUSH - move mouse horizontally to third item => hover is still SWT.PUSH but should be SWT.RADIO. When the mouse leaves the toolbar area, the hover disappears and correctly appears the next time. In the SDK, this can e.g. be seen in the main window toolbar when the Find/Replace dialog of a text editor is active, or in Javadoc hovers when you move the mouse into the hover, wait until the toolbar appears, and then hover over the tool items (without giving focus to the Javadoc hover)
2010-05-25 07:12:04
1,274,790,000
resolved fixed
ca083c1
1,278,430,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Shell.java
SWT
599
315,894
Bug 315894 non composable key combinations erases first char in text editors
On a mac entering characters via composition (i.e. a character like combination of ~ and n, to produce n) works fine for combinations that produce a combined char, but for non existing combinations, the first entered character is instead erased. This happens in editors, but not in fields in dialogs. Reproducible: Always. Reproduce by: - Open a text editor (I tested in Java, as well as in Xtext generated editors): - Type ~ - Type = Result, the ~ is deleted. Expected result: "~=" Work around: Type '~' then <space> or <esc> to exit compose mode, then type '='. The issue is quite irritating as eclipse editors work differently than the standard on the mac.
2010-06-05 21:27:42
1,275,790,000
resolved fixed
b736b43
1,278,430,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Control.java
SWT
600
294,860
Bug 294860 Left arrow buttons point to the right (Carbon)
In SWT Carbon the arrows used in the Arrow Buttons always point to the right. Up and Down arrows are correct. The problem still exists in the latest.
2009-11-11 06:33:12
1,257,940,000
resolved fixed
3a18703
1,277,970,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Button.java
SWT
601
313,121
Bug 313121 Font dialog doesn't return selected Font (when opened after MULTI Text)
The Font Dialog doesn't return the selected Font. public class FontDialogBug { public static void main(String[] args) { final Display display = new Display(); final Shell shell = new Shell(display); shell.setLayout(new RowLayout()); final Text t = new Text(shell, SWT.MULTI|SWT.BORDER); t.setText("Hello"); Button button = new Button(shell, SWT.PUSH); button.setText("set font"); button.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { FontDialog d = new FontDialog(shell); FontData data = d.open(); System.out.println(data); if (data != null) t.setFont(new Font(display, data)); } }); shell.pack(); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } } Happens when we create the Text with SWT.MULTI style. Doesn't happen with SWT.SINGLE.
2010-05-17 09:03:38
1,274,100,000
resolved fixed
2ea65a5
1,277,920,000
bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSTextView.java 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/Text.java
SWT
602
317,390
Bug 317390 Editors hang for several seconds when processing input when Windows On-Screen Keyboard accessory is running
null
2010-06-20 19:46:12
1,277,080,000
resolved fixed
66bf34f
1,277,910,000
bundles/org.eclipse.swt/Eclipse SWT Accessibility/win32/org/eclipse/swt/accessibility/Accessible.java
SWT
603
313,593
Bug 313593 [Accessibility] Implement retrieval of visible children
Cocoa accessibility supports returning the visible children for things like tables, lists, menubars and menus. There is a comment in Accessible.java that says "SWT has no visible children API", but Carolyn says that one was added just for the Mac support. We need to change Accessible to call it and return the right values.
2010-05-19 14:12:40
1,274,290,000
resolved fixed
9a0da4b
1,277,750,000
bundles/org.eclipse.swt/Eclipse SWT Accessibility/cocoa/org/eclipse/swt/accessibility/Accessible.java
SWT
604
317,782
Bug 317782 TextTransfer generates incorrect UTF16 in pasteboard when copying strings from SWT application
Build Identifier: 3.5.2 If we copy a string from SWT based application and then paste it to a native Carbon application, the native Carbon application could not get the correct data if inFlavorType is set to kUTTypeUTF16PlainText. This works with 3.4.2. If we roll back the changes in TextTransfer.java to 3.4.2, the copy/paste works. Reproducible: Always Steps to Reproduce: 1. Run the CopyPasteTest.java application 2. Build and run the CHZO858ABV project 3. Copy a string from the CopyPasteTest application, this can be done either from Apple + C or clicking the buttons 4. Click "Edit" -> "myPaste" menu item to paste the data into the native CHZO858ABV application. Do NOT use Apple + V to paste. 5. The paste fails.
2010-06-24 03:46:39
1,277,370,000
resolved fixed
f52276b
1,277,750,000
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/carbon/org/eclipse/swt/dnd/TextTransfer.java bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/OS.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Widget.java
SWT
605
317,051
Bug 317051 reducing item count can send Selection event
- happens only on Table, not on Tree - run the snippet below, wait for a few seconds, and you'll see that a Selection event is received when the Table's item count is set to 4 -> on win32 and gtk this Selection event does not happen (haven't tried Carbon) - it may be another case of ignoreSelect = true/false needed around noteNumberOfRowsChanged() invocation public static void main(String[] args) { final Display display = new Display(); Shell shell = new Shell(display); shell.setBounds(200, 200, 200, 200); shell.setLayout(new FillLayout()); final Table table = new Table(shell, SWT.MULTI); for (int i = 0; i < 9; i++) { new TableItem(table, SWT.NONE).setText("hi " + i); } shell.open(); table.selectAll(); table.addListener(SWT.Selection, new Listener() { public void handleEvent(Event event) { System.out.println("selection"); } }); display.timerExec(3333, new Runnable() { public void run() { table.setItemCount(4); } }); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); }
2010-06-16 10:52:29
1,276,700,000
resolved fixed
2c4d362
1,277,740,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/List.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Tree.java
SWT
606
316,811
Bug 316811 change all "Safari" references to "WebKit"
- this would be more accurate, and consistent if a WebKit-for-Windows Browser was ever implemented
2010-06-14 15:16:38
1,276,540,000
resolved fixed
7692871
1,277,500,000
bundles/org.eclipse.swt/Eclipse SWT Browser/carbon/org/eclipse/swt/browser/Safari.java bundles/org.eclipse.swt/Eclipse SWT Browser/cocoa/org/eclipse/swt/browser/Safari.java bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/Browser.java bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/WebBrowser.java bundles/org.eclipse.swt/Eclipse SWT PI/carbon/org/eclipse/swt/internal/carbon/OS.java bundles/org.eclipse.swt/Eclipse SWT WebKit/carbon/org/eclipse/swt/browser/WebKit.java bundles/org.eclipse.swt/Eclipse SWT WebKit/cocoa/org/eclipse/swt/browser/WebKit.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Widget.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Widget.java
SWT
607
312,830
Bug 312830 [Mozilla] XPCOM error when removing DOM listeners should not crash
When showing the Welcome page at startup, if a Mozilla-based Browser is successfully created but then fails on the subsequent setText() call the workbench is immediately brought down. This disposes the Browser, which unhooks its DOM listeners. However the setText() failure can leave the underlying browser in an inconsistent state, which causes the listener unhooking to fail also. Currently when this happens an error is thrown for the listener unhooking failure, which covers up the original error. This failure should not cause a crash, firstly because the original error should not be covered up (it's the one that matters), and secondly because failure to remove DOM listeners does not really matter (the Browser's future function should not be affected).
2010-05-13 14:45:08
1,273,780,000
resolved fixed
6c6ae9e
1,277,500,000
bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/browser/Mozilla.java
SWT
608
314,914
Bug 314914 Confusing GridData javadoc
GridData class docs sez: " * </pre> * The second is to take advantage of convenience style bits defined * by <code>GridData</code>: * <pre> * button1.setLayoutData(new GridData(GridData.HORIZONTAL_ALIGN_FILL | GridData.GRAB_HORIZONTAL)); * </pre> * </p> * <p>" But when you look at docs for those styles, we have: * Not recommended. Use * <code>new GridData(SWT.FILL, int, boolean, boolean)</code> * instead. */ public static final int HORIZONTAL_ALIGN_FILL = 1 << 8; * Not recommended. Use * <code>new GridData(int, int, true, boolean)</code> * instead. */ public static final int GRAB_HORIZONTAL = 1 << 9; Why are we using as an example something that isn't recommended?
2010-05-28 12:55:51
1,275,070,000
resolved fixed
a911220
1,275,490,000
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/layout/GridData.java
SWT
609
315,326
Bug 315326 SIGSEGV in _G_OBJECT_TYPE during moveAbove
Build Identifier: I20100520-1744 Using moveAbove to move a Label in a Composite after a Label from that Composite has previously been disposed results in a segfault in the circumstances described in "Steps to Reproduce". The test case works fine with Eclipse 3.5.1 (M20090917-0800), SWT jarfile org.eclipse.swt.gtk.linux.x86.source_3.5.1.v3555a.jar. It crashes with 3.6RC2 (SWT jarfile org.eclipse.swt.gtk.linux.x86.source_3.6.0.v3649.jar). Reproducible: Always Steps to Reproduce: 1. Run attached test case. 2. Click "Crash Me". Or, 1. Add a Label widget and then a Text widget to a Composite. 2. Dispose the Label. 3. Add a new Label widget to the Composite and use moveAbove to move it above the Text widget.
2010-06-01 19:50:49
1,275,440,000
resolved fixed
6894208
1,275,490,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java
SWT
610
314,432
Bug 314432 [hovering] First click on not yet enriched hover closes hover immediately
3.6 RC2, broken during 3.6 M3 (works in 3.5.2) When I click a link in a not yet enriched hover (be fast to make sure it doesn't get enriched before you click), then the hover shell closes immediately and does not give the focus back to the editor. Steps to reproduce: 1. paste this into Package Explorer of new workspace public class ClassParent { public void foo1() { } } public class ClassChild extends ClassParent{ /** * @see #foo1() */ public void foo2() { foo1(); } } 2. hover over foo2() and quickly click on foo1() NOTE: If you are not fast enough then you have to close and reopen the editor as the bug can only be seen the first time.
2010-05-26 07:13:33
1,274,870,000
verified fixed
ddf97ad
1,274,900,000
bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/IE.java
SWT
611
313,594
Bug 313594 Word unexpectedly selected when user types ctrl+arrow in editor and using screen reader
3.6RC1 Note that this behavior only happens when a screen reader is running. One of the new Accessibility API's we have provided in 3.6 is "what is the word at this offset?" I was surprised to see that when JAWS or AccProbe use this API, a word in the editor becomes selected. It happens every time the editor gets focus. I looked into it a bit and sent the following email to Felipe: "The strange selection behavior in getText(offset, WORD) is something that Eclipse is doing. For some reason, it thinks it got a double-click. This does not happen in CustomControlExample. I can show you the steps to see this using AccProbe inspector or JAWS. Here's a stack trace: Thread [main] (Suspended (breakpoint at line 9443 in StyledText)) StyledText.setSelection(int, int, boolean, boolean) line: 9443 StyledText.setSelectionRange(int, int) line: 9506 CompilationUnitEditor$AdaptedSourceViewer(TextViewer).setSelectedRange(int, int) line: 2391 JavadocDoubleClickStrategy(DefaultTextDoubleClickStrategy).doubleClicked(ITextViewer) line: 192 TextViewer$TextDoubleClickStrategyConnector.getPreviousOffset(MovementEvent) line: 245 StyledTextListener.handleEvent(Event) line: 90 EventTable.sendEvent(Event) line: 84 StyledText(Widget).sendEvent(Event) line: 1052 StyledText(Widget).sendEvent(int, Event, boolean) line: 1076 StyledText(Widget).sendEvent(int, Event) line: 1061 StyledText(Widget).notifyListeners(int, Event) line: 773 StyledText.sendWordBoundaryEvent(int, int, int, int, String, int) line: 8056 StyledText.getWordPrevious(int, int) line: 5378 StyledText$12.getText(AccessibleTextEvent) line: 6588 Accessible.get_textAtOffset(int, int, int, int, int) line: 4084 Accessible$9.method13(int[]) line: 459 COMObject.callback13(int[]) line: 182 OS.DispatchMessageW(MSG) line: not available [native method] OS.DispatchMessage(MSG) line: 2459 Display.readAndDispatch() line: 3655 Workbench.runEventLoop(Window$IExceptionHandler, Display) line: 2624 Workbench.runUI() line: 2588 Workbench.access$4(Workbench) line: 2422 Workbench$7.run() line: 670 Realm.runWithDefault(Realm, Runnable) line: 332 Workbench.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 663 PlatformUI.createAndRunWorkbench(Display, WorkbenchAdvisor) line: 149 IDEApplication.start(IApplicationContext) line: 115 EclipseAppHandle.run(Object) line: 196 EclipseAppLauncher.runApplication(Object) line: 110 EclipseAppLauncher.start(Object) line: 79 EclipseStarter.run(Object) line: 369 EclipseStarter.run(String[], Runnable) line: 179 NativeMethodAccessorImpl.invoke0(Method, Object, Object[]) line: not available [native method] NativeMethodAccessorImpl.invoke(Object, Object[]) line: not available DelegatingMethodAccessorImpl.invoke(Object, Object[]) line: not available Method.invoke(Object, Object...) line: not available Main.invokeFramework(String[], URL[]) line: 619 Main.basicRun(String[]) line: 574 Main.run(String[]) line: 1407 Main.main(String[]) line: 1383 " Felipe replied: "This is in Text/JDT. They stop the majority of StyledText's actions (word next/word previous/ delete word previous/etc) and they do their own thing. (apparently) The only place where they let StyledText run is double click -> select word. They always select the word as a side effect of calling MovementListener#getPreviousOffset (during double click that doesn't matter cause StyledText would select the word anyway) We can disable and not call them during accessibility, but the word next that the accessible will see will not be the same as ctrl+arrow right key... " Would someone be able to look into this, please? It would be confusing to a blind user to use a keystroke to move forward a word, and then have a selected word as a side effect. If there is a simple fix, could it please be considered for RC2?
2010-05-19 14:14:31
1,274,290,000
resolved fixed
62166b2
1,274,890,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
SWT
612
314,064
Bug 314064 [Doc] API doc of Program.launch (String, String) has to be modified
The API doc of Program.launch (String fileName, String workingDir) incorrectly mentions that it returns exception "ERROR_INVALID_ARGUMENT when workingDir is not valid". This is specified on Windows, Photon & Motif platforms, and the remaining platforms has correct documentation.
2010-05-24 04:14:00
1,274,690,000
resolved fixed
17410f7
1,274,780,000
bundles/org.eclipse.swt/Eclipse SWT Program/win32/org/eclipse/swt/program/Program.java
SWT
613
313,711
Bug 313711 API inconsistencies between dispose() and isDisposed()
HEAD The dispose() and isDisposed() methods of e.g. Widget and Resource have inconsistent APIs. - isDisposed() says: * When a widget/resource has been disposed, it is an error to * invoke any other method using the widget/resource. - dispose() does not state any restrictions and does not declare that it throws an exception (e.g. ERROR_WIDGET_DISPOSED). Furthermore, Widget#dispose() contains this comment: /* * Note: It is valid to attempt to dispose a widget * more than once. If this happens, fail silently. */ If the restriction in isDisposed() really applies, then this must be moved up to the class Javadoc and dispose() must declare the exception. You cannot assume that a caller of dispose() reads the Javadocs of all other methods. However, the more sensible fix is: - in isDisposed(), replace "any other method" with something like: "any other method (except {@link #dispose()})" - in dispose(), you could add a statement telling that the method does nothing when the widget/resource is already disposed This should be done for all declarations of the the two methods in SWT.
2010-05-20 08:33:54
1,274,360,000
resolved fixed
5332523
1,274,700,000
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/Resource.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Color.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Cursor.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Font.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Image.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Path.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Pattern.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Region.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Transform.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Widget.java
SWT
614
314,079
Bug 314079 wrong constant value in SWT.OrientationChange javadoc
null
2010-05-24 05:36:15
1,274,690,000
resolved fixed
887c3f5
1,274,690,000
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/SWT.java
SWT
615
314,066
Bug 314066 Add missing flags (<code>, @see, @return, @param) in javadoc
null
2010-05-24 04:17:38
1,274,690,000
resolved fixed
e99cb86
1,274,690,000
bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/Browser.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolderRenderer.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/OleAutomation.java bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/SWT.java bundles/org.eclipse.swt/Eclipse SWT/common_j2me/org/eclipse/swt/internal/Compatibility.java bundles/org.eclipse.swt/Eclipse SWT/common_j2se/org/eclipse/swt/internal/Compatibility.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Composite.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java
SWT
616
313,937
Bug 313937 Composite on Motif contains println
null
2010-05-21 12:25:14
1,274,460,000
resolved fixed
a8f6b41
1,274,470,000
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Composite.java
SWT
617
312,315
Bug 312315 TableItem/TreeItem.getBounds() needs more explicit documentation
While fixing 309753 there was some confusion on my part about what TreeItem.getBounds() is really returning. It should return the bounds of the text portion of the item, but it's not clear from the javadoc that that is the case. If there is an image set for the item it isn't part of the bounds. Likewise, there's no documentation that I can find about SWT.MeasureItem, EraseItem and PaintItem. The snippets show how they are being used, but there's no documentation about the values sent in the event.
2010-05-10 14:07:49
1,273,510,000
resolved fixed
0a763d9
1,274,470,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TableItem.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TreeItem.java
SWT
618
311,817
Bug 311817 Strings in Relation class need to be localized
Strings in Relation class need to be localized. static final String[] localizedRelationTypeString = { "controlled by", "controller for", "described by", "description for", "embedded by", "embeds", "flows from", "flows to", "label for", "labelled by", "member of", "node child of", "parent window of", "popup for", "subwindow of", };
2010-05-05 23:29:05
1,273,120,000
resolved fixed
07931ca
1,274,390,000
bundles/org.eclipse.swt/Eclipse SWT Accessibility/win32/org/eclipse/swt/accessibility/Relation.java
SWT
619
313,787
Bug 313787 Internal fixes for StyledText (getWordNext() and getWordPrevious())
null
2010-05-20 14:04:18
1,274,380,000
resolved fixed
f99e101
1,274,380,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
SWT
620
312,927
Bug 312927 CTabItem role description not the same as TabItem
The role of a CTabItem is AXRadioButton., which is correct, but the description should be "tab" instead of "radio button".
2010-05-14 11:27:41
1,273,850,000
resolved fixed
3a15463
1,274,370,000
bundles/org.eclipse.swt/Eclipse SWT Accessibility/cocoa/org/eclipse/swt/accessibility/Accessible.java
SWT
621
312,346
Bug 312346 StyledText doesn't report a text style when requesting the end of the line.
In StyledText's implementation of getTextAttributes() at line 6712 (roughly) it's possible for the method to return without returning a TextStyle object in e.textStyle. On the Mac this causes VoiceOver to interpret a line ending as a font change because the character before and character after have font information returned for them. Fix is simple -- just add e.textStyle = new TextStyle(st.getFont(), st.foreground, st.background); before the return on line 6715.
2010-05-10 17:56:45
1,273,530,000
resolved fixed
5e0cc03
1,274,310,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
SWT
622
313,444
Bug 313444 [Accessibility] Font attributes are repeated at the beginning of lines
I20100516-0800 When voiceover is turned on, font attributes of text will be read out at the start of a line even when the font hasn't changed over a run of text. To reproduce: 1. Make sure text attributes are being read out. In VoiceOver Utility, select Verbosity -> Text, and make sure 'When text attributes change:" says "Speak Attributes". 2. Run CustomControlExample. 3. Select the last word of the first line and the first word of the second line. 4. Make the text bold. 5. Click on the word "Two" 6. Click on the word "The" ===> You hear the font attribute being read out. The font didn't change from the default, so the font attribute shouldn't have been read.
2010-05-18 17:19:20
1,274,220,000
resolved fixed
a21b701
1,274,310,000
bundles/org.eclipse.swt/Eclipse SWT Accessibility/cocoa/org/eclipse/swt/accessibility/Accessible.java
SWT
623
313,424
Bug 313424 NPE in Control.invalidateVisibleRegion when expanding/collapsing tree node
3.6 M7 - Cocoa - 32-bit In RTC, - select a change set in the Pending Changes view (uses an owner-draw Tree) - hit F2 to open the edit field (a child text field) - click the expand/collapse triangle for the change set - it fails with: java.lang.NullPointerException at org.eclipse.swt.widgets.Control.invalidateVisibleRegion(Control.java:1891) at org.eclipse.swt.widgets.Control.setVisible(Control.java:3743) at org.eclipse.swt.custom.TreeEditor$3.treeCollapsed(TreeEditor.java:117) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:104) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3734) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1335) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1358) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1343) at org.eclipse.swt.widgets.TreeItem.sendExpand(TreeItem.java:1018) at org.eclipse.swt.widgets.Tree.collapseItem_collapseChildren(Tree.java:425) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5133) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:221) at org.eclipse.swt.widgets.Widget.mouseDownSuper(Widget.java:993) at org.eclipse.swt.widgets.Tree.mouseDownSuper(Tree.java:1957) at org.eclipse.swt.widgets.Widget.mouseDown(Widget.java:989) at org.eclipse.swt.widgets.Control.mouseDown(Control.java:2222) at org.eclipse.swt.widgets.Tree.mouseDown(Tree.java:1934) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4928) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:221) at org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:1911) at org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:1998) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4992) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:4536) at org.eclipse.swt.widgets.Display.applicationProc(Display.java:4613) at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:115) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3247) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2601) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2565) at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2399) at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:669) at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:662) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149) at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115) at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:619) at org.eclipse.equinox.launcher.Main.basicRun(Main.java:574) at org.eclipse.equinox.launcher.Main.run(Main.java:1407) Silenio says: "The parent slot of the control (editor) is null. I am not sure how this can happen. The parent slot should only be null when the widget is disposed, but setVisible() should have thrown a widget disposed exception if that was the case."
2010-05-18 15:03:21
1,274,210,000
resolved fixed
ea5e7e4
1,274,220,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Control.java
SWT
624
313,223
Bug 313223 StyledText slow to update due to deferred flushing
I20100511-0800 The content of a StyledText doesn't keep up with your keystrokes. You can see this in CustomControlExample. 1. Launch CustomControlExample. 2. Switch to StyledText. 3. Check the HORIZONTAL_FILL and VERTICAL_FILL checkboxes. 4. Start typing at a fast pace. The text doesn't appear immediately. It seems to take a fraction of a second for the text you just typed in to repaint. Compare with a multiline Text, where there is no noticeable delay after typing.
2010-05-17 15:12:13
1,274,120,000
resolved fixed
52aac57
1,274,220,000
bundles/org.eclipse.swt/Eclipse SWT PI/cocoa/org/eclipse/swt/internal/cocoa/NSWindow.java 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/Shell.java
SWT
625
312,734
Bug 312734 Incorrect GC colors on Table's PaintItem event when row selected + no EraseItem
Build Identifier: SWT3647 When a table has a PaintItem listener but no EraseItem listener, the PaintItem's event.GC will not have the correct Foreground and Background color. Run the snippet below and select the first row of each table. When in focus, the table without the EraseItem will have wrong colors. Reproducible: Always Steps to Reproduce: Snippet: import org.eclipse.swt.SWT; import org.eclipse.swt.graphics.Rectangle; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.widgets.*; public class testTableFG { public static void main(String[] args) { Display display = new Display(); Shell shellMain = new Shell(display, SWT.SHELL_TRIM); shellMain.setLayout(new FillLayout(SWT.VERTICAL)); Table table = new Table(shellMain, SWT.BORDER); new TableColumn(table, SWT.RIGHT); new TableItem(table, SWT.NONE).setText("setText"); table.getColumn(0).setWidth(300); table.addListener(SWT.PaintItem, new Listener() { public void handleEvent(Event event) { Rectangle bounds = ((TableItem) event.item).getBounds(event.index); event.gc.fillRectangle(bounds.x + 5, bounds.y, 10, bounds.height); event.gc.drawText("drawnText/No EraseItem", bounds.x + 20, bounds.y, true); } }); ///////////////////// Table table2 = new Table(shellMain, SWT.BORDER); new TableColumn(table2, SWT.RIGHT); new TableItem(table2, SWT.NONE).setText("setText"); table2.getColumn(0).setWidth(300); table2.addListener(SWT.PaintItem, new Listener() { public void handleEvent(Event event) { Rectangle bounds = ((TableItem) event.item).getBounds(event.index); event.gc.fillRectangle(bounds.x + 5, bounds.y, 10, bounds.height); event.gc.drawText("drawnText/EraseItem", bounds.x + 20, bounds.y, true); } }); table2.addListener(SWT.EraseItem, new Listener() { public void handleEvent(Event event) { } }); //////////////// shellMain.open(); while (!shellMain.isDisposed()) { try { if (!display.readAndDispatch()) display.sleep(); } catch (Throwable t) { t.printStackTrace(); } } display.dispose(); } }
2010-05-12 20:26:40
1,273,710,000
resolved fixed
a211541
1,274,200,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Tree.java
SWT
626
313,197
Bug 313197 NPE in Table.sendDoubleSelection when double-clicking on the right of an item
HEAD, Cocoa - run Snippet113, which creates a Table with SWT.CHECK style - double-click on the right of an item (not in the item text) => NPE Exception in thread "main" java.lang.NullPointerException at org.eclipse.swt.widgets.Table.sendDoubleSelection(Table.java:2975) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4957) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:237) at org.eclipse.swt.widgets.Widget.mouseDownSuper(Widget.java:1060) at org.eclipse.swt.widgets.Table.mouseDownSuper(Table.java:1930) at org.eclipse.swt.widgets.Widget.mouseDown(Widget.java:1056) at org.eclipse.swt.widgets.Control.mouseDown(Control.java:2305) at org.eclipse.swt.widgets.Table.mouseDown(Table.java:1912) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5099) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:237) at org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:1978) at org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2007) at org.eclipse.swt.widgets.Display.windowProc(Display.java:5163) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:4705) at org.eclipse.swt.widgets.Display.applicationProc(Display.java:4782) at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:115) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3399) at org.eclipse.swt.snippets.Snippet113.main(Snippet113.java:42)
2010-05-17 13:25:59
1,274,120,000
resolved fixed
64fd49e
1,274,200,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Tree.java
SWT
627
309,907
Bug 309907 The text of ToolTip is a black bubble on OS linux Ubuntu 10.04 beta2
null
2010-04-21 04:11:59
1,271,840,000
resolved fixed
9d10ebc
1,274,130,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ToolTip.java
SWT
628
312,956
Bug 312956 GC#textExtents(String) throws ArrayIndexOutOfBoundsException with GDI+ and if '\r' is present in the string
Try the following snippet: import org.eclipse.swt.SWT; import org.eclipse.swt.events.PaintEvent; import org.eclipse.swt.events.PaintListener; import org.eclipse.swt.graphics.Font; import org.eclipse.swt.graphics.Point; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; public class TestSnippet { private static String text = "Label\r\n"; //$NON-NLS-1$ public static void main(String [] args) { final Display display = new Display(); final Shell shell = new Shell(display); final Font font = new Font(display, "Tahoma", 16, SWT.BOLD); //$NON-NLS-1$ shell.addPaintListener(new PaintListener() { public void paintControl(PaintEvent event) { event.gc.setAntialias(SWT.ON); event.gc.setFont(font); event.gc.drawText(text, 10, 10); Point pt = event.gc.textExtent(text); event.gc.setClipping(10, 10 + pt.y, pt.x - 1, pt.y); event.gc.drawText(text, 10, 10 + pt.y); } }); shell.setBounds(10, 10, 200, 200); shell.open (); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } font.dispose(); display.dispose(); } } Launch it as "Java Application" and get ArrayIndexOutOfBoundsException If you remove '\r' from the text, no exception If you don't set anti-alias (i.e. advanced flag - GDI+ support) it will also work. Think it's a typo, hence priority == critical just to make sure this gets fixed asap.
2010-05-14 14:23:51
1,273,860,000
resolved fixed
ec4ef5c
1,274,130,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java
SWT
629
313,182
Bug 313182 Need command-line option to turn off IA2
null
2010-05-17 12:28:17
1,274,110,000
resolved fixed
5ffa280
1,274,120,000
bundles/org.eclipse.swt/Eclipse SWT Accessibility/win32/org/eclipse/swt/accessibility/Accessible.java
SWT
630
312,810
Bug 312810 Remove code that was inadvertently committed
null
2010-05-13 12:01:31
1,273,770,000
resolved fixed
d962459
1,273,770,000
bundles/org.eclipse.swt/Eclipse SWT Accessibility/cocoa/org/eclipse/swt/accessibility/Accessible.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Control.java
SWT
631
311,809
Bug 311809 [Accessibility] Accessible relations don't show up in accessibility inspector
I20100504-0800 The two examples for relations aren't working on Cocoa. AccessibleRelationsExample and AccessibleRelationsExample2 demonstrate the addRelation method, and on Cocoa this means that the Accessible in RELATION_LABEL_FOR should show up as an element in the NSAccessibilityServesAsTitleForUIElementsAttribute list, and the Accessible in the RELATION_LABELLED_BY slot should appear as NSAccessibilityTitleUIElementAttribute. Neither of these are showing up in Accessibility Inspector.
2010-05-05 19:30:34
1,273,100,000
resolved fixed
940e0a0
1,273,700,000
bundles/org.eclipse.swt/Eclipse SWT Accessibility/cocoa/org/eclipse/swt/accessibility/Accessible.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Control.java
SWT
632
312,722
Bug 312722 Missing AddRef in new Relation
null
2010-05-12 17:35:12
1,273,700,000
resolved fixed
3b10046
1,273,700,000
bundles/org.eclipse.swt/Eclipse SWT Accessibility/win32/org/eclipse/swt/accessibility/Relation.java
SWT
633
307,991
Bug 307991 IE browser zone elevation blocks standard browser UI
null
2010-04-02 10:32:12
1,270,220,000
resolved fixed
74bc3bf
1,273,690,000
bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/IE.java bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/WebSite.java
SWT
634
312,359
Bug 312359 77% of CPU used doing nothing
null
2010-05-10 19:57:47
1,273,540,000
resolved fixed
289fd35
1,273,690,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Link.java
SWT
635
312,528
Bug 312528 Missing AddRef in new Accessible(parent)
null
2010-05-12 01:06:47
1,273,640,000
resolved fixed
cb166f4
1,273,680,000
bundles/org.eclipse.swt/Eclipse SWT Accessibility/win32/org/eclipse/swt/accessibility/Accessible.java
SWT
636
118,049
Bug 118049 [CCombo] CCombo in form : dropdown scrolling causes parent shell to scroll too
When scrolling vertically in the drop down, either with the keyboard keys or a click on the scroll bar, if the CCombo is in a form nested in a Shell that also has a vertical scroll bar, the shell scrolls in the sameway the CCombo drop down does.
2005-11-25 08:19:15
1,132,920,000
resolved fixed
8c8a165
1,273,570,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java
SWT
637
309,753
Bug 309753 NPE in Tree#sendMeasureItem()
I20100412 I have code that is running fine on 3.5 (cocoa x86_64), when I move to 3.6 I get the following NPE. If I run this code on 3.6 on other platforms, it runs fine. This indicates to me that there is a problem in the Cocoa implementation that is probably a regression. java.lang.NullPointerException at org.eclipse.swt.widgets.Tree.sendMeasureItem(Tree.java:2446) at org.eclipse.swt.widgets.Tree.cellSize(Tree.java:274) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4813) at org.eclipse.swt.internal.cocoa.OS.objc_msgSend_stret(Native Method) at org.eclipse.swt.internal.cocoa.NSCell.cellSize(NSCell.java:34) at org.eclipse.swt.widgets.TreeItem.getBounds(TreeItem.java:467) at com.sonatype.s2.project.ui.internal.views.ProjectCatalogTreeRenderer.measureItem(ProjectCatalogTreeRenderer.java:291) at com.sonatype.s2.project.ui.internal.views.ProjectCatalogTreeRenderer.handleEvent(ProjectCatalogTreeRenderer.java:262) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84) at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3725) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1333) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1356) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1341) at org.eclipse.swt.widgets.TreeItem.calculateWidth(TreeItem.java:278) at org.eclipse.swt.widgets.Tree.calculateWidth(Tree.java:247) at org.eclipse.swt.widgets.Tree.setScrollWidth(Tree.java:2765) at org.eclipse.swt.widgets.Tree.setScrollWidth(Tree.java:2757) at org.eclipse.swt.widgets.Tree.setRedraw(Tree.java:2752) at org.eclipse.jface.viewers.AbstractTreeViewer$5.run(AbstractTreeViewer.java:1475) at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1392) at org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:403) at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1353) at org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(AbstractTreeViewer.java:1466) at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:274) at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1634) at com.sonatype.s2.project.ui.catalog.view.ProjectCatalogView.createViewer(ProjectCatalogView.java:261) at com.sonatype.s2.project.ui.catalog.view.ProjectCatalogView.createPartControl(ProjectCatalogView.java:131) at org.eclipse.ui.internal.ViewReference.createPartHelper(ViewReference.java:375) at org.eclipse.ui.internal.ViewReference.createPart(ViewReference.java:229) at org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:595) at org.eclipse.ui.internal.WorkbenchPage$ActivationList.setActive(WorkbenchPage.java:4218) at org.eclipse.ui.internal.WorkbenchPage$18.runWithException(WorkbenchPage.java:3277) at org.eclipse.ui.internal.StartupThreading$StartupRunnable.run(StartupThreading.java:31)
2010-04-19 20:57:25
1,271,730,000
resolved fixed
5c4eec1
1,273,510,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/TableItem.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/TreeItem.java
SWT
638
277,098
Bug 277098 Line numbers rendered too low
null
2009-05-20 06:13:08
1,242,810,000
resolved fixed
13a90f5
1,273,260,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/TextLayout.java
SWT
639
312,112
Bug 312112 Spec for Accessible.sendEvent should mention that eventData can be null
null
2010-05-07 14:48:04
1,273,260,000
resolved fixed
8e9a6c0
1,273,260,000
bundles/org.eclipse.swt/Eclipse SWT Accessibility/win32/org/eclipse/swt/accessibility/Accessible.java
SWT
640
311,973
Bug 311973 StyledText's AccessibleTextExtendedListener#getText() problems for TEXT_BOUNDARY_WORD
StyledText is returning some wrong values in AccessibleTextExtendedListener#getText() when the boundary type is TEXT_BOUNDARY_WORD. For example, "hello world" the word at 6 (count=0) was returning "hello" I saw the problem running linux's accerciser tool.
2010-05-06 16:50:27
1,273,180,000
resolved fixed
fcb9641
1,273,260,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
SWT
641
312,097
Bug 312097 NVDA does not work with Eclipse Java editor
null
2010-05-07 12:26:43
1,273,250,000
resolved fixed
6cedeab
1,273,250,000
bundles/org.eclipse.swt/Eclipse SWT Accessibility/win32/org/eclipse/swt/accessibility/Accessible.java
SWT
642
311,974
Bug 311974 WebKitGTK's minimum version should be 1.2.0
null
2010-05-06 16:53:25
1,273,180,000
resolved fixed
e5d5524
1,273,240,000
bundles/org.eclipse.swt/Eclipse SWT WebKit/gtk/org/eclipse/swt/browser/WebKit.java
SWT
643
288,669
Bug 288669 [Widgets] Modal state of Shells ignored after a dialog has popped up
null
2009-09-04 13:34:39
1,252,090,000
resolved fixed
2f4d1b2
1,273,200,000
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/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
644
298,744
Bug 298744 [Program] Opening URLs in external browser fails with GLib 2.20
null
2010-01-04 06:45:31
1,262,610,000
resolved fixed
98e192d
1,273,200,000
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java bundles/org.eclipse.swt/Eclipse SWT Program/gtk/org/eclipse/swt/program/Program.java
SWT
645
309,570
Bug 309570 Regression on SWT Cocoa Table header between 3.6M4 and 3.6M5
With SWT Cocoa 3.6M4, the Snippet 311 (show a menu in a table header) works correctly. However, with SWT Cocoa 3.6M5 and later, right clicking on the table header brings up the tableMenu rather than the headerMenu. Something in the calculation of where the click occurred (header vs table) has regressed in 3.6M5. Right clicking in the first row of the table, brings up the headerMenu, however. So my guess is that it has something to do with the Table#getClientArea method. Note that both Table and Tree exhibit this problem. I ran this using the 64bit cocoa versions. Let me know if I can help provide more info.
2010-04-17 10:22:51
1,271,510,000
resolved fixed
86fca25
1,273,180,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Tree.java
SWT
646
311,819
Bug 311819 StyledText getTextAttributes should always return font & colors
Screen readers don't want to assume (or figure out) what the default font & colors of an IAccessibleText are. So we need to return something for them, even if there are no styles. Something like this (did not test): if (!isListening(LineGetStyle) && st.renderer.styleCount == 0) { e.textStyle = new TextStyle(st.getFont(), st.foreground, st.background); e.start = 0; e.end = contentLength; return; }
2010-05-06 01:24:45
1,273,120,000
resolved fixed
5d481eb
1,273,170,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
SWT
647
291,326
Bug 291326 [SWT/AWT] Freeze when making a sync SWT call in response to certain Swing events
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.3) Gecko/20090824 Firefox/3.5.3 Build Identifier: swt-N20090930-2000-cocoa-macosx-x86_64 Calling synchronously SWT from the AWT event dispatch thread can result in a freeze of the application. This happens when SWT is waiting synchronously after AWT. Here is the SWT event thread in such a case: "Thread-0" daemon prio=5 tid=0x0000000101848000 nid=0x7fff7062c700 runnable [0x00007fff5fbfa000] java.lang.Thread.State: RUNNABLE at apple.awt.CToolkit.doAWTRunLoop(Native Method) at apple.awt.CToolkit.invokeAndWait(CToolkit.java:1112) at apple.awt.CToolkit.invokeAndWait(CToolkit.java:1093) at apple.awt.ComponentModel.handlePaint(ComponentModel.java:323) at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method) at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:4349) at org.eclipse.swt.widgets.Display.applicationProc(Display.java:4426) at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method) at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:101) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3159) Reproducible: Sometimes Steps to Reproduce: Call SWT synchronously in response to a Swing component event.
2009-10-05 07:12:37
1,254,740,000
resolved fixed
c8de18f
1,273,170,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
648
311,687
Bug 311687 Link does not wrap without vertical fill
3.5 and I20100504-0800 The link widget does not properly wrap on Cocoa. If you open the ControlExample, select Size > Preferred, Horizontal Fill, and then make the window narrow, the Link wraps on WinXP and GTK, but doesn't wrap on Cocoa. When Vertical Fill is also checked, it also works properly on Cocoa. This bug can also be seen in the SDK in "Preferences > Java > Editor" and "Preferences > Java > Editor > Syntax Coloring" (links on top don't wrap).
2010-05-05 05:49:57
1,273,050,000
resolved fixed
c01029f
1,273,170,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Link.java
SWT
649
311,881
Bug 311881 NPE in Link traversal code
null
2010-05-06 09:50:54
1,273,150,000
resolved fixed
9091daa
1,273,160,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Link.java
SWT
650
311,631
Bug 311631 [Accessibility] VoiceOver doesn't read the title of tabs in a tab group
I20100429-1549 VoiceOver isn't reading the title of a tab. 1. Launch ControlExample 2. Turn on VoiceOver. 3. Click on a tab You hear "selected tab xx of 25" but the title isn't announced. Compare with System Preferences -> Keyboard (for example), where the name of the tab is announced when you click on it. This is a standard control so we shouldn't be overriding anything.
2010-05-04 16:51:29
1,273,010,000
resolved fixed
225a555
1,273,080,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/TabItem.java
SWT
651
310,636
Bug 310636 problems with toolitem setHotImage and setDisabledImage on cocoa
1) run snippet 47 It sets image, hot image and disabled image for toolitem. But on cocoa, hot image is always shown. Also, the disabled hot image is shown as the disabled image for the toolitem. Snippet works fine on Windows. Reproducible with 3.6 HEAD.
2010-04-27 09:54:52
1,272,380,000
resolved fixed
3e20747
1,273,080,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 bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Widget.java
SWT
652
311,746
Bug 311746 Orca/Eclipse focus problems switching apps
From the orca mailing list: ------------------- I don't know who is the guilt, orca or eclipse. Probably both! To reproduce try the following: 1. lanch eclipse. I'm running build i20100504 but the problem can be reproduced with previous versions. 2. choose a workspace. 3. Open the editor with some content. 4. Switch to another application pressing alt+tab. 5. Switch back to eclipse pressing alt+tab. 6. try to navigate the text by pressing the arrow. for me nothing happens, Orca is muted. The workaround is to press ctrl + tab and then tab. Sometimes the workaround does not work and I use Plan B, press ctrl + f7 or ctrl+f8. When Plan B does not work I use the Plan C, press the right mouse button. Thanks! ------------------------------
2010-05-05 10:51:04
1,273,070,000
resolved fixed
dec3c34
1,273,070,000
bundles/org.eclipse.swt/Eclipse SWT Accessibility/gtk/org/eclipse/swt/accessibility/AccessibleObject.java bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/accessibility/gtk/ATK.java
SWT
653
311,632
Bug 311632 AccessibleObject interfering with default accessibility of Text (with Orca)
SWT creates an AccessibleObject when the free Label relation is added. This causes a lot of code to start running in AccessibleObject even though there is no listener added to Accessible object associated to the text field in the sample below. For example, AcessibleObject.atkText_get_character_at_offset() is called as you type in the text field and the implementation gets the whole text of the widget and returns the character at the offset instead of calling the super optimized implementation. public static void main(String[] args) { // Device.DEBUG = true; Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new GridLayout(1, false)); Label label = new Label(shell, SWT.NONE); label.setText("Hello"); Text text = new Text(shell, SWT.SINGLE | SWT.BORDER); text.setText("Text"); shell.pack(); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); }
2010-05-04 16:54:45
1,273,010,000
resolved fixed
a896a1d
1,273,070,000
bundles/org.eclipse.swt/Eclipse SWT Accessibility/gtk/org/eclipse/swt/accessibility/AccessibleObject.java
SWT
654
291,749
Bug 291749 [Widgets] Links in Link widget not selectable via keyboard (no focus ring)
null
2009-10-08 09:59:45
1,255,010,000
resolved fixed
63e6a90
1,273,060,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Link.java bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Link.java
SWT
655
311,602
Bug 311602 Wrong super method called in AccessibleObject
atkHypertext_get_link_index and atkText_set_caret_offset call wrong super.
2010-05-04 14:23:30
1,273,000,000
resolved fixed
fff12e8
1,273,000,000
bundles/org.eclipse.swt/Eclipse SWT Accessibility/gtk/org/eclipse/swt/accessibility/AccessibleObject.java
SWT
656
311,462
Bug 311462 Timer does not run when FileDialog is open
import org.eclipse.swt.layout.GridLayout; import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; public class PRxx { public static void main(String[] args) { final Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new GridLayout(1, false)); display.timerExec(100, new Runnable() { public void run() { System.out.println("timer"); display.timerExec(100, this); } }); shell.pack(); shell.open(); FileDialog dialog = new FileDialog(shell, SWT.NONE); dialog.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } }
2010-05-03 21:28:02
1,272,940,000
resolved fixed
95f3d17
1,272,990,000
bundles/org.eclipse.swt/Eclipse SWT/cocoa/org/eclipse/swt/widgets/Display.java
SWT
657
311,466
Bug 311466 Leaking accessible object
AccessibleFactory.createAccessible() should call gtk_widget_get_accessible() instead of atk_object_factory_create_accessible(). If it calls the former, the created atkobject has to be freed. This does not happen currently. The later is disposed when the widget is disposed.
2010-05-03 22:18:07
1,272,940,000
resolved fixed
171f5b1
1,272,990,000
bundles/org.eclipse.swt/Eclipse SWT Accessibility/gtk/org/eclipse/swt/accessibility/AccessibleFactory.java
SWT
658
311,303
Bug 311303 IAccessible2::role is supposed to pass the MSAA role through
null
2010-05-02 00:36:37
1,272,780,000
resolved fixed
a4257dd
1,272,940,000
bundles/org.eclipse.swt/Eclipse SWT Accessibility/win32/org/eclipse/swt/accessibility/Accessible.java
SWT
659
311,292
Bug 311292 QI shouldn't return S_OK for IAText if there are only attributeListeners
null
2010-05-01 16:48:50
1,272,750,000
resolved fixed
31a67d2
1,272,940,000
bundles/org.eclipse.swt/Eclipse SWT Accessibility/win32/org/eclipse/swt/accessibility/Accessible.java
SWT
660
311,302
Bug 311302 NPE getting address of a Relation
Set Accessible.DEBUG = true, then run LiveRegionExample and then run JAWS. NPE in Accessible.get_relation on the statement relation.objIAccessibleRelation.getAddress() because relation.objIAccessibleRelation is null. This is because relation.objIAccessibleRelation is created when AddRef is called, and it doesn't get called until the next line of code. It should not matter whether Relation's AddRef or getAddress is called first. The object should be created in getAddress if it was not created yet. Because of this bug, I noticed that some QueryInterface/getAddress() cleanup did not get done in the Relation class. The patch fixes both of these problems, and makes the code in Relation class consistent with the code in Accessible class.
2010-05-01 23:37:04
1,272,770,000
resolved fixed
09769cb
1,272,940,000
bundles/org.eclipse.swt/Eclipse SWT Accessibility/win32/org/eclipse/swt/accessibility/Accessible.java bundles/org.eclipse.swt/Eclipse SWT Accessibility/win32/org/eclipse/swt/accessibility/Relation.java
SWT