| Summary: | Read-Only Combo Items garbled when using default ViewerComparator | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Eclipse Project] Platform | Reporter: | Andreea Pintea <andipin2004> | ||||
| Component: | SWT | Assignee: | Platform-SWT-Inbox <platform-swt-inbox> | ||||
| Status: | CLOSED WORKSFORME | QA Contact: | |||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | akurtakov, ericwill, vlad.gheorghe | ||||
| Version: | 4.5 | Keywords: | triaged | ||||
| Target Milestone: | --- | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Attachments: |
|
||||||
How does one run this snippet and test for the bug? The attached sample is an Eclipse plugin project. One has to open it with the Eclipse for Eclipse Committers eg: https://www.eclipse.org/downloads/packages/release/mars/1/eclipse-ide-eclipse-committers-451 This is the context where the bug occured. At the time we did not have the time to isolate the sample to a stand-alone swt program. Please try with Eclipse 4.13, we had a lot of fixes for SWT.READ_ONLY Combo boxes in 4.9 - 4.12. (In reply to Eric Williams from comment #3) > Please try with Eclipse 4.13, we had a lot of fixes for SWT.READ_ONLY Combo > boxes in 4.9 - 4.12. Ping, any update/news? I will try to re-test. It is indeed an awkward setup. Can you recommend an easier setup for swt tests ? I would isolate the issue with only a dependency to swt, though it might be relevant that it occured in a eclipse rcp application. Tested with Eclipse Platform 4.13 2019-09 / Ubuntu 18.04 eclipse.buildId=4.13.0.I20190916-1045 --launcher.library /opt/eclipse/bundle-pool/pool/plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.1.1100.v20190907-0426/eclipse_1801.so org.eclipse.swt.internal.deviceZoom=100 org.eclipse.swt.internal.gdk.backend=x11 org.eclipse.swt.internal.gtk.theme=Ambiance org.eclipse.swt.internal.gtk.version=3.22.30 org.eclipse.swt.internal.webkitgtk.version=2.26.2 Test code: https://github.com/vgheo/swt-bug-479306 Issue is fixed. (In reply to Vlad Gheorghe from comment #6) > Tested with Eclipse Platform 4.13 2019-09 / Ubuntu 18.04 > > eclipse.buildId=4.13.0.I20190916-1045 > --launcher.library > /opt/eclipse/bundle-pool/pool/plugins/org.eclipse.equinox.launcher.gtk.linux. > x86_64_1.1.1100.v20190907-0426/eclipse_1801.so > org.eclipse.swt.internal.deviceZoom=100 > org.eclipse.swt.internal.gdk.backend=x11 > org.eclipse.swt.internal.gtk.theme=Ambiance > org.eclipse.swt.internal.gtk.version=3.22.30 > org.eclipse.swt.internal.webkitgtk.version=2.26.2 > > Test code: > https://github.com/vgheo/swt-bug-479306 > > > Issue is fixed. Thank you for getting back to us, and I'm happy to hear the issue has been fixed. |
Created attachment 257141 [details] View with ReadOnly sorted ComboBox Hello, I have the following setup, CentOs 6 Eclipse Mars Platform(4.5) GTK version 2.18.9 In the attached code, i use a simple view with a read-only combo-box. When i try to sort the items inside the combo with a default ViewerComparator, the items are displayed overlapped. There seems to be some incompatibility between the READ-ONLY flag and the comparator. The issue does not reproduce on Windows. Best Regards, Andreea Pintea