| Summary: | Upgrade underlying SWT/Platform version so that UI is usable on Wayland instead of X11 | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Tools] MAT | Reporter: | Michael Vorburger <mike> | ||||
| Component: | GUI | Assignee: | Project Inbox <mat.gui-inbox> | ||||
| Status: | VERIFIED FIXED | QA Contact: | |||||
| Severity: | major | ||||||
| Priority: | P3 | CC: | jan.public | ||||
| Version: | 1.7 | ||||||
| Target Milestone: | 1.8.0 | ||||||
| Hardware: | PC | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Bug Depends on: | 534578 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
This works around it by forcing X11 instead of Wayland: export GDK_BACKEND=x11 ./MemoryAnalyzer but ideally one shouldn't have to know this magic incatation and it should just work, of course. We are going to release RCPs based on Photon - bug 534578, which should fix this problem. Is this fixed in the latest nightly builds? http://www.eclipse.org/downloads/download.php?file=/mat/snapshots/rcp/org.eclipse.mat.ui.rcp.MemoryAnalyzer-linux.gtk.x86_64.zip http://www.eclipse.org/downloads/download.php?file=/mat/snapshots/rcp/org.eclipse.mat.ui.rcp.MemoryAnalyzer-linux.gtk.x86.zip Memory Analyzer 1.8 was released, based on Eclipse Photon 4.8 This should have fixed the problem - if not then please reopen. > This should have fixed the problem - if not then please reopen.
yup; works great - thank you!
|
Created attachment 271323 [details] Screenshot of MAT under Wayland on Fedora 26 I'm using MAT 1.7.0 on Fedora 26 under Wayland and am getting window sizing errors, huge black bars in the Overview as shown in the attached screenshot, and errors when opening reports, due this: org.eclipse.swt.SWTException: Failed to execute runnable (org.eclipse.swt.SWTError: No more handles [Browser style SWT.MOZILLA and Java system property org.eclipse.swt.browser.DefaultType=mozilla are not supported with GTK 3 as XULRunner is not ported for GTK 3 yet]) I suspect that all of this would be disappear if the next MAT release upgrade to the latest SWT / Platform? (Wayland support isn't fully complete their either, but I use Photon Milestone 2 (4.8.0M2) on the same Fedora 26, and it's much better already.)