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 |
---|---|---|---|---|---|---|---|---|---|---|
3,461 | 51,248 |
Bug 51248 GUI thread does not process the GUI update requests timely, causing the display to be unresponsive
|
The design of the main event dispatch cycle (Display.readAndDispatch()) provides for GUI update events (executed asynchronously or synchronously on a non-gui thread) to run within the same "time horizon" as GUI events. The mechanism for this synchronization involves posting a "wake message" to the windows event queue and subsequently dispatching it to an invisible special purpose window with a handle hwndEvent. However the mechanism is not functioning properly because of 2 implementation defects: 1) The isWakeMessage() function incorrectly returns false for wake messages generated in Windows 2000/XP/NT (it works correctly in Windows CE). 2) The readAndDispatch() function does not properly dispatch the wake messages, causing them to be unnecessarily lost, and therefore not invoking the hwndEvent's windows function. This function handles the wake messages by invoking runAsyncEvents(). However due to the mentioned defects this never actually happens. All of the above leads to the unhelpful behavior of the async messages executing only when the windows queue is entirely empty. Since this is at the mercy of the OS, it leads to unpredictability of GUI updates executed from non-GUI threads in a real-time async application, such as our bond trading application, where it can lead to stale price data being displayed in the market windows. Suggested Fix (patch to org.eclipse.swt.widgets.Display): -----BEGIN PATCH----- Index: Display.java =================================================================== RCS file: /appl/cvs/MAIN/Source/org/eclipse/swt/widgets/Attic/Display.java,v retrieving revision 1.1.2.3 diff -u -r1.1.2.3 Display.java --- Display.java 5 Feb 2004 17:07:40 -0000 1.1.2.3 +++ Display.java 5 Feb 2004 17:09:24 -0000 @@ -11,6 +11,9 @@ package org.eclipse.swt.widgets; +//CBID debug support import +import org.apache.log4j.Category; +//end CBID debug support import import org.eclipse.swt.internal.*; import org.eclipse.swt.internal.win32.*; import org.eclipse.swt.*; @@ -93,6 +96,24 @@ */ public class Display extends Device { + + + + // start display debugging support block - CBID + static Category s_log = Category.getInstance(Display.class); + static boolean s_logOn = false; + int wakeReceived = 0; + int totalReceived = 0; + + public static void setLog(boolean log) + { + s_logOn = log; + } + public static boolean isLogOn() + { + return s_logOn; + } + //end display debugging support block - CBID /** * the handle to the OS message queue @@ -1390,7 +1411,18 @@ } boolean isWakeMessage (MSG msg) { - return msg.hwnd == hwndMessage && msg.message == OS.WM_NULL; +//@@@@ CBID FIX #1 +// The wake message is generated with hwnd of 0 in Windows NT/2000/XP +// see documentation on PostThreadMessage() + +//------ ORIGINAL LINE ---- commented out +// return msg.hwnd == hwndMessage && msg.message == OS.WM_NULL; +//------ END ORIGINAL --- +// ---- REPLACEMENT - wake message is type 0, hwnd is +// ---- either the hwndMessage (Windows CE) or 0 (Windows 2000/NT/XP) + return (msg.hwnd == hwndMessage || msg.hwnd == 0) + && msg.message == OS.WM_NULL; +//---- END REPLACEMENT } boolean isValidThread () { @@ -1440,6 +1472,12 @@ if (wParam != 0) dispose (); break; case OS.WM_NULL: + //start CBID display support block + if(s_logOn) + { + s_log.error("Dispatched wake message in Window Function, will run asynch from proper place; still left to process "+synchronizer.messageCount); + } + //end CBID display support block runAsyncMessages (); break; case OS.WM_QUERYENDSESSION: @@ -1461,6 +1499,12 @@ if (code >= 0) { OS.MoveMemory (hookMsg, lParam, MSG.sizeof); if (hookMsg.message == OS.WM_NULL) runAsyncMessages (); + //start CBID display debug support block + if(s_logOn && hookMsg.message == OS.WM_NULL) + { + s_log.debug("Calling wm_null in filter and running asyn"); + } + //end CBID display debug support block } return OS.CallNextHookEx (hHook, code, wParam, lParam); } @@ -1537,15 +1581,75 @@ drawMenuBars (); runPopups (); if (OS.PeekMessage (msg, 0, 0, 0, OS.PM_REMOVE)) { + //CBID debug block + totalReceived ++; + //end CBID debug block + if (!isWakeMessage (msg)) { if (!filterMessage (msg)) { OS.TranslateMessage (msg); OS.DispatchMessage (msg); } + //CBID debug block + if(s_logOn) + { + s_log.debug("***Display - processing Windows message:"+ + + msg.message + " window:" + msg.hwnd); + } + //end CBID debug block runDeferredEvents (); + //CBID debug block + if(s_logOn) + { + s_log.debug("***finished windows message from Peek:"+ + + msg.message + " window:" + msg.hwnd); + } + //end CBID debug block return true; } + //CBID fix #2 + //ORIGINAL BLOCK (empty) + //REPLACEMENT START + //The design indicates that the wake messages are + //intended to be dispatched to the windowproc of the + //hwndMessage (see window proc!) and invoke + //runAsyncEvents(). Because of the if statement + // (if(!wakeMessage (msg) the wake message is not + //dispatched to this window proc. The else block + //corrects this by dispatching the wake message + //to the window proc of the hwndMessage. + //(It is curious to note that because of the problem + //in isWakeMessage() implementation in Windows 2000 and XP + //the wake messages were not recognized as such and were dispatched + //normally, but lacking proper hwnd, they were ignored by the native + //windows dispatch code). + else + { + + wakeReceived++; + if(s_logOn) + { + s_log.debug("***Display - processing wake message:"+ + + msg.message + " window:" + msg.hwnd + " received total " + wakeReceived); + } + //necessary to make the message go to windowproc of hwndMessage + msg.hwnd=hwndMessage; + OS.DispatchMessage (msg); + if(s_logOn) + { + s_log.debug("***finished wake message:"+ + + msg.message + " window:" + msg.hwnd); + } + return true; + } + //END CBID replacement } + //CBID display debug support block + if(s_logOn) + { + s_log.debug("*** display - Running async events because the peekmessage returned false; still left " + synchronizer.messageCount ); + } + //end CBID display debug support block return runAsyncMessages (); } -----END PATCH-----
|
2004-02-05 12:24:14
| 1,076,000,000 |
resolved fixed
|
578025c
| 1,076,700,000 |
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/widgets/Synchronizer.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java
|
SWT
|
3,462 | 51,831 |
Bug 51831 StyledText doesn't specify contents of its SelectionEvents
|
StyledText offers to send out SelectionEvents, but I found no specification about the contents of the SelectionEvent. SelectionEvent says that x and y fields are Widget-specific, but doesn't link to StyledText. StyledText#addSelectionListener(..) also doesn't specify the contents of the SelectionEvent. Looking at the implementation, I found that StyledText#sendSelectionEvent() fills the Event.x and Event.y fields from the field StyledText#selection. At the definition of this field, I found a wrong line comment, which reads... Point selection = new Point(0, 0); // x is character offset, y is length But when I look at the rest of the class, it seems as if - x is the start character offset - y is the offset of the next character after the selection (and NOT the length) Therefore, I suggest: - completing the Javadoc of StyledText#addSelectionListener() - correcting the erroneous comment of field StyledText#selection
|
2004-02-12 08:56:08
| 1,076,590,000 |
resolved fixed
|
4a89695
| 1,076,700,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
|
SWT
|
3,463 | 38,643 |
Bug 38643 Toolbar computeSize stop working after WM_SETFONT
|
Our editor has a problem when turning on and off a combo box on toolbar. Once users encounter this problem, they have to reset toolbars and restart workbench to fix it. Steps to reproduce: 1. Start run-time workbench with attached plugin 2. Create a simple project 3. Create a file named 'test.w'. Make sure that two toolbar items, a button and a combo box, are added to toolbar. 4. Click the button item on toolbar twice. Make sure that the combo box turns off by the first click and turn on correctly by the second click. 5. Show Windows display properties and change desktop background color. 6. Retry step 4 !!! The combo box gets narrow by the second click. It happens not only on changing system settings but also on Windows returning from stand-by or display-lock. So, it happens frequently. Build 2003-06-04 on Windows XP
|
2003-06-09 08:12:59
| 1,055,160,000 |
resolved fixed
|
6dfada0
| 1,076,610,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ToolBar.java
|
SWT
|
3,464 | 48,273 |
Bug 48273 [wm2003] pocket pc - issues with popup menu
|
Hello, I have some trouble with SWT (swt-N20031205-wince-arm-ppc) and WM2003. Device is ASUS MyPAL 620 (XScale 400), czech localization. I tested sample from article "Cup Of SWT", StylusHold application. When I hold tap on PDA, Popup menu is displayed. This is correct. But when I select any item, the popup menu will hide and then show again, on another (near) place. When I select the item again, menu hides and action is correctly performed. The same result is with stylus and HW arrow keys (with arrows is location of "second" menu the same as "first" menu). Leos
|
2003-12-08 10:04:24
| 1,070,900,000 |
resolved fixed
|
4427fb8
| 1,076,540,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java
|
SWT
|
3,465 | 51,031 |
Bug 51031 Broken arrows on multi page
|
In eclipse-SDK-N20040125-linux-gtk (I'm developing a plug-in) Run->Debug... This opens the window "Create, manage and run configurations" Select run-time workbench->run-time workbench. This shows a screen with many "pages": test,arguments,classpath,JRE,... If the window is too small to show all the page tabs, two arrows are shown to go to the other tabs. These arrows do not work! The same trick with many pages and arrows has no problems in other places: e.g. when editing a lot of files in the "Java Perspective". Sorry if I get the component wrong (again): is it debug or UI?? If someone can point me to some guidelines for determining the failing component, I'll try to get the component name right next time :-)
|
2004-02-01 13:18:56
| 1,075,660,000 |
resolved fixed
|
b0ec5e7
| 1,076,450,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TabFolder.java
|
SWT
|
3,466 | 51,492 |
Bug 51492 changing TabFolder foreground colour is not immediately reflected
|
M7 - run control example, go to TabFolder tab - change its foreground, note that it doesn't change - damage the window, then show it again, and note that the colour is changed - alternatively, changing the background does the same thing
|
2004-02-10 12:33:29
| 1,076,430,000 |
resolved fixed
|
3dc8b1c
| 1,076,440,000 |
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Composite.java
|
SWT
|
3,467 | 44,946 |
Bug 44946 TableCursor always paints left-aligned text
|
In the case with a table that is center/right aligned, having a cursor makes the text displayed in the cursor inconsistent with table's alignment. TableCursor is always left-aligned and does not provide any means to allow user to set its text alignment to match its table's alignment.
|
2003-10-15 16:54:14
| 1,066,250,000 |
resolved fixed
|
898fc9a
| 1,076,440,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TableCursor.java
|
SWT
|
3,468 | 51,088 |
Bug 51088 Patch(es) to fix redraw bug after ControlEditors close.
|
Currently on the Mac, when a Control is disposed, it does not tell the parent to reset the clipping regions. This is what causes the area under a ControlEditor to not be redrawn properly after editing is complete. The most obvious hack to fix this (which is probably not the correct one) is to call invalidateVisibleRegion in releaseWidget(): Index: Control.java ============================================================ ======= retrieving revision 1.128 diff -u -r1.128 Control.java --- Control.java 18 Dec 2003 19:34:23 -0000 1.128 +++ Control.java 3 Feb 2004 02:14:50 -0000 @@ -1619,6 +1619,9 @@ menu.dispose (); } if (visibleRgn != 0) OS.DisposeRgn (visibleRgn); + if (parent != null && !parent.isDisposed()) { + parent.invalidateVisibleRegion (handle); + } visibleRgn = 0; menu = null; parent = null; There was at least one odd piece of fallout from making this change. In the FileExplorer app I have been working on with Steve, I got the following walkback when closing the shell: Exception in thread "main" java.lang.NullPointerException at org.eclipse.swt.widgets.ToolBar.invalidateChildrenVisibleRegion(ToolBar.java:308) at org.eclipse.swt.widgets.Control.invalidateVisibleRegion(Control.java:1150) at org.eclipse.swt.widgets.Control.releaseWidget(Control.java:1623) at org.eclipse.swt.widgets.Scrollable.releaseWidget(Scrollable.java:336) at org.eclipse.swt.widgets.Composite.releaseWidget(Composite.java:493) at org.eclipse.swt.widgets.Widget.releaseResources(Widget.java:1085) at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:487) at org.eclipse.swt.widgets.Composite.releaseWidget(Composite.java:492) at org.eclipse.swt.widgets.ToolBar.releaseWidget(ToolBar.java:399) at org.eclipse.swt.widgets.Widget.releaseResources(Widget.java:1085) at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:487) at org.eclipse.swt.widgets.Composite.releaseWidget(Composite.java:492) at org.eclipse.swt.widgets.Canvas.releaseWidget(Canvas.java:127) at org.eclipse.swt.widgets.Decorations.releaseWidget(Decorations.java:328) at org.eclipse.swt.widgets.Shell.releaseWidget(Shell.java:983) at org.eclipse.swt.widgets.Widget.dispose(Widget.java:476) at org.eclipse.swt.widgets.Shell.closeWidget(Shell.java:390) at org.eclipse.swt.widgets.Shell.kEventWindowClose(Shell.java:789) at org.eclipse.swt.widgets.Widget.windowProc(Widget.java:1626) at org.eclipse.swt.widgets.Display.windowProc(Display.java:2825) at org.eclipse.swt.internal.carbon.OS.SendEventToEventTarget(Native Method) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1903) at part3.fileexplorer.FileExplorer.main(FileExplorer.java:68) The odd thing is, invalidateChildrenVisibleRegion is failing in this case because the itemCount is non-zero, even though the items array has been nulled out: void invalidateChildrenVisibleRegion (int control) { super.invalidateChildrenVisibleRegion (control); for (int i=0; i<itemCount; i++) { ToolItem item = items [i]; item.resetVisibleRegion (control); } } If I patch the releaseWidget method for ToolBar to set itemCount to zero, like this... Index: ToolBar.java ============================================================ ======= retrieving revision 1.20 diff -u -r1.20 ToolBar.java --- ToolBar.java 7 May 2003 22:25:37 -0000 1.20 +++ ToolBar.java 3 Feb 2004 02:23:42 -0000 @@ -394,6 +394,7 @@ ToolItem item = items [i]; if (!item.isDisposed ()) item.releaseResources (); } + itemCount = 0; items = null; super.releaseWidget (); } ... then the example appears to work perfectly. This last change, seems like a good thing to do anyway. I don't have high confidence in the first one, but it definitely fixes the "in place rename does not redraw the tree" bug in my example, so something like that is needed.
|
2004-02-02 21:50:17
| 1,075,780,000 |
resolved fixed
|
8881848
| 1,076,430,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/ToolBar.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/ToolItem.java
|
SWT
|
3,469 | 47,264 |
Bug 47264 I-Beam displayed in wrong control (Run... dialog)
|
1) Open the Run dialog (i.e. click on down arrow beside the running man, select "Run..." from pop up) 2) Select any item in the "Java Application" category (create one if needed) 3) click on "Arguments" tab. 4) click in "VM Arguments:" text field. 5) type characters. notice that, the i-beam appears and disappears in the "Configurations:" area once for each character that is typed.
|
2003-11-21 14:19:14
| 1,069,440,000 |
resolved fixed
|
26c7511
| 1,076,370,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/TabFolder.java
|
SWT
|
3,470 | 49,797 |
Bug 49797 [WM2003] GC cannot instantiate on PPC 2003
| null |
2004-01-09 16:22:09
| 1,073,680,000 |
resolved fixed
|
37c1ed2
| 1,076,360,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/internal/BidiUtil.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/MenuItem.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
|
SWT
|
3,471 | 51,325 |
Bug 51325 SWT_AWT:The color depth of the display changed cause NullPointerException
| null |
2004-02-08 03:14:28
| 1,076,230,000 |
resolved fixed
|
33448e3
| 1,076,360,000 |
bundles/org.eclipse.swt/Eclipse SWT AWT/win32/org/eclipse/swt/awt/SWT_AWT.java
|
SWT
|
3,472 | 50,522 |
Bug 50522 [interop] Components in SWT_AWT don't show in Workbench.
|
Components in SWT_AWT don't show in Workbench. It you put back some of what was removed from SWT_AWT.java between M5 and M6 then things work again. Specifically the code below. Will also attach a sampple plugin project that shows this. parent.addListener (org.eclipse.swt.SWT.Resize, new org.eclipse.swt.widgets.Listener() { public void handleEvent( org.eclipse.swt.widgets.Event e) { final org.eclipse.swt.graphics.Rectangle rect = parent.getClientArea(); java.awt.EventQueue.invokeLater(new Runnable () { public void run () { frame.setSize (rect.width, rect.height); frame.validate (); } }); } }); // part 4: This was just removed and is a problem. parent.getDisplay().asyncExec(new Runnable() { public void run () { if (parent.isDisposed()) return; final org.eclipse.swt.graphics.Rectangle rect = parent.getClientArea (); java.awt.EventQueue.invokeLater(new Runnable () { public void run () { frame.setSize (rect.width, rect.height); frame.validate (); } }); } });
|
2004-01-23 17:51:15
| 1,074,900,000 |
resolved fixed
|
ae931ca
| 1,076,350,000 |
bundles/org.eclipse.swt/Eclipse SWT AWT/win32/org/eclipse/swt/awt/SWT_AWT.java
|
SWT
|
3,473 | 50,907 |
Bug 50907 JPEG loader fails to load image
|
Try to load the attached image and an ArrayIndexOutOfBoundsException will be thrown.
|
2004-01-29 15:25:31
| 1,075,410,000 |
resolved fixed
|
047cbaf
| 1,076,010,000 |
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/JPEGFrameHeader.java bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/JPEGScanHeader.java
|
SWT
|
3,474 | 44,063 |
Bug 44063 Clipboard of GTK on KDE : Eclipse crash
|
When Clipboard.getAvailableTypeNames() is called on GTK/Linux with KDE system ( not GNOME ), it causes Eclipse platform to get crashed. Looks like in this function, somehow OS.gdk_atom_name(atoms[i]) returns 0 and passing 0 to OS.strlen() causes segv. Here is how to: 1) Install the attached plugin on GTK/Linux Eclipse with KDE. 2) Run eclipse 3) If "Try me" is not in the menu, Window > Customize Perspective ... > Other > Try me needs to be checked. 4) Try me > Clipboard
|
2003-10-02 06:04:31
| 1,065,090,000 |
closed fixed
|
bbed131
| 1,075,760,000 |
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/Clipboard.java
|
SWT
|
3,475 | 50,991 |
Bug 50991 [browser] mozilla - must support older version mozilla 1.4
|
We currently support mozilla 1.6. We also need to support mozilla 1.4
|
2004-01-30 14:57:32
| 1,075,490,000 |
resolved fixed
|
5d484c6
| 1,075,490,000 |
bundles/org.eclipse.swt/Eclipse SWT Mozilla/common/org/eclipse/swt/internal/mozilla/XPCOM.java bundles/org.eclipse.swt/Eclipse SWT Mozilla/gtk/org/eclipse/swt/internal/mozilla/GRE.java
|
SWT
|
3,476 | 50,709 |
Bug 50709 Right Aligned Table Column Headers do not appear until after a resize
|
Table column headers are initially blank when set with style SWT.RIGHT on 3.0 M6 SWT-GTK2 until manually resized. The header text then appears properly right aligned for all columns to the right of the one that has been resized.
|
2004-01-27 14:47:51
| 1,075,230,000 |
resolved fixed
|
99a54cc
| 1,075,490,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/Table.java
|
SWT
|
3,477 | 50,778 |
Bug 50778 Java doc problems
|
v3036c In trying to generate javadoc for eSWT API, ran across the following two problems: - List setSelection(int,int) @see tags reference Table, should specify List - SWT.java @see SWT.Help should be @see SWT#Help
|
2004-01-28 12:48:52
| 1,075,310,000 |
resolved fixed
|
2e7509b
| 1,075,380,000 |
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/SWT.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/List.java
|
SWT
|
3,478 | 50,639 |
Bug 50639 Deadlock creating image outside UI thread
|
I20040121 I got a deadlock today while performing a manual workspace build (Ctrl+B). The stack trace shows that it is trying to create an Image instance outside of the UI thread. This is causing it to block on a GTK OS primitive (presumably because the main thread currently holds some mutex on the UI). I will attach the log file. Image javadoc doesn't seem to specify that Images must be created in the UI thread.
|
2004-01-26 15:39:24
| 1,075,150,000 |
resolved fixed
|
f413d9c
| 1,075,320,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Display.java
|
SWT
|
3,479 | 50,483 |
Bug 50483 [interop] swt SWT_AWT & ui ViewPart
|
Hi all, I try to use SWT_AWT in a ViewPart but I can't get my plugin working, the workbench tells me there was an error creating view. Here it is, taken from platform .log : !ENTRY org.eclipse.ui 4 4 janv. 23, 2004 12:04:50.246 !MESSAGE Unhandled event loop exception !ENTRY org.eclipse.ui 4 0 janv. 23, 2004 12:04:50.246 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException at org.eclipse.swt.internal.BidiUtil.windowProc(BidiUtil.java:647) at org.eclipse.swt.internal.win32.OS.PeekMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.PeekMessage(OS.java:1757) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1986) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1506) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1482) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:246) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:47) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:226) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.eclipse.core.launcher.Main.basicRun(Main.java:279) at org.eclipse.core.launcher.Main.run(Main.java:742) at org.eclipse.core.launcher.Main.main(Main.java:581) This error happens on the following line in the given snippet : SWT_AWT.newFrame(...) in the following snippet. When I execute the same outside a eclipse (in a shell), this works fine. Does somebody know how to solve this problem? Is it a bug? Thanks for help. Mathieu Fougeray. import org.eclipse.jface.viewers.IStructuredContentProvider; import org.eclipse.jface.viewers.ITableLabelProvider; import org.eclipse.jface.viewers.LabelProvider; import org.eclipse.jface.viewers.TableViewer; import org.eclipse.jface.viewers.Viewer; import org.eclipse.swt.SWT; import org.eclipse.swt.graphics.Image; import org.eclipse.swt.widgets.Composite; import org.eclipse.ui.ISharedImages; import org.eclipse.ui.PlatformUI; import org.eclipse.ui.part.ViewPart; import eurobios.orsis.Messages; public class MyView extends ViewPart { public static final String ID_VIEW = "eurobios.orsis.views.BarChartView"; //$NON-NLS-1$ public MyView () { } public void createPartControl(Composite parent) { Composite comp = new Composite(parent, SWT.EMBEDDED); java.awt.Frame frame = SWT_AWT.new_Frame(comp); } public void setFocus() { } }
|
2004-01-23 12:36:37
| 1,074,880,000 |
resolved fixed
|
0bd465c
| 1,074,900,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
|
SWT
|
3,480 | 50,034 |
Bug 50034 [interop] swing mouse events not received in RCP plugin
|
(m5 & m6) in an RCP plugin Mouse events for Swing controls (JTree and JButton) are not received if they are placed directly in the Frame created by new_Frame. A Panel must be added to the Frame and then the Swing controls added to the Panel. A plain AWT button works fine. public void createPartControl(Composite parent) { m_frame = SWT_AWT.new_Frame(parent); m_frame.setLayout(new BorderLayout()); m_frame.add(new JButton("hello"), BorderLayout.NORTH); m_frame.add(new Button("hello 2"), BorderLayout.SOUTH); m_frame.add(new JTree(), BorderLayout.CENTER); } I have experimented with more complex AWT/Swing componenets. Tomsawyer must have the panel OpenViz must NOT have a panel!
|
2004-01-14 18:14:56
| 1,074,120,000 |
resolved fixed
|
56b9af0
| 1,074,880,000 |
bundles/org.eclipse.swt/Eclipse SWT AWT/win32/org/eclipse/swt/awt/SWT_AWT.java
|
SWT
|
3,481 | 50,256 |
Bug 50256 Text#getCaretLocation() sends erroneous Modify event
|
When I call Text#getCaretLocation(), the implementation sends two OS.EM_REPLACESEL messages. Both of them cause an execution of sendEvent (SWT.Modify), which can cause unexpected behavior in client code listening to "true" modify events. The two modify events (adding a space character, and removing it) should not be sent out.
|
2004-01-20 03:32:34
| 1,074,590,000 |
resolved fixed
|
bcdacd4
| 1,074,620,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Text.java
|
SWT
|
3,482 | 48,809 |
Bug 48809 [browser] breaking change - rename LocationEvent.cancel to LocationEvent.doit and reverse boolean meaning
|
To be consistent with SelectionListener and since SWT does not use cancel anywhere: LocationEvent.cancel should probably be renamed LocationEvent.doit where cancel was false by default, doit is true by default
|
2003-12-15 18:12:03
| 1,071,530,000 |
resolved fixed
|
5a8cb08
| 1,074,610,000 |
bundles/org.eclipse.swt/Eclipse SWT Browser/common/org/eclipse/swt/browser/LocationEvent.java bundles/org.eclipse.swt/Eclipse SWT Browser/motif/org/eclipse/swt/browser/Browser.java bundles/org.eclipse.swt/Eclipse SWT Browser/mozilla/org/eclipse/swt/browser/Browser.java bundles/org.eclipse.swt/Eclipse SWT Browser/photon/org/eclipse/swt/browser/Browser.java bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/Browser.java tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/browser/Browser1.java tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/browser/Browser2.java
|
SWT
|
3,483 | 46,543 |
Bug 46543 [browser] Photon / Investigate/Provide support for NewWindow event
|
Provide support for the test case in the attachement below - unzip - open the document index.html - click on links. The Browser widget should correctly handle the new window requests in those 2 cases. Current approach is to provide the following event (names not finalized yet, to give an idea): public class NewWindow ... { /** user provides the Browser instance that is to host the new window - null: cancel new window request */ public Browser browser; } And 2 events fired when the Browser is requested to change its location and/or size: public class MoveControlEvent { int x; int y; } public class ResizeControlEvent { int width; int height; } Typically, in response to javascript window.open ("dialog.html","Dialog", "resizeable=no,height=200,left=50,top=400", the application will receive a NewWindow event. It will create a new Shell and a new Browser. The new Browser will display the file 'dialog.html' and receive the events ResizeControlEvent and MoveControlEvent to give a chance to the application to resize the new Shell and the new Browser to the bounds set in javascript. Please let us know if the API on Photon would support that approach.
|
2003-11-12 17:52:08
| 1,068,680,000 |
closed wontfix
|
772f59d
| 1,074,550,000 |
bundles/org.eclipse.swt/Eclipse SWT Browser/photon/org/eclipse/swt/browser/Browser.java bundles/org.eclipse.swt/Eclipse SWT PI/photon/org/eclipse/swt/internal/photon/OS.java bundles/org.eclipse.swt/Eclipse SWT PI/photon/org/eclipse/swt/internal/photon/PtWebWindowCallback_t.java
|
SWT
|
3,484 | 49,942 |
Bug 49942 NPE in StyledText.getSelectionRange (line 4275)
|
I200401130800 Found many of these in the log file. General stability seems to be affected while in use. !ENTRY org.eclipse.ui 4 0 Jan 13, 2004 15:11:53.105 !MESSAGE java.lang.NullPointerException !STACK 0 java.lang.NullPointerException at org.eclipse.swt.custom.StyledText.getSelectionRange (StyledText.java:4275) at org.eclipse.jface.text.TextViewer.getSelectedRange (TextViewer.java:1875) at org.eclipse.jface.text.TextViewer.getSelection(TextViewer.java:2009) at org.eclipse.ui.texteditor.AbstractTextEditor.doGetSelection (AbstractTextEditor.java:1770) at org.eclipse.ui.texteditor.AbstractTextEditor$SelectionProvider.getSelection (AbstractTextEditor.java:1154) at org.eclipse.ui.internal.AbstractSelectionService.getSelection (AbstractSelectionService.java:221) at org.eclipse.search.internal.ui.OpenSearchDialogAction.getSelection (OpenSearchDialogAction.java:68) at org.eclipse.search.internal.ui.OpenSearchDialogAction.run (OpenSearchDialogAction.java:57) at org.eclipse.search.ui.SearchUI.openSearchDialog(SearchUI.java:110) at org.eclipse.search.internal.ui.OpenFileSearchPageAction.run (OpenFileSearchPageAction.java:46) at org.eclipse.ui.internal.PluginAction.runWithEvent (PluginAction.java:273) at org.eclipse.ui.internal.WWinPluginAction.runWithEvent (WWinPluginAction.java:207) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection (ActionContributionItem.java:509) at org.eclipse.jface.action.ActionContributionItem.access$2 (ActionContributionItem.java:461) at org.eclipse.jface.action.ActionContributionItem$5.handleEvent (ActionContributionItem.java:408) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:953) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1845) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1625) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1518) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1494) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench (Workbench.java:258) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:139) at org.eclipse.ui.internal.ide.IDEApplication.run (IDEApplication.java:47) at org.eclipse.core.internal.runtime.PlatformActivator$1.run (PlatformActivator.java:226) at org.eclipse.core.runtime.adaptor.EclipseStarter.run (EclipseStarter.java:85) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke (NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.basicRun(Main.java:279) at org.eclipse.core.launcher.Main.run(Main.java:742) at org.eclipse.core.launcher.Main.main(Main.java:581)
|
2004-01-13 15:19:19
| 1,074,030,000 |
resolved fixed
|
d72f35f
| 1,074,100,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
|
SWT
|
3,485 | 49,723 |
Bug 49723 StyledText is leaking StyleRange objects again
|
M6 And it's not accessibility's fault this time. Need to investigate.
|
2004-01-08 14:33:07
| 1,073,590,000 |
resolved fixed
|
67bbaee
| 1,073,680,000 |
bundles/org.eclipse.swt/Eclipse SWT Accessibility/gtk/org/eclipse/swt/accessibility/Accessible.java bundles/org.eclipse.swt/Eclipse SWT Accessibility/gtk/org/eclipse/swt/accessibility/AccessibleObject.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/DefaultLineStyler.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java
|
SWT
|
3,486 | 32,828 |
Bug 32828 Loss of the modal context
|
When a thread is suspended and the debug view is refreshed, Eclipse is no more modal. 1. create the following compilation unit : public class TestLineBreakpoint { public static void main(String[] args) { int i= 0; while (1 == 1) { i++; // <-- conditionnal breakpoint here } } public static void foo() { System.out.println("test"); } } 2. Set "foo; return i == 100" as condition for the breakpoint. 3. Launch the program in debug mode. 4. While the program is running, open the property page for the breakpoint. Wait for the thread to stop. When the thread stop, Eclipse is no more modal, the breakpoint property page is still open, but the main window is also enable, all action can be performed, even reopen the breakpoint property page.
|
2003-02-24 16:58:49
| 1,046,120,000 |
resolved fixed
|
a1e2dc4
| 1,073,430,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java
|
SWT
|
3,487 | 49,381 |
Bug 49381 SWT.RIGHT does not work in Text
|
RUn th efollowing snippet. The text is not Right aligned. Same is true if the style SWT.SINGLE is added. public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); Text text = new Text(shell, SWT.RIGHT); text.setText("Hello"); text.setBounds(10, 10, 200, 200); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); }
|
2003-12-29 10:49:41
| 1,072,710,000 |
resolved fixed
|
b21726b
| 1,073,410,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Text.java
|
SWT
|
3,488 | 49,154 |
Bug 49154 Combo behavior not very user-friendly
|
We have a DROP_DOWN combo (not READ_ONLY) and we listen to it for default selection events. There are a couple of problems: 1) When the user selects something with the mouse from the drop-down, the drop- down disappears, but the default selection event is not fired. The user has to then hit "Enter" to do that. Listening for selection changes doesn't help us because it is fired all the time, including when the user uses arrow-keys to navigate the drop-down. 2) If you have an item on the drop-down selected, hitting Enter should close the drop-down and fire widget default selected. This is what happens if your Combo is READ_ONLY. If not, then the drop-down does not close (although default selection event is fired).
|
2003-12-18 17:56:26
| 1,071,790,000 |
resolved fixed
|
3911eac
| 1,073,340,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Combo.java
|
SWT
|
3,489 | 49,534 |
Bug 49534 Javadoc of 'Control' should mention 'Traverse' event
|
org.eclipse.swt.widgets.Control supports SWT.Traverse events. This is not mentioned in the list of handled events in the class' javadoc, and should be added for completeness.
|
2004-01-05 11:23:49
| 1,073,320,000 |
resolved fixed
|
8888613
| 1,073,320,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java
|
SWT
|
3,490 | 49,071 |
Bug 49071 Hitting Enter while editing a detail formatter close the dialog
|
Open a detail formatter dialog (create a new detail formatter or edit an existing one), give the focus to the text area, hit Enter, the dialog is close, as if 'OK' button was used. It makes creating a complex detail formatter really painfull. May be a linux-GTK only problem, please check no other platforms.
|
2003-12-17 15:47:01
| 1,071,690,000 |
resolved fixed
|
57ddfef
| 1,071,780,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Composite.java
|
SWT
|
3,491 | 48,470 |
Bug 48470 CoolBar loses lines between M4 and M5
|
I'm working with SWT since february this year, and for practice I modified the WebBrowser example a little bit (used a coolbar with hotImage etc.). I downloaded the last release of Eclipse M5 but my application appears differently: no separator between the two cool item. Steve Northover replied on the eclipse.platform.swt newsgroup that's a repaint bug and to enter a bug report. I've searched the most recently bugs, but didn't find reports relating to this problem.
|
2003-12-11 05:23:47
| 1,071,140,000 |
resolved fixed
|
2d03597
| 1,071,530,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/CoolBar.java
|
SWT
|
3,492 | 48,781 |
Bug 48781 cursors of size 16 look wrong
| null |
2003-12-15 14:45:43
| 1,071,520,000 |
resolved fixed
|
1acb357
| 1,071,520,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Cursor.java
|
SWT
|
3,493 | 48,589 |
Bug 48589 [EditorMgmt] Special chars in filenames and funny filename tabs behaviour
|
It is not a big deal, but filename tabs seem to interpret names of the files. For example, if one of the opened files happens to have name "D&W" it is not possible to access "Window" menu using Alt-W shortcut. Win2k, SP4, Sun JDK 1.4.2_03, Eclipse 200312110800
|
2003-12-11 16:14:13
| 1,071,180,000 |
verified fixed
|
82faecf
| 1,071,510,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabItem.java
|
SWT
|
3,494 | 47,973 |
Bug 47973 [KeyBindings] cannot bind to Alt+Enter
|
in I200312020950 Alt+Enter no longer shows me the properties of a file.
|
2003-12-03 09:01:13
| 1,070,460,000 |
resolved fixed
|
77cb502
| 1,071,270,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java
|
SWT
|
3,495 | 48,263 |
Bug 48263 EC: gtk allows TabItem.setControl(...) value to be non-child of TabFolder
|
Snippet to try: Composite composite = new Composite(shell, SWT.NONE); TabFolder tabFolder = new TabFolder(shell, SWT.NONE); tabFolder.setBounds(0, 0, 680, 480); TabItem tabItemLearn = new TabItem(tabFolder, SWT.NONE); tabItemLearn.setText("Lernen"); tabItemLearn.setControl(composite); // <--
|
2003-12-08 08:19:42
| 1,070,890,000 |
resolved fixed
|
8043823
| 1,070,990,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TabItem.java
|
SWT
|
3,496 | 48,022 |
Bug 48022 3 mouse clicks cause 4 mouseDown events
| null |
2003-12-03 14:41:59
| 1,070,480,000 |
resolved fixed
|
c20df65
| 1,070,640,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java
|
SWT
|
3,497 | 48,036 |
Bug 48036 [browser] crash on IE when using javascript to close more than 2 windows
| null |
2003-12-03 17:00:51
| 1,070,490,000 |
resolved fixed
|
3bb222b
| 1,070,490,000 |
bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/Browser.java
|
SWT
|
3,498 | 47,898 |
Bug 47898 StyledText leaking StyleRanges
|
Each time a java editor is open, even repeatedly for a given resource, a new set of StyleRanges is created for its contents. However when the editor is closed the StyleRanges don't go away. These accumulate quite quickly, need to find out what's happening here.
|
2003-12-02 11:11:48
| 1,070,380,000 |
resolved fixed
|
c02cc10
| 1,070,470,000 |
bundles/org.eclipse.swt/Eclipse SWT Accessibility/gtk/org/eclipse/swt/accessibility/Accessible.java bundles/org.eclipse.swt/Eclipse SWT Accessibility/gtk/org/eclipse/swt/accessibility/AccessibleFactory.java bundles/org.eclipse.swt/Eclipse SWT Accessibility/gtk/org/eclipse/swt/accessibility/AccessibleObject.java
|
SWT
|
3,499 | 47,894 |
Bug 47894 Combo layout problems
|
I20031202 The Combo seems to live partially outside of its content rectangle (see attachments). That makes any interaction very difficult.
|
2003-12-02 10:54:32
| 1,070,380,000 |
resolved fixed
|
857a107
| 1,070,470,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/Combo.java
|
SWT
|
3,500 | 47,916 |
Bug 47916 [browser] crash on IE when setting text multiple time with links
| null |
2003-12-02 15:11:29
| 1,070,400,000 |
resolved fixed
|
f1ebc81
| 1,070,400,000 |
bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/Browser.java
|
SWT
|
3,501 | 47,039 |
Bug 47039 Inconsistent shutdown
| null |
2003-11-19 16:14:30
| 1,069,280,000 |
resolved fixed
|
1b90996
| 1,069,970,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Display.java
|
SWT
|
3,502 | 46,810 |
Bug 46810 unexpected behavior for TableItem.setBackground() when column is not left-aligned
|
When a table column is not left-aligned(i.e. SWT.CENTER or SWT.RIGHT is used), calling TableItem.setBackground() will only set the background color of each cell from where the text starts to the end of the cell, not the entire cell. So when you select a row, instead of the whole row being colored the same continuously from left to right, you have all these white spaces on the left of each cell.
|
2003-11-17 19:02:13
| 1,069,110,000 |
resolved fixed
|
e4ad7e2
| 1,069,880,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java
|
SWT
|
3,503 | 47,170 |
Bug 47170 cheese when resize with focus ring
|
I20031119 - Jaguar Run the Control example Go to the Combo tab Put focus in the Combo widget so that it gets a blue focus ring Select Fill Horizontal for size. Note that the focus ring is not redrwan for the new size.
|
2003-11-20 16:06:56
| 1,069,360,000 |
resolved fixed
|
dec6977
| 1,069,880,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Widget.java
|
SWT
|
3,504 | 46,707 |
Bug 46707 NPE when closing eclipse.
|
java.lang.NullPointerException at org.eclipse.swt.dnd.Clipboard.dispose(Clipboard.java:146) at org.eclipse.swt.custom.StyledText.handleDispose(StyledText.java:5180) at org.eclipse.swt.custom.StyledText$7.handleEvent(StyledText.java:5025) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:82) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:847) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:871) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:852) at org.eclipse.swt.widgets.Widget.releaseWidget(Widget.java:759) at org.eclipse.swt.widgets.Control.releaseWidget(Control.java:1434) at org.eclipse.swt.widgets.Scrollable.releaseWidget(Scrollable.java:188) at org.eclipse.swt.widgets.Composite.releaseWidget(Composite.java:372) at org.eclipse.swt.widgets.Canvas.releaseWidget(Canvas.java:118) at org.eclipse.swt.widgets.Widget.releaseResources(Widget.java:724) at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:366) at org.eclipse.swt.widgets.Composite.releaseWidget(Composite.java:371) at org.eclipse.swt.widgets.Canvas.releaseWidget(Canvas.java:118) at org.eclipse.swt.widgets.Widget.releaseResources(Widget.java:724) at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:366) at org.eclipse.swt.widgets.Composite.releaseWidget(Composite.java:371) at org.eclipse.swt.widgets.Widget.releaseResources(Widget.java:724) at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:366) at org.eclipse.swt.widgets.Composite.releaseWidget(Composite.java:371) at org.eclipse.swt.widgets.Widget.releaseResources(Widget.java:724) at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:366) at org.eclipse.swt.widgets.Composite.releaseWidget(Composite.java:371) at org.eclipse.swt.widgets.Widget.releaseResources(Widget.java:724) at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:366) at org.eclipse.swt.widgets.Composite.releaseWidget(Composite.java:371) at org.eclipse.swt.widgets.Widget.releaseResources(Widget.java:724) at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:366) at org.eclipse.swt.widgets.Composite.releaseWidget(Composite.java:371) at org.eclipse.swt.widgets.Widget.releaseResources(Widget.java:724) at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:366) at org.eclipse.swt.widgets.Composite.releaseWidget(Composite.java:371) at org.eclipse.swt.widgets.Widget.releaseResources(Widget.java:724) at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:366) at org.eclipse.swt.widgets.Composite.releaseWidget(Composite.java:371) at org.eclipse.swt.widgets.Widget.releaseResources(Widget.java:724) at org.eclipse.swt.widgets.Composite.releaseChildren(Composite.java:366) at org.eclipse.swt.widgets.Composite.releaseWidget(Composite.java:371) at org.eclipse.swt.widgets.Canvas.releaseWidget(Canvas.java:118) at org.eclipse.swt.widgets.Decorations.releaseWidget(Decorations.java:665) at org.eclipse.swt.widgets.Shell.releaseWidget(Shell.java:753) at org.eclipse.swt.widgets.Widget.dispose(Widget.java:375) at org.eclipse.swt.widgets.Decorations.dispose(Decorations.java:365) at org.eclipse.swt.widgets.Shell.dispose(Shell.java:485) at org.eclipse.swt.widgets.Display.release(Display.java:1927) at org.eclipse.swt.graphics.Device.dispose(Device.java:212) at org.eclipse.ui.internal.Workbench.run(Workbench.java:2025) at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.eclipse.core.launcher.Main.basicRun(Main.java:295) at org.eclipse.core.launcher.Main.run(Main.java:751) at org.eclipse.core.launcher.Main.main(Main.java:587)
|
2003-11-14 16:56:25
| 1,068,850,000 |
resolved fixed
|
94e65fe
| 1,069,880,000 |
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/carbon/org/eclipse/swt/dnd/Clipboard.java bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/emulated/org/eclipse/swt/dnd/Clipboard.java bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/gtk/org/eclipse/swt/dnd/Clipboard.java bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/motif/org/eclipse/swt/dnd/Clipboard.java bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/photon/org/eclipse/swt/dnd/Clipboard.java bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/Clipboard.java
|
SWT
|
3,505 | 47,173 |
Bug 47173 Combo - combo size for bigger font is wrong
|
I20031119 - Jaguar Run the ControlExample Go to the Combo tab change the font to be much larger. Click on "Preferred size" and notice that the Combo is too small.
|
2003-11-20 16:11:49
| 1,069,360,000 |
resolved wontfix
|
e44d652
| 1,069,880,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Combo.java
|
SWT
|
3,506 | 47,245 |
Bug 47245 setEditable() method for Combo or CCombo
|
At present it is not possible to change a Combo or CCombo from being editable to non-editable or vica-versa once it has been created. This can only be set when the Combo/CCombo is created by using the SWT.READ_ONLY constant. I have an application where I would like to change the editability of a CCombo depending on the selection in other widgets. It seems that I will have to create a new CCombo each time and copy the content across. It would be much more convenient to have a setEditable() method.
|
2003-11-21 11:38:46
| 1,069,430,000 |
resolved fixed
|
83bc342
| 1,069,880,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java
|
SWT
|
3,507 | 47,468 |
Bug 47468 Support "full keyboard access" mode.
|
Open the system preferences, choose the "Keyboard & Mouse" panel (OS X 10.3.1), select "Turn on full keyboard access". This allows you to tab to buttons, etc. Try it in the dialog. Note: This does not work in Safari html forms either.
|
2003-11-25 16:22:25
| 1,069,800,000 |
resolved fixed
|
f959ba5
| 1,069,880,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Button.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Control.java
|
SWT
|
3,508 | 47,366 |
Bug 47366 [New Look] Area not painted when tab in the background
|
M5 Integration build when I place one window below the other and resize the top window such that is reveals a tab in the window below, the bottom right of the tab is not filled in. see attachment:
|
2003-11-24 13:34:37
| 1,069,700,000 |
resolved fixed
|
0bcc948
| 1,069,870,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder2.java
|
SWT
|
3,509 | 46,896 |
Bug 46896 CCombo setEnabled
|
When using CCombo and setting it to be disabled the Text and button do not appear disabled (using swt-win32-2135.dll) I've created a similar control (a composite that includes a Text and a Button) which pops up a calendar dialog and found that I had to implement setEnabled in the following way: public void setEnabled(boolean enable) { super.setEnabled( enable ); text.setEnabled( enable ); arrow.setEnabled( enable ); } Can the previous code be added to the CCombo class so the text field and button appear disabled like a normal Combo?
|
2003-11-18 17:00:20
| 1,069,190,000 |
resolved fixed
|
c32699a
| 1,069,860,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java
|
SWT
|
3,510 | 47,391 |
Bug 47391 Combo.deselect(int) and deselectAll() doesn't work
|
These methods do nothing in SWT 3.0M5 for GTK (3030). Try this code (select something from list and then hit the button, selection remains the same): import org.eclipse.swt.*; import org.eclipse.swt.layout.*; import org.eclipse.swt.widgets.*; import org.eclipse.swt.events.*; import org.eclipse.swt.custom.*; public class Main { public static void main(String [] args) { Display display = Display.getDefault(); final Shell shell = new Shell(display); shell.setLayout(new RowLayout()); final Combo c = new Combo(shell, SWT.READ_ONLY|SWT.DROP_DOWN); // this doesn't work too // final CCombo c = new CCombo(shell, SWT.READ_ONLY|SWT.DROP_DOWN); c.setItems(new String[] {"1st item", "2nd item", "3rd item"}); Button b = new Button(shell, SWT.PUSH); b.setText("clear"); b.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { c.deselectAll(); // this doesn't work too // c.deselect(c.getSelectionIndex()); } }); shell.setDefaultButton(b); shell.pack(); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } } In SWT 2135 it works (even not so clear too - the 1st item in a list is selected (even if nothing selected before) instead of deselecting items, this appeared on Linux-GTK, on MS Windows it's OK).
|
2003-11-25 03:39:29
| 1,069,750,000 |
resolved fixed
|
0ebff91
| 1,069,790,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java
|
SWT
|
3,511 | 47,143 |
Bug 47143 List.add() != List.getItems() if string contains '\n'
|
Run the latest junit tests to see this.
|
2003-11-20 14:03:19
| 1,069,360,000 |
resolved fixed
|
abbb462
| 1,069,790,000 |
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/Device.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Combo.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/DirectoryDialog.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/FileDialog.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/List.java
|
SWT
|
3,512 | 45,419 |
Bug 45419 [browser] add api to read html from memory on Photon Browser
|
1. Implement the following api: public boolean setText(String html); where html contains plain html as in: String html = "<HTML><HEAD><TITLE>HTML example</TITLE></HEAD><BODY><H1>HTML example</H1><P>This is a really cool page</P></BODY></HTML>"; browser.setText(html); // render this page 2. Investigate if the following api could be implemented on Photon: public boolean setText(String html, String urlSource); where html is an html document that may refer to links relative to the location url (for examples, images). public boolean setText(InputStream data, String mime, String url); where data is a binary stream containing a document to be interpreted by a reader for the given mime type (html, text, etc). If this is relevant to the given mime type, relative links are relative to the given url argument.
|
2003-10-22 18:19:43
| 1,066,860,000 |
resolved fixed
|
0f4b2eb
| 1,069,700,000 |
bundles/org.eclipse.swt/Eclipse SWT Browser/photon/org/eclipse/swt/browser/Browser.java bundles/org.eclipse.swt/Eclipse SWT PI/photon/org/eclipse/swt/internal/photon/OS.java bundles/org.eclipse.swt/Eclipse SWT PI/photon/org/eclipse/swt/internal/photon/PtWebClientData_t.java bundles/org.eclipse.swt/Eclipse SWT PI/photon/org/eclipse/swt/internal/photon/PtWebDataReqCallback_t.java
|
SWT
|
3,513 | 46,859 |
Bug 46859 Combo API doc/problems
|
v3030 The add(String,int) method should throw an InvalidRange error when int is < 0 as the API states and to be consistent with List. The test case for the add method includes this particular scenario (the code is currently commented out). The documentation for the setItem(String) and setItems(String[]) methods should indicate that NullArgument exception thrown.
|
2003-11-18 14:06:07
| 1,069,180,000 |
resolved fixed
|
846f14e
| 1,069,450,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Combo.java tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Combo.java
|
SWT
|
3,514 | 47,146 |
Bug 47146 Group label should have same foreground/background as Group
|
It does currently get the font, but not the colours.
|
2003-11-20 14:27:23
| 1,069,360,000 |
resolved fixed
|
008c916
| 1,069,380,000 |
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Group.java
|
SWT
|
3,515 | 47,084 |
Bug 47084 No mouseUp events for the left mouse button
|
I have attached a MouseListener to a Slider control. I see mouseDown events fired when I click any of the mouse buttons, but I only receive mouseUp events for the right button and the wheel. No mouseUp event gets generated for the left mouse button.
|
2003-11-20 09:39:54
| 1,069,340,000 |
resolved fixed
|
a1fa08f
| 1,069,350,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Slider.java
|
SWT
|
3,516 | 46,068 |
Bug 46068 [browser] linux motif Browser shows up non embedded if previous instance disposed
| null |
2003-11-04 17:00:14
| 1,067,980,000 |
resolved fixed
|
3bac577
| 1,069,190,000 |
bundles/org.eclipse.swt/Eclipse SWT Browser/motif/org/eclipse/swt/browser/Browser.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Composite.java
|
SWT
|
3,517 | 16,011 |
Bug 16011 Copy not working.
|
When pressing CTRL+C or selecting "Edit->Copy" from the menu, the copy buffer is not filled. This happens most of the time altough occasionaly the buffer is filled (maybe one out of 100 times). If I copy some text from another application and paste into Eclipse the text is pasted as expected.
|
2002-05-15 02:31:15
| 1,021,440,000 |
resolved fixed
|
d7375e4
| 1,069,170,000 |
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/Clipboard.java
|
SWT
|
3,518 | 46,688 |
Bug 46688 eclipse 3.0M4 left out a char symbol behind
|
Hey! Eclipse 3.0 M3 had it, but the new version, M4, just forgot everything about this: ^ I can't input chars like a, o.. That's it. :-)
|
2003-11-14 13:35:32
| 1,068,830,000 |
resolved fixed
|
3d65a10
| 1,069,120,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/Control.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Text.java
|
SWT
|
3,519 | 46,702 |
Bug 46702 List.getFocusIndex() does not answer -1
|
Run the snippet below, click on the empty list, and it prints its focus index as 0 even though it has no items. Same happens if you have a list with items and then do a List.removeAll(). According to the javadoc these should answer - 1, which is what (for instance) gtk does. public static void main(String[] args){ Display display = new Display(); Shell shell = new Shell(display); shell.setBounds(10,10,100,100); final List list = new List(shell,SWT.SINGLE); // SWT.MULTI does the same list.setBounds(10,10,80,50); list.addListener(SWT.MouseDown, new Listener() { public void handleEvent(Event event) { System.out.println(list.getFocusIndex()); } }); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } Looking at the implementation of getFocusIndex(), I don't think that LB_GETCARETINDEX ever answers -1. Perhaps we should just answer -1 whenever the list contains no items.
|
2003-11-14 15:45:43
| 1,068,840,000 |
resolved fixed
|
7541586
| 1,069,100,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/List.java
|
SWT
|
3,520 | 46,722 |
Bug 46722 Crash on open of any java source
|
System crashes when trying to open a java source file. Here's the dump: Date/Time: 2003-11-14 23:36:20 -0500 OS Version: 10.3.1 (Build 7C107) Command: java_swt (/Applications/eclipse/I20031114/eclipse/Eclipse.app/Contents/MacOS/ java_swt) PID: 4875 Thread: 0 Exception: EXC_BAD_ACCESS (0x0001) Codes: KERN_PROTECTION_FAILURE (0x0002) at 0x00000000 Thread 0 Crashed: #0 0x90192e58 in CFArrayGetCount (CFArrayGetCount + 52) #1 0x0245b43c in Java_org_eclipse_swt_internal_carbon_OS_CFArrayGetCount (Java_org_eclipse_swt_internal_carbon_OS_CFArrayGetCount + 40) #2 0x03d9e580 in 0x3d9e580 #3 0x03d97ef0 in 0x3d97ef0 #4 0x03d97ec0 in 0x3d97ec0 #5 0x03d97e30 in 0x3d97e30 #6 0x03d97e30 in 0x3d97e30 #7 0x03d97e30 in 0x3d97e30 #8 0x03d97e30 in 0x3d97e30 #9 0x03d98190 in 0x3d98190 #10 0x03d97fb0 in 0x3d97fb0 #11 0x03d97fb0 in 0x3d97fb0 #12 0x03d97fb0 in 0x3d97fb0 #13 0x03d97fb0 in 0x3d97fb0 #14 0x03d97fb0 in 0x3d97fb0 #15 0x03d97fb0 in 0x3d97fb0 #16 0x03d97fb0 in 0x3d97fb0 #17 0x03d97fb0 in 0x3d97fb0 #18 0x03d97fb0 in 0x3d97fb0 #19 0x03d97fb0 in 0x3d97fb0 #20 0x03d98310 in 0x3d98310 #21 0x0400e814 in 0x400e814 #22 0x0407c1c8 in 0x407c1c8 #23 0x03d97fb0 in 0x3d97fb0 #24 0x03d97fb0 in 0x3d97fb0 #25 0x03d97fb0 in 0x3d97fb0 #26 0x03d97fb0 in 0x3d97fb0 #27 0x03d97fb0 in 0x3d97fb0 #28 0x03d97fb0 in 0x3d97fb0 #29 0x03d97fb0 in 0x3d97fb0 #30 0x03d98310 in 0x3d98310 #31 0x03d97fb0 in 0x3d97fb0 #32 0x03d97fb0 in 0x3d97fb0 #33 0x03d97fb0 in 0x3d97fb0 #34 0x03d97ec0 in 0x3d97ec0 #35 0x03d97ec0 in 0x3d97ec0 #36 0x03d97ec0 in 0x3d97ec0 #37 0x03d97ec0 in 0x3d97ec0 #38 0x03d98310 in 0x3d98310 #39 0x03d97fb0 in 0x3d97fb0 #40 0x03d98220 in 0x3d98220 #41 0x03d97ec0 in 0x3d97ec0 #42 0x03d97ec0 in 0x3d97ec0 #43 0x03d97ec0 in 0x3d97ec0 #44 0x03d97fb0 in 0x3d97fb0 #45 0x03d97fb0 in 0x3d97fb0 #46 0x03d97fb0 in 0x3d97fb0 #47 0x03d97fb0 in 0x3d97fb0 #48 0x03d98310 in 0x3d98310 #49 0x03d98310 in 0x3d98310 #50 0x0400e814 in 0x400e814 #51 0x0407c1c8 in 0x407c1c8 #52 0x03d97fb0 in 0x3d97fb0 #53 0x03d97fb0 in 0x3d97fb0 #54 0x03d97fb0 in 0x3d97fb0 #55 0x03d98310 in 0x3d98310 #56 0x03d97fb0 in 0x3d97fb0 #57 0x03d97fb0 in 0x3d97fb0 #58 0x03f77bf0 in 0x3f77bf0 #59 0x03d97fb0 in 0x3d97fb0 #60 0x03d97fb0 in 0x3d97fb0 #61 0x03d97e30 in 0x3d97e30 #62 0x03d97e30 in 0x3d97e30 #63 0x03d97fb0 in 0x3d97fb0 #64 0x03d97ef0 in 0x3d97ef0 #65 0x03d97ef0 in 0x3d97ef0 #66 0x03d97ef0 in 0x3d97ef0 #67 0x03d98220 in 0x3d98220 #68 0x03d97ec0 in 0x3d97ec0 #69 0x03d9516c in 0x3d9516c #70 0x947ba0f8 in JVM_GetCPMethodClassNameUTF (JVM_GetCPMethodClassNameUTF + 2856) #71 0x947dbce8 in JVM_GetCPClassNameUTF (JVM_GetCPClassNameUTF + 2456) #72 0x948538e4 in JVM_IsNaN (JVM_IsNaN + 23316) #73 0x9487b234 in __floatdisf (__floatdisf + 3828) #74 0x948a9150 in JVM_InvokeMethod (JVM_InvokeMethod + 496) #75 0x03d9e580 in 0x3d9e580 #76 0x03d97ec0 in 0x3d97ec0 #77 0x03d97ec0 in 0x3d97ec0 #78 0x03d98220 in 0x3d98220 #79 0x03d97ec0 in 0x3d97ec0 #80 0x03d97ec0 in 0x3d97ec0 #81 0x03d97ec0 in 0x3d97ec0 #82 0x03d9516c in 0x3d9516c #83 0x947ba0f8 in JVM_GetCPMethodClassNameUTF (JVM_GetCPMethodClassNameUTF + 2856) #84 0x947dbce8 in JVM_GetCPClassNameUTF (JVM_GetCPClassNameUTF + 2456) #85 0x948d06fc in JVM_UnloadLibrary (JVM_UnloadLibrary + 62364) #86 0x9499e79c in jio_vsnprintf (jio_vsnprintf + 66524) #87 0x000034b4 in main (java_swt.c:364) #88 0x000020e4 in _start (crt.c:267) #89 0x00001f58 in start (start + 48) Thread 1: #0 0x900075c8 in mach_msg_trap (mach_msg_trap + 8) #1 0x90007118 in mach_msg (mach_msg + 56) #2 0x9487f80c in JNI_CreateJavaVM_Impl (JNI_CreateJavaVM_Impl + 17580) #3 0x9487f7a0 in JNI_CreateJavaVM_Impl (JNI_CreateJavaVM_Impl + 17472) #4 0x9496f9cc in JVM_UnloadLibrary (JVM_UnloadLibrary + 714348) #5 0x900247e8 in _pthread_body (_pthread_body + 40) Thread 2: #0 0x900075c8 in mach_msg_trap (mach_msg_trap + 8) #1 0x90007118 in mach_msg (mach_msg + 56) #2 0x947a7688 in JVM_GetClassAccessFlags (JVM_GetClassAccessFlags + 4584) #3 0x947da944 in __divdi3 (__divdi3 + 20612) #4 0x947f0480 in JVM_GetMethodIxModifiers (JVM_GetMethodIxModifiers + 1264) #5 0x94897b8c in JVM_GetInterfaceVersion (JVM_GetInterfaceVersion + 97052) #6 0x9496f9cc in JVM_UnloadLibrary (JVM_UnloadLibrary + 714348) #7 0x900247e8 in _pthread_body (_pthread_body + 40) Thread 3: #0 0x900075c8 in mach_msg_trap (mach_msg_trap + 8) #1 0x90007118 in mach_msg (mach_msg + 56) #2 0x947a7608 in JVM_GetClassAccessFlags (JVM_GetClassAccessFlags + 4456) #3 0x947a2034 in _mh_dylib_header (_mh_dylib_header + 8244) #4 0x947ab3a4 in __cmpdi2 (__cmpdi2 + 6820) #5 0x947a7ae8 in JVM_MonitorWait (JVM_MonitorWait + 264) #6 0x03d9e580 in 0x3d9e580 #7 0x03d97fb0 in 0x3d97fb0 #8 0x03d97fb0 in 0x3d97fb0 #9 0x03d9516c in 0x3d9516c #10 0x947ba0f8 in JVM_GetCPMethodClassNameUTF (JVM_GetCPMethodClassNameUTF + 2856) #11 0x947dbce8 in JVM_GetCPClassNameUTF (JVM_GetCPClassNameUTF + 2456) #12 0x94818868 in JVM_Close (JVM_Close + 1208) #13 0x94829120 in JVM_Interrupt (JVM_Interrupt + 736) #14 0x948cdeac in JVM_UnloadLibrary (JVM_UnloadLibrary + 52044) #15 0x948145d4 in JVM_FindClassFromClass (JVM_FindClassFromClass + 3092) #16 0x9496f9cc in JVM_UnloadLibrary (JVM_UnloadLibrary + 714348) #17 0x900247e8 in _pthread_body (_pthread_body + 40) Thread 4: #0 0x900075c8 in mach_msg_trap (mach_msg_trap + 8) #1 0x90007118 in mach_msg (mach_msg + 56) #2 0x947a7608 in JVM_GetClassAccessFlags (JVM_GetClassAccessFlags + 4456) #3 0x947a2034 in _mh_dylib_header (_mh_dylib_header + 8244) #4 0x947ab3a4 in __cmpdi2 (__cmpdi2 + 6820) #5 0x947a7ae8 in JVM_MonitorWait (JVM_MonitorWait + 264) #6 0x03d9e580 in 0x3d9e580 #7 0x03d97fb0 in 0x3d97fb0 #8 0x03d97ec0 in 0x3d97ec0 #9 0x03d97ec0 in 0x3d97ec0 #10 0x03d9516c in 0x3d9516c #11 0x947ba0f8 in JVM_GetCPMethodClassNameUTF (JVM_GetCPMethodClassNameUTF + 2856) #12 0x947dbce8 in JVM_GetCPClassNameUTF (JVM_GetCPClassNameUTF + 2456) #13 0x94818868 in JVM_Close (JVM_Close + 1208) #14 0x94829120 in JVM_Interrupt (JVM_Interrupt + 736) #15 0x948cdeac in JVM_UnloadLibrary (JVM_UnloadLibrary + 52044) #16 0x948145d4 in JVM_FindClassFromClass (JVM_FindClassFromClass + 3092) #17 0x9496f9cc in JVM_UnloadLibrary (JVM_UnloadLibrary + 714348) #18 0x900247e8 in _pthread_body (_pthread_body + 40) Thread 5: #0 0x900075c8 in mach_msg_trap (mach_msg_trap + 8) #1 0x90007118 in mach_msg (mach_msg + 56) #2 0x947a7688 in JVM_GetClassAccessFlags (JVM_GetClassAccessFlags + 4584) #3 0x947b7130 in JVM_GetCPMethodSignatureUTF (JVM_GetCPMethodSignatureUTF + 6160) #4 0x947b72d0 in JVM_GetCPMethodSignatureUTF (JVM_GetCPMethodSignatureUTF + 6576) #5 0x9496f9cc in JVM_UnloadLibrary (JVM_UnloadLibrary + 714348) #6 0x900247e8 in _pthread_body (_pthread_body + 40) Thread 6: #0 0x90014628 in semaphore_wait_trap (semaphore_wait_trap + 8) #1 0x948d2e80 in JVM_UnloadLibrary (JVM_UnloadLibrary + 72480) #2 0x948d2044 in JVM_UnloadLibrary (JVM_UnloadLibrary + 68836) #3 0x948145d4 in JVM_FindClassFromClass (JVM_FindClassFromClass + 3092) #4 0x9496f9cc in JVM_UnloadLibrary (JVM_UnloadLibrary + 714348) #5 0x900247e8 in _pthread_body (_pthread_body + 40) Thread 7: #0 0x900075c8 in mach_msg_trap (mach_msg_trap + 8) #1 0x90007118 in mach_msg (mach_msg + 56) #2 0x947a7608 in JVM_GetClassAccessFlags (JVM_GetClassAccessFlags + 4456) #3 0x947da9a4 in __divdi3 (__divdi3 + 20708) #4 0x94811ce0 in JVM_GetFieldIxModifiers (JVM_GetFieldIxModifiers + 2912) #5 0x947fda2c in JVM_SocketAvailable (JVM_SocketAvailable + 4876) #6 0x948145d4 in JVM_FindClassFromClass (JVM_FindClassFromClass + 3092) #7 0x9496f9cc in JVM_UnloadLibrary (JVM_UnloadLibrary + 714348) #8 0x900247e8 in _pthread_body (_pthread_body + 40) Thread 8: #0 0x900075c8 in mach_msg_trap (mach_msg_trap + 8) #1 0x90007118 in mach_msg (mach_msg + 56) #2 0x947a7688 in JVM_GetClassAccessFlags (JVM_GetClassAccessFlags + 4584) #3 0x947a2034 in _mh_dylib_header (_mh_dylib_header + 8244) #4 0x947ab3a4 in __cmpdi2 (__cmpdi2 + 6820) #5 0x947a7ae8 in JVM_MonitorWait (JVM_MonitorWait + 264) #6 0x03d9e580 in 0x3d9e580 #7 0x03d97fb0 in 0x3d97fb0 #8 0x04081b0c in 0x4081b0c #9 0x03d97ec0 in 0x3d97ec0 #10 0x03d9516c in 0x3d9516c #11 0x947ba0f8 in JVM_GetCPMethodClassNameUTF (JVM_GetCPMethodClassNameUTF + 2856) #12 0x947dbce8 in JVM_GetCPClassNameUTF (JVM_GetCPClassNameUTF + 2456) #13 0x94818868 in JVM_Close (JVM_Close + 1208) #14 0x94829120 in JVM_Interrupt (JVM_Interrupt + 736) #15 0x948cdeac in JVM_UnloadLibrary (JVM_UnloadLibrary + 52044) #16 0x948145d4 in JVM_FindClassFromClass (JVM_FindClassFromClass + 3092) #17 0x9496f9cc in JVM_UnloadLibrary (JVM_UnloadLibrary + 714348) #18 0x900247e8 in _pthread_body (_pthread_body + 40) Thread 9: #0 0x900075c8 in mach_msg_trap (mach_msg_trap + 8) #1 0x90007118 in mach_msg (mach_msg + 56) #2 0x947a7688 in JVM_GetClassAccessFlags (JVM_GetClassAccessFlags + 4584) #3 0x947b7044 in JVM_GetCPMethodSignatureUTF (JVM_GetCPMethodSignatureUTF + 5924) #4 0x948548f8 in JVM_Sleep (JVM_Sleep + 344) #5 0x03d9e580 in 0x3d9e580 #6 0x03d97fb0 in 0x3d97fb0 #7 0x03d97fb0 in 0x3d97fb0 #8 0x03d97ec0 in 0x3d97ec0 #9 0x03d9516c in 0x3d9516c #10 0x947ba0f8 in JVM_GetCPMethodClassNameUTF (JVM_GetCPMethodClassNameUTF + 2856) #11 0x947dbce8 in JVM_GetCPClassNameUTF (JVM_GetCPClassNameUTF + 2456) #12 0x94818868 in JVM_Close (JVM_Close + 1208) #13 0x94829120 in JVM_Interrupt (JVM_Interrupt + 736) #14 0x948cdeac in JVM_UnloadLibrary (JVM_UnloadLibrary + 52044) #15 0x948145d4 in JVM_FindClassFromClass (JVM_FindClassFromClass + 3092) #16 0x9496f9cc in JVM_UnloadLibrary (JVM_UnloadLibrary + 714348) #17 0x900247e8 in _pthread_body (_pthread_body + 40) Thread 10: #0 0x900075c8 in mach_msg_trap (mach_msg_trap + 8) #1 0x90007118 in mach_msg (mach_msg + 56) #2 0x947a7608 in JVM_GetClassAccessFlags (JVM_GetClassAccessFlags + 4456) #3 0x947a2034 in _mh_dylib_header (_mh_dylib_header + 8244) #4 0x947ab3a4 in __cmpdi2 (__cmpdi2 + 6820) #5 0x947a7ae8 in JVM_MonitorWait (JVM_MonitorWait + 264) #6 0x03d9e580 in 0x3d9e580 #7 0x03d97fb0 in 0x3d97fb0 #8 0x03d97fb0 in 0x3d97fb0 #9 0x03d98310 in 0x3d98310 #10 0x03d9516c in 0x3d9516c #11 0x947ba0f8 in JVM_GetCPMethodClassNameUTF (JVM_GetCPMethodClassNameUTF + 2856) #12 0x947dbce8 in JVM_GetCPClassNameUTF (JVM_GetCPClassNameUTF + 2456) #13 0x94818868 in JVM_Close (JVM_Close + 1208) #14 0x94829120 in JVM_Interrupt (JVM_Interrupt + 736) #15 0x948cdeac in JVM_UnloadLibrary (JVM_UnloadLibrary + 52044) #16 0x948145d4 in JVM_FindClassFromClass (JVM_FindClassFromClass + 3092) #17 0x9496f9cc in JVM_UnloadLibrary (JVM_UnloadLibrary + 714348) #18 0x900247e8 in _pthread_body (_pthread_body + 40) Thread 11: #0 0x900075c8 in mach_msg_trap (mach_msg_trap + 8) #1 0x90007118 in mach_msg (mach_msg + 56) #2 0x947a7688 in JVM_GetClassAccessFlags (JVM_GetClassAccessFlags + 4584) #3 0x947a2034 in _mh_dylib_header (_mh_dylib_header + 8244) #4 0x947ab3a4 in __cmpdi2 (__cmpdi2 + 6820) #5 0x947a7ae8 in JVM_MonitorWait (JVM_MonitorWait + 264) #6 0x03d9e580 in 0x3d9e580 #7 0x03d97fb0 in 0x3d97fb0 #8 0x04081b0c in 0x4081b0c #9 0x03d97ec0 in 0x3d97ec0 #10 0x03d9516c in 0x3d9516c #11 0x947ba0f8 in JVM_GetCPMethodClassNameUTF (JVM_GetCPMethodClassNameUTF + 2856) #12 0x947dbce8 in JVM_GetCPClassNameUTF (JVM_GetCPClassNameUTF + 2456) #13 0x94818868 in JVM_Close (JVM_Close + 1208) #14 0x94829120 in JVM_Interrupt (JVM_Interrupt + 736) #15 0x948cdeac in JVM_UnloadLibrary (JVM_UnloadLibrary + 52044) #16 0x948145d4 in JVM_FindClassFromClass (JVM_FindClassFromClass + 3092) #17 0x9496f9cc in JVM_UnloadLibrary (JVM_UnloadLibrary + 714348) #18 0x900247e8 in _pthread_body (_pthread_body + 40) PPC Thread State: srr0: 0x90192e58 srr1: 0x0200f030 vrsave: 0x00000000 cr: 0x22002248 xer: 0x00000004 lr: 0x90192e2c ctr: 0x90192e24 r0: 0x00300bc0 r1: 0xbfffc8e0 r2: 0xa01901f4 r3: 0x00000000 r4: 0xbfffca18 r5: 0x00000000 r6: 0x00000000 r7: 0x00500c20 r8: 0x00000000 r9: 0x00000010 r10: 0xa47af280 r11: 0x9024cc40 r12: 0x90192e24 r13: 0x00500c20 r14: 0x0052cc40 r15: 0x0245b414 r16: 0xbfffca00 r17: 0x6b1bf8f8 r18: 0xbfffca64 r19: 0xbfffc9e8 r20: 0x6b1cffd0 r21: 0x6b1bf8f4 r22: 0x000000b8 r23: 0xbfffed30 r24: 0xbfffee34 r25: 0x6b024620 r26: 0xbfffecf0 r27: 0x00000000 r28: 0x632827e0 r29: 0x00000000 r30: 0xbfffc940 r31: 0x90192e2c
|
2003-11-14 23:53:49
| 1,068,870,000 |
resolved fixed
|
add7018
| 1,069,090,000 |
bundles/org.eclipse.swt/Eclipse SWT Printing/carbon/org/eclipse/swt/printing/Printer.java
|
SWT
|
3,521 | 22,010 |
Bug 22010 GTK: Combo.setForeground() and Combo.setFont() dont change the drop-down list
|
In this test the foreground color and the Font for the Combo is only changed for the selected item and not for the rest of the items in the drop-down list. This test works fine on Windows. The test: ----------------test case starts here-------------------------------- import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.*; import org.eclipse.swt.SWT; import org.eclipse.swt.graphics.*; public class TestSWTChoice { public static void main(String[] args) { Display disp = Display.getDefault(); Shell shell = new Shell(disp); shell.setLayout(new FillLayout(SWT.VERTICAL)); Combo combo = new Combo(shell, SWT.CLIP_CHILDREN | SWT.CLIP_SIBLINGS | SWT.READ_ONLY | SWT.DROP_DOWN); combo.add("first"); combo.add("second"); combo.add("third"); combo.add("fourth"); combo.select(0); Font font = new Font(disp, "Sans",12, SWT.ITALIC); combo.setFont(font); combo.setForeground(disp.getSystemColor(SWT.COLOR_GREEN)); shell.setSize(200,200); shell.setLocation(0,0); shell.open(); while (!shell.isDisposed()) { if (!disp.readAndDispatch()) { disp.sleep(); } } } } ----------------------test case ends here-----------------------------
|
2002-07-29 12:55:52
| 1,027,960,000 |
resolved fixed
|
670085f
| 1,068,590,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java
|
SWT
|
3,522 | 36,486 |
Bug 36486 call hierarchy: should use adapters
|
call hierarchy should use adapters to allow actions contributed on object to be added to the context menu
|
2003-04-15 08:38:33
| 1,050,410,000 |
resolved fixed
|
4ba6fc6
| 1,068,510,000 |
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Combo.java bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/List.java
|
SWT
|
3,523 | 44,919 |
Bug 44919 [KeyBindings] dialog keyboard shortcuts gone
|
3.0M4/linux-gtk/j2sdk1.4.2. I start eclipse with: ----- ECLIPSE_DIR=/usr/local/eclipse-SDK-3.0M4 exec $ECLIPSE_DIR/eclipse -data $HOME/.eclipse-3.0M4 -vm /usr/local/j2sdk1.4.2/jre/bin/java ---- Resize. Go directly into the preferences dialog. Scroll down to Java with arrow keys, hit space bar, scroll down to code generation. Hit Alt-E. Nothing. On further experimentation, all preferences keyboard shortcuts appear broken. In Code Generation/Comments I continued to try using keyboard shortcuts, and at one point they all happened at once: I got three editors in a row corresponding to the three times (don't learn fast :) I pressed Alt-E. Mostly however there was no apparent result to hitting the keyboard shortcut.
|
2003-10-15 13:05:35
| 1,066,240,000 |
resolved fixed
|
e290f5a
| 1,068,500,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Control.java
|
SWT
|
3,524 | 38,521 |
Bug 38521 Mouse events delivered to wrong Control
|
I20030604 MacOS 10.2.6 - open Java editor - press Control-O to open the outliner - click on a method in the tree and keep the mouse button pressed; drag the mouse outside of the outliner window without releasing the mouse button Observe: the mouse events are delivered to the underlying StyledText and perform a selection change
|
2003-06-05 11:02:18
| 1,054,830,000 |
resolved fixed
|
8e24d49
| 1,068,240,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Control.java
|
SWT
|
3,525 | 28,684 |
Bug 28684 Drop-Down arrows hard to hit
|
I2002-12-17 Trying to bring up the drop-down menu on toolbar actions is difficult because you have to exactly hit the arrow. There should be an activation arrow around the arrow.
|
2002-12-19 12:36:35
| 1,040,320,000 |
resolved fixed
|
7e2ba37
| 1,068,240,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/ToolItem.java
|
SWT
|
3,526 | 46,268 |
Bug 46268 [browser] calling multiple times setText without running the event loop does not work
|
on both mozilla and IE
|
2003-11-07 10:16:31
| 1,068,220,000 |
resolved fixed
|
8b58c26
| 1,068,230,000 |
bundles/org.eclipse.swt/Eclipse SWT Browser/mozilla/org/eclipse/swt/browser/Browser.java
|
SWT
|
3,527 | 46,147 |
Bug 46147 [browser] SWT accelerators get overriden by IE
|
Run a snippet with Browser IE and a SWT menubar using F5 as an accelerator. Give focus to the Browser. Press F5. IE reloads instead of running the SWT menu accelerator.
|
2003-11-05 17:20:32
| 1,068,070,000 |
resolved fixed
|
7b024ae
| 1,068,070,000 |
bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/WebSite.java
|
SWT
|
3,528 | 32,772 |
Bug 32772 Cannot hold down stepping keys on OSX
|
Holding down F6 to continuously Step Over has no effect on Mac OSX, only one step takes place. Andre, is this a known limitiation with OSX, namely that the function keys do not repeat?
|
2003-02-24 14:43:40
| 1,046,120,000 |
resolved fixed
|
e5312f3
| 1,068,070,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/Menu.java
|
SWT
|
3,529 | 21,075 |
Bug 21075 Import to filesystem can only browse when empty
|
Build GM5 Linux/GTK In the Import from File system wizard, the source field can only be changed by the browse button when it is empty. This operation works correctly in the Import from Zip file wizard.
|
2002-06-27 14:02:12
| 1,025,200,000 |
resolved fixed
|
32c242e
| 1,068,070,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/DirectoryDialog.java
|
SWT
|
3,530 | 46,037 |
Bug 46037 text editor - <home> positions editor in first page
|
i20031104 Pressing <home> scroll the editor to the first page of text, although the cursor is properly put in the first character of the current line.
|
2003-11-04 11:36:37
| 1,067,960,000 |
resolved fixed
|
64885fd
| 1,068,050,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/Composite.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Widget.java
|
SWT
|
3,531 | 46,028 |
Bug 46028 [browser] IE browser still shows default popup menu
|
investigate possibility to disable the default popup menu
|
2003-11-04 10:15:16
| 1,067,960,000 |
resolved fixed
|
ecd55c2
| 1,068,050,000 |
bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/Browser.java bundles/org.eclipse.swt/Eclipse SWT Browser/win32/org/eclipse/swt/browser/WebSite.java bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/ole/win32/COM.java
|
SWT
|
3,532 | 46,946 |
Bug 46946 quick type hiearchy: affordance caption is swapped [type hierarchy]
|
I20031119 (M5 test pass) 1. Open ContextBasedFormattingStrategy.java (or another type of your liking) 2. Press Ctrl+T to open the type hierarchy 3. Repeatedly pressing Ctrl+T toggles between super- and subtype hierarchy -> The caption of the affordance shown at the bottom needs to be swapped Right now, when displaying the supertype hierarchy, it reads "Press Ctrl+T to display the supertype hierarchy".
|
2003-11-19 06:17:50
| 1,069,240,000 |
resolved fixed
|
b21a93f
| 1,067,990,000 |
bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/OS.java
|
SWT
|
3,533 | 45,789 |
Bug 45789 Toolbar dropdown items don't fire immediately
|
I20031010 and later Jaguar or Panther - in Eclipse's Java perspective select an action from the drop down menu of a toolbar item - make sure not to move the mouse after releasing the mouse button Observe: nothing happens - move the mouse Observe: now the action executes
|
2003-10-30 08:34:16
| 1,067,520,000 |
resolved fixed
|
e0446d3
| 1,067,990,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Display.java
|
SWT
|
3,534 | 45,877 |
Bug 45877 many German strings are not displayed
|
See this on 2.1.1, any string containing a non-english character. Seems like converter problem.
|
2003-10-31 12:41:18
| 1,067,620,000 |
verified fixed
|
72e4956
| 1,067,960,000 |
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/internal/Converter.java
|
SWT
|
3,535 | 43,108 |
Bug 43108 StyledText - Scrollwheel event interferes with last caret placement
|
Styled text remembers the last horizontal offset of the caret in a line. If you are at the end of a really long line, and you press DOWN to a short line, then UP, the caret's placement is recalled and it is at the end of the line again. But, if you press DOWN to a short line, then use the scrollwheel, which does NOT move the caret, then press UP, the caret's location is not recalled.
|
2003-09-15 11:54:56
| 1,063,640,000 |
resolved fixed
|
fb405c6
| 1,067,960,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
|
SWT
|
3,536 | 34,408 |
Bug 34408 Shift Tab does not work in java editor
|
RC2 Select a few lines of code in a java editor Tab shifts right as expected BUG: Shift tab does not shift left. Is it conflicting with the tab focus? Works on Windows.
|
2003-03-10 13:58:33
| 1,047,320,000 |
resolved fixed
|
1459aa8
| 1,067,890,000 |
bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/OS.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Display.java
|
SWT
|
3,537 | 24,319 |
Bug 24319 Key events don't send to code completion dialog
|
Build 20021002 Linux/GTK The code completion system doesn't work quike well when it is activited on an other frame that the main frame (dialog, preference page, ...). Test case #1: 1. Open the Preferences page. 2. Select java templates (java -> templates). 3. Edit one template. 4. Put the cursor at the end of the template pattern and hit [CTRL]+[SPACE]. The code completion dialog is displayed. 5. Hit some keys, nothing happens. 6. Select a proposal with the mouse (single click). 7. Hit some keys, only the arrow up, arrow down and enter keys work. Test case #2: 1. Create two compilation units called Test1 and Test2, without javadoc associated to the classes. 2. Open the Preferences page 3. Select detail formatters (java -> debug -> detail formatters) 4. Create a new detail formatter, select Test1 as its type. 5. Type "Test" in the source viewer. Hit [CTRS]+[SPACE]. The code completion dialog is displayed. The first proposals should be Test1, Test2 6. Hit some keys, nothing happens. 7. Select Test2 with the mouse (single click). 8. Hit some keys, only the arrow up, arrow down and enter keys work. 9. Select an other proposal, which has an associated additionnal info (class javadoc). After the additionnal info is displayed, all keys can be used as expected. It looks like a GTK problem, as the code completion works fine on others platformes (Win32 and Linux/Motif).
|
2002-10-02 10:36:34
| 1,033,570,000 |
resolved fixed
|
6e424e9
| 1,067,640,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Shell.java
|
SWT
|
3,538 | 37,510 |
Bug 37510 Shift + F10 does not work in GEF on Linux
|
Shift + F10 does not bring up the context menu on Linux SuSE 8.1
|
2003-05-12 14:09:54
| 1,052,760,000 |
resolved fixed
|
b6e17b5
| 1,067,630,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Composite.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java
|
SWT
|
3,539 | 26,101 |
Bug 26101 Strange behaviour in VerifyListener under GTK
|
Configuration: RedHat Linux 7.3, GTK 2.0.2, Atk 1.0.1, Pango 1.0.1, Eclipse 2.1 M2 GTK version. The VerifyListener added to a Text widget is behave different than on Windows. We notice the following differences: - for a BackSpace the character field is 0, and the text field contains the character to be deleted; under Windows the character field is SWT.BS and the text field is an empty String (I assume that it is the correct behaviour) - if there is no text in the widget, in Windows the Backspace key does not fire the event, because there is no text modification; under Linux-GTK there is an event with an empty text and 0,0 as start-end. With the following program the behaviour can be simply reproduced. import org.eclipse.swt.SWT; import org.eclipse.swt.events.VerifyEvent; import org.eclipse.swt.events.VerifyListener; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; import org.eclipse.swt.widgets.Text; public class TextExample { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display, SWT.SHELL_TRIM); shell.setLayout(new FillLayout()); Text text = new Text(shell, SWT.NULL); text.setSize(300, text.getSize().y); text.addVerifyListener(new VerifyListener() { public void verifyText(VerifyEvent e) { System.out.println("e.text:[" + e.text + "] e.start:" + e.start + " e.end:" + e.end); } } ); shell.pack(); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } } display.dispose(); } }
|
2002-11-13 09:34:52
| 1,037,200,000 |
resolved fixed
|
78c997c
| 1,067,630,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java
|
SWT
|
3,540 | 42,278 |
Bug 42278 CTabFolder throws exception when closing a tab
| null |
2003-08-29 15:54:21
| 1,062,190,000 |
resolved fixed
|
012bcd5
| 1,067,630,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java
|
SWT
|
3,541 | 26,913 |
Bug 26913 All platforms should clear mouse capture when modal dialog is opened
|
On Windows, when you open a modal dialog, SWT has code that goes around and clears mouse capture. This functionality apparently isn't present on Linux/Motif. All platforms should be made the same as Windows. We had a case where a DragTracker called setCapture(true) then we created a modal dialog box before the setCapture(false) was called. SWT overlooked our bogosity on Windows, but on Linux/Motif the UI stopped responding to mouse events... SN knows about this problem.
|
2002-11-21 17:54:47
| 1,037,920,000 |
resolved fixed
|
9e36f22
| 1,067,530,000 |
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Shell.java
|
SWT
|
3,542 | 44,878 |
Bug 44878 StyledText - Arrow_Down in text editor doesn't retain column when it scrolls
|
3.0M4 (bug is probably much older) - enter this text (without quotes) into an editor (java or text): "This is a very long line for testing purposes This is a very long line for testing purposes" - make the editor so narrow that only "This is a very" can be seen - set the cursor to the end of the first long line - press Arrow_down twice -> expected: The cursor is at the end of the second long line -> was: Cursor is after "very", which is the rightmost visible column when the editor is fully scrolled to the left.
|
2003-10-15 03:56:12
| 1,066,200,000 |
resolved fixed
|
3939d3e
| 1,067,380,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
|
SWT
|
3,543 | 45,640 |
Bug 45640 PENs are being leaked during painting
|
GEF uses double-buffered painting. At some point when painting to an offscreen Image, GDI objects (Pens in this case) are being leaked. Let me know if you need more information or a snippet.
|
2003-10-27 18:58:04
| 1,067,300,000 |
resolved fixed
|
9d2452c
| 1,067,370,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GCData.java
|
SWT
|
3,544 | 45,628 |
Bug 45628 cannot traverse to ToolBar items
| null |
2003-10-27 16:02:19
| 1,067,290,000 |
resolved fixed
|
d999a60
| 1,067,360,000 |
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/ToolBar.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/ToolItem.java
|
SWT
|
3,545 | 45,341 |
Bug 45341 FileDialog crashes VM on invalid drive
|
The FileDialog widget crashes the VM on Windows XP when the SWT.MULTI style is used and you type in a drive and path that is not accessible. The crash does not occur the first time the dialog is displayed. Most of the time it happens on the second, third, or fourth time the dialog is displayed. To reproduce: 1) Run the program below 2) Click on the "Press me" button 3) Type in d:\temp (where d: is my DVD drive with no DVD in it) 4) Get "Insert Disk" prompt. Press "Cancel" button 5) Repeat steps 1-4 several times until crash occurs If the style is specified only as SWT.OPEN (MULTI is left off), I cannot reproduce the problem. See the following code: public class Bogus { public static void main(String[] args) { final Shell shell = new Shell(); shell.setLayout(new GridLayout(1, false)); Button button = new Button(shell, SWT.NONE); button.setText("Press me"); button.addSelectionListener(new SelectionAdapter(){ public void widgetSelected(SelectionEvent e) { FileDialog dialog = new FileDialog(shell, SWT.OPEN | SWT.MULTI); dialog.open(); } }); shell.open(); Display display = shell.getDisplay(); while (shell != null && !shell.isDisposed() && shell.isVisible ()) { if (!display.readAndDispatch()) display.sleep(); } } } Here is the VM crash data: An unexpected exception has been detected in native code outside the VM. Unexpected Signal : EXCEPTION_ACCESS_VIOLATION (0xc0000005) occurred at PC=0x70A71A37 Function=PathFindExtensionW+0xA Library=C:\WINDOWS\system32\SHLWAPI.dll Current Java thread: at org.eclipse.swt.internal.win32.OS.GetOpenFileNameW(Native Method) at org.eclipse.swt.internal.win32.OS.GetOpenFileName(OS.java:1489) at org.eclipse.swt.widgets.FileDialog.open(FileDialog.java:263) at Bogus$1.widgetSelected(Bogus.java:31) at org.eclipse.swt.widgets.TypedListener.handleEvent (TypedListener.java:89) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:81) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:840) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1838) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1545) at Bogus.main(Bogus.java:40) Dynamic libraries: 0x00400000 - 0x00407000 C:\j2sdk1.4.2\bin\javaw.exe 0x77F50000 - 0x77FF7000 C:\WINDOWS\System32\ntdll.dll 0x77E60000 - 0x77F46000 C:\WINDOWS\system32\kernel32.dll 0x77DD0000 - 0x77E5D000 C:\WINDOWS\system32\ADVAPI32.dll 0x78000000 - 0x78086000 C:\WINDOWS\system32\RPCRT4.dll 0x77D40000 - 0x77DC6000 C:\WINDOWS\system32\USER32.dll 0x77C70000 - 0x77CB0000 C:\WINDOWS\system32\GDI32.dll 0x77C10000 - 0x77C63000 C:\WINDOWS\system32\MSVCRT.dll 0x08000000 - 0x08136000 C:\j2sdk1.4.2\jre\bin\client\jvm.dll 0x76B40000 - 0x76B6C000 C:\WINDOWS\System32\WINMM.dll 0x10000000 - 0x10007000 C:\j2sdk1.4.2\jre\bin\hpi.dll 0x00830000 - 0x0083E000 C:\j2sdk1.4.2\jre\bin\verify.dll 0x00840000 - 0x00858000 C:\j2sdk1.4.2\jre\bin\java.dll 0x00860000 - 0x0086D000 C:\j2sdk1.4.2\jre\bin\zip.dll 0x03250000 - 0x03297000 C:\development\dogfood\bin\swt-win32-2133.dll 0x771B0000 - 0x772D1000 C:\WINDOWS\system32\ole32.dll 0x71950000 - 0x71A34000 C:\WINDOWS\WinSxS\X86_Microsoft.Windows.Common- Controls_6595b64144ccf1df_6.0.10.0_x-ww_f7fb5805\COMCTL32.dll 0x70A70000 - 0x70AD4000 C:\WINDOWS\system32\SHLWAPI.dll 0x763B0000 - 0x763F5000 C:\WINDOWS\system32\comdlg32.dll 0x773D0000 - 0x77BC2000 C:\WINDOWS\system32\SHELL32.dll 0x77120000 - 0x771AB000 C:\WINDOWS\system32\OLEAUT32.dll 0x76390000 - 0x763AC000 C:\WINDOWS\System32\IMM32.dll 0x5AD70000 - 0x5ADA4000 C:\WINDOWS\System32\UxTheme.dll 0x75F40000 - 0x75F5F000 C:\WINDOWS\system32\appHelp.dll 0x76FD0000 - 0x77048000 C:\WINDOWS\System32\CLBCATQ.DLL 0x77050000 - 0x77115000 C:\WINDOWS\System32\COMRes.dll 0x77C00000 - 0x77C07000 C:\WINDOWS\system32\VERSION.dll 0x76620000 - 0x7666E000 C:\WINDOWS\System32\cscui.dll 0x76600000 - 0x7661B000 C:\WINDOWS\System32\CSCDLL.dll 0x03540000 - 0x0362D000 C:\Program Files\TortoiseCVS\TrtseShl.dll 0x55900000 - 0x55961000 C:\WINDOWS\System32\MSVCP60.dll 0x76670000 - 0x76757000 C:\WINDOWS\System32\SETUPAPI.dll 0x76990000 - 0x769B4000 C:\WINDOWS\System32\ntshrui.dll 0x76B20000 - 0x76B35000 C:\WINDOWS\System32\ATL.DLL 0x71C20000 - 0x71C6E000 C:\WINDOWS\System32\NETAPI32.dll 0x75A70000 - 0x75B15000 C:\WINDOWS\system32\USERENV.dll 0x71700000 - 0x71849000 C:\WINDOWS\System32\shdocvw.dll 0x037B0000 - 0x038C3000 C:\Program Files\Apoint\Apoint.DLL 0x03750000 - 0x0375F000 C:\WINDOWS\System32\Vxdif.dll 0x038E0000 - 0x038F3000 C:\Program Files\Dell\QuickSet\dadkeyb.dll 0x71B20000 - 0x71B31000 C:\WINDOWS\system32\MPR.dll 0x75F60000 - 0x75F66000 C:\WINDOWS\System32\drprov.dll 0x71C10000 - 0x71C1D000 C:\WINDOWS\System32\ntlanman.dll 0x71CD0000 - 0x71CE6000 C:\WINDOWS\System32\NETUI0.dll 0x71C90000 - 0x71CCC000 C:\WINDOWS\System32\NETUI1.dll 0x71C80000 - 0x71C86000 C:\WINDOWS\System32\NETRAP.dll 0x71BF0000 - 0x71C01000 C:\WINDOWS\System32\SAMLIB.dll 0x75F70000 - 0x75F79000 C:\WINDOWS\System32\davclnt.dll 0x75F80000 - 0x7607C000 C:\WINDOWS\System32\browseui.dll 0x76C90000 - 0x76CB2000 C:\WINDOWS\system32\imagehlp.dll 0x6D510000 - 0x6D58D000 C:\WINDOWS\system32\DBGHELP.dll 0x76BF0000 - 0x76BFB000 C:\WINDOWS\System32\PSAPI.DLL Heap at VM Abort: Heap def new generation total 576K, used 214K [0x10010000, 0x100b0000, 0x104f0000) eden space 512K, 39% used [0x10010000, 0x100430a8, 0x10090000) from space 64K, 16% used [0x10090000, 0x10092af0, 0x100a0000) to space 64K, 0% used [0x100a0000, 0x100a0000, 0x100b0000) tenured generation total 1408K, used 209K [0x104f0000, 0x10650000, 0x14010000) the space 1408K, 14% used [0x104f0000, 0x10524490, 0x10524600, 0x10650000) compacting perm gen total 4096K, used 1674K [0x14010000, 0x14410000, 0x18010000) the space 4096K, 40% used [0x14010000, 0x141b28a8, 0x141b2a00, 0x14410000) Local Time = Tue Oct 21 16:41:46 2003 Elapsed Time = 10 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.2-b28 mixed mode) # # An error report file has been saved as hs_err_pid3180.log. # Please refer to the file for further information. # Process terminated with exit code 1
|
2003-10-21 19:05:43
| 1,066,780,000 |
resolved fixed
|
ebafd3a
| 1,067,270,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/FileDialog.java
|
SWT
|
3,546 | 42,367 |
Bug 42367 StyledText - StringIndexOutOfBoundsException in StyledTextRenderer
|
200308281813 When hovering over the quick diff ruler to display the diff hover. Not reproducable, but consistently failing for a certain hover (I suspect an empty hover message, but not sure). java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.Throwable.<init>(Throwable.java) at java.lang.Throwable.<init>(Throwable.java) at java.lang.StringIndexOutOfBoundsException.<init>(StringIndexOutOfBoundsException.java:67) at java.lang.String.substring(String.java) at org.eclipse.swt.custom.DisplayRenderer.getStyledTextWidth(DisplayRenderer.java) at org.eclipse.swt.custom.StyledTextRenderer.getTextWidth(StyledTextRenderer.java) at org.eclipse.swt.custom.StyledText$ContentWidthCache.contentWidth(StyledText.java) at org.eclipse.swt.custom.StyledText$ContentWidthCache.calculate(StyledText.java) at org.eclipse.swt.custom.StyledText.computeSize(StyledText.java:2116) at org.eclipse.swt.layout.GridLayout.calculateGridDimensions(GridLayout.java) at org.eclipse.swt.layout.GridLayout.computeLayoutSize(GridLayout.java) at org.eclipse.swt.layout.GridLayout.computeSize(GridLayout.java) at org.eclipse.swt.widgets.Composite.computeSize(Composite.java) at org.eclipse.swt.widgets.Control.computeSize(Control.java) at org.eclipse.jdt.internal.ui.text.java.hover.SourceViewerInformationControl.computeSizeHint(SourceViewerInformationControl.java:315) at org.eclipse.jdt.internal.ui.text.CustomSourceInformationControl.computeSizeHint(CustomSourceInformationControl.java:70) at org.eclipse.jface.text.AbstractInformationControlManager.internalShowInformationControl(AbstractInformationControlManager.java:708) at org.eclipse.jface.text.AbstractInformationControlManager.presentInformation(AbstractInformationControlManager.java:677) at org.eclipse.jface.text.AbstractHoverInformationControlManager.presentInformation(AbstractHoverInformationControlManager.java:423) at org.eclipse.jface.text.AbstractInformationControlManager.setInformation(AbstractInformationControlManager.java:224) at org.eclipse.jface.text.source.AnnotationBarHoverManager.computeInformation(AnnotationBarHoverManager.java:97) at org.eclipse.jface.text.AbstractInformationControlManager.doShowInformation(AbstractInformationControlManager.java:661) at org.eclipse.jface.text.AbstractHoverInformationControlManager$MouseTracker.mouseHover(AbstractHoverInformationControlManager.java) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2036) at org.eclipse.ui.internal.Workbench.run(Workbench.java:2019) at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:858) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461) at java.lang.reflect.AccessibleObject.invokeL(AccessibleObject.java:207) at java.lang.reflect.Method.invoke(Method.java:271) at org.eclipse.core.launcher.Main.basicRun(Main.java:295) at org.eclipse.core.launcher.Main.run(Main.java:751) at org.eclipse.core.launcher.Main.main(Main.java:587)
|
2003-09-02 05:38:54
| 1,062,500,000 |
resolved fixed
|
d63518e
| 1,067,010,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/DisplayRenderer.java
|
SWT
|
3,547 | 45,439 |
Bug 45439 Double clicking the left upper corner of the nested Decoration closes the parent Shell
|
When I double click on the window's icon (the one that is in the upper left corner) of the Decorations window, the top level Shell window closes instead of that Decorations window. I have confirmed that behaviour on Windows XP, Windows 2000 and Windows 2003 with version 3.024 of SWT. This does not happen when I use version 2.135. Here is the snippet, that reproduces the error: package net.infogenia.gcoll2.client.tests; import org.eclipse.swt.SWT; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.widgets.Decorations; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; public class Main { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display, SWT.SHELL_TRIM); shell.setLayout(new FillLayout()); Decorations dec = new Decorations(shell, SWT.TITLE|SWT.CLOSE); shell.pack(); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } } display.dispose(); } }
|
2003-10-23 09:22:21
| 1,066,920,000 |
resolved fixed
|
732efb4
| 1,066,930,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Decorations.java
|
SWT
|
3,548 | 38,585 |
Bug 38585 ControlExample - Checkbox Tree preferred size a tad too small
|
I20030605 Solaris japanese Run ControlExample Switch to tree tab The width of the checkbox tree is a little bit too small: numbers on the right are truncated.
|
2003-06-06 11:33:25
| 1,054,910,000 |
resolved fixed
|
8bbf00f
| 1,066,860,000 |
bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/TreeItem.java
|
SWT
|
3,549 | 45,306 |
Bug 45306 Mouse events lost in shell launched from secondary application modal shell
|
Build 20031021 1. Started a 20031015 workspace with Eclipse build 20031021. 2. Imported all unshared projects 3. Got an information dialog saying that some plugins were missing 4. This dialog would not take any mouse input: I could not click Yes/No. All it did was beep. Could not discard this dialog at all. I had to kill the workbench.
|
2003-10-21 13:18:28
| 1,066,760,000 |
resolved fixed
|
4a292b5
| 1,066,840,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java
|
SWT
|
3,550 | 45,337 |
Bug 45337 pocketpc - can't show popup menu in Tree
|
following does not work. Tree does special handling for LBUTTONDOWN and RBUTTONDOWN and does not call super. As a result the PocketPC popup gesture code in Control is not invoked. Probably need to inline the gesture code in Tree. public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setText("PR"); shell.setLayout(new FillLayout()); Tree tree = new Tree(shell, SWT.BORDER); for (int i = 0; i < 30; i++) { new TreeItem(tree, SWT.NONE).setText("item "+i); } Menu menu = new Menu(shell, SWT.POP_UP); MenuItem item = new MenuItem(menu, SWT.CASCADE); item.setText("item 1"); MenuItem item2 = new MenuItem(menu, SWT.CASCADE); item2.setText("item 2"); tree.setMenu(menu); tree.addListener(SWT.MenuDetect, new Listener() { public void handleEvent(Event e) { System.out.println("menu event "+e.x+" "+e.y); } }); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } } }
|
2003-10-21 17:36:12
| 1,066,770,000 |
resolved fixed
|
2d25d74
| 1,066,840,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
|
SWT
|
3,551 | 35,494 |
Bug 35494 ControlExample - Table preferred size does not adjust width
|
RC3a Run ControlExample, tab 'table' Make sure 'Preferred' size is selected. Change font size. The height of the table is correctly adjusted, the width is unchanged, regardless of the font size.
|
2003-03-21 12:20:28
| 1,048,270,000 |
resolved fixed
|
c1f05c5
| 1,066,770,000 |
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/TableTab.java
|
SWT
|
3,552 | 44,050 |
Bug 44050 SWT.BORDER Text should display thin black border on PocketPC
|
SWT.BORDER should probably use WS_BORDER instead of extended style EX_CLIENTEDGE for Text on Pocket PC, to get the common thin black border instead of the 3d border that is not used on PocketPC.
|
2003-10-02 01:07:05
| 1,065,070,000 |
resolved fixed
|
4579272
| 1,066,770,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java
|
SWT
|
3,553 | 41,420 |
Bug 41420 Deleting the first column of a Table may throw an exception
|
If a table is created which has images associated with items in the first column, but not in the second, deleting the first column throws an ArrayIndexOutOfBoundsException. The exception produced was: java.lang.ArrayIndexOutOfBoundsException: -1 at org.eclipse.swt.widgets.ImageList.get(ImageList.java:176) at org.eclipse.swt.widgets.Table.destroyItem(Table.java:523) at org.eclipse.swt.widgets.TableColumn.releaseChild (TableColumn.java:305) at org.eclipse.swt.widgets.Widget.dispose(Widget.java:371) at ColumnDeleteProblem.main(ColumnDeleteProblem.java:43) Exception in thread "main" In the org.eclipse.swt.widgets.Table class, if the first column is being destroyed and other columns exists, the second column is shifted to the first and then destroyed. During this shifting, an assumption is made that if the Table has an imagelist, then the image indices (from the LVITEM structures) of the second column are valid indices into the imagelist. The second column's indices are not valid, however, because the second column's items do not have images. The code in question is in Table.java, lines 522-523 (for 3.0, 529-530).
|
2003-08-11 19:54:32
| 1,060,650,000 |
resolved fixed
|
fa8c13e
| 1,066,760,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java
|
SWT
|
3,554 | 45,267 |
Bug 45267 BIDI: Mirrored text appears on every editor
|
With the driver eclipse-SDK-2.1.2RC1-win32, every text (even in English) is mirrored. For instance, the text "Installed features" appears as "serutaef dellatsnI" I made the test on a Windows NT Hebrew enabled platform This problem does not occur on a Windows 2000 platform.
|
2003-10-21 08:22:36
| 1,066,740,000 |
closed fixed
|
8a38da1
| 1,066,750,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/internal/BidiUtil.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
|
SWT
|
3,555 | 43,500 |
Bug 43500 InvalidThreadAccess when running a subset of JUnit tests
|
Probably the easiest way to recreate the InvalidThreadAccess is to change AllTests constructor so that it only contains these two lines: addTest(Test_org_eclipse_swt_widgets_MenuItem.suite()); addTest(Test_org_eclipse_swt_widgets_Display.suite());
|
2003-09-23 09:41:26
| 1,064,320,000 |
resolved fixed
|
45b9e9a
| 1,066,750,000 |
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/AllTests.java
|
SWT
|
3,556 | 44,474 |
Bug 44474 StyledText does not handle case where printing not supported
|
StyledText$Printing() assumes that printer.getPrinterData will return a non- null value. On machines where printing is not supported (or a printer is not installed) this is not true. Run Test_org_eclipse_swt_custom_StyledText.test_print on GTK or Mac and you will get an NPE. The test case and StyledText need to be modified to handle the case where no printer or printing support is available.
|
2003-10-08 12:36:21
| 1,065,630,000 |
resolved fixed
|
0dc735b
| 1,066,670,000 |
bundles/org.eclipse.swt/Eclipse SWT Printing/carbon/org/eclipse/swt/printing/Printer.java bundles/org.eclipse.swt/Eclipse SWT Printing/gtk/org/eclipse/swt/printing/Printer.java bundles/org.eclipse.swt/Eclipse SWT Printing/photon/org/eclipse/swt/printing/Printer.java
|
SWT
|
3,557 | 45,145 |
Bug 45145 Second window comes to front when using first
|
I use two Eclipse windows. If I switch in from another application to one Eclipse window, and then click on a docked view, or perspective, the other window comes to the front over my other applications' windows. Unless I click on the Eclipse dock icon, the only time a window should come to the front is if I click on it explicitly (or some behavior takes me to a widget in the other window).
|
2003-10-17 19:01:39
| 1,066,430,000 |
resolved fixed
|
032165f
| 1,066,660,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 bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Tree.java
|
SWT
|
3,558 | 44,232 |
Bug 44232 ImageData constructor should thrown IllegalArgumentException for scanlinePad == 0
|
If the user tries to create ImageData with scanlinePad == 0, they get: java.lang.ArithmeticException: / by zero The constructor should check for 0, and throw IllegalArgumentException (see Combo.setTextLimit (int) for example). The javadoc would also need to be updated. Here is a testcase: import org.eclipse.swt.graphics.*; public class TestImageData_NPE { public static void main(String[] args) { new ImageData(1, 1,8, new PaletteData(new RGB[] {new RGB(0, 0, 0)}), 0, new byte[] {}); } }
|
2003-10-06 11:39:13
| 1,065,450,000 |
resolved fixed
|
afba14f
| 1,066,510,000 |
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/ImageData.java
|
SWT
|
3,559 | 44,174 |
Bug 44174 Eclipse crashes using SWT Designer plugin
|
I20030930 Trying to take a look at Instantiations' SWT Designer, Eclipse immediately exits when switching its design perspective. The crash log of MacOS X contains the follwing output: Thread 0 Crashed: #0 0x969e962c in TestWindowGroupAttributes #1 0x969eb71c in HiliteAndActivateWindow #2 0x96a0a380 in _Z27AdjustToNewWindowActivationP10WindowDataP13WindowContextP15OpaqueWindowPtrS0_ #3 0x96a58518 in _Z36PotentiallyAdjustActivationOnOrderInP10WindowDataS0_ #4 0x96a49ffc in ShowWindow #5 0x046a1ab0 in Java_org_eclipse_swt_internal_carbon_OS_ShowWindow [...]
|
2003-10-04 12:44:15
| 1,065,290,000 |
resolved fixed
|
36e6489
| 1,066,330,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
|
3,560 | 44,896 |
Bug 44896 2 junit tests have been intermittently failing in nightly build
|
Log from N20031015: Failure :a: junit.framework.AssertionFailedError: :a: at org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Shell.test_addShellList enerLorg_eclipse_swt_events_ShellListener (Test_org_eclipse_swt_widgets_Shell.java:116) at org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Shell.runTest (Test_org_eclipse_swt_widgets_Shell.java:284) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:320) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:199) at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:34) at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:30) at org.eclipse.core.internal.boot.InternalBootLoader.run (InternalBootLoader.java:858) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) at org.eclipse.core.launcher.Main.basicRun(Main.java:299) at org.eclipse.core.launcher.Main.run(Main.java:765) at org.eclipse.core.launcher.Main.main(Main.java:599) 0.015 test_close Success 0.000 test_dispose Success 0.000 test_forceActive Failure :a: junit.framework.AssertionFailedError: :a: at org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Shell.test_forceActive (Test_org_eclipse_swt_widgets_Shell.java:148) at org.eclipse.swt.tests.junit.Test_org_eclipse_swt_widgets_Shell.runTest (Test_org_eclipse_swt_widgets_Shell.java:287) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:320) at org.eclipse.test.EclipseTestRunner.run(EclipseTestRunner.java:199) at org.eclipse.test.CoreTestApplication.runTests(CoreTestApplication.java:34) at org.eclipse.test.CoreTestApplication.run(CoreTestApplication.java:30) at org.eclipse.core.internal.boot.InternalBootLoader.run (InternalBootLoader.java:858) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:461) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke (DelegatingMethodAccessorImpl.java:25) at org.eclipse.core.launcher.Main.basicRun(Main.java:299) at org.eclipse.core.launcher.Main.run(Main.java:765) at org.eclipse.core.launcher.Main.main(Main.java:599)
|
2003-10-15 09:44:18
| 1,066,230,000 |
resolved fixed
|
702e2df
| 1,066,310,000 |
tests/org.eclipse.swt.tests/JUnit Tests/org/eclipse/swt/tests/junit/Test_org_eclipse_swt_widgets_Shell.java
|
SWT
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.