Bug 571748 - Screen cheese on Ubuntu 20.04 LTS
Summary: Screen cheese on Ubuntu 20.04 LTS
Status: NEW
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.19   Edit
Hardware: PC Linux
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-03-06 11:38 EST by Gunnar Wagenknecht CLA
Modified: 2021-03-07 05:02 EST (History)
1 user (show)

See Also:


Attachments
screenshot of PDE editor (134.19 KB, image/png)
2021-03-06 11:38 EST, Gunnar Wagenknecht CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gunnar Wagenknecht CLA 2021-03-06 11:38:30 EST
Created attachment 285756 [details]
screenshot of PDE editor

This seems to affect all Forms UI editors. I'm not sure if it's SWT or Forms UI. Please have a look at the attached screenshot.
Comment 1 Andrey Loskutov CLA 2021-03-07 04:45:22 EST
I guess this is SWT related. Can you please try with a different GTK theme?
What GTK3 version amd theme used?
Comment 2 Gunnar Wagenknecht CLA 2021-03-07 04:52:20 EST
(In reply to Andrey Loskutov from comment #1)
> I guess this is SWT related. Can you please try with a different GTK theme?
> What GTK3 version amd theme used?

You have to bear with me. I'm a Mac user usually and only using this for debugging. Thus, my knowledge is limited.

How do I find out the GTK Theme?

This is Ubuntu 20.04 LTS. I believe it's their Unity desktop and I should be using default settings.
Comment 3 Gunnar Wagenknecht CLA 2021-03-07 04:54:26 EST
Here is what I found in the configuration tab of about dialog:

*** System properties:
gtk
/home/.../eclipse//plugins/org.eclipse.equinox.launcher.gtk.linux.x86_64_1.2.0.v20200915-1442/eclipse_11201.so
org.eclipse.swt.internal.gtk.theme=Yaru
org.eclipse.swt.internal.gtk.version=3.24.20
org.eclipse.swt.internal.webkitgtk.version=2.30.5
osgi.ws=gtk

*** System environment variables:
GTK_MODULES=gail:atk-bridge
Comment 4 Andrey Loskutov CLA 2021-03-07 04:58:14 EST
Open Eclipse/about/configuration and post here all swt* system properties. I'm not Ubuntu/Unity user, but under KDE one can go to system preferences and select which GTK+ theme should be used for GTK applications. Typically everything except Adwaita is problematic, because not default / not tested.

PS. You can also switch off CSS themes in Eclipse - this will probably fix the cheese and for sure improve UI performance.
Comment 5 Gunnar Wagenknecht CLA 2021-03-07 05:02:41 EST
(In reply to Andrey Loskutov from comment #4)
> Typically
> everything except Adwaita is problematic, because not default / not tested.

So Ubuntu default is Yaru, which (according to README) is based on Adwaita.
https://github.com/ubuntu/yaru

> PS. You can also switch off CSS themes in Eclipse - this will probably fix
> the cheese and for sure improve UI performance.

Thanks for the tip. It does fix the issue. Although Eclipse "light" did look better. :)