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,861 | 27,869 |
Bug 27869 StyledText overuse of Font.getFontData
|
Running eclipse, using the Java Editor: A single key stroke can cause the API Font.getFontData() to be called 13 times. I believe, and many people agree, that this API don't need to be used at all by the StyledText when it's been typed. This API is also overused when we are scrolling the StyledText and selecting text. Try to add system.out.println in the first line of method Font#getFontData, run a selfhosted eclipse, watch the console. I concerned about this problem cause in some platform the performance of this method is very pour if compared with Windows. For example, Motif running on UTF-8. Each Font has 7 FontData, therefore every time I type 'a' in the JavaEditor 91 (7*13) FontData will be loaded. Btw, UTF-8 is the default english encoding for Redhat 8. FontMetrics API is also very used by the StyledText, I believe that the metric information should be cached in the StyledText and update only when the font is changed.
|
2002-12-06 15:27:42
| 1,039,210,000 |
resolved fixed
|
4e22aa7
| 1,040,670,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/DisplayRenderer.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/PrintRenderer.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextRenderer.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/WrappedContent.java
|
SWT
|
3,862 | 26,079 |
Bug 26079 Use PfLoadMetrics() to speed up text extenting.
|
If you use PfLoadMetrics() when using PfExtentWideText() (which we are already doing) then you can avoid all transactions to the external font server. This provides a big drop in CPU usage when using Tables, Trees, and the StyledText editor.
|
2002-11-13 02:04:30
| 1,037,170,000 |
resolved fixed
|
2f92ef0
| 1,040,400,000 |
bundles/org.eclipse.swt/Eclipse SWT PI/photon/org/eclipse/swt/internal/photon/OS.java bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/graphics/GC.java
|
SWT
|
3,863 | 28,658 |
Bug 28658 [Perspectives] No context menu in perspective bar
|
I2002-12-18 Bringing up the context menu on the perspective bar on the left does not work. Closing perspectives is thus only possible via the Window menu.
|
2002-12-19 02:54:24
| 1,040,280,000 |
resolved fixed
|
3430636
| 1,040,340,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/Control.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/ToolItem.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Widget.java
|
SWT
|
3,864 | 28,382 |
Bug 28382 Extra separator line drawn in emulated CoolBar
|
It looks like the right-most CoolItem in an emulated CoolBar displays a separator line on the left hand edge. This is true regardless of whether or not the CoolBar is "locked". This behavior does not match the native look&feel on either windows or macosx.
|
2002-12-16 11:00:28
| 1,040,050,000 |
resolved fixed
|
3810f49
| 1,040,230,000 |
bundles/org.eclipse.swt/Eclipse SWT/emulated/coolbar/org/eclipse/swt/widgets/CoolBar.java
|
SWT
|
3,865 | 28,524 |
Bug 28524 Inconsistent behaviour of tab in password fields
|
I20021216 Open the dialog to create a new CVS repository connection. Type in a password. Hit Tab. On Windows, tab takes you to the next field. On the Mac, tab enters another character in the password field.
|
2002-12-17 11:11:31
| 1,040,140,000 |
resolved fixed
|
9f6eab8
| 1,040,150,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Text.java
|
SWT
|
3,866 | 22,759 |
Bug 22759 Input method does not work on GTK/GTK2
|
I'm using Ami as a Korean input method application on RedHat 7.2 Linux/GNOME 2. But I cannot input any Korean character with both GTK/GTK2 version of Eclipse. Could you please fix this problem? Thanks
|
2002-08-23 07:52:12
| 1,030,100,000 |
resolved fixed
|
e1266ff
| 1,040,070,000 |
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Menu.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/MenuItem.java
|
SWT
|
3,867 | 27,977 |
Bug 27977 drag drop threshold region not calculated properly
|
The Windows implementation of SWT does not correctly identify the threshold region (i.e., the area surrounding the mouse cursor outside of which movement should be regarded as the initiation of a drag and drop operation). This is because the threshold detection code expects screen coordinates while the mouse event uses client coordinates. It can be fixed by adding the following line to org/eclipse/swt/widgets/Control.java:3397. (I've tested this and it works for me.) OS.ClientToScreen(handle, pt);
|
2002-12-09 16:30:52
| 1,039,470,000 |
resolved fixed
|
74b44aa
| 1,039,730,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java
|
SWT
|
3,868 | 27,526 |
Bug 27526 Color selection dialog takes a long time to display in 8-bit mode
|
Overview Description: The color selection dialog takes up to 15 seconds to appear on Solaris, whereas, the dialog comes up almost instantaneously on HPUX. This behavior occurs on the first and subsequent color change requests. NOTE: It doesnt seem to matter where you originate the color Selection request, the delay is the same (i.e. Color selection from The Preferences dialog takes the same amount of time as a color Selection request from the SWT Examples software / SWT Controls View. Steps to reproduce: 1. Open the workbench Preferences dialog 2. Select the Java category, and open the Editor preferences page 3. Select the Appearance tab 4. Select the Color button !BUG! There is a long wait time for the color selection dialog (the amount of time is a usability issue!) ------ Build 2002-11-07-1448 on Sparc/Solaris
|
2002-12-02 14:49:46
| 1,038,860,000 |
verified fixed
|
901c0a3
| 1,039,710,000 |
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/ColorDialog.java
|
SWT
|
3,869 | 28,035 |
Bug 28035 Different callback behavior on Windows and Mac with Combo widget
|
I will attach the test class. On windows, org.eclipse.swt.widgets.Combo.setText(String) fires a modifyText callback to the registered modify listeners. The callback does not occur on Mac OSX.
|
2002-12-10 13:03:15
| 1,039,540,000 |
resolved fixed
|
e1e3c4e
| 1,039,600,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Combo.java
|
SWT
|
3,870 | 27,422 |
Bug 27422 [SWT Examples] Progress bar reverts to 'black' color after Selection slider repositioning
|
Overview Description: In the 'SWT Controls' view of the SWT Examples software, under the Progress Bar tab, the effect of setting the Background color is reset to black after the Selection slider position is moved. NOTE: The background color setting is still set (the color box for the background color is still set to the custom color). Steps to recreate: 1. Open the 'SWT Controls' view of the 'SWT Examples' code 2. Open the Progress Bar tab in the SWT Controls view 3. Select the Background Color button and change to a non-black color 4. The color of the Progress Bar changes to the selected color 5. Move the Selection slider position !BUG! The progress bar color reverts to black ------ Build 2002-11-07-1448 on Solaris (also occurs on HPUX)
|
2002-11-29 13:44:26
| 1,038,600,000 |
verified fixed
|
3cd774d
| 1,039,200,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/ProgressBar.java
|
SWT
|
3,871 | 27,031 |
Bug 27031 en_US.UTF-8 locale not supported on Motif
|
Ive noticed that some people had problems with accents in several languages. Here's a me-too. I'm using RedHat 8.0 and cannot type accents using dead keys in Eclipse's editor - nothing happens. Usually with other applications I can type tilde+a and get a a with tilde (a). In Eclipse's editor I get the tilde followed by the character a - it seems that it ignores the dead-key combination. My keyboard is a Brazilian ABNT-2 so it has a c-cedilla (c). None of the dead keys works. I've tried to set the LANG environment variable to the following values before running eclipse, without luck: en_US.UTF-8 en_US pt_BR.UTF-8 pt_BR C I've also tried to unsetenv LANG, no success. Had the same problem with the downloads eclipse-SDK-2.0.1-linux-motif.zip eclipse-SDK-2.0.2-linux-gtk.zip eclipse-SDK-2.0-linux-gtk.zip please advise. thanks Rafael
|
2002-11-23 18:11:10
| 1,038,090,000 |
resolved fixed
|
b91b725
| 1,039,200,000 |
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Display.java
|
SWT
|
3,872 | 27,410 |
Bug 27410 [SWT Examples] Arrow buttons won't resize for 10x10,50x50,100x100
|
Overview Description: In the 'SWT Controls' view of the SWT Examples software, the SWT.ARROW type buttons (in the 'Button' tab) will not resize to the 10x10, 50x50, and 100x100 sizes. Steps to recreate: 1. Open the 'SWT Controls' view of the 'SWT Examples' code 2. Open the 'Button' tab in the SWT Controls view 3. Try the 'Preferred' and 'Horizontal Fill' sizes, note that the arrow buttons resize 4. Select the SWT.ARROW style, and try sizes 10x10, 50x50, and 100x100 !BUG! The arrow buttons will not resize ------ Build 2002-11-07-1448 on Solaris (also occurs on HPUX)
|
2002-11-29 11:11:42
| 1,038,590,000 |
verified fixed
|
51a289a
| 1,039,030,000 |
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Button.java
|
SWT
|
3,873 | 27,644 |
Bug 27644 Dismissing open type dialog with Escape crashes Eclipse
|
- Open 'Open Type' dialog. - press 'Escape' -> Eclipse crashes: Current Java thread: at org.eclipse.swt.internal.carbon.OS.GetNextEvent(Native Method) at org.eclipse.swt.widgets.Display.update(Display.java:1669) at org.eclipse.swt.widgets.Control.update(Control.java:2718) at org.eclipse.ui.internal.EditorWorkbook.drawGradient(EditorWorkbook.java:339) at org.eclipse.ui.internal.EditorPane.shellActivated(EditorPane.java:142) at org.eclipse.ui.internal.WorkbenchWindow$12.shellActivated(WorkbenchWindow.java:14 11) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:157) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:485) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1275) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1123) at org.eclipse.jface.window.Window.runEventLoop(Window.java:561) at org.eclipse.jface.window.Window.open(Window.java:541) at org.eclipse.ui.dialogs.AbstractElementListSelectionDialog.access$superOpen(AbstractE lementListSelectionDialog.java:402) at org.eclipse.ui.dialogs.AbstractElementListSelectionDialog.access$2(AbstractElementList SelectionDialog.java:401) at org.eclipse.ui.dialogs.AbstractElementListSelectionDialog$4.run(AbstractElementListSel ectionDialog.java:395) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:65) at org.eclipse.ui.dialogs.AbstractElementListSelectionDialog.open(AbstractElementListSel ectionDialog.java:393) at org.eclipse.jdt.internal.ui.dialogs.TypeSelectionDialog.open(TypeSelectionDialog.java:2 03) at org.eclipse.jdt.internal.ui.actions.OpenTypeAction.run(OpenTypeAction.java:53) at org.eclipse.jdt.internal.ui.actions.OpenTypeAction.run(OpenTypeAction.java:74) at org.eclipse.ui.internal.PluginAction.runWithEvent(PluginAction.java:211) at org.eclipse.ui.internal.WWinPluginAction.runWithEvent(WWinPluginAction.java:195) at org.eclipse.jface.action.ActionContributionItem.handleWidgetSelection(ActionContributio nItem.java:411) at org.eclipse.jface.action.ActionContributionItem.handleWidgetEvent(ActionContributionIte m.java:365) at org.eclipse.jface.action.ActionContributionItem.access$0(ActionContributionItem.java:35 6) at org.eclipse.jface.action.ActionContributionItem$ActionListener.handleEvent(ActionContri butionItem.java:48) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:485) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1275) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1123) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1370) at org.eclipse.ui.internal.Workbench.run(Workbench.java:1353) at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:841) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:432) at EclipseRuntimeLauncher.main(EclipseRuntimeLauncher.java:24) 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 apple.launcher.LaunchRunner.run(LaunchRunner.java:88) at apple.launcher.LaunchRunner.callMain(LaunchRunner.java:50) at apple.launcher.JavaApplicationLauncher.launch(JavaApplicationLauncher.java:52)
|
2002-12-04 06:11:20
| 1,039,000,000 |
resolved fixed
|
f8b3e77
| 1,039,010,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Shell.java
|
SWT
|
3,874 | 24,436 |
Bug 24436 Entering Asterisk crashs Eclipse
|
I20021001 Entering the asterisk symbol into any Eclipse input field immediately crashs Eclipse.
|
2002-10-07 02:06:48
| 1,033,970,000 |
resolved fixed
|
f6eb9c0
| 1,039,000,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Control.java
|
SWT
|
3,875 | 26,506 |
Bug 26506 Importing External Plug-ins is slow
|
build 2002-11-15, Mac OS When you choose File -> Import -> External Plug-ins -> Next it takes a really long time to calculate the list of plug-ins to show in the list. I have not timed this but it is about 2 to 3 minutes.
|
2002-11-15 14:28:40
| 1,037,390,000 |
resolved fixed
|
0f4116d
| 1,038,930,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Display.java
|
SWT
|
3,876 | 27,331 |
Bug 27331 CTabFolder right control request
|
The UI team would like to have a right control added to CTabFolder, allowing us to provide a popdown of all editors currently open. The proposed code is attatched. The editor work is planned for M4, we would like to get it in as soon as possible.
|
2002-11-28 10:36:07
| 1,038,500,000 |
resolved fixed
|
4fa97ee
| 1,038,590,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabItem.java
|
SWT
|
3,877 | 26,563 |
Bug 26563 Crash in Carbon native CopyMask
|
Saved an edited file, causing an incremental compile. The drive the file was on was asleep so I got the spinning beach ball while it spun up. After the normal spin-up time, Eclipse crashed. partial Eclipse.crash.log contents: Thread 1 Crashed: #0 0x90074930 in memmove #1 0x91a573b8 in FixStretchVars #2 0x91a53d80 in CommonBits #3 0x91a65a78 in CopyMask #4 0x03b90fdc in Java_org_eclipse_swt_internal_carbon_OS_CopyMask #5 0x01920394 in 0x1920394 #6 0x019222bc in 0x19222bc #7 0x01939b0c in 0x1939b0c #8 0x01e6ee7c in 0x1e6ee7c #9 0x018ce7bc in 0x18ce7bc #10 0x01906474 in 0x1906474 #11 0x0153a168 in 0x153a168 #12 0x95c03e90 in findpc #13 0x95c03cf4 in findpc #14 0x95c2fe20 in JNI_GetCreatedJavaVMs_Impl #15 0x95c13768 in JNI_GetCreatedJavaVMs_Impl #16 0x03b9e7bc in callback #17 0x03b98f3c in fn5_2 #18 0x92c11d04 in DrawOurControl(UserPaneGlobals*) #19 0x92bd42b8 in UserPaneCDEF #20 0x92baf700 in DispatchMessage(HIView*, short, long, unsigned char, unsigned char) #21 0x92bca9b4 in Draw(HIView*, OpaqueEventRef*) #22 0x92bb681c in ClassicCDEFAdapter::EventHandler(OpaqueEventHandlerCallRef*, OpaqueEventRef*, void*) #23 0x92ba25b4 in DispatchEventToHandlers #24 0x92ba291c in SendEventToEventTargetInternal #25 0x92ba5d28 in SendEventToEventTargetWithOptions #26 0x92bb2e20 in SendControlDefDraw(HIView*, short, OpaqueGrafPtr*, OpaqueRgnHandle*, CGContext*) #27 0x92baea3c in HIView::DrawInternal(short, OpaqueGrafPtr*, OpaqueRgnHandle*, unsigned char, unsigned char, unsigned char, HIView*, CGContext*) #28 0x92bb02f0 in HIView::Draw(short, OpaqueGrafPtr*, OpaqueRgnHandle*, unsigned long, HIView*, CGContext*) #29 0x03b94524 in Java_org_eclipse_swt_internal_carbon_OS_ShowControl I'm running the M1 Mac Eclipse build under jdk 1.4.1 dp5. I filed a similar bug for a different subroutine call yesterday. Since these look like calls into the Carbon libs, I can't tell if the fault is there (and should be reported to Apple) or if Eclipse should be handling the exception. In any case, it doesn't look like a jdk 1.4.1 issue to me. Hopefully I'm not revealing any of the NDA secrets.
|
2002-11-17 15:26:46
| 1,037,560,000 |
resolved fixed
|
9d55940
| 1,038,570,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/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/Image.java
|
SWT
|
3,878 | 19,080 |
Bug 19080 Chaff in table tree of property sheet
|
F2 1) Install the examlpes 2) Create a file test.usr 3) Select a user in the list (ex. richard) 4) Expand adress and click on province 5) Go back to the outline and select "Team1" 6) Note the extra horizontal lines in the property sheet.
|
2002-06-04 10:50:33
| 1,023,200,000 |
resolved fixed
|
9fe918b
| 1,038,410,000 |
bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/Table.java
|
SWT
|
3,879 | 20,318 |
Bug 20318 [StyledText] print selection prints whole page (atleast in <=f2)
|
i just saw that in at least f2, when you mark something in the editor and select print->print selection, then it still prints the whole page. (not sure if this is jdt or workbench though)
|
2002-06-14 03:49:14
| 1,024,040,000 |
resolved fixed
|
5daa4dc
| 1,038,340,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
|
SWT
|
3,880 | 25,653 |
Bug 25653 DCR: StyledText do not activate the default button
|
The StyledText, if it's SWT.SINGLE, should activate the default button on a dialog. test code: public static void main(String[] args) { Display display = new Display (); final Shell shell = new Shell (display); shell.setText("Dialog"); shell.setLayout(new GridLayout()); final StyledText st = new StyledText (shell, SWT.SINGLE | SWT.BORDER); GridData data = new GridData (); data.widthHint = 300; st.setLayoutData(data); final Text text = new Text (shell, SWT.SINGLE | SWT.BORDER); data = new GridData (); data.widthHint = 300; text.setLayoutData(data); final Button button = new Button (shell, SWT.PUSH); data = new GridData (); data.widthHint = 300; button.setLayoutData(data); shell.setDefaultButton(button); button.setText ("Default Button"); button.addListener (SWT.Selection, new Listener() { public void handleEvent (Event e) { button.setText (st.getText()); } }); shell.setSize(350, 120); shell.open (); while (!shell.isDisposed()) { if (!display.readAndDispatch()) { display.sleep (); } } display.dispose (); }
|
2002-11-01 15:48:54
| 1,036,180,000 |
resolved fixed
|
37205e5
| 1,038,250,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
|
SWT
|
3,881 | 26,935 |
Bug 26935 Exception in StyledText with WRAP flag.
|
Eclipse 2.1 M3, Windows 2000 The following exception occurs, when deleting some lines in a wrapped StyledText widget. It is important, that the selection starts at a real line wich is not the last one and ends at the last virtual line. (Real line is a line terminated with "\r\n", and the virtual line is a line shown by the StyledText widget.) It is also important that all selected lines are wrapped by the widget. java.lang.ArrayIndexOutOfBoundsException at org.eclipse.swt.custom.WrappedContent.reset(WrappedContent.java:336) at org.eclipse.swt.custom.WrappedContent.textChanged (WrappedContent.java:437) at org.eclipse.swt.custom.StyledText$WordWrapCache.textChanged (StyledText.java:1521) at org.eclipse.swt.custom.StyledText.handleTextChanged (StyledText.java:5146) at org.eclipse.swt.custom.StyledText$6.textChanged(StyledText.java:4759) at org.eclipse.swt.custom.StyledTextListener.handleEvent (StyledTextListener.java:57) at org.eclipse.swt.custom.DefaultContent.sendTextEvent (DefaultContent.java:795) at org.eclipse.swt.custom.DefaultContent.replaceTextRange (DefaultContent.java:787) at org.eclipse.swt.custom.WrappedContent.replaceTextRange (WrappedContent.java:380) at org.eclipse.swt.custom.StyledText.modifyContent(StyledText.java:5621) at org.eclipse.swt.custom.StyledText.sendKeyEvent(StyledText.java:6545) at org.eclipse.swt.custom.StyledText.doBackspace(StyledText.java:2386) at org.eclipse.swt.custom.StyledText.invokeAction(StyledText.java:5427) at org.eclipse.swt.custom.StyledText.handleKey(StyledText.java:5011) at org.eclipse.swt.custom.StyledText.handleKeyDown(StyledText.java:5030) at org.eclipse.swt.custom.StyledText$8.handleEvent(StyledText.java:4800) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:825) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1692) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1410) With the following test class the problem can be reproduced simply. import org.eclipse.swt.SWT; import org.eclipse.swt.custom.StyledText; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; public class StyledTextProblem { public static void main(String[] args) { Display display = new Display (); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); StyledText text = new StyledText(shell, SWT.BORDER | SWT.WRAP); String string = "0123456789 "; StringBuffer sb = new StringBuffer(); for (int j = 0; j < 4; j++) { if (j != 0) { sb.append("\r\n"); } for (int i = 0; i < 30; i++) { sb.append(string); } } text.setText(sb.toString()); shell.setSize(600, 400); shell.open(); text.selectAll(); text.cut(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } } display.dispose(); } }
|
2002-11-22 07:20:44
| 1,037,970,000 |
resolved fixed
|
1f0013c
| 1,038,240,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/WrappedContent.java
|
SWT
|
3,882 | 26,997 |
Bug 26997 StyledTextRenderer: creates too many Strings
|
20021119 StyledTextRenderer.drawText the code says: String tabSegment = text.substring(i, tabIndex); if (bidi != null) { bidi.drawBidiText(i, tabIndex - i, leftMargin - horizontalScrollOffset, paintY); } else { gc.drawString(tabSegment, paintX - horizontalScrollOffset + leftMargin, paintY, true); paintX += gc.stringExtent(tabSegment).x; if (tabIndex != endOffset && tabWidth > 0) { paintX = getTabStop(paintX); } } so it creates 'tabSegment' even if it does not actually use it. calling 'substring' allocates new String objects everytime moving the declaration of 'tabsegment' inside the 'else' branch will make sure we don't create more strings that we want (now we create 7-12 Kb of Strings on every keystroke in the editor)
|
2002-11-22 12:59:29
| 1,037,990,000 |
resolved fixed
|
e8b9965
| 1,038,240,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextRenderer.java
|
SWT
|
3,883 | 24,969 |
Bug 24969 JP GP: showing Java-Editor pref. page with editor open
|
1016 integration build, only on Japanese aix I realize that we don't claim support for this yet, so I'm just logging it as a case to test once we think that DBCS Motif is ready. - open a java editor on a .java file - Window -> Preferences - go to page Java - Editor - press OK, will get the attached GP
|
2002-10-17 09:58:02
| 1,034,860,000 |
resolved fixed
|
1ac8e1e
| 1,038,010,000 |
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Control.java
|
SWT
|
3,884 | 26,804 |
Bug 26804 Gtk Label widget has focus decoration drawn too big
|
Under Gtk, GC.drawFocus() draws a decoration that is one pixel too wide and one pixel too high on Linux Gtk. This is particularly noticeable for the Label widget, since the bottom and right edge of the decoration are not visible. This draws properly on win32 and Linux Motif.
|
2002-11-20 15:07:15
| 1,037,820,000 |
resolved fixed
|
4e94327
| 1,037,980,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/GC.java
|
SWT
|
3,885 | 19,735 |
Bug 19735 No space between longest item in menu and accel keys
|
There is no space between longest item in a menu and the column of accelerator keys. This can be seen in the Edit menu where "Show tooltip description" and "F2" run together.
|
2002-06-09 05:16:44
| 1,023,610,000 |
resolved fixed
|
6940efa
| 1,037,980,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/MenuItem.java
|
SWT
|
3,886 | 26,362 |
Bug 26362 StyledText - investigate necessary state changes between handleTextChanging and handleTextChanged
|
According to the article, one should send handleTextChanging event, update styles, then send handleTextChanged event. If during the update styles step, one calls style range API (e.g., setStyleRange, replaceStyleRanges), the caretOffset could get out of sync. Also need to consider other state that could be out of sync.
|
2002-11-14 11:48:36
| 1,037,290,000 |
resolved fixed
|
f400381
| 1,037,920,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
|
SWT
|
3,887 | 21,626 |
Bug 21626 TableItem.getImageBounds fails on Motif (Emulated Widget)
|
build Eclipse 2.0 The images bounds for a TableItem should not change if the grid line is visible or not (only the bounds for the TableItem itself should change according with the grid line visibility). That's how Windows behaves. Run the following test case on Windows and Motif and compare the difference: public static void main (String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); final Table control = new Table (shell, SWT.MULTI); TableColumn c0 = new TableColumn (control, 0); TableColumn c1 = new TableColumn (control, 0); TableColumn c2 = new TableColumn (control, 0); TableColumn c3 = new TableColumn (control, 0); Image image = new Image (display, 16, 16); GC gc = new GC (image); gc.setBackground (display.getSystemColor(SWT.COLOR_BLUE)); gc.fillRectangle (0, 0, 16, 16); gc.dispose(); for (int i = 0; i < 4; i++){ TableItem item = new TableItem (control, 0); item.setText(new String[] {"Item index 0","Item index 1", "Item index 2", "Item index 3"}); item.setImage(new Image[] {image, image, image, image }); } c0.pack();c1.pack();c2.pack();c3.pack(); Button button = new Button (shell, SWT.PUSH); button.setText("Click Here!!"); button.addListener(SWT.MouseDown, new Listener() { public void handleEvent(Event event) { TableItem[] items = control.getItems(); for (int j = 0; j < items.length; j++) { for (int k = 0; k < 4; k++) { System.out.print("Item: " + items[j].getBounds(k)); System.out.println(" Image: " + items[j].getImageBounds(k)); } } control.setLinesVisible(!control.getLinesVisible()); } }); shell.open(); while (!shell.isDisposed()) if (!display.readAndDispatch()) display.sleep(); display.dispose(); } A fix for this PR is add a check before getImageBounds returns: public Rectangle getImageBounds(int index) { checkWidget(); Table parent = getParent(); int itemIndex = parent.indexOf (this); int imageWidth = 0; Point imageExtent = parent.getImageExtent(); Rectangle imageBounds = getBounds(index); if (itemIndex == -1) { imageBounds = new Rectangle(0, 0, 0, 0); } else if (imageExtent != null) { if (index == TableColumn.FIRST || getImage(index) != null) { imageWidth = imageExtent.x; } } imageBounds.width = imageWidth; if (imageBounds.height != 0 && parent.getLinesVisible() == false) { imageBounds.height -= parent.getGridLineWidth(); } return imageBounds; }
|
2002-07-16 12:18:25
| 1,026,840,000 |
resolved fixed
|
ba64baf
| 1,037,830,000 |
bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/TableItem.java
|
SWT
|
3,888 | 26,353 |
Bug 26353 infopop broken on solaris
|
build 20021113 SunOS 5.8 Pressing the Help button on a view no longer bring up the context help info popup. Could this be related to the new keybindings engine implementation?
|
2002-11-14 11:11:10
| 1,037,290,000 |
resolved fixed
|
a70c8a7
| 1,037,750,000 |
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Decorations.java
|
SWT
|
3,889 | 24,835 |
Bug 24835 GTK: Multiple selection and right click in tree
|
Build 20021015 Linux-GTK A right click on a multiple selection unselects everything and selects just the element on which the right click was performed. 1. In the package view, select multiple elements (with [CTRL]+left button or [SHIFT]+left button) 2. Right click on a selected element. The element on which the right click was performed is selected (all other elements are unselected). The context menu displayed contains the elements for the multiple selection. 3. Select an action. The action is executed on the selected element only. A workaround to the problem is to use the right button with [CTRL] or [SHIFT] for create the selection.
|
2002-10-16 10:46:59
| 1,034,780,000 |
resolved fixed
|
e7aa92a
| 1,037,650,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/List.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java
|
SWT
|
3,890 | 26,419 |
Bug 26419 StyledText - print pages causes walkback
|
Build 20021114. Open a Java file. Print. Select the Pages option. The following walkback occurs: java.lang.IllegalArgumentException: Argument not valid at org.eclipse.swt.SWT.error(SWT.java:2166) at org.eclipse.swt.SWT.error(SWT.java:2110) at org.eclipse.swt.custom.WrappedContent.getLine(WrappedContent.java:95) at org.eclipse.swt.custom.StyledText$Printing.print(StyledText.java:444) at org.eclipse.swt.custom.StyledText$Printing.run(StyledText.java:569) at org.eclipse.jface.text.TextViewer$4.run(TextViewer.java:3102) For some reason startPage is getting initialize to -130 (i.e., -2 * 65).
|
2002-11-14 16:48:43
| 1,037,310,000 |
resolved fixed
|
04122a3
| 1,037,650,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
|
SWT
|
3,891 | 26,434 |
Bug 26434 PrinterData startPage/endPage invalid when page >32767
|
build 20021114 -Run the code below -Leave the default page number 65535 -Press OK ->The startPage and endPage is -1 Any page value > 32767 entered in the dialog results in -1 in the PrinterOptions
|
2002-11-14 18:21:10
| 1,037,320,000 |
resolved fixed
|
85387e4
| 1,037,400,000 |
bundles/org.eclipse.swt/Eclipse SWT Printing/win32/org/eclipse/swt/printing/PrintDialog.java
|
SWT
|
3,892 | 26,421 |
Bug 26421 List hangs on GTK
|
Eclipse 20021113 Using the SWT snippet combo#create a combo box (non-editable), change the line Combo combo = new Combo(..) to CCombo combo = new CCombo(..). Run the application and pull down the combo box. Select one of the entries, the application now hangs. import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; public class Main { public static void main (String [] args) { Display display = new Display (); Shell shell = new Shell (display); Combo combo = new Combo (shell, SWT.READ_ONLY); combo.setItems (new String [] {"A", "B", "C"}); combo.setSize (200, 200); shell.pack (); shell.open (); while (!shell.isDisposed ()) { if (!display.readAndDispatch ()) display.sleep (); } display.dispose (); } }
|
2002-11-14 17:07:04
| 1,037,310,000 |
resolved fixed
|
f3f12d9
| 1,037,380,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/List.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java
|
SWT
|
3,893 | 26,151 |
Bug 26151 SWT widget org.eclipse.swt.widgets.Sash is not properly constrained when in HORIZONTAL mode.
|
The SWT "Sash" widget creates a sash that may be dragged by a mouse and is either vertical or horizontal. When created in HORIZONTAL mode, the sash can only move down through its container as far as the container is wide (not high).
|
2002-11-13 14:07:38
| 1,037,210,000 |
resolved fixed
|
c74c16a
| 1,037,310,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Sash.java
|
SWT
|
3,894 | 26,367 |
Bug 26367 NPE when debugging as java application
|
M3 build - in the java perspective create the following class: public class PrintNumbers { public static void main(String[] args) { System.out.println(1); System.out.println(2); } } - drop down the Debug tool item, Debug As -> Java Application - the program is run fine, but the perspective does not change to Java, and the attached NPE is dumped
|
2002-11-14 12:01:52
| 1,037,290,000 |
resolved fixed
|
9f80387
| 1,037,310,000 |
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/motif/org/eclipse/swt/dnd/DropTarget.java
|
SWT
|
3,895 | 26,008 |
Bug 26008 [StyledText] setTopPixel limits argument to logical line count
|
build 20021111 setTopPixel uses the logical line count to limit the maximum range of the method argument. When StyledText is used in word wrap mode and the number of visual lines is greater than the number of logical lines (lines are wrapped) setTopPixel will not allow scrolling to the last possible top line.
|
2002-11-11 18:29:48
| 1,037,060,000 |
resolved fixed
|
e4e6d2f
| 1,037,300,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
|
SWT
|
3,896 | 26,121 |
Bug 26121 cannot launch eclipse #2: javacore dump
| null |
2002-11-13 11:44:31
| 1,037,210,000 |
resolved fixed
|
c63eec3
| 1,037,230,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java
|
SWT
|
3,897 | 26,004 |
Bug 26004 Removing a Text field leaves behind crud
|
Build 20021105 Linux-GTK 1. Go to the step filter preference page under "Window->Java->Debug->Step Filtering" 2. Press alt+f to create a new filter. An inline editor (a Text) appears. 3. Press alt+f again. The old editor is removed and a new editor is created. However, the new editor is smaller than the original editor and there is a line of garbage drawn under it. The code responsible for this action is org.eclipse.jdt.internal.debug.ui.JavaStepFilterPreferencePage.editFilter()
|
2002-11-11 16:55:08
| 1,037,050,000 |
resolved fixed
|
277fb26
| 1,037,210,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Button.java
|
SWT
|
3,898 | 25,803 |
Bug 25803 StyledText should use new Font API
|
In order to have DBCS working properly in Motif the StyledText should use the new API in Font: public Font(Device device, FontData[] fds) For example, in the StyledTextRenderer constructor the code: FontData fontData = regularFont.getFontData()[0]; fontData.setStyle(fontData.getStyle() | SWT.BOLD); boldFont = new Font(device, fontData); Should be change to: FontData[] fontDatas = regularFont.getFontData(); for (int i = 0; i < fontDatas.length; i++) { fontDatas[i].setStyle(fontDatas[i].getStyle() | SWT.BOLD); } Similar changes may apply in other places, i haven't look it all...
|
2002-11-06 15:54:39
| 1,036,620,000 |
resolved fixed
|
bf58d60
| 1,037,130,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextRenderer.java
|
SWT
|
3,899 | 23,935 |
Bug 23935 Text widget with Tree parent does not lose focus
| null |
2002-09-20 16:13:41
| 1,032,550,000 |
resolved fixed
|
374a9ae
| 1,036,790,000 |
bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/Tree.java
|
SWT
|
3,900 | 25,797 |
Bug 25797 GTK: Selection Index not preserved after Combo item removal
|
When I select an item programatically in a read-only Combo widget, and then remove an item above it, the selection index should not automatically be moved to the first item in the list (index=0). In the following test, I expect that "item 3" will remain selected even after "item 1" is removed. The expected output is: 2 1 But currently with SWT 2.111, GTK 2.0.5, on RH 7.2, it prints: 2 0 // ----------- begin testcase import org.eclipse.swt.SWT; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.widgets.Combo; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; public class TestSWTChoice { public static void main(String[] args) { final Display disp = Display.getDefault(); Shell shell = new Shell(disp); shell.setLayout(new FillLayout(SWT.VERTICAL)); final Combo combo = new Combo( shell, SWT.CLIP_CHILDREN | SWT.CLIP_SIBLINGS | SWT.READ_ONLY | SWT.DROP_DOWN); shell.setText("Choice Test"); shell.setSize(200, 200); shell.setLocation(0, 0); shell.open(); combo.add("Item 1"); combo.add("Item 2"); combo.add("Item 3"); combo.select(2); System.out.println(combo.getSelectionIndex()); combo.remove(0); System.out.println(combo.getSelectionIndex()); while (!shell.isDisposed()) { if (!disp.readAndDispatch()) { disp.sleep(); } } } }
|
2002-11-06 15:16:37
| 1,036,610,000 |
resolved fixed
|
966d37c
| 1,036,690,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java
|
SWT
|
3,901 | 24,493 |
Bug 24493 cant type braces in java editor with italian keyboard in 2.1m1
|
In eclipse 2.1m1 its' impossible to type braces {} with an italian keyboard, (in italian standard keyhboard the key combination for { is greyalt+shift+e grave); one has to type braces using the alt+ansi code but this is very inpractical; the problem appears in 2.1m1 for the first time; can reproduce it on windows nt4/sp6 and windows 98SE
|
2002-10-08 07:07:30
| 1,034,080,000 |
resolved fixed
|
0caff5d
| 1,036,180,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
|
SWT
|
3,902 | 24,273 |
Bug 24273 GP -Tree removeAll reboot windowsXp
|
build 20020924 ensure you are using common-control 6.0 - Run the test case. - Click in the test button, it will insert 350 items on Tree - Click in the test button again, it will call removeAll for the Tree - the removeall process is very slow, and eventually it will cause windows to reboot. Testcase: public static void main (String [] args) { Display display = new Display (); Shell shell = new Shell (display); shell.setLayout(new FillLayout()); final Tree tree = new Tree (shell, SWT.BORDER | SWT.FULL_SELECTION); Button button = new Button (shell, SWT.PUSH); button.setText("Test"); button.addListener(SWT.Selection, new Listener() { public void handleEvent(Event event) { if (tree.getItemCount() == 0) { for (int i =0; i< 350; i++) { TreeItem item = new TreeItem (tree, 0); item.setText("Text " + i); } } else { tree.removeAll(); } } }); shell.open (); while (!shell.isDisposed ()) { if (!display.readAndDispatch ()) display.sleep (); } display.dispose (); }
|
2002-10-01 12:14:42
| 1,033,490,000 |
resolved fixed
|
be47c81
| 1,036,180,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
|
SWT
|
3,903 | 22,052 |
Bug 22052 Launch configuration dialog loses workspace data dir
|
Build 20020730 Linux/Motif 1) Open the Launch Configuration dialog 2) Create a new Run-Time Worbench - the dialog reports that the data directory is not specified 3) Click click on 'Run-Time Workbench' (the parent of your configuration) in the list of launch configurations 4) Select your new launch configuration again - the data directory has been restored 5) Rename your launch configuration using the Name field 6) Press Apply to commit the changes - the dialog reports that the data directory is not specified 7) Repeat steps 3) and 4) - once again, the data directory is restored This behaviour does not occur on Linux/GTK or Windows.
|
2002-07-30 15:12:22
| 1,028,060,000 |
resolved fixed
|
e451337
| 1,036,100,000 |
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Combo.java
|
SWT
|
3,904 | 25,572 |
Bug 25572 missing horizontal scrollbar in tree viewers (outline, package explorer, ...)
|
I-20021030 linux-gtk: summary says it all
|
2002-10-31 04:47:58
| 1,036,060,000 |
resolved fixed
|
c96e051
| 1,036,100,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/List.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TableColumn.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java
|
SWT
|
3,905 | 21,695 |
Bug 21695 Crash when starting eclipse on Solaris8 with java 1.4
|
Platform: SunOS guava 5.8 Generic_108528-07 sun4u sparc SUNW,Ultra-80 Java: java version "1.4.0" Java(TM) 2 Runtime Environment, Standard Edition (build 1.4.0-b92) Java HotSpot(TM) Client VM (build 1.4.0-b92, mixed mode) Trace: java.lang.ArrayIndexOutOfBoundsException at org.eclipse.swt.graphics.ImageData.blit(ImageData.java:2318) at org.eclipse.swt.graphics.Image.putImage(Image.java:1200) at org.eclipse.swt.graphics.Image.init(Image.java:988) at org.eclipse.swt.graphics.Image.<init>(Image.java:446) at org.eclipse.jface.action.ActionContributionItem$ImageCache.getGrayImage (ActionContributionItem.java:105) at org.eclipse.jface.action.ActionContributionItem.updateImages (ActionContributionItem.java:602) at org.eclipse.jface.action.ActionContributionItem.update (ActionContributionItem.java:468) at org.eclipse.jface.action.ActionContributionItem.fill (ActionContributionItem.java:287) at org.eclipse.jface.action.ToolBarManager.update (ToolBarManager.java:230) at org.eclipse.ui.internal.WorkbenchWindow.addPerspectiveShortcut (WorkbenchWindow.java:294) at org.eclipse.ui.internal.WorkbenchPage.onActivate (WorkbenchPage.java:1516) at org.eclipse.ui.internal.WorkbenchWindow$7.run (WorkbenchWindow.java:1209) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:66) at org.eclipse.ui.internal.WorkbenchWindow.setActivePage (WorkbenchWindow.java:1196) at org.eclipse.ui.internal.WorkbenchWindow.busyOpenPage (WorkbenchWindow.java:344) at org.eclipse.ui.internal.WorkbenchWindow$6.run (WorkbenchWindow.java:931) at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:66) at org.eclipse.ui.internal.WorkbenchWindow.openPage (WorkbenchWindow.java:928) at org.eclipse.ui.internal.Workbench.openFirstTimeWindow (Workbench.java:730) at org.eclipse.ui.internal.Workbench.init(Workbench.java:566) at org.eclipse.ui.internal.Workbench.run(Workbench.java:1153) at org.eclipse.core.internal.boot.InternalBootLoader.run (InternalBootLoader.java:775) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462) 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:248) at org.eclipse.core.launcher.Main.run(Main.java:698) at org.eclipse.core.launcher.Main.main(Main.java:534)
|
2002-07-18 11:04:19
| 1,027,000,000 |
resolved fixed
|
1946f53
| 1,036,020,000 |
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/graphics/Image.java
|
SWT
|
3,906 | 24,757 |
Bug 24757 GTK: X pointer grab when resizing a table column
|
Build 20021009 Linux/GTK 1. Open the stack view. 2. Position the mouse on the border of a resizable column. 3. Press the right button. 4. Quickly, move the mouse and release the button. The cursor image remainds the resize image and no input events are managed. I have to kill the vm from a consol.
|
2002-10-14 12:42:55
| 1,034,610,000 |
resolved fixed
|
2bae637
| 1,035,930,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java
|
SWT
|
3,907 | 25,253 |
Bug 25253 Preference dialog doesn't display last preference page
|
Build 20021022 Linux-GTK 1. Open the preferences dialog. 2. Select a preference page (say, Java->Templates). 3. Close the dialog and reopen it. 4. The last page (Templates) flashes onto the screen for a moment and then the first preference page (Workbench) is displayed.
|
2002-10-23 11:35:27
| 1,035,390,000 |
resolved fixed
|
e48bf6e
| 1,035,930,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java
|
SWT
|
3,908 | 25,399 |
Bug 25399 Drag and drop crashes Eclipse
|
The new GTK tree seems to support drag and drop, but my VM dies everytime I try to use D&D. I'm using JDK 1.4.1 on Mandrake 9.0 (gtk+2.0-2.0.6). I'll attach the entire file that's generated, but here's the stack trace: Current Java thread: at org.eclipse.swt.internal.gtk.OS.gtk_tree_view_get_column(Native Method) at org.eclipse.swt.widgets.TreeItem.getBounds(TreeItem.java:223) at org.eclipse.jdt.internal.ui.dnd.JdtViewerDropAdapter.getBounds(JdtViewerDropAdapter.java:217) at org.eclipse.jdt.internal.ui.dnd.JdtViewerDropAdapter.computeLocation(JdtViewerDropAdapter.java:198) at org.eclipse.jdt.internal.ui.dnd.JdtViewerDropAdapter.dragOperationChanged(JdtViewerDropAdapter.java:150) at org.eclipse.jdt.internal.ui.dnd.JdtViewerDropAdapter.dragEnter(JdtViewerDropAdapter.java:139) at org.eclipse.jdt.internal.ui.packageview.SelectionTransferDropAdapter.dragEnter(SelectionTransferDropAdapter.java:80) at org.eclipse.jdt.internal.ui.dnd.DelegatingDropAdapter.dragEnter(DelegatingDropAdapter.java:41) at org.eclipse.swt.dnd.DNDListener.handleEvent(DNDListener.java:43) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:851) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:546) at org.eclipse.swt.dnd.DropTarget.notifyListeners(DropTarget.java:513) at org.eclipse.swt.dnd.DropTarget.dragMotion(DropTarget.java:433) at org.eclipse.swt.dnd.DropTarget.DragMotion(DropTarget.java:229) at org.eclipse.swt.internal.gtk.OS.gtk_main_iteration(Native Method) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1252) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1420) at org.eclipse.ui.internal.Workbench.run(Workbench.java:1403) at org.eclipse.core.internal.boot.InternalBootLoader.run(InternalBootLoader.java:775) at org.eclipse.core.boot.BootLoader.run(BootLoader.java:462) 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:247) at org.eclipse.core.launcher.Main.run(Main.java:703) at org.eclipse.core.launcher.Main.main(Main.java:539)
|
2002-10-25 13:04:37
| 1,035,570,000 |
resolved fixed
|
030b847
| 1,035,840,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TableItem.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TreeItem.java
|
SWT
|
3,909 | 24,693 |
Bug 24693 org.eclipse.swt.graphics.GC.drawString() fails to draw euro sign
|
When you call org.swt.graphics.GC.drawString() with the text string containing euro sign, drawString() fails to draw it and the trailing characters. For example, if you call drawString() with 'ABC$DEF' ($ stands for euro sign), you will have only 'ABC' rendered and '$DEF' is lost. RedHad 7.2
|
2002-10-11 07:34:21
| 1,034,340,000 |
verified fixed
|
8aaabca
| 1,035,830,000 |
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/internal/Converter.java
|
SWT
|
3,910 | 24,504 |
Bug 24504 StyledText - showSelection when selection RtoL problem
|
Build I20021008 If I have a selection where the cursor is on the left side then showSelection does not work with long lines. Test Case: 1. Open an editor 2. Add lots of characters (so that you need to scroll horizontally) 3. Go to the end of the line (End) 4. Press Shift+Home
|
2002-10-08 10:02:40
| 1,034,090,000 |
resolved fixed
|
14fbe01
| 1,035,580,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
|
SWT
|
3,911 | 24,264 |
Bug 24264 StyledText Caused NPE while in word-wrap style
|
build 200209230010 While playing with the ControlExample in org.eclipse.swt.examples a NPE was thrown. I can not reproduce this and do not remeber what I did exactly. Basically I changed the style of a text part to bold and changed the size. Perhaps the stacktrace is useful anyway. java.lang.ArrayIndexOutOfBoundsException at org.eclipse.swt.custom.WrappedContent.getLine(WrappedContent.java:94) at org.eclipse.swt.custom.StyledText.wordWrapResize (StyledText.java:7666) at org.eclipse.swt.custom.StyledText.handleResize(StyledText.java:4946) at org.eclipse.swt.custom.StyledText$15.handleEvent (StyledText.java:4582) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:849) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:854) at org.eclipse.swt.widgets.Control.WM_SIZE(Control.java:3881) at org.eclipse.swt.widgets.Scrollable.WM_SIZE(Scrollable.java:300) at org.eclipse.swt.widgets.Composite.WM_SIZE(Composite.java:759) at org.eclipse.swt.widgets.Control.windowProc(Control.java:2747) at org.eclipse.swt.widgets.Display.windowProc(Display.java:2104) at org.eclipse.swt.internal.win32.OS.DefWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.DefWindowProc(OS.java:1274) at org.eclipse.swt.widgets.Scrollable.callWindowProc(Scrollable.java:73) at org.eclipse.swt.widgets.Control.windowProc(Control.java:2759) at org.eclipse.swt.widgets.Display.windowProc(Display.java:2104) at org.eclipse.swt.internal.win32.OS.SetWindowPos(Native Method) at org.eclipse.swt.widgets.Control.setBounds(Control.java:1767) at org.eclipse.swt.widgets.Control.setBounds(Control.java:1739) at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:683) at org.eclipse.swt.widgets.Composite.WM_SIZE(Composite.java:768) at org.eclipse.swt.widgets.Group.WM_SIZE(Group.java:359) at org.eclipse.swt.widgets.Control.windowProc(Control.java:2747) at org.eclipse.swt.widgets.Display.windowProc(Display.java:2104) at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:1212) at org.eclipse.swt.widgets.Group.callWindowProc(Group.java:125) at org.eclipse.swt.widgets.Control.windowProc(Control.java:2759) at org.eclipse.swt.widgets.Display.windowProc(Display.java:2104) at org.eclipse.swt.internal.win32.OS.EndDeferWindowPos(Native Method) at org.eclipse.swt.widgets.Composite.resizeChildren(Composite.java:355) at org.eclipse.swt.widgets.Composite.resizeChildren(Composite.java:321) at org.eclipse.swt.widgets.Composite.setResizeChildren (Composite.java:441) at org.eclipse.swt.widgets.Composite.layout(Composite.java:294) at org.eclipse.swt.widgets.Composite.layout(Composite.java:269) at org.eclipse.swt.examples.controlexample.Tab.setExampleWidgetSize (Tab.java:486) at org.eclipse.swt.examples.controlexample.Tab$8.widgetSelected (Tab.java:291) at org.eclipse.swt.widgets.TypedListener.handleEvent (TypedListener.java:87) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:833) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1622) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1368) at org.eclipse.swt.examples.controlexample.ControlExample.main (ControlExample.java:103) Exception in thread "main"
|
2002-10-01 09:46:25
| 1,033,480,000 |
resolved fixed
|
bd48e2b
| 1,035,560,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
|
SWT
|
3,912 | 24,992 |
Bug 24992 Strange combo boxes on Compiler-Other Page
|
Linux-GTK 20021017 When you pull down one of the combo boxes in the Compiler-Other Preference Page the combo does not pull down but rather brings up a tiny scrolled composite STEPS 1) Open the Compiler->Other preference page 2) Pulldown on of the menus
|
2002-10-17 10:59:36
| 1,034,870,000 |
resolved fixed
|
8e2ffd2
| 1,035,500,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Combo.java
|
SWT
|
3,913 | 24,150 |
Bug 24150 Shift-Tab does not shift left
|
20020924 linux-gtk (works on w2k) Select a few lines of text and press Shift-Tab. The text is not shifted, but the editor tab gets something like a focus.
|
2002-09-26 11:59:04
| 1,033,060,000 |
resolved fixed
|
f2d755c
| 1,035,500,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Button.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 bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/MenuItem.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Widget.java
|
SWT
|
3,914 | 25,162 |
Bug 25162 GTK: Marking text using the mouse
|
I found this bug using the M1 and M2 releases of Eclipse for Linux-GTK. The bug is not present in the 2.0.0 and 2.0.1 releases. When selecting text (marked in blue) in an editor using the mouse, and "dragging" the mouse to select text which is not currently visible (i.e. single left clicking at some point in the visible text and then dragging the mouse below the editor view), Eclipse stops responding. If I then try to stop Eclipse, the OS tells me that: 'The Window "Java Browsing - Eclipse Platform" is not responding' and I then has to kill Eclipse. Doing this, Eclipse reports the following error (and exits): JVM terminated. Exit code=1 /coll/local/bin/java -cp /products/eclipse-2.1-M2/startup.jar org.eclipse.core.launcher.Main -os linux -ws gtk -arch x86 -showsplash /products/eclipse-2.1-M2/eclipse -showsplash 600 -data /home/cnc/eclipseprojects If I instead selects the text using the keyboard it works fine.
|
2002-10-22 02:26:47
| 1,035,270,000 |
resolved fixed
|
afc0479
| 1,035,480,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Display.java
|
SWT
|
3,915 | 25,212 |
Bug 25212 GPF synchronizing files with new Tree implementation
|
build 20021022 and later. The List, Tree and Table widgets have been reimplemented using the new GtkTreeView widget. By doing this we were able to close many out standing problems. There is a known GPF when running the new implementation with gtk2-2.0.2. The steps to reproduce it is to modify a file and synchronize its project with the repository. This GPF is a bug on GTK2 and it has been fixed in later versions. We are trying to workaround it, but we have not found a solution yet. Here is the GTK configuration that I have been running and that does not shows this problem: gtk2-2.0.5 glib2-2.0.4 pango-1.0.3 atk-1.0.1 freetype-2.1.2-7 another alternative configuration is: gtk2-2.0.5 glib2-2.0.4 pango-1.0.1 atk-1.0.1 freetype-2.0.9-2
|
2002-10-22 15:19:07
| 1,035,310,000 |
resolved fixed
|
79b22d4
| 1,035,410,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java
|
SWT
|
3,916 | 22,986 |
Bug 22986 SWT Controls Combo box Colors selection tool does not change foreground color
| null |
2002-08-29 11:19:11
| 1,030,630,000 |
verified fixed
|
cf5ec10
| 1,035,220,000 |
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Combo.java
|
SWT
|
3,917 | 25,053 |
Bug 25053 Cannot use the pull down menu in GTK
|
2.1 build 20021017 You cannot use the pulldown menu in GTK if you invoke it from Ctrl F10 as it will not have focus. STEPS 1) Open the packages view 2) Hit Ctrl F10 to get the pulldown menu 3) Use the arrow keys - no entry will be selected unless you bring the mouse over to give it focus
|
2002-10-18 09:55:33
| 1,034,950,000 |
resolved fixed
|
cc47e7b
| 1,034,960,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Menu.java
|
SWT
|
3,918 | 24,805 |
Bug 24805 GTK: Text Widget, computeSize issue
|
Eclipse 20021009, gtk With the attached code the size of the text widget looks incorrect on gtk. Prior to resizing the widget, the text widget does not display any text. Once the widget is resized then the expected text is displayed.
|
2002-10-15 15:33:20
| 1,034,710,000 |
resolved fixed
|
f9aa70e
| 1,034,790,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java
|
SWT
|
3,919 | 24,663 |
Bug 24663 Focus not visible on radio buttons
|
Build 20021001 Radio buttons do not show the hashed line around them that indicates focus on XP. This works fine in 2.0. STEPS 1)Run the example below 2) Use the arrow keys to go up and down - you will see you do have focus on the radio buttons but there is no visual indication of this. import org.eclipse.swt.widgets.*; import org.eclipse.swt.layout.*; import org.eclipse.swt.*; import org.eclipse.swt.events.*; import org.eclipse.swt.events.SelectionListener; import org.eclipse.swt.graphics.Point; public class FocusButtonTest { public static void main(String args[]) { Shell shell = new Shell(); Display display = shell.getDisplay(); Composite buttonComposite = new Composite(shell, SWT.NULL); buttonComposite.setLayout(new GridLayout()); Button radio1 = new Button(buttonComposite, SWT.RADIO); radio1.setText("Button 1"); Button radio2 = new Button(buttonComposite, SWT.RADIO); radio2.setText("Button 2"); //radio2.setFocus(); Point size = buttonComposite.computeSize(SWT.DEFAULT, SWT.DEFAULT); buttonComposite.setBounds(10, 10, size.x, size.y); //radio2.setFocus(); for (int i = 0; i < 3; i++) { Button b = new Button(shell, SWT.NULL); b.setBounds(20 + (i * 50), 120, 50, 25); b.setText("B::" + i); if (i == 1) { shell.setDefaultButton(b); System.out.println("Default should be: " + b.getText()); } } buttonComposite.pack(); shell.setBounds(100, 100, 200, 200); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } } }
|
2002-10-10 15:18:57
| 1,034,280,000 |
resolved fixed
|
609de10
| 1,034,780,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java
|
SWT
|
3,920 | 24,702 |
Bug 24702 WinCE: Image 32bits is incorrect
|
Following should display 2 blue squares. The second square appears red on WinCE. The bug is in Image.java - when creating a dibsection the BI_BITFIELDS masks are not written in the same endianess (little endian) as the ImageData.setPixel and ImageData.bitblit do (big endian). This is correct for 16 bits. public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display, SWT.CLOSE); /* 16bit blue square */ ImageData data16 = new ImageData(30,30, 16, new PaletteData(0x7C00, 0x3E0, 0x1F)); for (int y = 0; y < data16.height; y++) { for (int x = 0; x < data16.width; x++) { data16.setPixel(x,y,0x1f); } } /* 32bit blue square */ ImageData data32 = new ImageData(30,30, 32, new PaletteData(0xff00, 0xff, 0xff0000)); for (int y = 0; y < data32.height; y++) { for (int x = 0; x < data32.width; x++) { data32.setPixel(x,y,0xff0000); } } final Image image16 = new Image(display, data16); final Image image32 = new Image(display, data32); shell.addListener(SWT.Paint, new Listener() { public void handleEvent(Event e) { e.gc.drawImage(image16, 0, 0); e.gc.drawImage(image32, 0, 40); } }); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } }
|
2002-10-11 11:20:42
| 1,034,350,000 |
resolved fixed
|
6d7b009
| 1,034,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/graphics/Image.java
|
SWT
|
3,921 | 24,676 |
Bug 24676 StyledText - double click word select and caret placement
|
Double click word select places caret at beginning of word, not the end. Looks like this problem has been here for awhile, but went undetected due to JFace's override of double click behavior.
|
2002-10-10 17:30:21
| 1,034,290,000 |
resolved fixed
|
9bd0310
| 1,034,360,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
|
SWT
|
3,922 | 20,258 |
Bug 20258 [CVS] Esc key doesn't work on Commit Dialog
|
Using F3, the Esc key doesn't close the Commit Dialog.
|
2002-06-13 14:52:17
| 1,023,990,000 |
resolved fixed
|
a4937be
| 1,034,350,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
|
SWT
|
3,923 | 24,593 |
Bug 24593 [DND] Navigator DND does not work
|
build 20021001 Dragging items in the resource navigator does not work. The drag icon appears, but there is no drop location feedback. NavigatorDragAdapter.dragStart checks whether the drag source actually has focus. Display.getFocusControl returns null even though the tree viewer does have focus. When I comment out this check and dragStart lets the drop operation continue the drop adapter still does not get a dragEnter event. Package view DND no longer works either. Did SWT change anything wrt. Motif DND that could have broken this?
|
2002-10-09 15:39:53
| 1,034,190,000 |
resolved fixed
|
4a8b480
| 1,034,340,000 |
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/motif/org/eclipse/swt/dnd/DropTarget.java bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/OS.java
|
SWT
|
3,924 | 24,677 |
Bug 24677 32 bit image fails with a certain mask
|
Following displays black instead of red. public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display, SWT.CLOSE); ImageData data = new ImageData(30,30, 32, new PaletteData(0xff, 0xff00, 0xff0000)); for (int y = 0; y < data.height; y++) { for (int x = 0; x < data.width; x++) { data.setPixel(x,y,0xff); } } final Image image2 = new Image(display, data); shell.addListener(SWT.Paint, new Listener() { public void handleEvent(Event e) { e.gc.drawImage(image2, 0, 0); } }); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } }
|
2002-10-10 17:45:09
| 1,034,290,000 |
resolved fixed
|
5d4a728
| 1,034,290,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Image.java
|
SWT
|
3,925 | 16,657 |
Bug 16657 [Open Modes] Search results doesn't respond to double click
|
Build 20020521 (1pm) This is with the workbench in "Single click, select on hover" mode. 1) Do a search for references that finds a match in a java file 2) Single click the result in the search view to open the java editor 3) Close the java editor that was opened in step 2). 4) Now double-click on the result in the search result view. Nothing happens. It seems to be non-responsive to double-clicks after the result has been opened once before. Another single click will open the result again.
|
2002-05-21 15:14:30
| 1,022,010,000 |
resolved fixed
|
8ac3193
| 1,034,270,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java
|
SWT
|
3,926 | 24,402 |
Bug 24402 OLE part have a access violation exception
|
First time to report a bug here -- and new to eclipse. This bug is relating to the OLE part, so only appear on Windows platform. I am trying to put some ActiveX control in my application, and I need to get a IDispatch property of an OleAutomation. I call OleAutomation.getProperty(), this function will then invoke the underlying IDispatch.invoke(), and later call into Variant.setData() to copy the result into the Variant structure. In the Variant.setData() function, there is something as: case COM.VT_DISPATCH : { int[] ppvObject = new int[1]; OS.MoveMemory(ppvObject, pData + 8, 4); dispatchData = new IDispatch(ppvObject[0]); dispatchData.AddRef(); break; } This is for when the return type is VT_DISPATCH, then create a IDispatch object and AddRef() to it. Unfortunately, ppvObject[0] can be null. In this case, AddRef() crash the system. I believe, this part of code should be: case COM.VT_DISPATCH : { int[] ppvObject = new int[1]; OS.MoveMemory(ppvObject, pData + 8, 4); if (ppvObject[0]!=null) { dispatchData = new IDispatch(ppvObject[0]); dispatchData.AddRef(); } else { dispatchData = null; } break; } BTW I like SWT very much.
|
2002-10-04 12:59:22
| 1,033,750,000 |
resolved fixed
|
418189f
| 1,034,260,000 |
bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/Variant.java
|
SWT
|
3,927 | 24,358 |
Bug 24358 Incomplete JavaDoc on MenuItem.setText
|
There is no javadoc comment for MenuItem.setText. The javadoc in the superclass (Item) does not talk about the "content after the \t character is displayed in the accelerator text area" behavior that SWT supports. This behavior needs to be documented.
|
2002-10-03 11:47:20
| 1,033,660,000 |
resolved fixed
|
db789b5
| 1,033,740,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Button.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Group.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Label.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/TabItem.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ToolItem.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TreeItem.java
|
SWT
|
3,928 | 24,313 |
Bug 24313 Can't toggle checkboxes in Table
|
In the Filters dialog, try checking/unchecking some filters. This is despite that the simple examples of Table with SWT.CHECK, works.
|
2002-10-02 09:41:53
| 1,033,570,000 |
resolved fixed
|
04bfef4
| 1,033,580,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java
|
SWT
|
3,929 | 24,225 |
Bug 24225 DragSourceAdapter incorrect JavaDoc
|
build 20020924 The Javadoc for the methods in DragSourceAdapter refers to non-existing DropTargetListener methods. I'm guessing this should be refering to DragSourceListener instead.
|
2002-09-30 12:29:59
| 1,033,400,000 |
verified fixed
|
2f617eb
| 1,033,510,000 |
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/common/org/eclipse/swt/dnd/DragSourceAdapter.java
|
SWT
|
3,930 | 24,232 |
Bug 24232 Coolbar - very bad results when setting two rows with Common-Controls 6.0
|
build 20020924, Running with manifest (common-control 6.0.0.0) - Open Eclipse - on perspective 'A', Drag a CoolItem 'X' to the next row - Change to another perspective (note the blank row in the CoolBar) - Run 'Reset Toolbar Layout', the blank row will go way - Return to the perspective 'A', the CoolItem 'X' has disappear First thing that comes to my mind: computeSize is broken.
|
2002-09-30 13:41:16
| 1,033,410,000 |
resolved fixed
|
bcca314
| 1,033,510,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/CoolBar.java
|
SWT
|
3,931 | 19,773 |
Bug 19773 Coolbar icons in Windows XP with Luna theme are not vertically aligned.
|
Icons on Coolbar in Windows XP with Luna theme are not vertically aligned. When you reposition coolbars, they realign themselves. Happens in any view (Java in particular). If Windows Classic Style (ala W2K) is selected, problem disappears. Highly annoying.
|
2002-06-10 07:09:30
| 1,023,710,000 |
resolved fixed
|
2be6a11
| 1,033,410,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/CoolBar.java
|
SWT
|
3,932 | 24,137 |
Bug 24137 Top item on popup is often invisible
|
0924 integration build When popping up a context menu there's a ~ 75% chance that the top item will not be visible. Its slot in the menu is reserved, and it can be selected by the user, but its label does not show. Very often tracing over the item makes its label appear. I don't know of a specific test case that is always reproducable, but the problem is very frequent.
|
2002-09-26 10:02:00
| 1,033,050,000 |
resolved fixed
|
0c6dc45
| 1,033,410,000 |
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Menu.java
|
SWT
|
3,933 | 23,947 |
Bug 23947 Menu implementation prevents KeybindingMenu from working correctly
| null |
2002-09-21 05:32:44
| 1,032,600,000 |
resolved fixed
|
4da8f8d
| 1,033,400,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Menu.java
|
SWT
|
3,934 | 20,672 |
Bug 20672 Shift+F10 has wrong keyCode
|
F3 A snippet is included below that simply listens for key presses and prints the respective keyCode and state for each. When it's run on any platform other than hpux its values for Shift+F10 are: Key Pressed: 16777235. State: 131072 However on hpux pressing Shift+F10 gives: Key Pressed: 0. State: 131072 This causes an accessibility problem in Eclipse because Shift+F10 is used to display the context menu for the currently selected item. It might be another problem case in Widget.setKeyState().
|
2002-06-19 13:16:51
| 1,024,510,000 |
resolved fixed
|
6a5976f
| 1,033,150,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/Widget.java
|
SWT
|
3,935 | 10,459 |
Bug 10459 I can't run eclipse
|
I can't run eclipse in redhat linux 7.2. After startup the eclipse,whenever I click the main region in the eclipse.the eclipse will throw a exception and exit.
|
2002-02-27 23:17:40
| 1,014,870,000 |
resolved fixed
|
b9b42ed
| 1,033,140,000 |
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Control.java
|
SWT
|
3,936 | 24,139 |
Bug 24139 Copy causes exception
|
0924 integration build. Happens on hpux, not on linux, haven't tried Aix or Solaris. - open an editor on a .java file - select some text, press CTRL+C to copy it - instead get the attached exception
|
2002-09-26 10:06:38
| 1,033,050,000 |
resolved fixed
|
dc1beb3
| 1,033,140,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
|
SWT
|
3,937 | 24,106 |
Bug 24106 Table Column Resizable Doesn't work if you click on Column itself.
|
I realized this bug because I had some hidden columns in my table. And when i click on the vertical separator of the column titles, i could expand those hidden column. Attached is the code snippet. I have a second column with "0" width and also,it s to setResizable(false). That means you shouldn't able to change the size of that column. But when you clik on vertical separator of the column titles, you can expand that column. You have to really click hard to get the particular timing or point. e.g ID | HiddenID | Name If you have column tiles like above, you should slightly right to the first vertical separator. Also, that column does NOT have to be "0" width, It could be any width and still you can change the size first time you click on separator. So once that column has expanded to particular size, then you can't change the size. Good luck in reproducing it..:) import org.eclipse.swt.*; import org.eclipse.swt.graphics.*; import org.eclipse.swt.custom.*; import org.eclipse.swt.events.*; import org.eclipse.swt.widgets.*; import org.eclipse.swt.layout.*; public class HiddenColumnTest { Display display = null; Shell aWindow = null; public HiddenColumnTest() { display = new Display(); Shell aWindow = new Shell(display); // set up layout GridLayout layout = new GridLayout(); layout.marginHeight = 0; layout.marginWidth = 0; layout.horizontalSpacing = 0; layout.verticalSpacing = 0; layout.numColumns = 1; aWindow.setLayout(layout); aWindow.setSize(400, 200); aWindow.setLocation(250, 250); // set window title aWindow.setText("HiddenColumnTest"); // create table Table aTable = new Table(aWindow, SWT.NONE); GridData gridData = new GridData(GridData.FILL_BOTH); aTable.setLayoutData(gridData); // set titles visible for table aTable.setHeaderVisible(true); // just for testing aTable.setLinesVisible(true); // column widths int[] columnWidths = {100, 20, 300}; // whether the column in resizable or not boolean[] columnResizable = {true, false, true}; // column Titles String[] columnTitles = { "ID", "HiddenID", "Name", }; // set up table columns for (int i = 0; i < columnTitles.length; i++) { TableColumn tableColumn = new TableColumn(aTable, SWT.NONE); tableColumn.setWidth(columnWidths[i]); tableColumn.setText(columnTitles[i]); tableColumn.setResizable(columnResizable[i]); } // add 5 rows for testing for (int i =0 ; i < 5; i++) { // adding rows TableItem item = new TableItem(aTable, SWT.NONE); item.setText(0, "" + i); item.setText(1, "Hide " + i); item.setText(2, "Name " + i); } // open the window aWindow.pack(); aWindow.open(); while (!aWindow.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } } display.dispose(); } public static void main(String[] args) { HiddenColumnTest aTest = new HiddenColumnTest(); } }
|
2002-09-25 17:19:13
| 1,032,990,000 |
resolved fixed
|
f08b58b
| 1,033,140,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/Table.java
|
SWT
|
3,938 | 24,088 |
Bug 24088 file chooser for OSX returns wrong path
|
When choosing a jar file to include in the library, i can select the jar file fine but then when i click choose or double click on the file, it returns a bogus path back to eclipse. it adds a bunch of random directories at the begining of the path. if i try to select the file again it adds more directories at the begining. To fix it i edit the .classpath file in the project directory and manually put in the correct path. Restart eclipse and my libraries are there. Sweet product! Can't wait for it to be in full swing for OSX! Dave
|
2002-09-25 10:57:10
| 1,032,970,000 |
resolved fixed
|
7ed1dcc
| 1,033,130,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/DirectoryDialog.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/FileDialog.java
|
SWT
|
3,939 | 23,645 |
Bug 23645 Disabled default button can still be reached pressing ENTER
|
20020911 linux-gtk 1. Open a file 2. Ctrl-L for opening Goto Line dialog 3. Enter some ridiculously big number 4. Verify that the OK button gets disabled 5. Press ENTER 6. Observe a StackOverflow
|
2002-09-17 10:46:55
| 1,032,270,000 |
resolved fixed
|
55a7bfd
| 1,032,970,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Decorations.java
|
SWT
|
3,940 | 22,645 |
Bug 22645 StyledText - cheese when typing in SWT.SINGLE mode
|
build 20020806 StyledText.handleTextChanged does not take the top margin into account when rendering directly. The double buffer image ends up being too small and the bottom portion of the first line is not blitted to the screen resulting in cheese.
|
2002-08-21 11:38:25
| 1,029,940,000 |
resolved fixed
|
8f9792a
| 1,032,900,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
|
SWT
|
3,941 | 23,936 |
Bug 23936 NPE in ControlExample
|
swt 20020920 1. Run the ControlExample 2. Go to the CoolBar Tab 3. Check the style SWT.DROP_DOWN 4. Drag the CoolItem so that you get a chevron 5. Click two time over the chevron (is not a double-click) walkback: java.lang.NullPointerException at org.eclipse.swt.examples.controlexample.CoolBarTab$CoolItemSelectionListener.wid getSelected(CoolBarTab.java:416) at org.eclipse.swt.widgets.TypedListener.handleEvent (TypedListener.java:87) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:77) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:833) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:1622) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:1368) at org.eclipse.swt.examples.controlexample.ControlExample.main (ControlExample.java:103) Exception in thread "main" The bug is in the example.
|
2002-09-20 16:15:14
| 1,032,550,000 |
resolved fixed
|
93215c4
| 1,032,810,000 |
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/CoolBarTab.java
|
SWT
|
3,942 | 23,864 |
Bug 23864 CoolBar - Plus 2, Minus 2 problem
|
swt 20020919 When CoolItems are create they are 2 pixels wider than they should be. Here's the example: [click on the Test button and see the chevron appears: there is extra 2 pixels between items] package coolbar.prs; import org.eclipse.swt.SWT; import org.eclipse.swt.layout.*; import org.eclipse.swt.events.*; import org.eclipse.swt.widgets.*; import org.eclipse.swt.graphics.*; public class CoolBarWrapTest { static Display display; static Shell shell; static CoolBar coolBar; static String[][] toolNames = { {"search"}, {"script_wiz"}, {"debug", "run"}, {"opentype"}, {"new_wiz", "save", "saveas", "printer"}, }; static int border = 20; public static void main (String [] args) { display = new Display (); shell = new Shell (display); coolBar = new CoolBar(shell, SWT.FLAT | SWT.BORDER); createCoolItem(0,-1); createCoolItem(4,-1); createCoolItem(1,1); createCoolItem(3,2); createCoolItem(2,2); shell.addControlListener( new ControlAdapter() { public void controlResized(ControlEvent e) { Rectangle rect = shell.getClientArea(); Point size = coolBar.computeSize (rect.width - (2*border), SWT.DEFAULT); coolBar.setBounds(rect.x + border, rect.y + border, size.x, size.y); } }); Button button = new Button(shell, SWT.PUSH); button.setText("Test"); button.setBounds( 20, 200, 32, 20); button.addSelectionListener(new SelectionAdapter() { public void widgetSelected(SelectionEvent e) { Point size = coolBar.computeSize (SWT.DEFAULT, SWT.DEFAULT); coolBar.setSize (size); } }); shell.setSize(350, 250); shell.open (); while (!shell.isDisposed ()) { if (!display.readAndDispatch ()) display.sleep (); } display.dispose (); } static void createCoolItem(int index, int atIndex) { ToolBar toolBar = new ToolBar(coolBar, SWT.FLAT); String[] toolFileNames = toolNames[index]; for (int j = 0; j < toolFileNames.length; j++) { String fileName = toolFileNames[j]; if (fileName == null) { new ToolItem(toolBar, SWT.SEPARATOR); } else { ToolItem item = new ToolItem(toolBar, SWT.PUSH); item.setImage(createCoolBarIcon(display, toolFileNames[j])); } } CoolItem coolItem; if (atIndex == -1) { coolItem = new CoolItem(coolBar, SWT.DROP_DOWN); } else { coolItem = new CoolItem(coolBar, SWT.DROP_DOWN, atIndex); } coolItem.setControl(toolBar); coolItem.setData(toolFileNames[0]); Point size = toolBar.computeSize(SWT.DEFAULT, SWT.DEFAULT); Point coolSize = coolItem.computeSize (size.x, size.y); int minWidth = toolBar.getItems()[0].getWidth(); coolItem.setMinimumSize(minWidth, coolSize.y); coolItem.setPreferredSize(coolSize); coolItem.setSize(coolSize); } static Image createCoolBarIcon(Display display, String fileName) { try { ImageData source = new ImageData (CoolBarWrapTest.class.getResourceAsStream(fileName + ".gif")); ImageData mask = source.getTransparencyMask(); return new Image(display, source, mask); } catch (Exception e) { } return null; } }
|
2002-09-19 12:25:48
| 1,032,450,000 |
resolved fixed
|
2f464c3
| 1,032,810,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/CoolBar.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/CoolItem.java
|
SWT
|
3,943 | 23,766 |
Bug 23766 Labels with image only have extra space on GTK
|
Build 20020917 If you create a label on GTK with just an image the vertical axis will have extra space. This is not an issue on Motif or windows STEPS 1) Run the example below with the attached icon 2) See that there is a lot of whitespace above and below the icon 3) Do it again on Motif or Windows - no extra space import org.eclipse.swt.SWT; import org.eclipse.swt.events.SelectionAdapter; import org.eclipse.swt.events.SelectionEvent; import org.eclipse.swt.graphics.Image; import org.eclipse.swt.layout.*; import org.eclipse.swt.widgets.*; /* * (c) Copyright 2001 MyCorporation. * All Rights Reserved. */ /** * @version 1.0 * @author */ public class LayoutSpacingTest { public static void main(String[] args) { Display display = new Display(); final Image image = new Image( display, LayoutSpacingTest.class.getResourceAsStream("error_tsk.gif")); final Shell shell = new Shell(display); shell.setLayout(new FormLayout()); final Label l1 = new Label(shell, SWT.BORDER); l1.setImage(image); final Label l2 = new Label(shell, SWT.BORDER); l2.setText("Label 2"); FormData imageData = new FormData(); imageData.left = new FormAttachment(0,0); imageData.top = new FormAttachment(0, 0); l2.setLayoutData(imageData); FormData textData = new FormData(); textData.left = new FormAttachment(l2,0); textData.top = new FormAttachment(0, 0); l1.setLayoutData(textData); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } }
|
2002-09-18 14:47:19
| 1,032,370,000 |
resolved fixed
|
e488b4a
| 1,032,800,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Label.java
|
SWT
|
3,944 | 23,898 |
Bug 23898 Group.setBackground() don't work on Gtk
| null |
2002-09-20 08:19:51
| 1,032,520,000 |
resolved fixed
|
a085db5
| 1,032,800,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Group.java
|
SWT
|
3,945 | 23,807 |
Bug 23807 Display class needs to pick better default fonts.
|
Right now the display class is picking fonts based on the default font used by the button widget in libph. However, the fonts in libph are not the best choices since they cannot be changed without breaking existing applications. The proposed change forces the TEXT_FONT and LIST_FONT fonts to be TextFont8 until there is a decent mechanism in place in photon for finding system wide font configuration data.
|
2002-09-19 02:20:05
| 1,032,420,000 |
resolved fixed
|
625d744
| 1,032,560,000 |
bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/graphics/Device.java bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/graphics/Font.java bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/graphics/FontData.java bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Combo.java bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Composite.java bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Display.java bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/FontDialog.java bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Group.java bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/ProgressBar.java bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Sash.java bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Scale.java bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/Slider.java bundles/org.eclipse.swt/Eclipse SWT/photon/org/eclipse/swt/widgets/ToolItem.java
|
SWT
|
3,946 | 23,795 |
Bug 23795 ControlExample: Image Label leaves cheese when resized
|
Build I200209171408 Run ControlExample Switch to Label tab. Change the size. Image label leaves cheese. Select SWT.WRAP. Image label does not leave anymore cheese.
|
2002-09-18 16:52:01
| 1,032,380,000 |
resolved fixed
|
3739447
| 1,032,540,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Label.java
|
SWT
|
3,947 | 23,820 |
Bug 23820 Launched SWT application isn't brought to front
|
If an AWT or Swing app is launched from Eclipse, it comes to front. This isn't true for SWT based application.
|
2002-09-19 06:39:31
| 1,032,430,000 |
resolved fixed
|
08d0656
| 1,032,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/Display.java
|
SWT
|
3,948 | 20,461 |
Bug 20461 WinCE - Wait cursor does not show up
|
BusyIndicator does not work on WinCE. The following code Cursor cursor = new Cursor(display, SWT.CURSOR_WAIT); Shell.setCursor (cursor); only works after the user taps on the screen, which is not useful.
|
2002-06-17 11:32:27
| 1,024,330,000 |
resolved fixed
|
fbd36e0
| 1,032,360,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Control.java
|
SWT
|
3,949 | 20,377 |
Bug 20377 StyledText - SWT.WRAP style and widthHint specification
|
Look into this and how it should work.
|
2002-06-14 14:54:23
| 1,024,080,000 |
resolved fixed
|
e209f2f
| 1,032,300,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
|
SWT
|
3,950 | 22,121 |
Bug 22121 Eclipse crashes when pasting URL in Java-code
| null |
2002-08-02 05:27:25
| 1,028,280,000 |
resolved fixed
|
1112d2e
| 1,032,290,000 |
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/TextTransfer.java
|
SWT
|
3,951 | 23,657 |
Bug 23657 Problems implementing MenuItem.setText (worked around for English)
|
On the Mac the menu accelerator text isn't specified as a string but via a bitset similar to SWT's accelerator used in MenuItem.setAccelerator. In addition the accelerator's string is set as a side effect of setting the accelerator itself. So they are always in synch. Therefore in the SWT Mac port I was ignoring the accelerator part of the string given to MenuItem.setText(...) and I was using the bitset from MenuItem.setAccelerator(). I was relying on the assumption that both should be in synch. However this assumption is now broken. MenuItems on which an accelerator string has been set with setText typically have the accelerator 0, other menu items where the accelerator is not 0 have no accelerator string set. For the Mac port this means I have to parse the string given to MenuItem.setText. However, since the string is already localized parsing isn't feasible. How can I solve this dilemma? BTW: why are SWT's clients allowed to play dirty tricks with accelerators? I'm not sure that I can get accelerators to work on MacOS X (without introducing wads of bogus code).
|
2002-09-17 11:58:28
| 1,032,280,000 |
resolved fixed
|
0aad980
| 1,032,290,000 |
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/MenuItem.java
|
SWT
|
3,952 | 22,839 |
Bug 22839 when swt window in focus palettes of other windows hosed, and vise versa
|
When an swt window comes into focus, all background windows colors are changed to incorrect colors, and similarly when another window is in focus the swt windows colors will change to be incorrect. I have tested this on an Sh4 (BigSur/Tahoe) running a maxall configuration of WinCe 3.00 with j9 version 1.5 from wsdd 4.0 runtimes with swt version 2104 Test case ----------cut here----------- import org.eclipse.swt.*; import org.eclipse.swt.widgets.*; /** * @author pddempse * * To change this generated comment edit the template variable "typecomment": * Window>Preferences>Java>Templates. * To enable and disable the creation of type comments go to * Window>Preferences>Java>Code Generation. */ public class SwtColorProblem { private Display display; private Shell shell; //------------------------------------------------------------------- // //------------------------------------------------------------------- static public void main(String[] args) { new SwtColorProblem().runMain(args); } //------------------------------------------------------------------- // //------------------------------------------------------------------- private void runMain(String[] args) { display = new Display(); shell = new Shell(display, SWT.SHELL_TRIM); shell.setSize(300, 300); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } } } }
|
2002-08-26 12:13:35
| 1,030,380,000 |
resolved fixed
|
b8354fd
| 1,032,200,000 |
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Device.java
|
SWT
|
3,953 | 22,189 |
Bug 22189 Win32 GDI Resource Leak in WrappedContent.java
|
Applies to swt-win32-2047 & 2103 Exists in current CVS (dev.eclipse.org : WrappedContent.java 1.6) Line 611 in org/eclipse/swt/custom/WrappedContent.java. Method: wrapLineRange Method returns without releasing renderer GC.
|
2002-08-05 18:38:16
| 1,028,590,000 |
resolved fixed
|
b00aa44
| 1,031,870,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/WrappedContent.java
|
SWT
|
3,954 | 21,126 |
Bug 21126 Print Dialog Is Not Modal, Resulting in Unpredictable Workbench Behavior
|
Build: GM5 The print dialog is not modal. This allows you to ignore it and return to the workbench. The trouble is, the workbench behaves in a strange way, probably because it expects you to be working in the print dialog. Steps to reproduce: 1. Open a Java file to print. 2. Select File > Print. 3. Ignore the print dialog, but do not close it. 4. Try bringing up a dialog box in the workbench, such with Search > Search... (You might have to click around on the menu bar to get it to open.) 5. When another dialog box opens you lose control of mouse clicks and you have to tab through the widgets to get to the Cancel button. The bottom line is that the print dialog is not modal which allows you to return the the workbench with unpredictable results.
|
2002-06-28 10:16:17
| 1,025,270,000 |
resolved fixed
|
76bf6c1
| 1,031,850,000 |
bundles/org.eclipse.swt/Eclipse SWT Printing/win32/org/eclipse/swt/printing/PrintDialog.java
|
SWT
|
3,955 | 16,700 |
Bug 16700 Coolbar tab order is backwards
|
Build 20020521 Run the attached test case. Press the tab key. Notice that tabbing is backwards for the CoolBar.
|
2002-05-21 17:16:00
| 1,022,020,000 |
resolved fixed
|
987e6ac
| 1,031,840,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/CoolItem.java
|
SWT
|
3,956 | 10,532 |
Bug 10532 DCR: Table.setSelection(int, int) -- order matters
|
Build 20020226 In a call to Table.setSelection(int start, int end), it matters in which order the arguments are given. It assumes start <= end. It would be more resilient if it also allowed start >= end. If it doesn't allow this, the spec should indicate the ordering requirement.
|
2002-02-28 16:48:21
| 1,014,930,000 |
resolved fixed
|
57e0864
| 1,031,780,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/List.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java
|
SWT
|
3,957 | 21,620 |
Bug 21620 FontData.setLocale() crashes workbench
|
On Windows98, FontData.setLocale() causes crash of workbench. The following is stack. java.lang.NegativeArraySizeException: at org.eclipse.swt.internal.win32.TCHAR.toString(TCHAR.java:103) at org.eclipse.swt.graphics.FontData.EnumLocalesProc(FontData.java:348) at org.eclipse.swt.internal.win32.OS.EnumSystemLocalesA(Native Method) at org.eclipse.swt.internal.win32.OS.EnumSystemLocales(OS.java:1259) at org.eclipse.swt.graphics.FontData.setLocale(FontData.java:509) I make a simple sample to reproduce the problem. -------------------------------------------------------------------------- import org.eclipse.swt.events.PaintEvent; import org.eclipse.swt.events.PaintListener; import org.eclipse.swt.graphics.Font; import org.eclipse.swt.graphics.FontData; import org.eclipse.swt.graphics.GC; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.widgets.Canvas; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Shell; public class Win98Test { static public void main(String[] args) { final Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); shell.setSize(200, 200); final Canvas canvas = new Canvas(shell, 0); canvas.addPaintListener(new PaintListener() { public void paintControl(PaintEvent e) { GC gc = e.gc; FontData fontdata = new FontData("hoge", 50, 0); fontdata.setLocale("en_US.ISO8859-1"); Font font = new Font(display, fontdata); gc.setFont(font); gc.drawString("hello world", 10, 20); } }); shell.open(); shell.setVisible(true); while (!shell.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } } } }
|
2002-07-16 09:58:48
| 1,026,830,000 |
resolved fixed
|
15f4b69
| 1,031,690,000 |
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/FontData.java
|
SWT
|
3,958 | 19,256 |
Bug 19256 SIP event
|
We would like to have an API to get the SIP event on Windows CE so we can do a resize to the window. At the moment SIP hides the lower part of the screen.
|
2002-06-05 03:55:09
| 1,023,260,000 |
resolved fixed
|
a846f6a
| 1,031,680,000 |
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/SHACTIVATEINFO.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Decorations.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Shell.java
|
SWT
|
3,959 | 22,490 |
Bug 22490 Background color of Graphical Editors is always black.
| null |
2002-08-16 01:47:21
| 1,029,480,000 |
resolved fixed
|
9eaa837
| 1,031,680,000 |
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/GC.java
|
SWT
|
3,960 | 22,862 |
Bug 22862 StyledText - Tab does not tab out of non-editable
| null |
2002-08-26 16:43:00
| 1,030,390,000 |
verified fixed
|
de8c855
| 1,031,600,000 |
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
|
SWT
|
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.