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
2,361
145,526
Bug 145526 CTRL+F crashes JVM in Search panel.
** Detail ** Using Eclipse 3.2 RC7, on JVM 1.5.0_04, on Linux 2.6.12-1 (Fedora Core 3) I'm editing a Java/Swing project using CVS. I know for a fact this has been happening since at least RC4; probably much earlier. ** Description ** After performing a Search on the project, focus the search panel which appears and try CTRL+f to find. Guessing it's to do with loading the little pop-up find box which appears in the search pane; work ok before you perform a search, but not after. This happens every time without fail for me, over several fresh eclipse releases. ** Steps to reproduce ** 1. open your workspace, open a project. 2. perform a Search (not a find) of _any_ kind (using CTRL+H, the menus, whatever). The search needn't turn up any results, but it must be performed. 3. focus the search panel which pops up by clicking on it 4. press CTRL+F 5. kaboom! ** Error Message ** JVM packs in with the following error (in a little dialog): "JVM terminated. Exit code=1 /usr/bin/java -Xms40m -Xmx256m -jar /disk/scratch/eclipse/startup.jar -os linux -ws gtk -arch x86 -launcher /disk/scratch/eclipse/eclipse -name Eclipse -showsplash 600 -exitdata 3d58800f -vm /usr/bin/java -vmargs -Xms40m -Xmx256m -jar /disk/scratch/eclipse/startup.jar"
2006-06-06 09:15:19
1,149,600,000
verified fixed
57937b2
1,149,710,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java
SWT
2,362
140,500
Bug 140500 3.2M6 OS X Label right justify jammed up on the right
SWT/OS X Label right justify jams the text right up on the right edge of the label versus some space when left justified. Works fine on Windows. Work around is to use CLabel, which handles this correctly But awkward that a widget as basic as a Label cannot right justify correctly when run on OS X.
2006-05-07 10:02:34
1,147,010,000
resolved wontfix
b113e18
1,149,610,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ProgressBar.java
SWT
2,363
137,911
Bug 137911 Browser widgets turn to ghosts if their construction fails.
If I instanciate SWT's browser widget on my linux machine where the requirements of this widgets seems not to be fulfiled (i.e. I get an SWTError) there still seems to be something connected with the parent object. To being more specific, I get a "ghost" widget which is taking space like a normal widget. The style used for instantiation is SWT.BORDER. As I don't want to exit the application in this case, but like to provide a fall-back widget, I added a workaround which comprises a auxiliary composite embedding the browser widget only. This auxiliary composite is then disposed on the expection's scope. However, I think the browser should leave the parent object untouched if its instantiation failes.
2006-04-21 05:47:19
1,145,610,000
resolved fixed
399209e
1,149,600,000
bundles/org.eclipse.swt/Eclipse SWT Browser/motif/org/eclipse/swt/browser/Browser.java bundles/org.eclipse.swt/Eclipse SWT Mozilla/gtk/org/eclipse/swt/browser/Browser.java
SWT
2,364
143,732
Bug 143732 add cut/copy/paste api on CCombo
Text and Combo have them, so it seems inconsistent not to. The implementation would probably just be a delegation to the contained Text widget, possibly after checking the CCombo's style for READ_ONLY.
2006-05-25 11:14:26
1,148,570,000
resolved fixed
e78aba1
1,149,600,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java
SWT
2,365
143,661
Bug 143661 MouseUp incorrectly fired on Tree
Run the following snippet, click on row one and hold your mouse button down. A MouseDown AND a MouseUp event is fired. Release the mouse and another MouseUp is fired. Works okay if you click on an area in the tree that's not part of a TreeItem row. 3.2M5 Snippet: Display display = Display.getDefault(); Shell shell = new Shell(display); shell.setLayout(new GridLayout()); Tree tree = new Tree(shell, SWT.FULL_SELECTION | SWT.BORDER); tree.setLayoutData(new GridData(SWT.FILL, SWT.FILL, true, true)); tree.addMouseListener(new MouseListener() { public void mouseDoubleClick(MouseEvent e) { System.out.println("DBL"); } public void mouseDown(MouseEvent e) { System.out.println("Down"); } public void mouseUp(MouseEvent e) { System.out.println("Up"); } }); TreeItem item = new TreeItem(tree, SWT.NONE); item.setText("test"); shell.pack(); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); }
2006-05-25 02:31:19
1,148,540,000
resolved fixed
a1f4d32
1,149,180,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
SWT
2,366
143,482
Bug 143482 CHIViewEmbeddedFrame not found in Eclipse
SWT_AWT fails to loaded CHIViewEmbeddedFrame in running Eclipse.
2006-05-24 11:13:09
1,148,480,000
verified fixed
5fda137
1,148,500,000
bundles/org.eclipse.swt/Eclipse SWT AWT/carbon/org/eclipse/swt/awt/SWT_AWT.java
SWT
2,367
141,489
Bug 141489 TableEditor background color artifacts on scrolling
Hi, I'd like to report a minor display bug for the SWT 3.2 RC2 and previous versions. This is minor only as long as my customers don't get annoyed because of the artifacts ;-) If you've got a table containing rows with alternating background colors (e.g. 3 are grey, 4 are white, another 4 grey again, 2 white and so on) and containing multiple TableEditors after scrolling the background color of the Control in such a TableEditor may be wrong. I recognized this with checkboxes with text in multiple rows. I set the background of the checkbox to the same as the underlying TableItem (SWT.INHERIT_DEFAULT is of no use in this context). Scrolling, the background of a white checkbox may change to grey (but never from grey to white). If you need a screenshot or further information, please contact me. Kind regards, Stefan Schubert
2006-05-12 03:00:50
1,147,420,000
verified fixed
a78bd8c
1,148,050,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java
SWT
2,368
140,843
Bug 140843 JVM crash when running RCP application on HP-UX
I am running an Eclipse RCP application on HP-UX. It was built using Eclipse 3.2RC3, but this was also tried using 3.2m4 before. After the application launches, trying to bring up the login dialog crashes the application, and the failure is shown in the libswt library, specifically in the setXEventFields method. (This application works fine on Windows and Solaris). The application also has other parts that do not require a login. When I go into one of those parts of the application, for example, a feature which fills in a JTable with key value pairs read from a file, it crashes with the same error when populating that table. The output of the JVM crash log is here below: # # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (11) at pc=de2ec118, pid=29091, tid=1 # # Java VM: Java HotSpot(TM) Server VM (1.5.0.03 jinteg:02.13.06-16:15 PA2.0 (aCC_AA) mixed mode) # Problematic frame: # C [libswt-motif-3232.sl+0xac118] setXEventFields+0x88 # --------------- T H R E A D --------------- Current thread (00062b20): JavaThread "main" [_thread_in_native, id=1, lwp_id=1147987] siginfo:si_signo=11, si_errno=0, si_code=0, si_addr=00000007 Registers: r1: 77962e90 rp: de2e7607 r3: 00062b20 r4: 00000000 r5: 7a003cd0 r6: 70168a58 r7: 7a003c90 r8: 7016a7d8 r9: 00000000 r10: 7a0035f8 r11: 00000000 r12: 00000002 r13: 6f830060 r14: 4001d554 r15: 00000000 r16: 00000006 r17: 00000000 r18: 77c11b98 r19: 7795c068 r20: 00062bec r21: 79ebf888 r22: 79db7eda r23: 00000000 r24: 00000022 r25: 7a003c90 r26: 00062bec dp: 00012c90 ret0: 00000092 ret1: 00062c18 sp: 7a003e80 r31: 00000007 Stack pointer: (sp=7a003e80) 7a003e60: 7795c068 00000002 00062b20 00062b20 7a003e70: 00000000 00000006 00000000 77c11b98 Instructions: (pc=de2ec118) de2ec0f8: 4bd43f39 4a950000 4ab60368 4bda3f39 de2ec108: 4bd93f31 4a613fc1 48380010 4bdf3f29 de2ec118: 4bf70000 e8400000 2852bfff 34210ba0 Stack: [79dfe000,7a000000), sp=7a003e80, free space=2071k Native frames: (J=compiled Java code, j=interpreted, Vv=VM code, C=native code) C [libswt-motif-3232.sl+0xac118] setXEventFields+0x88 Java frames: (J=compiled Java code, j=interpreted, Vv=VM code) j org.eclipse.swt.internal.motif.OS.memmove(Lorg/eclipse/swt/internal/motif/XPropertyEvent;II)V+0 j org.eclipse.swt.widgets.Composite.XPropertyChange(IIII)I+45 j org.eclipse.swt.widgets.Widget.windowProc(IIII)I+234 j org.eclipse.swt.widgets.Display.windowProc(IIII)I+21 v ~StubRoutines::call_stub j org.eclipse.swt.internal.motif.OS._XtDispatchEvent(I)Z+0 j org.eclipse.swt.internal.motif.OS.XtDispatchEvent(I)Z+8 j org.eclipse.swt.widgets.Display.readAndDispatch()Z+91 j org.eclipse.ui.internal.Workbench.runEventLoop(Lorg/eclipse/jface/window/Window$IExceptionHandler;Lorg/eclipse/swt/widgets/Display;)V+9 j org.eclipse.ui.internal.Workbench.runUI()I+222 j org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+11 j org.eclipse.ui.PlatformUI.createAndRunWorkbench(Lorg/eclipse/swt/widgets/Display;Lorg/eclipse/ui/application/WorkbenchAdvisor;)I+2 j com.teamcenter.rac.aifrcp.Application.run(Ljava/lang/Object;)Ljava/lang/Object;+30 j org.eclipse.core.internal.runtime.PlatformActivator$1.run(Ljava/lang/Object;)Ljava/lang/Object;+219 j org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(Ljava/lang/Object;)Ljava/lang/Object;+103 j org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(Ljava/lang/Object;)Ljava/lang/Object;+29 j org.eclipse.core.runtime.adaptor.EclipseStarter.run(Ljava/lang/Object;)Ljava/lang/Object;+135 j org.eclipse.core.runtime.adaptor.EclipseStarter.run([Ljava/lang/String;Ljava/lang/Runnable;)Ljava/lang/Object;+60 v ~StubRoutines::call_stub j sun.reflect.NativeMethodAccessorImpl.invoke0(Ljava/lang/reflect/Method;Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+0 j sun.reflect.NativeMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+87 j sun.reflect.DelegatingMethodAccessorImpl.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+6 j java.lang.reflect.Method.invoke(Ljava/lang/Object;[Ljava/lang/Object;)Ljava/lang/Object;+111 j org.eclipse.core.launcher.Main.invokeFramework([Ljava/lang/String;[Ljava/net/URL;)V+181 j org.eclipse.core.launcher.Main.basicRun([Ljava/lang/String;)V+107 j org.eclipse.core.launcher.Main.run([Ljava/lang/String;)I+4 j org.eclipse.core.launcher.Main.main([Ljava/lang/String;)V+10 v ~StubRoutines::call_stub --------------- P R O C E S S --------------- Java Threads: ( => current thread ) 01720528 JavaThread "LoginDialog" [_thread_blocked, id=31, lwp_id=1148024] 01720378 JavaThread "Image Fetcher 1" daemon [_thread_blocked, id=30, lwp_id=1148023] 017201c8 JavaThread "Image Fetcher 0" daemon [_thread_blocked, id=29, lwp_id=1148022] 0104d7f0 JavaThread "AIFDesktop$LoadApplicationOperation 0" [_thread_in_native, id=28, lwp_id=1148021] 000642c0 JavaThread "AIFServer" [_thread_in_native, id=26, lwp_id=1148019] 0104d640 JavaThread "TimerQueue" daemon [_thread_blocked, id=25, lwp_id=1148013] 01720018 JavaThread "AWT-EventQueue-0" [_thread_blocked, id=23, lwp_id=1148011] 00063f60 JavaThread "AWT-Shutdown" [_thread_blocked, id=20, lwp_id=1148008] 00063db0 JavaThread "Worker-0" [_thread_blocked, id=19, lwp_id=1148007] 00063c00 JavaThread "AWT-XAWT" daemon [_thread_blocked, id=16, lwp_id=1148002] 00063a50 JavaThread "Java2D Disposer" daemon [_thread_blocked, id=15, lwp_id=1148001] 000638a0 JavaThread "Start Level Event Dispatcher" daemon [_thread_blocked, id=14, lwp_id=1148000] 000636f0 JavaThread "Framework Event Dispatcher" daemon [_thread_blocked, id=13, lwp_id=1147999] 00063540 JavaThread "State Data Manager" daemon [_thread_blocked, id=12, lwp_id=1147998] 00063390 JavaThread "Low Memory Detector" daemon [_thread_blocked, id=11, lwp_id=1147997] 002a03d8 JavaThread "CompilerThread1" daemon [_thread_blocked, id=9, lwp_id=1147995] 002a01f8 JavaThread "CompilerThread0" daemon [_thread_blocked, id=8, lwp_id=1147994] 002a0018 JavaThread "AdapterThread" daemon [_thread_blocked, id=7, lwp_id=1147993] 000631e0 JavaThread "Signal Dispatcher" daemon [_thread_blocked, id=6, lwp_id=1147992] 00063030 JavaThread "Finalizer" daemon [_thread_blocked, id=5, lwp_id=1147991] 00062e80 JavaThread "Reference Handler" daemon [_thread_blocked, id=4, lwp_id=1147990] =>00062b20 JavaThread "main" [_thread_in_native, id=1, lwp_id=1147987] Other Threads: 0019ea28 VMThread [id=3, lwp_id=1147989] 0019eae0 WatcherThread [id=10, lwp_id=1147996] VM state:not at safepoint (normal execution) VM Mutex/Monitor currently owned by a thread: None Heap def new generation total 5440K, used 3144K [76400000, 769e0000, 77950000) eden space 4864K, 62% used [76400000, 766f4b00, 768c0000) from space 576K, 20% used [768c0000, 768dd5c0, 76950000) to space 576K, 0% used [76950000, 76950000, 769e0000) tenured generation total 11908K, used 8768K [73800000, 743a1000, 762b0000) the space 11908K, 73% used [73800000, 74090338, 74090400, 743a1000) compacting perm gen total 22528K, used 22379K [6f800000, 70e00000, 73800000) the space 22528K, 99% used [6f800000, 70ddafe0, 70ddb000, 70e00000) No shared spaces configured. Dynamic libraries: /opt/java1.5/jre/bin/PA_RISC2.0/java_v2 text:0x00001000-0x00010c74 data:0x00011000-0x00012f18 /opt/java1.5/jre/bin/PA_RISC2.0/../../lib/PA_RISC2.0/server/libjvm_v2.sl text:0xc3c00000-0xc49af000 data:0x79d7d000-0x79fdf000 /usr/lib/libpthread.1 text:0xc0040000-0xc0058000 data:0x79d5a000-0x79d5d000 /usr/lib/libm.2 text:0xc0080000-0xc00ac000 data:0x79d5d000-0x79d5e000 /usr/lib/librt.2 text:0xc00f8000-0xc00fc000 data:0x79d5e000-0x79d5f000 /usr/lib/libcl.2 text:0xc03c0000-0xc04ab000 data:0x79d62000-0x79d6e000 /usr/lib/libisamstub.1 text:0xc00b5000-0xc00b6000 data:0x79d5f000-0x79d60000 /usr/lib/libCsup_v2.2 text:0xc2150000-0xc216c000 data:0x79d6e000-0x79d71000 /usr/lib/libc.2 text:0xc0100000-0xc0246000 data:0x79fe6000-0x79ff9000 /usr/lib/libdld.2 text:0xc0005000-0xc0008000 data:0x79fe1000-0x79fe2000 /opt/graphics/OpenGL/lib/libogltls.sl text:0xc0004000-0xc0005000 data:0x79ff9000-0x79ffa000 /opt/java1.5/jre/lib/PA_RISC2.0/native_threads/libhpi.sl text:0xc2bc0000-0xc2bd1000 data:0x79d51000-0x79d53000 /opt/java1.5/jre/lib/PA_RISC2.0/libverify.sl text:0xc1ce8000-0xc1cf5000 data:0x79ccd000-0x79cce000 /opt/java1.5/jre/lib/PA_RISC2.0/libjava.sl text:0xc2c00000-0xc2c2e000 data:0x79ccb000-0x79ccd000 /opt/java1.5/jre/lib/PA_RISC2.0/libzip.sl text:0xc2c30000-0xc2c44000 data:0x79cc7000-0x79cc9000 /opt/java1.5/jre/lib/PA_RISC2.0/libnet.sl text:0xc2dd0000-0xc2de3000 data:0x79c05000-0x79c06000 /opt/java1.5/jre/lib/PA_RISC2.0/libnio.sl text:0xc1cf8000-0xc1d00000 data:0x79c02000-0x79c03000 /opt/java1.5/jre/lib/PA_RISC2.0/libawt.sl text:0xdb940000-0xdb9ef000 data:0x7799b000-0x779c6000 /opt/java1.5/jre/lib/PA_RISC2.0/./libmlib_image.sl text:0xe2d00000-0xe2e65000 data:0x7798f000-0x7799b000 /opt/java1.5/jre/lib/PA_RISC2.0/xawt/libmawt.sl text:0xc2e00000-0xc2e41000 data:0x7798a000-0x7798d000 /usr/lib/X11R6/libXext.3 text:0xc1520000-0xc1536000 data:0x77975000-0x77976000 /usr/lib/X11R6/libX11.3 text:0xc2900000-0xc2a13000 data:0x7797c000-0x7798a000 /usr/lib/libnss_files.1 text:0xc00ac000-0xc00b5000 data:0x77974000-0x77975000 /usr/lib/libnss_dns.1 text:0xc031c000-0xc031f000 data:0x77973000-0x77974000 /opt/java1.5/jre/lib/PA_RISC2.0/libfontmanager_v2.sl text:0xdcb40000-0xdcbc9000 data:0x77968000-0x77973000 /tmp/x_raajes/x_raajes_rac_hp_test/hpp/rcp/rac/configuration/org.eclipse.osgi/bundles/25/1/.cp/libswt-motif-3232.sl text:0xde240000-0xde30a000 data:0x7795c000-0x77964000 /usr/lib/libXm.4 text:0xe2600000-0xe284b000 data:0x762c1000-0x762ee000 /usr/lib/libXt.3 text:0xc2b40000-0xc2b9d000 data:0x762f3000-0x762fe000 /usr/lib/X11R6/libSM.2 text:0xc1354000-0xc135e000 data:0x762ee000-0x762f0000 /usr/lib/X11R6/libICE.2 text:0xc2ba0000-0xc2bb6000 data:0x762f0000-0x762f3000 /usr/lib/libXp.2 text:0xc1c34000-0xc1c3d000 data:0x77950000-0x77951000 /usr/lib/libXtst.2 text:0xc216c000-0xc2172000 data:0x77951000-0x77952000 VM Arguments: java_command: /tmp/x_raajes/x_raajes_rac_hp_test/hpp/rcp/rac/startup.jar -os hpux -ws motif -arch PA_RISC -launcher /tmp/x_raajes/x_raajes_rac_hp_test/hpp/rcp/rac/Teamcenter -name Teamcenter -showsplash 600 -exitdata c16 -vm /opt/java1.5/jre/bin/PA_RISC2.0/java_v2 -vmargs -jar /tmp/x_raajes/x_raajes_rac_hp_test/hpp/rcp/rac/startup.jar Launcher Type: generic Environment Variables: JAVA_HOME=/opt/java1.5 JRE_HOME=/opt/java1.5/jre PATH=/iproot/devops/bin:/iproot/devops/bin/hpp:/iproot/devops/UDU/tools/bin/:/iproot/devops/UDU/tools/bin/unx:/tmp/x_raajes/x_raajes_rac_hp_test/src/build/tools:/tmp/x_raajes/plm2007.23/src/build/tools:/tmp/x_raajes/plm2007.23/dbin/hpp:/tmp/x_raajes/plm2007.23/dbin/unx:/tmp/x_raajes/plm2007.23/dbin:/opt/java1.5/jre/bin:/opt/java1.5/bin:/iproot/devops/bin:/iproot/devops/bin/hpp:/mnt/n3vol5ns/iproot/devops/UDU/tools:/mnt/n3vol5ns/iproot/devops/UDU/tools/bin/unx:/iproot/devops/perl/bin/hpp:/iproot/devops/UDU/tools/bin/:/iproot/devops/UDU/tools/bin/unx:/mnt/n3vol3/users/kars/icad/doc/frame/bin:/bin:/usr/bin:/etc:/tool_box:/usr/local/bin:/usr/etc:/usr/bin/X11:/usr/contrib/bin/X11:/usr/vue/bin:/ips/devbin:/tool_shed/clearjeeves/bin:/vobs/imported_products/gnu/hpp:/vobs/tool_shed/clearjeeves/bin:/tool_shed/clearjeeves/triggers:/vobs/tool_shed/clearjeeves/triggers:/usr/atria/bin:/users/x_raajes/bin:. LD_LIBRARY_PATH=/mnt/n3vol5ns/iproot/devops/UDU/tools/lib/hpp:/usr/lib SHELL=/bin/ksh DISPLAY=cii3w053:0.0 SHLIB_PATH=/tmp/x_raajes/plm2007.23/src/imported/nx/hpp/lib:/tmp/x_raajes/plm2007.23/src/imported/tao/hpp/lib:/tmp/x_raajes/plm2007.23/src/imported/xml4c/hpp/lib:/mnt/n3vol5ns/iproot/devops/UDU/tools/lib/hpp:/usr/ingres/lib Signal Handlers: SIGSEGV: [libjvm_v2.sl+0x3f4ea], sa_mask[0]=0xff7ffeff, sa_flags=0x00000040 SIGBUS: [libjvm_v2.sl+0x3f4ea], sa_mask[0]=0xff7ffeff, sa_flags=0x00000040 SIGFPE: [libjvm_v2.sl+0x3d632], sa_mask[0]=0xff7ffeff, sa_flags=0x00000050 SIGPIPE: [libjvm_v2.sl+0x3d632], sa_mask[0]=0xff7ffeff, sa_flags=0x00000050 SIGILL: [libjvm_v2.sl+0x3d632], sa_mask[0]=0xff7ffeff, sa_flags=0x00000051 SIGUSR1: [libjvm_v2.sl+0x3d63a], sa_mask[0]=0x00008000, sa_flags=0x00000010 SIGUSR2: [libjvm_v2.sl+0x3a512], sa_mask[0]=0x00000000, sa_flags=0x00000000 SIGHUP: [libjvm_v2.sl+0x3d62a], sa_mask[0]=0xff7ffeff, sa_flags=0x00000040 SIGINT: [libjvm_v2.sl+0x3d62a], sa_mask[0]=0xff7ffeff, sa_flags=0x00000040 SIGQUIT: [libjvm_v2.sl+0x3d62a], sa_mask[0]=0xff7ffeff, sa_flags=0x00000040 SIGTERM: [libjvm_v2.sl+0x3d62a], sa_mask[0]=0xff7ffeff, sa_flags=0x00000040 --------------- S Y S T E M --------------- OS:HP-UX uname:HP-UX B.11.11 U 9000/800 rlimit: STACK 98252k, CORE 2097151k, NOFILE 2048, AS infinity load average:1.70 1.02 0.81 CPU:total 1 Memory: 4k page, physical 2095104k vm_info: Java HotSpot(TM) Server VM ("jinteg:02.13.06-16:15") for hp-ux-pa-risc, built on Feb 13 2006 19:26:11 by jinteg with aCC
2006-05-09 13:03:16
1,147,190,000
resolved fixed
dfbe7c2
1,148,050,000
bundles/org.eclipse.swt/Eclipse SWT PI/motif/org/eclipse/swt/internal/motif/XPropertyEvent.java
SWT
2,369
141,395
Bug 141395 Selected item lost in Tree
Run the following test case Scroll down so that top of tree isn't visible. Select an item, expand it, then collapse it again and you'll be taken back to the top of the tree. The selection is still correct, the selected item is just not visible anymore. import org.eclipse.swt.SWT; import org.eclipse.swt.events.TreeEvent; import org.eclipse.swt.events.TreeListener; import org.eclipse.swt.layout.FillLayout; import org.eclipse.swt.widgets.Display; import org.eclipse.swt.widgets.Event; import org.eclipse.swt.widgets.Listener; import org.eclipse.swt.widgets.Shell; import org.eclipse.swt.widgets.Tree; import org.eclipse.swt.widgets.TreeItem; public class TreeTest { Tree tree; public static void main(String[] args) { new TreeTest().test(); } public void test() { Display display = new Display(); final Shell shell = new Shell(display); shell.setLayout(new FillLayout()); tree = new Tree(shell, SWT.VIRTUAL | SWT.BORDER); tree.addListener(SWT.SetData, new Listener() { public void handleEvent(Event event) { TreeItem widget = (TreeItem) event.item; TreeItem parentItem = widget.getParentItem(); int index = -1; if (parentItem == null) index = tree.indexOf(widget); else index = parentItem.indexOf(widget); widget.setText(""+index); widget.setItemCount(10); } }); tree.setItemCount(300); shell.setSize(300, 200); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } }
2006-05-11 15:33:25
1,147,380,000
verified fixed
20d39f1
1,147,960,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Tree.java
SWT
2,370
141,589
Bug 141589 SWT.MenuDetect sent 3 times for toolbars
Run controlexample, select the toolbar tab, listen for the SWT.MenuDetect event only, right-click the toolbar. Note that 3 SWT.MenuDetect are sent.
2006-05-12 14:01:06
1,147,460,000
resolved fixed
1d2263b
1,147,460,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/ToolItem.java
SWT
2,371
141,552
Bug 141552 Unexpected popup menu
Build id: I20060512-0010 - Brand new I20060512-0010 eclipse download, brand new workspace. - right-click on the "Open Perspective" tool in the perspective bar in the top-right of the workbench - select "Show Text" in the popup menu (to deselect the item) - the text is turned off as expected, but an unexpected popup menu appears
2006-05-12 11:04:10
1,147,450,000
resolved fixed
5ad3734
1,147,460,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/ToolItem.java
SWT
2,372
138,907
Bug 138907 Cheese in Tree with text that spans columns
Run Snippet240. Resize "Column 1" to be larger. Notice that the text in column 2 is incorrect now. This is different from what happens in Table (see Snippet239). The following works around the problem but has some flash: tree.getColumn(1).addListener(SWT.Resize, new Listener() { public void handleEvent(Event e) { if (tree.getItemCount() > 0) { TreeItem item = tree.getItem(0); Rectangle bounds = item.getBounds(2); Rectangle area = tree.getClientArea(); tree.redraw(bounds.x, area.y, bounds.width, area.height, false); } } });
2006-04-27 09:52:13
1,146,150,000
resolved fixed
8b45340
1,147,280,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
SWT
2,373
134,353
Bug 134353 Table/Tree: Columns pack on table.clear for no reason with a lot of flashing
GTK2 2.4.10 swt-I20060330-2000-gtk-linux-x86 Resize the column widths with the mouse. They pack to min size for no reason on the call to clearAll(). There is also a great deal of flashing. If you don't set images on the tableItem, this problem doesn't seem to happen. public static int cnt = 100; public static void main(String[] args) { final Display display = new Display(); final Shell shell = new Shell(display); final ArrayList itemList = new ArrayList(); shell.setLayout(new FillLayout()); final Table table = new Table(shell, SWT.VIRTUAL | SWT.FULL_SELECTION | SWT.MULTI); final int columns = 15; for (int i = 0; i < columns; i++) { TableColumn tc = new TableColumn(table, SWT.LEFT); tc.setText("COL" + i); tc.setWidth(174); } table.setHeaderVisible(true); table.setLinesVisible(true); table.setSortDirection(SWT.DOWN); table.setSortColumn(table.getColumn(0)); table.setItemCount(cnt); final Image image = new Image(display, 16, 16); table.addListener(SWT.SetData, new Listener() { public void handleEvent(Event event) { TableItem item = (TableItem) event.item; String text = String.valueOf(event.index); itemList.add(item); for (int i = 0; i <= columns; i++) { item.setText(i, text); item.setImage(i, image); } } }); final int timerDelay = 800; final Runnable r = new Runnable() { public void run() { cnt--; if (cnt < 0) cnt = 25; table.setItemCount(cnt); table.clearAll(); display.timerExec(timerDelay, this); } }; display.timerExec(timerDelay, r); shell.setSize(350, 200); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); }
2006-03-31 21:04:57
1,143,860,000
resolved fixed
eca1826
1,147,210,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TableItem.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TreeItem.java
SWT
2,374
140,272
Bug 140272 Editing OS.java really slow
I20060504-0920 1) Open OS.java 2) Copy and paste the line for the stack final constant "RGBDirect" Eclipse hangs with a beachball cursor for at least 5 minutes.
2006-05-04 18:30:03
1,146,780,000
resolved fixed
2066120
1,146,780,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/TreeItem.java
SWT
2,375
67,384
Bug 67384 SWT_AWT not implemented for Mac
null
2004-06-15 17:28:39
1,087,330,000
resolved fixed
650c696
1,146,760,000
bundles/org.eclipse.swt/Eclipse SWT AWT/carbon/org/eclipse/swt/awt/SWT_AWT.java
SWT
2,376
140,052
Bug 140052 [CTabFolder] losing focus problem?
null
2006-05-03 15:06:32
1,146,680,000
verified fixed
be72a7c
1,146,760,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolder.java
SWT
2,377
104,545
Bug 104545 Make default size of empty composites smaller
null
2005-07-20 14:21:03
1,121,880,000
resolved fixed
a663b8f
1,146,680,000
bundles/org.eclipse.swt/Eclipse SWT/emulated/coolbar/org/eclipse/swt/widgets/CoolBar.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/CoolBar.java
SWT
2,378
139,964
Bug 139964 Use of 1.4 APIs in SWT_AWT
SWT_AWT makes use of the constants WindowEvent.WINDOW_LOST_FOCUS and WindowEvent.WINDOW_GAINED_FOCUS which are only available in JDK 1.4 and later.
2006-05-03 10:39:09
1,146,670,000
resolved fixed
4bd08b6
1,146,670,000
bundles/org.eclipse.swt/Eclipse SWT AWT/win32/org/eclipse/swt/awt/SWT_AWT.java
SWT
2,379
96,378
Bug 96378 gc.setTransform() makes fonts scale strangely when printing
The use of transformations seems to have strange influcence on the scaling of fonts. When I add the following two code lines before writing out text using gc.drawString(), fonts get scaled about 4 times as large as it should. Transform transform = new Transform(device); gc.setTransform(transform); As far as I understand, these two operations should be a no-op. If look at the values in transform, these are Transform {1.0,0.0,0.0,1.0,0.0,0.0} I tried calling "gc.getTransform(transform)" as well, but this call returns an equal transform object as calling "new Transform(device)".
2005-05-23 19:40:16
1,116,890,000
resolved fixed
67eb46a
1,146,670,000
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/gdip/Gdip.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java
SWT
2,380
139,400
Bug 139400 ExpandItem header should set cursor to CURSOR_HAND in Windows
SWT 3.2rc2, Windows XP sp2 All of the ExpandBar controls I've seen in XP visually indicate that an ExpandItem may be expanded/collapsed by changing the cursor to the hand cursor when the pointer moves over the ExpandItem's header. The SWT version doesn't do this, but it'd be nice if it did - apart from consistency with Windows, it's really useful. In addition, some of the Windows ExpandBars change the colour of the ExpandItem's text (and the chevron) to indicate the same thing. The one in Control Panel does, but the one in Search Results doesn't - I think the rule could be that it should change colour unless you've explicitly specified a Color via setForeground(), but I'm not so sure on this one. While I'm at it, I'm not sure the SWT ExpandBar can currently emulate the one in Windows Search Results in other ways: that one has both the ExpandBar's background and its ExpandItems' backgrounds set to the same Color. I just gave this a quick try in 3.2rc2 and I end up with grey ExpandItems with a plain chevron (not the round one), and the font is suddenly different too.
2006-04-29 11:44:06
1,146,330,000
resolved fixed
aee2142
1,146,610,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ExpandBar.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ExpandItem.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Widget.java
SWT
2,381
130,173
Bug 130173 Tree Column does not respond to DefaultSelection event as it did in 3.1
Adding a Selection Listener to a TreeColum object and attempting to use default selection on it does not trigger the event. This functioned in SWT 3.1. See modification of Snippet 170.
2006-03-02 13:27:56
1,141,320,000
verified fixed
3f92c6f
1,146,590,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Display.java
SWT
2,382
139,226
Bug 139226 Using the mouse to page down auto completion choices closes completion window
Eclipse 3.2RC1a on Mac OS X 10.4.5 I used Command+Space to obtain a list of proposals (Control+Space gives same behaviour) from SWT.<cmd+space>, resulting in a number of possibilities. The results were paged, so I got my scrollbar down the window. I can use the keyboard to scroll through the list, as well as page up/down. However, if I use the mouse to move one row down/up (by clicking on the arrows) or clicking in the scroll bar itself (to move forward/backward a page) then as soon as I release the mouse, the dialog disappears. This seems repeatable in the same session (I can try in a new session if this isn't repeatable). I'm also running a remote client (Citrix metaframe) which may be causing problems, so I'll try it without running that a bit later to see if the problem still occurs. Interestingly, if I hold down the mouse, the pages scroll past; it's only when I release the mouse that the pop-up goes away. No element is selected in the process, so it's not choosing a value; it's just disappearing. Nothing in the log.
2006-04-28 12:34:59
1,146,240,000
verified fixed
c90593d
1,146,580,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Shell.java
SWT
2,383
108,769
Bug 108769 swt.FileDialog: additional clarification in javadoc and convenience method
I was recently working out an issue with some code using the SWT FileDialog class. The soon-to-be-attached patch adds some additional information to the javadoc which explains some details I gleaned from reading the source but wasn't quite clear from the existing javadocs. The patch also adds a new method for setting the filter names and extensions which I believe is more convenient to use. I created the patch against the GTK version of SWT. It will need to be adapted for the other versions. (note: by "adapt" I merely mean that the line numbers need to be adjusted, none of the code is platform-specific)
2005-09-04 21:27:54
1,125,880,000
resolved fixed
4a8b15a
1,146,520,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/FileDialog.java
SWT
2,384
101,354
Bug 101354 Class ImageDataLoader needs javadoc
null
2005-06-22 16:31:46
1,119,470,000
resolved fixed
f851a14
1,146,520,000
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/ImageDataLoader.java
SWT
2,385
63,226
Bug 63226 Undocumented error thrown in Image code
null
2004-05-20 11:17:35
1,085,070,000
resolved fixed
c961f7f
1,146,510,000
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/ImageData.java bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/ImageLoader.java bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/internal/image/FileFormat.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Decorations.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Image.java
SWT
2,386
139,262
Bug 139262 'set data' callback not sent after all items are cleared in virtual tree
I20060428-0010 On Mac, we're seeing a problem in the debug view where we clear all the items in the tree, but do not get a 'set data' callback. The tree, and items that are cleared are visible in the tree. If we then bring another application to the foreground, and then switch back to the debugger, the 'set data' callbacks are generated and the view updates. We have not been able to generate a simple tree test case that fails the same way.
2006-04-28 14:29:18
1,146,250,000
resolved fixed
c024a83
1,146,510,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Tree.java
SWT
2,387
133,006
Bug 133006 Improve API doc; GridLayout; columnCount <= 0
API should state what happens when columnCount <= 0
2006-03-23 10:18:36
1,143,130,000
resolved fixed
7c78bc0
1,146,230,000
bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/layout/GridLayout.java
SWT
2,388
137,403
Bug 137403 setImage on Label doesn't display image
when using latest code version (3230), setImage of Label doesn't render the image. // button to goto previous date leftLabel = new Label(dateNavComposite, SWT.NONE); Image leftArrowImage = new Image(display,getClass().getResourceAsStream("/images/left_arrow.gif")); leftLabel.setImage(leftArrowImage);
2006-04-18 19:38:05
1,145,400,000
resolved fixed
4f3ecaa
1,146,180,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Label.java
SWT
2,389
138,724
Bug 138724 Use of 1.4 APIs
build n0426 When compiling SWT against Foundation 1.0 class libraries, I get the following compile errors due to use of JDK 1.4 APIs: - the HTMLTransfer class is using StringBuffer#indexOf line 88 line 92 line 96 line 84 line 151 line 162
2006-04-26 15:04:55
1,146,080,000
resolved fixed
af11bf8
1,146,150,000
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/win32/org/eclipse/swt/dnd/HTMLTransfer.java
SWT
2,390
131,206
Bug 131206 Tree, calling setSize() makes widget visible
Run modified FileExplorer from EclipseCon 2006 slides. Collapse top and bottom items. Click on expand button of the bottom item to expand it. Notice that the top item expands.
2006-03-09 16:16:45
1,141,940,000
resolved fixed
189e39a
1,146,080,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
SWT
2,391
137,025
Bug 137025 Table/Tree - Text in table/treeItems is chopped making it unreadable
SWT GTK CVS In Table/Tree widgets the text is chopped off making it unreadable. The string s gets longer, but the textRenderer doesn't move to fit. public static String s = "X"; public static void main(String[] args) { final Display display = new Display(); final Shell shell = new Shell(display); shell.setLayout(new FillLayout()); final Table table = new Table(shell, SWT.VIRTUAL | SWT.FULL_SELECTION | SWT.MULTI); final int columns = 2; for (int i = 0; i < columns; i++) { TableColumn tc = new TableColumn(table, SWT.RIGHT); tc.setText("COL" + i); tc.setWidth(174); } table.setHeaderVisible(true); table.setLinesVisible(true); table.setItemCount(1); table.addListener(SWT.SetData, new Listener() { public void handleEvent(Event event) { TableItem item = (TableItem) event.item; System.err.println("SETTING " + event.index + ": " + s); for (int i = 0; i <= columns; i++) { item.setText(i, s); } } }); final int timerDelay = 800; final Runnable r = new Runnable() { public void run() { s += "X"; table.clearAll(); display.timerExec(timerDelay, this); } }; display.timerExec(timerDelay, r); shell.setSize(350, 200); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); }
2006-04-17 13:15:56
1,145,290,000
resolved fixed
2be37bc
1,146,080,000
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
2,392
138,499
Bug 138499 Label DropTarget is "too small" on Motif
N20060425-0010 Run Snippet78 on Linux-Motif. Use the middle mouse button to drag the TEXT from the left Label to right Label. Unless you drop the text in a very specific small area, the drop is ignored.
2006-04-25 16:43:56
1,146,000,000
resolved fixed
70b0d86
1,146,080,000
bundles/org.eclipse.swt/Eclipse SWT Drag and Drop/motif/org/eclipse/swt/dnd/DropTarget.java
SWT
2,393
138,630
Bug 138630 Icons being drawn on top of text in tabbed folder
20060426 Icons are being drawn on top of the text on tabs on XP. STEPS 1) Create a new Java Project 2) Hit Next until you get to the Java Settings Page. I will attach a screenshot
2006-04-26 10:10:19
1,146,060,000
resolved fixed
1bf0f29
1,146,070,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/TabItem.java
SWT
2,394
99,984
Bug 99984 Sync view toolbar buttons are bigger with SWT manifest
I started using the SWT manifest so I could take screenshots. The toolbar buttons in the sync view are quite a bit bigger than they were (and other view's button's are not). It could be related to the use of a view subtitle. Is this the intented behavior?
2005-06-14 11:37:24
1,118,760,000
resolved fixed
e8c8fc1
1,146,000,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ToolBar.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ToolItem.java
SWT
2,395
138,461
Bug 138461 [Workbench] Perspective popup menu doesn't show up on Mac
Build Id N20060425 The pop-up menu doesn't seem to appear on the Mac when you Ctr+Click on one of the perspective icons (i.e when in the Java Perspective, if you ctrk-click on the Java perspective icon, you should get a menu with options like: close, reset, customize, etc..)
2006-04-25 14:37:29
1,145,990,000
resolved fixed
cf6b68f
1,145,990,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Control.java
SWT
2,396
129,609
Bug 129609 [browser] unable to enter text in <textarea>
Its not possible to enter / modify / copy&paste text inside a textarea when using Browser widget under OS X (10.4.4). This is true for both 3.1.2 and 3.2M5
2006-02-27 12:25:38
1,141,060,000
verified fixed
70a4774
1,145,910,000
bundles/org.eclipse.swt/Eclipse SWT Browser/carbon/org/eclipse/swt/browser/Browser.java
SWT
2,397
138,062
Bug 138062 NPE in getData
N20060421-0010 on XP, I get this error from SWT (I think a similar bug was fixed on MacOS yesterday). org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException) at org.eclipse.swt.SWT.error(SWT.java:3374) at org.eclipse.swt.SWT.error(SWT.java:3297) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:126) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3323) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2969) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:400) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:177) 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.invokeFramework(Main.java:336) at org.eclipse.core.launcher.Main.basicRun(Main.java:280) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952) Caused by: java.lang.NullPointerException at org.eclipse.swt.widgets.Widget.getData(Widget.java:518) at org.eclipse.debug.internal.ui.viewers.AsynchronousTreeViewer.restoreLabels(AsynchronousTreeViewer.java:1134) at org.eclipse.debug.internal.ui.viewers.AsynchronousViewer.handleEvent(AsynchronousViewer.java:976) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:925) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:949) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:934) at org.eclipse.swt.widgets.Tree.checkData(Tree.java:1342) at org.eclipse.swt.widgets.Tree.checkData(Tree.java:1330) at org.eclipse.swt.widgets.TreeItem.getItems(TreeItem.java:756) at org.eclipse.debug.internal.ui.viewers.AsynchronousTreeViewer.getItems(AsynchronousTreeViewer.java:788) at org.eclipse.debug.internal.ui.viewers.AsynchronousTreeViewer.doAttemptSelectionToWidget(AsynchronousTreeViewer.java:970) at org.eclipse.debug.internal.ui.viewers.AsynchronousViewer.restoreSelection(AsynchronousViewer.java:726) at org.eclipse.debug.internal.ui.viewers.AsynchronousViewer.preservingSelection(AsynchronousViewer.java:701) at org.eclipse.debug.internal.ui.viewers.AsynchronousViewer.handleEvent(AsynchronousViewer.java:992) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:925) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:949) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:934) at org.eclipse.swt.widgets.Tree.checkData(Tree.java:1342) at org.eclipse.swt.widgets.Tree.checkData(Tree.java:1330) at org.eclipse.swt.widgets.Tree.wmNotifyChild(Tree.java:5979) at org.eclipse.swt.widgets.Control.WM_NOTIFY(Control.java:3794) at org.eclipse.swt.widgets.Composite.WM_NOTIFY(Composite.java:1166) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3298) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4023) at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:1841) at org.eclipse.swt.widgets.Tree.callWindowProc(Tree.java:1256) at org.eclipse.swt.widgets.Tree.WM_PAINT(Tree.java:5792) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3299) at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:4686) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4023) at org.eclipse.swt.internal.win32.OS.CallWindowProcW(Native Method) at org.eclipse.swt.internal.win32.OS.CallWindowProc(OS.java:1841) at org.eclipse.swt.widgets.Tree.callWindowProc(Tree.java:1256) at org.eclipse.swt.widgets.Control.windowProc(Control.java:3334) at org.eclipse.swt.widgets.Tree.windowProc(Tree.java:4686) at org.eclipse.swt.widgets.Display.windowProc(Display.java:4023) at org.eclipse.swt.internal.win32.OS.SendMessageW(Native Method) at org.eclipse.swt.internal.win32.OS.SendMessage(OS.java:2513) at org.eclipse.swt.widgets.Tree.destroyItem(Tree.java:2189) at org.eclipse.swt.widgets.TreeItem.destroyWidget(TreeItem.java:319) at org.eclipse.swt.widgets.Widget.release(Widget.java:750) at org.eclipse.swt.widgets.Widget.dispose(Widget.java:412) at org.eclipse.swt.widgets.Tree.setItemCount(Tree.java:3376) at org.eclipse.swt.widgets.TreeItem.setItemCount(TreeItem.java:1519) at org.eclipse.debug.internal.ui.viewers.AsynchronousTreeViewer.setItemCount(AsynchronousTreeViewer.java:764) at org.eclipse.debug.internal.ui.viewers.AsynchronousViewer.nodeChildrenChanged(AsynchronousViewer.java:918) at org.eclipse.debug.internal.ui.viewers.AsynchronousTreeModel$3.run(AsynchronousTreeModel.java:141) at org.eclipse.debug.internal.ui.viewers.AsynchronousViewer.preservingSelection(AsynchronousViewer.java:693) at org.eclipse.debug.internal.ui.viewers.AsynchronousModel.preservingSelection(AsynchronousModel.java:415) at org.eclipse.debug.internal.ui.viewers.AsynchronousTreeModel.remove(AsynchronousTreeModel.java:139) at org.eclipse.debug.internal.ui.viewers.RemoveRequestMonitor.performUpdate(RemoveRequestMonitor.java:39) at org.eclipse.debug.internal.ui.viewers.AsynchronousRequestMonitor$1.runInUIThread(AsynchronousRequestMonitor.java:58) at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:94) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123)
2006-04-21 17:24:22
1,145,650,000
resolved fixed
139638f
1,145,900,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
SWT
2,398
134,417
Bug 134417 Browser Cannot Be Disposed (Intel Carbon SWT)
The following Snippet works under 3.1 (with universal SWT), but not under 3.2M5 and 3.2M6. My computer is an Intel iMac. public static void main(String [] args) { String html = "<HTML><HEAD><TITLE>HTML Test</TITLE></HEAD><BODY>"; for (int i = 0; i < 20; i++) html += "<P>This is line "+i+"</P>"; html += "</BODY></HTML>"; Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); Browser browser = new Browser(shell, SWT.NONE); browser.setText(html); shell.open(); // Here: Browser can't be disposed, one does not see the label afterwards (on >=3.2M5) browser.dispose(); System.out.println("Browser is disposed: "+browser.isDisposed()); Label label = new Label(shell, SWT.NONE); label.setText("This is the label"); shell.layout(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); }
2006-04-02 13:21:24
1,144,000,000
resolved fixed
cce993f
1,145,890,000
bundles/org.eclipse.swt/Eclipse SWT Browser/carbon/org/eclipse/swt/browser/Browser.java
SWT
2,399
129,564
Bug 129564 StyledText should render tabs exactly 4 spaces wide
I20060223-1656 StyledText should render tabs exactly 4 spaces wide. In latest builds, indents of 4 spaces don't align with indents of 1 tab in some fonts (e.g. Lucida Console Regular 8). See screenshot. This works as expected in 3.1.2 as well as in notepad.
2006-02-27 08:41:29
1,141,050,000
verified fixed
8541553
1,145,640,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledTextRenderer.java
SWT
2,400
136,473
Bug 136473 image capture is purple on Mac
On Mac Intel run Snippet95. Click on Capture button. The result is very purple.
2006-04-12 16:57:04
1,144,880,000
resolved fixed
c57bbbc
1,145,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
SWT
2,401
60,273
Bug 60273 Toolbar background colour doesn't match background (XP/Silver)
In Eclipse 2.1, it was possible to distinguish the different groups of toolbars. In 3.0, all of the toolbars run together with not separations.
2004-04-28 12:13:01
1,083,170,000
verified fixed
c09d153
1,145,570,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ToolBar.java
SWT
2,402
137,524
Bug 137524 NPE in AsynchronousViewer
org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.NullPointerException) at org.eclipse.swt.SWT.error(SWT.java:3374) at org.eclipse.swt.SWT.error(SWT.java:3297) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:126) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3142) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2912) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:169) 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:585) at org.eclipse.core.launcher.Main.invokeFramework(Main.java:336) at org.eclipse.core.launcher.Main.basicRun(Main.java:280) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952) Caused by: java.lang.NullPointerException at org.eclipse.swt.widgets.Widget.getData(Widget.java:743) at org.eclipse.debug.internal.ui.viewers.AsynchronousViewer.handleEvent(AsynchronousViewer.java:1041) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1481) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1505) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1490) at org.eclipse.swt.widgets.Tree.checkData(Tree.java:340) at org.eclipse.swt.widgets.TreeItem.getImage(TreeItem.java:616) at org.eclipse.swt.widgets.TreeItem.calculateWidth(TreeItem.java:217) at org.eclipse.swt.widgets.Tree.calculateWidth(Tree.java:297) at org.eclipse.swt.widgets.Tree.calculateWidth(Tree.java:299) at org.eclipse.swt.widgets.Tree.setScrollWidth(Tree.java:2883) at org.eclipse.swt.widgets.Tree.itemNotificationProc(Tree.java:2193) at org.eclipse.swt.widgets.Display.itemNotificationProc(Display.java:2230) at org.eclipse.swt.internal.carbon.OS.RemoveDataBrowserItems(Native Method) at org.eclipse.swt.widgets.Tree.destroyItem(Tree.java:885) at org.eclipse.swt.widgets.TreeItem.destroyWidget(TreeItem.java:315) at org.eclipse.swt.widgets.Widget.release(Widget.java:1372) at org.eclipse.swt.widgets.Widget.dispose(Widget.java:639) at org.eclipse.debug.internal.ui.viewers.AsynchronousViewer.nodeDisposed(AsynchronousViewer.java:850) at org.eclipse.debug.internal.ui.viewers.AsynchronousTreeModel$3.run(AsynchronousTreeModel.java:145) at org.eclipse.debug.internal.ui.viewers.AsynchronousViewer.preservingSelection(AsynchronousViewer.java:734) at org.eclipse.debug.internal.ui.viewers.AsynchronousModel.preservingSelection(AsynchronousModel.java:415) at org.eclipse.debug.internal.ui.viewers.AsynchronousTreeModel.remove(AsynchronousTreeModel.java:143) at org.eclipse.debug.internal.ui.viewers.RemoveRequestMonitor.performUpdate(RemoveRequestMonitor.java:39) at org.eclipse.debug.internal.ui.viewers.AsynchronousRequestMonitor$1.runInUIThread(AsynchronousRequestMonitor.java:51) at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:94) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123) ... 20 more
2006-04-19 12:03:31
1,145,460,000
resolved fixed
ac91ced
1,145,560,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Tree.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/TreeItem.java
SWT
2,403
137,714
Bug 137714 WinCE: setClipping(x,y,w,h) throws NullPointerException
The version swt-3.2RC1-win32-wce_ppc-arm-j2se throws a NullPointerException when calling setClipping(x,y,w,h). Im using j9 on a T-Mobile MDA2. java.lang.NullPointerException at org.eclipse.swt.graphics.GC.setClipping(Unknown Source) at org.eclipse.swt.graphics.GC.setClipping(Unknown Source) at xyz.swt.simpletable.SimpleTable$4.paintControl(Unknown Source) The previous versions from 3.1 tree are throwing a Uns.LinkException (getWindowOrgEx). (I know, a bug for this is always existing and marked as fixed, which is not...)
2006-04-20 09:37:31
1,145,540,000
resolved fixed
4227db7
1,145,560,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java
SWT
2,404
127,716
Bug 127716 GC.drawPoint() calls aren't affected by a Transform
If you use a GC and set a Transform, then call drawPoint(), it won't be affected by the Transform. You can easily test this; you can use SWT Snippet 10 if you need a test case. The bug only happens on Windows.
2006-02-14 10:21:29
1,139,930,000
verified fixed
701d021
1,145,450,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/GC.java
SWT
2,405
127,216
Bug 127216 [Patch] Table check boxes should have shade when selected
null
2006-02-09 22:51:32
1,139,540,000
resolved fixed
272ce17
1,145,400,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
SWT
2,406
137,320
Bug 137320 [StyledText] caret does not move correctly when inserted text wraps
Run the following example and hit the Escape key. Notice that the caret is somewhere past the end of the first line but it should really be between "by" and "abcdefghij" on the second line. The inserted text has caused the line to wrap but the caret has not followed. If you arrow left or arrow right, the caret fixes itself. public static void main (String [] args) { Display display = new Display (); Shell shell = new Shell (display); shell.setLayout(new FillLayout()); final StyledText text = new StyledText(shell, SWT.BORDER | SWT.WRAP); text.setText("A drop target receives data in a Drag and Drop operation. The data received by\n"+ "the drop target may have come from the same widget, from a different widget within \n"+ "the same application, or from a different application altogether. For example, you \n"+ "can drag text from an email application and drop it on your application, or you could \n"+ "drag an item in a tree and drop it below a different node in the same tree."); text.addListener(SWT.KeyDown, new Listener() { public void handleEvent(Event e) { if (e.character == SWT.ESC) { text.setCaretOffset(78); text.insert("abcdefghij"); } } }); Point size = shell.computeSize(SWT.DEFAULT, SWT.DEFAULT); shell.setSize(size.x + 4, size.y + 100); shell.open (); while (!shell.isDisposed ()) { if (!display.readAndDispatch ()) display.sleep (); } display.dispose (); }
2006-04-18 14:30:36
1,145,390,000
resolved fixed
02a41a7
1,145,390,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
SWT
2,407
136,675
Bug 136675 No scrollbar events for Text
Run Snippet191. Selection events are supposed to be fired when you click on the thumb or in the trough or on the arrows of the scrollbar but no event is fired.
2006-04-13 12:17:23
1,144,950,000
verified fixed
73e7212
1,145,390,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/ScrollBar.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Scrollable.java
SWT
2,408
136,641
Bug 136641 Scrollbars not excluded from client area
Run Snippet9. Make the shell smaller. On Windows, the scrollbars become active as soon as you touch the edge of the composite and you are able to scroll to see the full oval. On Mac OS X (tried both Panther and Tiger) you can't see the very edge of the oval when scrolling and the scrollbars do not become active until part of the oval is missing. I think the scrollbars are not being subtracted from the client area of the shell.
2006-04-13 10:23:54
1,144,940,000
verified fixed
7b90249
1,145,390,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Shell.java
SWT
2,409
136,451
Bug 136451 ToolItem is not visible if bounds set before text
Run the following example. The toolbar does not appear. Change example to set the bounds after the text was set and toolitem is visible. public static void main (String [] args) { String string = "This is a string\nwith a new line."; Display display = new Display (); Shell shell = new Shell (display); ToolBar bar = new ToolBar (shell, SWT.BORDER); // setting bounds before text - toolitem is not displayed bar.setBounds (10, 220, 200, 100); ToolItem item1 = new ToolItem (bar, SWT.PUSH); item1.setText("tool item"); // setting bounds after text and toolitem appears //bar.setBounds (10, 220, 200, 100); item1.setToolTipText (string); shell.setToolTipText (string); shell.open (); while (!shell.isDisposed ()) { if (!display.readAndDispatch ()) display.sleep (); } display.dispose (); }
2006-04-12 16:13:32
1,144,870,000
verified fixed
1fc75d8
1,145,370,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/ToolItem.java
SWT
2,410
135,040
Bug 135040 CCombo.dropdown doesn't handle the screen's right edge
The 'popup' Shell of a CCombo is allways justified with the left side of the CCombo, regardless of the screen right edge. I believe adding if (x + width > displayRect.x + displayRect.width) x = displayRect.x + displayRect.width - listRect.width; at line 382 in CCombo.java would solve it.
2006-04-05 10:55:16
1,144,250,000
resolved fixed
6d421bc
1,145,370,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java
SWT
2,411
127,813
Bug 127813 CCombo.computeSize returning incorrect values when using wHint/hHint
The CCombo.computeSize behavior is inconsistent with other widgets in that the wHint and hHint do not override the internal widget computed size. public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); CCombo combo = new CCombo(shell, SWT.WRAP); combo.add("This is some text that is longer than the width hint"); System.out.println("ccombo computesize default: " + combo.computeSize(SWT.DEFAULT, SWT.DEFAULT)); System.out.println("ccombo computesize 40: " + combo.computeSize(40, SWT.DEFAULT)); shell.open(); while(!shell.isDisposed()) { if(!display.readAndDispatch()) display.sleep(); } display.dispose(); } For me: ccombo computesize default: Point {220, 14} ccombo computesize 40: Point {220, 14} While the width and height are only hints the way inwhich the CCombo implements it is inconsistent with other widgets such as the Combo, Text, Table, etc. In those cases, the hint is returned largely "as is".
2006-02-14 13:11:26
1,139,940,000
resolved fixed
0659e2e
1,145,370,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java
SWT
2,412
136,931
Bug 136931 Regression in right-mouse button behavior
In 3.2M6 and earlier, a right-mouse button click brought up the menu for the item under the cursor. In Eclipse 3.2RC1, it no longer does this - instead it brings up the menu for the previously selected item, or the menu for an unselected item in the current window if nothing was previously selected. If you first select an item, then right-click, the correct menu is brought up.
2006-04-16 08:02:23
1,145,190,000
resolved fixed
4a0a013
1,145,300,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Control.java
SWT
2,413
95,950
Bug 95950 [KeyBindings] interactions: ALT/COMMAND+ARROW keybindings should be swapped on Mac
Safari uses COMMAND+LEFT/RIGHT_ARROW for navigation history. Eclipse uses ALT. I don't think this is consistent with other Mac applications.
2005-05-19 10:43:20
1,116,510,000
verified fixed
22f4c86
1,144,950,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
SWT
2,414
136,673
Bug 136673 Snippet133 - NullPointerException
Version: 3.2.0 Build id: I20060412-0847- Run Snippet133 ps. Couldn't reproduce the bug in windows, only motif. - Add some text - Go to File -> Change Foreground, pick any color - Go to File -> Change Background, pick any color. The following exception appears: Exception in thread "main" java.lang.NullPointerException at org.eclipse.swt.widgets.Display.showToolTip(Display.java:3342) at org.eclipse.swt.widgets.Control.hoverProc(Control.java:1129) at org.eclipse.swt.widgets.Control.hoverProc(Control.java:1126) at org.eclipse.swt.widgets.Display.mouseHoverProc(Display.java:2583) at org.eclipse.swt.internal.motif.OS._XtAppProcessEvent(Native Method) at org.eclipse.swt.internal.motif.OS.XtAppProcessEvent(OS.java:3737) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2735) at org.eclipse.swt.widgets.ColorDialog.openModal(ColorDialog.java:421) at org.eclipse.swt.widgets.ColorDialog.open(ColorDialog.java:358) at org.eclipse.swt.snippets.Snippet133.menuBackgroundColor(Snippet133.java:189) at org.eclipse.swt.snippets.Snippet133$4.widgetSelected(Snippet133.java:98) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:775) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3059) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2748) at org.eclipse.swt.snippets.Snippet133.open(Snippet133.java:121) at org.eclipse.swt.snippets.Snippet133.main(Snippet133.java:49)
2006-04-13 12:12:21
1,144,940,000
resolved fixed
1a8cc13
1,144,950,000
examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet133.java
SWT
2,415
136,633
Bug 136633 Failed to execute runnable (java.lang.ArrayIndexOutOfBoundException) in debug mode
Build id: I20060412-0847 To reproduce run any snippet in debug mode (i ran snippet229). Expand some variable names, click on some random variables and then click on variable 'this' a couple times, the exception will show. Failed to execute runnable(java.lang.ArrayIndexOutOfBoundException: -1) org.eclipse.swt.SWTException: Failed to execute runnable (java.lang.ArrayIndexOutOfBoundsException: -1) at org.eclipse.swt.SWT.error(SWT.java:3374) at org.eclipse.swt.SWT.error(SWT.java:3297) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:126) at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:3037) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2751) at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:1914) at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:1878) at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:419) at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:143) at org.eclipse.ui.internal.ide.IDEApplication.run(IDEApplication.java:95) at org.eclipse.core.internal.runtime.PlatformActivator$1.run(PlatformActivator.java:78) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:92) at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:68) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:376) at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:169) 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.invokeFramework(Main.java:336) at org.eclipse.core.launcher.Main.basicRun(Main.java:280) at org.eclipse.core.launcher.Main.run(Main.java:977) at org.eclipse.core.launcher.Main.main(Main.java:952) Caused by: java.lang.ArrayIndexOutOfBoundsException: -1 at org.eclipse.swt.widgets.Tree.redrawItem(Tree.java:3024) at org.eclipse.swt.widgets.Tree.checkData(Tree.java:263) at org.eclipse.swt.widgets.TreeItem.getBounds(TreeItem.java:800) at org.eclipse.swt.widgets.TreeItem.getBounds(TreeItem.java:797) at org.eclipse.debug.internal.ui.viewers.AsynchronousTreeViewer.isVisible(AsynchronousTreeViewer.java:880) at org.eclipse.debug.internal.ui.viewers.AsynchronousTreeViewer.nodeContainerChanged(AsynchronousTreeViewer.java:757) at org.eclipse.debug.internal.ui.viewers.AsynchronousTreeModel.setIsContainer(AsynchronousTreeModel.java:268) at org.eclipse.debug.internal.ui.viewers.ContainerRequestMonitor.performUpdate(ContainerRequestMonitor.java:45) at org.eclipse.debug.internal.ui.viewers.AsynchronousRequestMonitor$1.runInUIThread(AsynchronousRequestMonitor.java:51) at org.eclipse.ui.progress.UIJob$1.run(UIJob.java:94) at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:35) at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:123) ... 20 more
2006-04-13 09:56:53
1,144,940,000
resolved fixed
46df07f
1,144,940,000
bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/Tree.java
SWT
2,416
123,922
Bug 123922 [Patch] SWT Javadoc: Some typos/minor errors
SWT 20060116 Some typos/minor errors in the public SWT Javadoc. Please see the attached patch. (This is not meant to be a complete list.)
2006-01-16 00:47:31
1,137,390,000
resolved fixed
096d25a
1,144,870,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/BusyIndicator.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CBanner.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CCombo.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabFolderEvent.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CTabItem.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/ControlEditor.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/PopupList.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/SashForm.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/ScrolledComposite.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StackLayout.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyleRange.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/StyledTextContent.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TableCursor.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/TableTree.java bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/ViewForm.java bundles/org.eclipse.swt/Eclipse SWT OLE Win32/win32/org/eclipse/swt/ole/win32/Variant.java bundles/org.eclipse.swt/Eclipse SWT Program/carbon/org/eclipse/swt/program/Program.java bundles/org.eclipse.swt/Eclipse SWT Program/gtk/org/eclipse/swt/program/Program.java bundles/org.eclipse.swt/Eclipse SWT Program/motif/org/eclipse/swt/program/Program.java bundles/org.eclipse.swt/Eclipse SWT Program/photon/org/eclipse/swt/program/Program.java bundles/org.eclipse.swt/Eclipse SWT Program/win32/org/eclipse/swt/program/Program.java bundles/org.eclipse.swt/Eclipse SWT/cairo/org/eclipse/swt/graphics/Path.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/Path.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Sash.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Text.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Tree.java bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/KeyEvent.java bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/events/TraverseEvent.java bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/GlyphMetrics.java bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/graphics/TextStyle.java bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/layout/FillLayout.java bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/layout/FormAttachment.java bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/layout/FormData.java bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/layout/FormLayout.java bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/layout/GridData.java bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/layout/GridLayout.java bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/layout/RowData.java bundles/org.eclipse.swt/Eclipse SWT/common/org/eclipse/swt/layout/RowLayout.java bundles/org.eclipse.swt/Eclipse SWT/emulated/graphics/org/eclipse/swt/graphics/Path.java bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/Tree.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Sash.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 bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Sash.java bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Text.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/Text.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Path.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Sash.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Text.java bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
SWT
2,417
136,272
Bug 136272 Combo on Mac incorrectly sends KeyDown event before Traverse when arrow up/down keys used
N20060410-0010, Mac (OSX 10.3.9, haven't tried others) My understanding of SWT.Traverse is as follows: - for navigation keys in a control, SWT.Traverse should always be received before the corresponding SWT.KeyDown event for that key - setting the doit field to true should cause the Traverse described in the detail field to occur - setting the doit field to false should cancel the Traverse and a corresponding SWT.KeyDown event will be sent for that key. This is NOT happening on the Mac when using the arrowup and arrowdown keys. Instead, a KeyDown event is received, then a Traverse event, and then (optionally) a second keydown event. This is breaking the platform UI field assist popup. It causes double handling of the keystroke. The following snippet will demonstrate the problem by printing the received keystrokes to the console. package snippets; /* * Shouldn't traverse always come before keydown? * On the Mac, hitting the up or down arrow causes a KeyDown before * a Traverse, and then another KeyDown. */ import org.eclipse.swt.*; import org.eclipse.swt.layout.*; import org.eclipse.swt.widgets.*; public class ComboKeystrokes { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new GridLayout()); Combo combo = new Combo(shell, SWT.DROP_DOWN | SWT.BORDER); combo.setLayoutData(new GridData(GridData.FILL_HORIZONTAL)); combo.setText("Here is some text"); Listener listener = new Listener() { public void handleEvent(Event e) { StringBuffer sb; if (e.type == SWT.Traverse) { sb = new StringBuffer("Traverse"); //$NON-NLS-1$ } else { sb = new StringBuffer("KeyDown"); //$NON-NLS-1$ } sb.append(" received by combo"); //$NON-NLS-1$ dump(sb.toString(), e); } private void dump(String who, Event e) { StringBuffer sb = new StringBuffer( "--- [ContentProposalAdapter]\n"); //$NON-NLS-1$ sb.append(who); sb.append(" - e: keyCode=" + e.keyCode + hex(e.keyCode)); //$NON-NLS-1$ sb.append("; character=" + e.character + hex(e.character)); //$NON-NLS-1$ sb.append("; stateMask=" + e.stateMask + hex(e.stateMask)); //$NON-NLS-1$ sb.append("; doit=" + e.doit); //$NON-NLS-1$ sb.append("; detail=" + e.detail + hex(e.detail)); //$NON-NLS-1$ sb.append("; widget=" + e.widget); //$NON-NLS-1$ System.out.println(sb); } private String hex(int i) { return "[0x" + Integer.toHexString(i) + ']'; //$NON-NLS-1$ } }; combo.addListener(SWT.KeyDown, listener); combo.addListener(SWT.Traverse, listener); shell.pack(); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } }
2006-04-12 01:07:27
1,144,820,000
verified fixed
4f8c243
1,144,860,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Combo.java
SWT
2,418
134,925
Bug 134925 Table/Tree Columns don't align SWT.RIGHT and SWT.CENTER text properly (regression) (GTK)
The text in an SWT.RIGHT column used to all be right justified. Now it isn't. Scroll to see all rows. public static void main(String[] args) { final Display display = new Display(); final Shell shell = new Shell(display); shell.setLayout(new FillLayout()); final Table table = new Table(shell, SWT.VIRTUAL | SWT.BORDER | SWT.MULTI | SWT.FULL_SELECTION); final int columns = 11; for (int i = 0; i < columns; i++) { TableColumn tc = new TableColumn(table, SWT.RIGHT); tc.setWidth(157); } table.setItemCount(8); table.addListener(SWT.SetData, new Listener() { public void handleEvent(Event e) { TableItem item = (TableItem) e.item; int c = e.index; if (c > 5) for (int i = 0; i < columns; i++) item.setText(i, "234,443,444,110,231,812"); else for (int i = 0; i < columns; i++) item.setText(i, "1"); } }); table.setHeaderVisible(true); table.setLinesVisible(true); table.setSortDirection(SWT.DOWN); table.setSortColumn(table.getColumn(0)); shell.setSize(350, 200); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); }
2006-04-04 21:15:02
1,144,200,000
resolved fixed
d54f89f
1,144,860,000
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
2,419
134,356
Bug 134356 Walkback turning on wrap in StyledText.
1) run the CustomControlExample 2) click on the StyledText tab 3) click in the StyledText widget such that the cursor is at the end 4) type enough text that it scrolls left 5) select some text and click on the "Foreground" button 6) select the SWT.WRAP button 7) walkback: Exception in thread "main" java.lang.IllegalArgumentException: Argument not valid at org.eclipse.swt.SWT.error(SWT.java:3358) at org.eclipse.swt.SWT.error(SWT.java:3297) at org.eclipse.swt.SWT.error(SWT.java:3268) at org.eclipse.swt.custom.StyledText.setStyleRanges(StyledText.java:7733) at org.eclipse.swt.custom.StyledText.setStyleRanges(StyledText.java:7829) at org.eclipse.swt.examples.controlexample.StyledTextTab.createExampleWidgets(StyledTextTab.java:108) at org.eclipse.swt.examples.controlexample.Tab.recreateExampleWidgets(Tab.java:1135) at org.eclipse.swt.examples.controlexample.Tab$1.widgetSelected(Tab.java:161) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1481) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1505) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1490) at org.eclipse.swt.widgets.Widget.notifyListeners(Widget.java:1267) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3273) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2909) at org.eclipse.swt.examples.controlexample.CustomControlExample.main(CustomControlExample.java:54)
2006-03-31 22:21:54
1,143,860,000
verified fixed
c0cf438
1,144,780,000
examples/org.eclipse.swt.examples/src/org/eclipse/swt/examples/controlexample/StyledTextTab.java
SWT
2,420
134,837
Bug 134837 Tree- Random foreground color appears for Tree when selecting items and subitems
Version: 3.2.0 Build id: I20060125-0800 -> Run Snippet226 -> Expand some of the tree items so the subitems are visible -> Note that all the items and subitmes have foreground color grey but as soon as you select one item or a subitem then some of the rows (happens to random rows, not one in particular) become black. -> Click on various subitems to see the behaviour I am attaching a screenshot of the bug.
2006-04-04 14:41:54
1,144,180,000
verified fixed
0d27e5e
1,144,780,000
bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/TableItem.java bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/Tree.java bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/TreeItem.java
SWT
2,421
76,740
Bug 76740 [painting] Ctrl+End brings StyledText into strange state
In Text Editor or Java Editor typing CTRL+PAGEUP and CTRL+PAGEDOWN creates left margin if last line is longer than visible editor width and text is longer (vertically) than visible editor area. Workaround: Positioning on last character in last line and typing any key but ARROW UP removes this extra margin. It is reproducable always.
2004-10-21 08:48:29
1,098,360,000
verified fixed
c1944fe
1,144,770,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/StyledText.java
SWT
2,422
136,064
Bug 136064 Snippet 225 (balloon tool tip) should say @since 3.2
SWT v3229 As snippet 225 (see URL) uses 3.2 functionality, it should say "@since 3.2", not "@since 3.0". While you're at it, the sample sentence "Here is message for the user." should say "a message" or "the message".
2006-04-11 03:54:40
1,144,740,000
verified fixed
3747eb1
1,144,760,000
examples/org.eclipse.swt.snippets/src/org/eclipse/swt/snippets/Snippet225.java
SWT
2,423
127,902
Bug 127902 Focus gets stuck in Expandbar
Run Snippet223 When example first comes up, focus is in the item header and you can not tab out of it. Place focus in the Spinner. Tab around. Focus goes to the header and gets stuck there. If you do the same thing on Wiindows, tabbing takes you both to the item headers and to the widgets inside.
2006-02-14 16:11:40
1,139,950,000
verified fixed
d42ee8f
1,144,700,000
bundles/org.eclipse.swt/Eclipse SWT/emulated/expand/org/eclipse/swt/widgets/ExpandBar.java
SWT
2,424
135,649
Bug 135649 Mouse wheel scrolls invisible scrollbars
In previous SWT versions, if you made a scrollbar invisible, it did not respond to the mouse wheel. With 3.2 M5, an invisible scrollbar will scroll with the mouse wheel.
2006-04-07 16:20:45
1,144,440,000
resolved wontfix
90b00eb
1,144,700,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Scrollable.java
SWT
2,425
134,175
Bug 134175 Not consistenly getting control resize event from table column
In this testcase, there are three buttons: Hide Column 1 Show Column 1 Resize Column 1 Hide Column 1 action sets the width of column 1 to zero. Show Column 1 action sets the width of column 1 to 100. It also adds a control listener to catch the columns's resize event. To see the problem: 1. Press Hide Column 1 action. 2. Press Show Column 1 action. Expected Result: When the Show Column 1 button is pressed, it's expected that my control listener will get a resize event and will print out "Column Resized" in the console. Actual Result: My listener never gets a resize event when "Show Column 1" action is run. However, if I press the "Resize Column 1" action which further resizes the column, my listener will be notified. If I run this testcase on Windows, my control listener is notified consistenly when "Show Column 1" is pressed. public class TestResize { private static TableColumn column1; private static TableColumn column2; private static TableColumn column3; /** * @param args */ public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new GridLayout()); final Table table = new Table(shell, SWT.BORDER | SWT.MULTI | SWT.VIRTUAL); final TableCursor cursor = new TableCursor(table, SWT.NONE); table.setLayoutData(new GridData(GridData.FILL_BOTH)); column1 = new TableColumn(table, SWT.NONE); column1.setText("A"); column2 = new TableColumn(table, SWT.NONE); column1.setText("B"); column3 = new TableColumn(table, SWT.NONE); column1.setText("C"); for (int i = 0; i < 500; i++) { TableItem item = new TableItem(table, SWT.NONE); item.setText(new String[] { "cell "+i+" 0", "cell "+i+" 1", "cell "+i+" 2"}); } column1.setWidth(100); column2.setWidth(100); column3.setWidth(100); Button action2 = new Button(shell, SWT.PUSH); action2.setText("Hide Column 1"); action2.addSelectionListener(new SelectionListener() { public void widgetSelected(SelectionEvent e) { column1.setWidth(0); } public void widgetDefaultSelected(SelectionEvent e) { }}); Button action = new Button(shell, SWT.PUSH); action.setText("Show Column 1"); action.addSelectionListener(new SelectionListener() { public void widgetSelected(SelectionEvent e) { column1.addControlListener(new ControlListener() { public void controlMoved(ControlEvent e) { } public void controlResized(ControlEvent e) { column1.removeControlListener(this); System.out.println("Control Resized"); }}); // expect to see "Control Resized" printed when this is called column1.setWidth(100); } public void widgetDefaultSelected(SelectionEvent e) { }}); Button action3 = new Button(shell, SWT.PUSH); action3.setText("Resize Column 1"); action3.addSelectionListener(new SelectionListener() { public void widgetSelected(SelectionEvent e) { // expect to see Control Resized printed when this is called column1.setWidth(200); } public void widgetDefaultSelected(SelectionEvent e) { }}); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } }
2006-03-30 17:07:16
1,143,760,000
verified fixed
b0a6255
1,144,690,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TableColumn.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/TreeColumn.java
SWT
2,426
128,273
Bug 128273 TableCursor not working properly on Linux GTK
The table cursor is not moving correctly when I navigate with the arrow keys. The behavior I get between a virtual table and a non-virtual table is different. But both cases do not quite work as I expect. Non-Virtual Table =================== I use the Up and Down arrow keys to move the cursor. When the cursor is at the end of the page and if I keep pushing the down button, the table will start to scroll. I see that the top row is changing, but the cursor remains at the same cell. If I push the "Up" button, the cursor goes back to where it is supposed to be and jumps to a cell below. I expect the cursor to behave like it is on windows. If I am at the bottom and I keep moving down, the table should scroll. The cursor should move one cell down. Virtual Table ================== For virtual table, if I keep pressing the down key at the end of the page, the cursor first disappears. If I keep pressing the down key, the table is reloaded with the next page of data and the cursor is moved to the top of the screen. Testcase: ============ public class TestTableBug { private static TableColumn column1; private static TableColumn column2; private static TableColumn column3; public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new GridLayout()); final Table table = new Table(shell, SWT.BORDER | SWT.MULTI | SWT.VIRTUAL| SWT.V_SCROLL); final TableCursor cursor = new TableCursor(table, SWT.NONE); table.setLayoutData(new GridData(GridData.FILL_BOTH)); column1 = new TableColumn(table, SWT.NONE); column1.setText("A"); column2 = new TableColumn(table, SWT.NONE); column1.setText("B"); column3 = new TableColumn(table, SWT.NONE); column1.setText("C"); for (int i = 0; i < 500; i++) { TableItem item = new TableItem(table, SWT.NONE); item.setText(new String[] { "cell "+i+" 0", "cell "+i+" 1", "cell "+i+" 2"}); } // These have no effects on Linux GTK? column1.pack(); column2.pack(); column3.pack(); Button action = new Button(shell, SWT.PUSH); action.setText("Pack Columns"); action.addSelectionListener(new SelectionListener() { public void widgetSelected(SelectionEvent e) { // These have no effects on Linux GTK? column1.pack(); column2.pack(); column3.pack(); } public void widgetDefaultSelected(SelectionEvent e) { }}); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } }
2006-02-16 14:40:06
1,140,120,000
verified fixed
c3b5c60
1,144,440,000
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java
SWT
2,427
130,853
Bug 130853 Implement ExpandBar on GTK 2.2.x
Description:On SuSE Linux Enterprise Sever 9 sp 3, snippet223 fail to run due to SWTError. Build date: Eclipse3.2 M5a, IBM JRE 5GA and Sun JRE1.5.0_06 OS: SLES9 sp3 ja_JP.utf8 and en_US.utf8 Steps to recreate problem: 1- load snippet223 and run following error is displayed at Console view Exception in thread "main" org.eclipse.swt.SWTError: No more handles at org.eclipse.swt.SWT.error(SWT.java:3375) at org.eclipse.swt.SWT.error(SWT.java:3272) at org.eclipse.swt.SWT.error(SWT.java:3243) at org.eclipse.swt.widgets.Widget.error(Widget.java:431) at org.eclipse.swt.widgets.ExpandBar.createHandle(ExpandBar.java:45) at org.eclipse.swt.widgets.Widget.createWidget(Widget.java:378) at org.eclipse.swt.widgets.Control.createWidget(Control.java:364) at org.eclipse.swt.widgets.Scrollable.createWidget(Scrollable.java:148) at org.eclipse.swt.widgets.Control.<init>(Control.java:88) at org.eclipse.swt.snippets.Snippet223.main(Snippet223.java:33)
2006-03-07 23:01:18
1,141,790,000
closed fixed
25e834c
1,144,440,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ExpandBar.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/ExpandItem.java
SWT
2,428
125,812
Bug 125812 new Image(device, image, SWT.IMAGE_COPY) does not work as expected on windows.
I'm using Eclipse-3.1M4/JDK1.5 Creating an image using new Image(device, image, SWT.IMAGE_COPY) does not work as expected. I have the following code to highlight a part of the image. When the imageData is set into the imageCanvas the image appears to be mirrored diagonally (i.e. mirrored vertically then horizontally) The behaviour of the snippet is different on Windows 2000 and Windows XP. On windows XP the image is mirrored diagonally, and the highlighted box appears on the image, at the correct position. On windows 2000 the image is mirrored diagonally, but the image is NOT highlighted. Setting the alpha to 255(or not setting alpha at all) will draw an opaque highlighted box. The snippet works OK on Linux (Ubuntu Linux ver 5.10) --- begin code --- protected void highlightImage(ImageMapDescriptor descriptor) { Image image = Activator.getImage("resources/images/page1.png"); Image imageCopy = new Image(image.getDevice(), image, SWT.IMAGE_COPY); // draw a highlighted rectangle GC gc = new GC(imageCopy); gc.setAlpha(64); gc.setBackground(new Color(gc.getDevice(), 255, 255, 0)); gc.fillRectangle(descriptor.getBounds()); // get the image data. ImageData imageData = imageCopy.getImageData(); // dispose imageCopy.dispose(); gc.dispose(); this.imageCanvas.setImageData(imageData); } --- end code ---
2006-01-31 06:45:37
1,138,710,000
resolved fixed
564af48
1,144,440,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Image.java
SWT
2,429
82,769
Bug 82769 [Contributions] Disabled menu items have enabled images when armed
null
2005-01-13 13:21:08
1,105,640,000
verified fixed
40f1c5f
1,144,430,000
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/ToolItem.java
SWT
2,430
132,695
Bug 132695 Disabled image loses transparency
SWT-win32, v3229 In the test case below, a new image is created based on an existing image using the SWT.IMAGE_DISABLE operation. Since the base image had transparency, the expectation is that the greyed-out image will be (partially) transparent too. Currently, however, that does not seem to be the case. Note: The native/GDI+ image loading code gets this right. --- import org.eclipse.swt.*; import org.eclipse.swt.graphics.*; import org.eclipse.swt.widgets.*; import java.io.*; public class GreyedImageTest2 { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setBackground(display.getSystemColor(SWT.COLOR_GREEN)); Image img = null; try { InputStream in = new FileInputStream("<path>\\red_swt_icon.png"); img = new Image(display, in); in.close(); } catch (Exception ex) { } final Image icon = img; final Image disabledIcon = new Image(display, icon, SWT.IMAGE_DISABLE); shell.addListener(SWT.Paint, new Listener() { public void handleEvent(Event e) { e.gc.drawImage(icon, 16, 16); e.gc.drawImage(disabledIcon, 56, 16); } }); shell.setSize(200, 100); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } icon .dispose(); disabledIcon.dispose(); display .dispose(); } }
2006-03-21 10:59:54
1,142,960,000
resolved fixed
842af38
1,144,430,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/Image.java
SWT
2,431
106,381
Bug 106381 Can't size columns smaller then title
When I have a column with a long title but narrow data, I cannot make the column smaller than the title. You can see this in Eclipse: Open the Problems view and try to make any column narrower than the title. I would suggest that Eclipse allows to make a column smaller than the title and add a tooltip when the title doesn't fit in the available space.
2005-08-08 13:38:42
1,123,520,000
resolved fixed
e3ab8de
1,144,430,000
bundles/org.eclipse.swt/Eclipse SWT PI/gtk/org/eclipse/swt/internal/gtk/OS.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java
SWT
2,432
45,918
Bug 45918 eclipse should enable XP visual styles if available (from comctl32.dll)
in order to appear a completely native windows XP application, Eclipse should indicate that it desires version 6.0 of comctl32.dll if it is available. this is apparently done with an "application manifest" file, i'm not sure how well this maps, if at all, to the way the SWT dll works. the main noticeable difference if this is implemented would be the style of the standard push-buttons. (currently they still look very much like windows 2000 controls on XP).
2003-11-02 06:38:51
1,067,770,000
verified fixed
0a0326b
1,144,350,000
bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/ACTCTX.java bundles/org.eclipse.swt/Eclipse SWT PI/win32/org/eclipse/swt/internal/win32/OS.java
SWT
2,433
135,303
Bug 135303 CBanner draws unwanted gradient line at bottom when it has more height than the default
3.2 M6 - in the browser example, I added a custom trim item that appears at top right by default - this causes the CBanner to be given more height than its computeSize requests - when this happens, the CBanner draws a 1-pixel-high gradient line at the bottom - if the trim item is dragged to the bottom (or when there's no trim item), the gradient line is not seen In this scenario, the CBanner has a left control (a Composite containing the Coolbar), but no right or bottom control.
2006-04-06 11:51:42
1,144,340,000
resolved fixed
946b729
1,144,350,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/CBanner.java
SWT
2,434
81,264
Bug 81264 Table fails to setTopIndex after new items are added to the table
I am working on a table viewer that keeps track of the scroll bar and loads content into the table dynamically as the user scrolls to the end of the table. Items could be added/removed from the table as the user scrolls. To maintain the position of the table, I call setTopIndex at the end of the update. I have created a small testcase to simulate the process. Here's my testcase to demonstrate the problem: public static void main(String[] args) { final Display display = new Display(); Shell shell = new Shell(display); shell.setBounds(10,10,200,200); final Table table = new Table(shell, SWT.NONE); table.setBounds(10,10,100,100); for (int i = 0; i < 99; i++) { new TableItem(table, SWT.NONE).setText("item " + i); } table.setTopIndex(20); shell.open(); System.out.println("top visible index: " + table.getTopIndex()); for (int i = 0; i < 5; i++) { new TableItem(table, SWT.NONE).setText("item " + i); } table.setTopIndex(40); System.out.println("top visible index: " + table.getTopIndex()); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); } Table.setTopIndex fails to position to the correct table item if new items are added to the table after the shell is opened. The first call to setTopIndex succeeds. The table is correctly positioned at item 20. After adding new table items to the table, calling setTopTable(40) has no effect. Calling getTopIndex continues to return 20. Expected Result: Calling setTopIndex(40) should move table item #40 to the top of the table. Calling getTopIndex after should return 40. If the last 5 items are added before the shell is opened, setTopIndex to 40 will also succeed. The testcase works as expected on Windows.
2004-12-15 13:17:42
1,103,130,000
verified fixed
750fbf7
1,144,330,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
2,435
110,794
Bug 110794 [64] Crash when pressing ENTER after having entered value in "Search" form
SUSE Linux Professional 9.3 1 GB RAM I am starting eclipse with a minimal bash script: #!/bin/sh EXE=$HOME/local/eclipse/eclipse JAVA=/home/kjk/local/jdk-1_5_0_05-linux-amd64/bin/java $EXE -vm $JAVA -showLocation $* I am not using an external help browser. Recipe: - Select "Help Contents" from the "Help" menu - Write any word in the "Search" field - Press ENTER In 100% of the cases, Eclipse crashes with this message: # An unexpected error has been detected by HotSpot Virtual Machine: # # SIGSEGV (0xb) at pc=0x00002aaaaae4ac75, pid=17632, tid=46912501717760 # # Java VM: Java HotSpot(TM) 64-Bit Server VM (1.5.0_05-b05 mixed mode) # Problematic frame: # C [libc.so.6+0x6fc75] memmove+0x85 (I will soon try to attach the .log file) The reason for my not choosing severity "critical" is that the workaround is simple: Click the "GO" button instead of pressing ENTER.
2005-09-27 09:21:22
1,127,830,000
resolved fixed
7cb97e4
1,144,330,000
bundles/org.eclipse.swt/Eclipse SWT Browser/mozilla/org/eclipse/swt/browser/PromptService.java
SWT
2,436
134,482
Bug 134482 [64] SWT Snippet24 (default selection) does not work on amd64
I am using an AMD 64bit machine and Eclipse 3.2M6 on linux_gtk. I run the SWT snippet 24 and pressing CR in either the text field or combo does nothing. My actual code used the same technique in order to listen for default selection events on text fields and it worked on 3.2M5 on a 32bit linux_gtk system. The same code did fail on 3.2M4 and 3.2M6 on a 64bit linux_gtk system (the default selection part).
2006-04-03 06:13:10
1,144,060,000
verified fixed
8523dd7
1,144,270,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Text.java
SWT
2,437
134,882
Bug 134882 Resizing a TableColumn triggers SelectionEvent
SWT: 3.2 M6 MacOSX: 10.4.6 When resizing a TableColumn, a SelectionEven is fired. I can not see this behaviour in the Finder for instance. ben
2006-04-04 17:18:54
1,144,190,000
resolved fixed
3410ffe
1,144,270,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Table.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Tree.java
SWT
2,438
113,559
Bug 113559 [build] Dependency on libstdc++.so.5
The swt-mozilla library depends on the libstdc++ library. Currently, we are compiling against libstdc++.so.5 however, RHEL4 defaults to libstdc++.so.6. We need a strategy for supporting both libstdc++.so.5 and libstdc++.so.6. It would appear that removing the dependency on this library altogether is not possible.
2005-10-24 12:06:42
1,130,170,000
verified fixed
5adf547
1,144,260,000
bundles/org.eclipse.swt/Eclipse SWT Browser/motif/org/eclipse/swt/browser/Browser.java bundles/org.eclipse.swt/Eclipse SWT Mozilla/gtk/org/eclipse/swt/browser/Browser.java
SWT
2,439
134,874
Bug 134874 Contextual Menu opens from parent Widgets as well
SWT: 3.2 M6 MacOSX: 10.4.6 Having this snippet, open the contextual menu on the table. Then click again on the table and see the Shell's popup menu appear: public class Main { public static void main(String[] args) { Display display = new Display(); Shell shell = new Shell(display); shell.setLayout(new FillLayout()); Menu m1 = new Menu(shell, SWT.POP_UP); MenuItem item1 = new MenuItem(m1, SWT.NONE); item1.setText("Item1"); shell.setMenu(m1); Table t = new Table(shell, SWT.BORDER); new TableItem(t, SWT.None).setText("Hello World"); Menu m2 = new Menu(shell, SWT.POP_UP); MenuItem item2 = new MenuItem(m2, SWT.NONE); item2.setText("Item2"); t.setMenu(m2); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) { display.sleep(); } } } } Ben
2006-04-04 16:53:26
1,144,180,000
resolved fixed
9aec3da
1,144,190,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Control.java
SWT
2,440
127,848
Bug 127848 CustomControlExample CLabel background image differences
null
2006-02-14 14:30:43
1,139,950,000
resolved fixed
d954405
1,144,180,000
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Composite.java
SWT
2,441
134,313
Bug 134313 Custom selection does not redraw when resizing window
This bug can be seen by running Snippet229 and resizing the window using the right side of the shell. Resize in and out and the gradient for the custom selection will disappear in some places. - It works WITHOUT the manifest but does not work WITH manifest. - Tested in motif, Mac and gtk and they seem to not have that problem.
2006-03-31 15:35:46
1,143,840,000
resolved fixed
5c289e9
1,144,090,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Table.java
SWT
2,442
134,382
Bug 134382 TableColumn: StringIndexOutOfBoundsException
SWT Motif CVS Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String index out of range: 11 at java.lang.String.substring(String.java:1441) at org.eclipse.swt.widgets.TableColumn.computeDisplayText(TableColumn.java:207) at org.eclipse.swt.widgets.TableColumn.setSortDirection(TableColumn.java:651) at org.eclipse.swt.widgets.Table.setSortColumn(Table.java:3491) -- OR -- Exception in thread "main" java.lang.StringIndexOutOfBoundsException: String ind ex out of range: 11 at java.lang.String.substring(String.java:1441) at org.eclipse.swt.widgets.TableColumn.computeDisplayText(TableColumn.ja va:207) at org.eclipse.swt.widgets.TableColumn.updateWidth(TableColumn.java:703) at org.eclipse.swt.widgets.Table.updateColumnWidth(Table.java:3792) at org.eclipse.swt.widgets.TableColumn.setWidth(TableColumn.java:693) ---- public static void main(String[] args) { final Display display = new Display(); final Shell shell = new Shell(display); shell.setLayout(new FillLayout()); final Table table = new Table(shell, SWT.VIRTUAL | SWT.FULL_SELECTION | SWT.MULTI); final int columns = 11; for (int i = 0; i < columns; i++) { TableColumn tc = new TableColumn(table, SWT.LEFT); tc.setText("Directory"); tc.setWidth(137); } table.setHeaderVisible(true); table.setLinesVisible(true); table.setSortDirection(SWT.DOWN); table.setSortColumn(table.getColumn(0)); shell.setSize(350, 200); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); }
2006-04-01 16:30:54
1,143,930,000
resolved fixed
d938b9e
1,144,080,000
bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/TableColumn.java bundles/org.eclipse.swt/Eclipse SWT/emulated/treetable/org/eclipse/swt/widgets/TreeColumn.java
SWT
2,443
134,269
Bug 134269 Adding column to var view causes VM to GP
null
2006-03-31 10:38:52
1,143,820,000
resolved fixed
742626d
1,143,830,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java
SWT
2,444
134,181
Bug 134181 Font.init does not initialise the device of a font
I20060330 On MacOS Font.init does not initialise the device of a font. As a consequence Font.getDevice() always returns null.
2006-03-30 17:48:38
1,143,760,000
resolved fixed
81bd540
1,143,820,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/Font.java
SWT
2,445
133,126
Bug 133126 BIDI3.2: Arabic characters shaping is not handled correctly in Java Scrapbook page editor
Build date: m5a OS: Win XP, 2000 and 2003 Steps to recreate problem: 1. Create a new Scrap page (Go to file -> New -> other then select Java -> Java run/debug -> Scrapbook page and follow the wizad to create the page and add it to a Java project). 2. Double click on the file to open it. 3. Write any Arabic word (For example use the keys "fdk") then press space and write another one (For example use the keys "udk"). Expected output: Arabic chracters are properly shaped. Actual output: Arabic characters are not correctly shaped, the last character in the first word in the example is represented in "Middle" shape while it is expected to be "Final" and the first character in the second word in the example is represented in "Middle" shape while it is expected to be "Initial". It seems the space is not being treated as a word separator, thus, the surronuding charcaters are being shaped as if it is an Arabic character. See the attached screen capture
2006-03-24 05:56:05
1,143,200,000
closed fixed
3094c5a
1,143,760,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/graphics/TextLayout.java
SWT
2,446
132,989
Bug 132989 ExpandBar does not support WM_PRINT
It is hard to support ExpandBar in GUI builder without this feature. :-)
2006-03-23 08:07:27
1,143,120,000
resolved fixed
9d60ac8
1,143,670,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/ExpandBar.java
SWT
2,447
132,979
Bug 132979 Text sometime not fire verify event
if you keep you moust left button down out side the text(but the text have focus) and then press any key the Text not fire verify event.
2006-03-23 05:59:40
1,143,110,000
resolved fixed
b281ae7
1,143,660,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Text.java
SWT
2,448
133,680
Bug 133680 Tree PaintItem event has wrong x
- run the snippet below, which draws a focus box with the event's bounds for each item - note that beyond the root level of depth the focus box does not move to the right with the item that it's giving the PaintItem coordinates for, so client code that uses the event's x to determine where to draw its custom contents will paint at the wrong place public static void main(String[] args) { final Display display = new Display(); Shell shell = new Shell(display); shell.setBounds(10,10,200,200); final Tree tree = new Tree(shell, SWT.MULTI | SWT.FULL_SELECTION); tree.setBounds(10,10,150,150); TreeItem item = new TreeItem(tree, SWT.NONE); item.setText("root"); for (int i = 0; i < 4; i++) { item = new TreeItem(item, SWT.NONE); item.setText("child " + i); } tree.addListener(SWT.PaintItem, new Listener() { public void handleEvent(Event event) { event.gc.drawFocus(event.x, event.y, event.width, event.height); System.out.println("x=" + event.x); } }); shell.open(); while (!shell.isDisposed()) { if (!display.readAndDispatch()) display.sleep(); } display.dispose(); }
2006-03-28 14:50:09
1,143,580,000
resolved fixed
53f86c8
1,143,660,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/widgets/Tree.java
SWT
2,449
133,756
Bug 133756 Regression in SWT.Label
If a label lives in a composite that has a background image, and the label has the same background image, then the label has always been painted with "transparent" backgroun, so that the parent's background shines through. This is not the case in I20060322_1335 (which our project uses as target). Instead, the label maps the background's (0,0) to its own (0,0). This is bad. Furthermore, if you change the label text the old text is not cleaned first and you get a complete mess. Please find attached a zipped MFP (minimal faulty program) and screen dumps using the M5A and I20060322_1335 builds as targets.
2006-03-28 19:12:47
1,143,590,000
resolved fixed
8dbb340
1,143,660,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Label.java
SWT
2,450
105,245
Bug 105245 Tree horizontal scroll increment too small.
SWT 3.1 win32 swt-N20050721 Horizontal scrolling (click the horizontal scrollbar arrow, or the bar itself) is a much smaller increment on Trees than it is on Tables. This is different from the old TableTree implementation which had the same increment as a Table. public static void main(String[] a) { Display display = new Display (); Shell shell = new Shell (display); shell.setLayout(new FillLayout()); Table table = new Table(shell, SWT.H_SCROLL); table.setHeaderVisible(true); table.setLinesVisible(true); for (int i = 0; i < 10; i++) { new TableColumn(table, SWT.NONE).setWidth(100); } Tree tree = new Tree(shell, SWT.H_SCROLL); tree.setHeaderVisible(true); tree.setLinesVisible(true); for (int i = 0; i < 10; i++) { new TreeColumn(tree, SWT.NONE).setWidth(100); } shell.setBounds(50, 50, 600, 200); shell.open (); while (!shell.isDisposed ()) { if (!display.readAndDispatch ()) display.sleep (); } display.dispose (); }
2005-07-26 19:35:40
1,122,420,000
resolved fixed
24ebeb9
1,143,650,000
bundles/org.eclipse.swt/Eclipse SWT/win32/org/eclipse/swt/widgets/Tree.java
SWT
2,451
128,451
Bug 128451 likely error in ControlEditor
3.2M5 The eclipse compiler with additional warnings turned on pointed out that the "editor == null" check in ControlEditor line 247 is not needed because it can never fail. However it looks like this was possibly meant to be "this.editor == null", since it is preceded by resize() which can fire a Resize callback and thereby gives the client the opportunity to set a new editor or null editor.
2006-02-17 13:44:16
1,140,200,000
resolved fixed
b429e9b
1,143,640,000
bundles/org.eclipse.swt/Eclipse SWT Custom Widgets/common/org/eclipse/swt/custom/ControlEditor.java
SWT
2,452
132,912
Bug 132912 transparent images with advanced (cairo) graphics fail sometimes
Loading a png image with transparency using: new Image(display, (new File("myImageName.png)).toUrl().openStream()); and drawing it on a GC that is using cairo: setAdvanced(true), displays the transparent pixel color with an alpha of what looks like 50%. If the same image is loaded using a String like: new Image(display, "myImageName.png") it is displayed correctly. I will attach the actual image I'm using to test. I'm using swt.gtk.linux.x86_3.2.0.v3224 And I'll attach a screen shot when the follow is run: Image imageURL = new Image(display, (new File("myImageName.png)).toUrl().openStream()); Image imageString = new Image(display, "myImageName.png"); gc.setAdvanced(true); gc.setBackground(new org.eclipse.swt.graphics.Color(display, 0,255,0)); gc.fillRectangle(0,0,100,100); gc.drawImage (imageURL, origin.x, origin.y); gc.drawImage (imageString, origin.x + 30, origin.y);
2006-03-22 18:40:46
1,143,070,000
resolved fixed
9509222
1,143,580,000
bundles/org.eclipse.swt/Eclipse SWT/gtk/org/eclipse/swt/graphics/Image.java
SWT
2,453
124,415
Bug 124415 Browser causes blank white box on OSX
In an SWT app that embeds a Browser widget within a CTabFolder in a ViewForm which is at the bottom of a StackLayout (other composites sit atop it, with tables and such), the Browser causes a large blank white box on top of the app. When the browser is disabled, the white box does not appear on top of the app. Since I don't have a mac I can't produce the problem, but every mac user reports this problem with the SWT app (which doesn't have this problem on gtk or win32), so I'm hoping this can be easily replicated somehow on osx (with a Browser created in a StackLayout with other things on top of it I presume). SWT 3.2M4 is in use.
2006-01-18 18:11:50
1,137,630,000
resolved fixed
c2374aa
1,143,150,000
bundles/org.eclipse.swt/Eclipse SWT Browser/carbon/org/eclipse/swt/browser/Browser.java
SWT
2,454
127,821
Bug 127821 ControlExample crash when setting background image on SEPARATOR Label
Feb. 14th 8:00am build - run the Control Example, go to the Label tab - check the Background Image checkbox - check the SWT.SEPARATOR checkbox -> this crashes the control example with the following: An unexpected exception has been detected in native code outside the VM. Unexpected Signal : 11 occurred at PC=0x4A3AA7 Function=XtWidgetToApplicationContext+0x16 Library=/usr/X11R6/lib/libXt.so.6 Current Java thread: at org.eclipse.swt.internal.motif.OS._XtTranslateCoords(Native Method) at org.eclipse.swt.internal.motif.OS.XtTranslateCoords(OS.java:4205) at org.eclipse.swt.widgets.Label.redrawWidget(Label.java:412) at org.eclipse.swt.widgets.Control.setBounds(Control.java:1967) at org.eclipse.swt.widgets.Label.setBounds(Label.java:525) at org.eclipse.swt.widgets.Control.setBounds(Control.java:2033) at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:682) at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:186) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1186) at org.eclipse.swt.widgets.Composite.setBounds(Composite.java:964) at org.eclipse.swt.widgets.Control.setBounds(Control.java:2033) at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:682) at org.eclipse.swt.layout.GridLayout.layout(GridLayout.java:186) at org.eclipse.swt.widgets.Composite.updateLayout(Composite.java:1186) at org.eclipse.swt.widgets.Composite.layout(Composite.java:686) at org.eclipse.swt.examples.controlexample.Tab.setExampleWidgetSize(Tab.java:1122) at org.eclipse.swt.examples.controlexample.Tab.setExampleWidgetState(Tab.java:1137) at org.eclipse.swt.examples.controlexample.AlignableTab.setExampleWidgetState(AlignableTab.java:81) at org.eclipse.swt.examples.controlexample.LabelTab.setExampleWidgetState(LabelTab.java:177) at org.eclipse.swt.examples.controlexample.Tab.recreateExampleWidgets(Tab.java:1017) at org.eclipse.swt.examples.controlexample.Tab$1.widgetSelected(Tab.java:147) at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:90) at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:66) at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:775) at org.eclipse.swt.widgets.Display.runDeferredEvents(Display.java:3059) at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:2748) at org.eclipse.swt.examples.controlexample.ControlExample.main(ControlExample.java:202) Dynamic libraries: 003dc000-003ee000 r-xp 00000000 03:02 670249 /lib/libnsl-2.3.4.so 003ee000-003f0000 rwxp 00011000 03:02 670249 /lib/libnsl-2.3.4.so 00451000-00455000 r-xp 00000000 03:02 1299185 /usr/X11R6/lib/libXtst.so.6.1 00455000-00456000 rwxp 00003000 03:02 1299185 /usr/X11R6/lib/libXtst.so.6.1 0048b000-004d8000 r-xp 00000000 03:02 1295143 /usr/X11R6/lib/libXt.so.6.0 004d8000-004dc000 rwxp 0004c000 03:02 1295143 /usr/X11R6/lib/libXt.so.6.0 005b2000-005c7000 r-xp 00000000 03:02 670237 /lib/ld-2.3.4.so 005c7000-005c8000 r-xp 00014000 03:02 670237 /lib/ld-2.3.4.so 005c8000-005c9000 rwxp 00015000 03:02 670237 /lib/ld-2.3.4.so 005cf000-006f2000 r-xp 00000000 03:02 670238 /lib/tls/libc-2.3.4.so 006f2000-006f3000 r-xp 00123000 03:02 670238 /lib/tls/libc-2.3.4.so 006f3000-006f6000 rwxp 00124000 03:02 670238 /lib/tls/libc-2.3.4.so 006fa000-0071b000 r-xp 00000000 03:02 670239 /lib/tls/libm-2.3.4.so 0071b000-0071d000 rwxp 00020000 03:02 670239 /lib/tls/libm-2.3.4.so 0071f000-00721000 r-xp 00000000 03:02 670240 /lib/libdl-2.3.4.so 00721000-00723000 rwxp 00001000 03:02 670240 /lib/libdl-2.3.4.so 00737000-007fa000 r-xp 00000000 03:02 244883 /usr/X11R6/lib/libX11.so.6.2 007fa000-007fe000 rwxp 000c3000 03:02 244883 /usr/X11R6/lib/libX11.so.6.2 00800000-0080d000 r-xp 00000000 03:02 244884 /usr/X11R6/lib/libXext.so.6.4 0080d000-0080e000 rwxp 0000c000 03:02 244884 /usr/X11R6/lib/libXext.so.6.4 00810000-0081e000 r-xp 00000000 03:02 670241 /lib/tls/libpthread-2.3.4.so 0081e000-00820000 rwxp 0000d000 03:02 670241 /lib/tls/libpthread-2.3.4.so 00824000-00839000 r-xp 00000000 03:02 244890 /usr/X11R6/lib/libICE.so.6.3 00839000-0083a000 rwxp 00014000 03:02 244890 /usr/X11R6/lib/libICE.so.6.3 0083e000-00845000 r-xp 00000000 03:02 1294272 /usr/X11R6/lib/libSM.so.6.0 00845000-00846000 rwxp 00007000 03:02 1294272 /usr/X11R6/lib/libSM.so.6.0 00923000-0092a000 r-xp 00000000 03:02 244885 /usr/X11R6/lib/libXrender.so.1.2.2 0092a000-0092b000 rwxp 00006000 03:02 244885 /usr/X11R6/lib/libXrender.so.1.2.2 0092d000-00935000 r-xp 00000000 03:02 244887 /usr/X11R6/lib/libXcursor.so.1.0.2 00935000-00936000 rwxp 00007000 03:02 244887 /usr/X11R6/lib/libXcursor.so.1.0.2 08048000-0804e000 r-xp 00000000 03:02 1845400 /opt/jre/bin/java 0804e000-0804f000 rwxp 00005000 03:02 1845400 /opt/jre/bin/java ab84e000-ab868000 r-xp 00000000 03:02 1388080 /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2 ab868000-ab86a000 rwxp 0001a000 03:02 1388080 /usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2 ab86a000-ab871000 r-xp 00000000 03:02 1298526 /usr/X11R6/lib/libXp.so.6.2 ab871000-ab872000 rwxp 00006000 03:02 1298526 /usr/X11R6/lib/libXp.so.6.2 ab88c000-ab88e000 r-xp 00000000 03:02 1388081 /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2 ab88e000-ab88f000 rwxp 00001000 03:02 1388081 /usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2 ab88f000-aba13000 r-xp 00000000 03:02 2174387 /opt/32M4/motif/eclipse/libXm.so.2 aba13000-aba26000 rwxp 00183000 03:02 2174387 /opt/32M4/motif/eclipse/libXm.so.2 aba27000-aba71000 r-xp 00000000 03:02 1159027 /opt/32M4/motif/eclipse/workspace/org.eclipse.swt.motif.linux.x86/libswt-motif-3224.so aba71000-aba74000 rwxp 0004a000 03:02 1159027 /opt/32M4/motif/eclipse/workspace/org.eclipse.swt.motif.linux.x86/libswt-motif-3224.so aba75000-abb14000 r-xs 00000000 03:02 1944587 /opt/jre/lib/ext/localedata.jar abb14000-abb31000 r-xs 00000000 03:02 1944585 /opt/jre/lib/ext/sunjce_provider.jar abd35000-abd3e000 r-xp 00000000 03:02 667858 /lib/libnss_files-2.3.4.so abd3e000-abd40000 rwxp 00008000 03:02 667858 /lib/libnss_files-2.3.4.so abd4c000-abd4f000 r-xs 00000000 03:02 1944586 /opt/jre/lib/ext/dnsns.jar abd4f000-abd5d000 r-xs 00000000 03:02 1944588 /opt/jre/lib/ext/ldapsec.jar b6014000-b62d0000 r-xs 00000000 03:02 1845444 /opt/jre/lib/charsets.jar b62d0000-b62e3000 r-xs 00000000 03:02 1845427 /opt/jre/lib/jce.jar b62e3000-b6354000 r-xs 00000000 03:02 1845428 /opt/jre/lib/jsse.jar b6354000-b636b000 r-xs 00000000 03:02 1845426 /opt/jre/lib/sunrsasign.jar b63ae000-b7a7d000 r-xs 00000000 03:02 1845446 /opt/jre/lib/rt.jar b7a7d000-b7a92000 r-xp 00000000 03:02 1861027 /opt/jre/lib/i386/libzip.so b7a92000-b7a94000 rwxp 00014000 03:02 1861027 /opt/jre/lib/i386/libzip.so b7a94000-b7ab5000 r-xp 00000000 03:02 1861025 /opt/jre/lib/i386/libjava.so b7ab5000-b7ab7000 rwxp 00020000 03:02 1861025 /opt/jre/lib/i386/libjava.so b7ab7000-b7ac7000 r-xp 00000000 03:02 1861024 /opt/jre/lib/i386/libverify.so b7ac7000-b7ac9000 rwxp 0000f000 03:02 1861024 /opt/jre/lib/i386/libverify.so b7ac9000-b7ad2000 r-xp 00000000 03:02 1878869 /opt/jre/lib/i386/native_threads/libhpi.so b7ad2000-b7ad3000 rwxp 00008000 03:02 1878869 /opt/jre/lib/i386/native_threads/libhpi.so b7ad4000-b7dec000 r-xp 00000000 03:02 1890923 /opt/jre/lib/i386/client/libjvm.so b7dec000-b7fd0000 rwxp 00317000 03:02 1890923 /opt/jre/lib/i386/client/libjvm.so Local Time = Tue Feb 14 13:29:04 2006 Elapsed Time = 22 # # The exception above was detected in native code outside the VM # # Java VM: Java HotSpot(TM) Client VM (1.4.1_02-b06 mixed mode) # # An error report file has been saved as hs_err_pid5798.log. # Please refer to the file for further information. #
2006-02-14 13:28:53
1,139,940,000
resolved fixed
b4c8aae
1,143,150,000
bundles/org.eclipse.swt/Eclipse SWT/motif/org/eclipse/swt/widgets/Label.java
SWT
2,455
116,749
Bug 116749 Some widgets don't match default background inside Group
null
2005-11-16 18:32:42
1,132,180,000
resolved fixed
66abee3
1,143,140,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Control.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Group.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Shell.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/TabFolder.java
SWT
2,456
94,691
Bug 94691 Code Style Page crops "Configure Project Specific" message
I20050509-2010 I will attach a screenshot. Also, the link doesn't honour the dialog font.
2005-05-11 09:39:59
1,115,820,000
resolved fixed
792e19e
1,143,070,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/TextLayout.java
SWT
2,457
132,874
Bug 132874 List control does not allow 0th item to be deselected.
List.deselect says: public void deselect (int index) { checkWidget(); if (0 < index && index < itemCount) { int [] ids = new int [] {index + 1}; deselect (ids, ids.length); } } It should be: public void deselect (int index) { checkWidget(); if (0 <= index && index < itemCount) { int [] ids = new int [] {index + 1}; deselect (ids, ids.length); } } I had to work around the problem by deselecting everything, then reselecting everything but the 0th item.
2006-03-22 13:15:27
1,143,050,000
resolved fixed
326be7b
1,143,070,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/List.java
SWT
2,458
115,234
Bug 115234 [DnD] [WorkbenchParts] Resizing tiled editors incorrectly sizes editor parts at start of drag
Steps to reproduce: 1. open 2 or more editors and tile them vertically 2. start dragging the separator between them to resize them As you start the resize the top editor collapses to its minimum vertical size. You can keep dragging to resize the editors but the mouse is now in the wrong place. This also happens when resizing horizontally, the editor on the left collapses to its minimum horizontal size. Once you've finished the drag, you can no longer pick up the separator between the editors and resize them again.
2005-11-06 07:09:59
1,131,280,000
resolved fixed
c69b8ae
1,143,070,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Sash.java
SWT
2,459
120,241
Bug 120241 MouseListener on Sash does not receive mouseUp events
It looks like mouseUp events are not sent by a Sash on OS X. This prevents the expand/collapse buttons on VE's custom Sash from working as it does on other platforms. See the attached test program.
2005-12-10 17:57:08
1,134,260,000
verified fixed
635b5f0
1,143,060,000
bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/Sash.java
SWT
2,460
120,051
Bug 120051 Some font names on OS X have null (\0) characters between every character
The names of some fonts returned by the call Display.getFontList(null, true) have a null (\0) character between every character. Most fonts are correct, and I cannot find any pattern in the incorrect fonts. The problem fonts are standard ones installed on OS X 10.4.3.
2005-12-08 22:27:04
1,134,100,000
verified fixed
9796170
1,143,060,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/Device.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/graphics/Font.java bundles/org.eclipse.swt/Eclipse SWT/carbon/org/eclipse/swt/widgets/FontDialog.java
SWT