Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 482146

Summary: [Gtk3] too many widgets are GtkScrolledWindow
Product: [Eclipse Project] Platform Reporter: Christian Stadelmann <ec>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P3 CC: arunkumar.thondapu, ericwill, snjezana.peco, sravankumarl
Version: 4.5.1Keywords: triaged
Target Milestone: ---   
Hardware: Other   
OS: Linux   
Whiteboard:

Description Christian Stadelmann CLA 2015-11-13 13:18:52 EST
Eclipse feels very slow (laggy UI) on Fedora 23. One cause could be that eclipse is using many GtkScrolledWindows. 

For example any window is created with a GtkMenuBar and a GtkScrolledWindow inside:
GtkWindow
 * GtkBox
 * * GtkMenuBar
 * * GtkScrolledWindow
 * * * SwtFixed

This GtkScrolledWindow serves no useful need. Can't it be removed?

This is true for e.g. the main window, the preferences dialog or many other dialogs (e.g. progress dialogs) too.

In eclipse on Gtk3 you can enable the GtkInspector [1] to inspect elements on UI.

[1] https://wiki.gnome.org/Projects/GTK+/Inspector
Comment 1 Snjezana Peco CLA 2015-11-19 12:18:41 EST
If the issue is Fedora 23 specific, it is probably related to bug 478962 and bug 354842.
See bug 354842#c45 for more detail.
Comment 2 Eric Williams CLA 2018-04-02 15:12:02 EDT
GtkScrolledWindow is there to add scrolling support. Without it, widgets that are too large for their display area will not be scrollable (think of a Table/Tree with large rows).

So any widget that is a child of Composite and needs to have scroll support will be stuffed into a GtkScrolledWindow.