Bug 484805 - popups in tiling window manager cause 100% CPU usage; contents only refreshed after workspace switch
Summary: popups in tiling window manager cause 100% CPU usage; contents only refreshed...
Status: CLOSED DUPLICATE of bug 478962
Alias: None
Product: Platform
Classification: Eclipse Project
Component: UI (show other bugs)
Version: 4.5   Edit
Hardware: PC Linux
: P3 critical (vote)
Target Milestone: ---   Edit
Assignee: Platform-UI-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: needinfo
Depends on:
Blocks:
 
Reported: 2015-12-22 07:09 EST by Arnaud Installe CLA
Modified: 2016-06-01 11:28 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arnaud Installe CLA 2015-12-22 07:09:40 EST
It seems UI events are problematic within eclipse mars and mars.1, when running in a tiling window manager such as xmonad.

As an example, when opening the class name list with ctrl+shift+t, typing a type name prefix results in 100% CPU usage, and the suggested completions are not displayed. Only after switching to a different workspace and then back does the CPU usage drop again, and are the completions listed.

Other examples: in the Java Browsing perspective, clicking on a package in "Packages" doesn't refresh "Types", etc. Basically all UI events that require redrawing the contents of a window.

The resulting experience is completely unworkable, so I had to revert to Luna for the time being, which doesn't have the issue.

Environment: xmonad 0.11.1; mate 1.10.0; linux 4.3.0; debian.
Comment 1 Kalyan Prasad Tatavarthi CLA 2016-04-04 06:41:49 EDT
Can you please check whether you are facing the same behavior with Mars.2
Comment 2 Kalyan Prasad Tatavarthi CLA 2016-04-04 06:47:56 EDT
Can you also check whether this bug is related to bug 478962 and try with GTK2
Comment 3 Arnaud Installe CLA 2016-04-18 11:45:07 EDT
(In reply to Kalyan Prasad Tatavarthi from comment #2)
> Can you also check whether this bug is related to bug 478962 and try with
> GTK2

The problem still occurs with Mars.2, but it is solved by disabling GTK 3, by executing the following command prior to starting eclipse:

export SWT_GTK3=0
Comment 4 Patrik Suzzi CLA 2016-04-28 07:45:03 EDT
Arnaud, 

With GTK 3.20+ You should Use Neon. 
Could you please try to use one of the latest Eclipse Neon M-Builds or I-Builds ? 

http://download.eclipse.org/eclipse/downloads/
Comment 5 Patrik Suzzi CLA 2016-06-01 11:28:40 EDT

*** This bug has been marked as a duplicate of bug 478962 ***