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

Bug 516408

Summary: [Ubuntu17.04] "Quick Access" and "Open Perspective" items are missing from the Eclipse toolbar
Product: [Eclipse Project] Platform Reporter: Niraj Modi <niraj.modi>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED WORKSFORME QA Contact:
Severity: normal    
Priority: P3 CC: eclipse, ericwill, lshanmug, mober.at+eclipse, peter, sravankumarl
Version: 4.7Keywords: triaged
Target Milestone: ---   
Hardware: PC   
OS: Linux   
See Also: https://bugs.eclipse.org/bugs/show_bug.cgi?id=497705
https://bugs.eclipse.org/bugs/show_bug.cgi?id=506189
https://bugs.eclipse.org/bugs/show_bug.cgi?id=465280
https://bugs.eclipse.org/bugs/show_bug.cgi?id=526517
Whiteboard:
Attachments:
Description Flags
Eclipse_OxygenM7 on Ubunut17.04(32Bit)
none
Ubuntu17.04 Packages (dpkg -l output) none

Description Niraj Modi CLA 2017-05-10 07:22:12 EDT
Created attachment 268265 [details]
Eclipse_OxygenM7 on Ubunut17.04(32Bit)

Environment details:
1. Ubuntu17.04 32bit version
2. Eclipse 4.7 Build id: I20170508-2000(32bit build)
3. "Quick Access" and "Open Perspective" items.
Sharing a screen grab of Eclipse for reference.

Note: "Ctrl + 3" option works and opens the "Quick Access" search dialog.
Comment 1 Martin Oberhuber CLA 2017-06-08 08:28:46 EDT
Created attachment 268816 [details]
Ubuntu17.04 Packages (dpkg -l output)

I see the same problem with Eclipse 4.7rc2 on Ubuntu17.04 amd64.

Attached is the output of "dpkg -l", it's using gtk3.22 .

Setting "export GDK_BACKEND=x11" before launching did not help as per this post: https://www.eclipse.org/forums/index.php/t/1081893/

When I launch Eclipse, I see tons of this on the console where I start it:
(Eclipse:3834): GLib-CRITICAL **: g_base64_encode_step: assertion 'in != NULL' failed

After filling the workspace selection dialog, there's also these warnings:
(Eclipse:3834): Gtk-WARNING **: Negative content height -3 (allocation 1, extents 2x2) while allocating gadget (node toolbar, owner GtkToolbar)
(Eclipse:3834): Gtk-WARNING **: Negative content width -2 (allocation 0, extents 1x1) while allocating gadget (node trough, owner GtkProgressBar)
(Eclipse:3834): Gtk-WARNING **: Negative content width -5 (allocation 1, extents 3x3) while allocating gadget (node progressbar, owner GtkProgressBar)
Comment 2 Martin Oberhuber CLA 2017-06-08 08:40:32 EDT
To me, the toolbar is actually unusable on Ubuntu 17.04 , there's lots of buttons missing too ... Workaround: Use Ubuntu 16.04 (gtk-3.18.9), or set SWT_GTK3=0
Comment 3 Leo Ufimtsev CLA 2017-06-08 11:50:02 EDT
I have a feeling that this might be related to:
Bug 465280 – [GTK3] OS.gtk_widget_get_allocation returns (0,0) for invisible controls
Comment 4 Leo Ufimtsev CLA 2017-06-20 12:02:43 EDT
Is this a regression btw?
Did it start happening after upgrading Ubuntu or upgrading eclipse?
Comment 5 Leo Ufimtsev CLA 2017-07-20 12:33:28 EDT
The sizing bug was fixed:
Bug 465280 – [GTK3] OS.gtk_widget_get_allocation returns (0,0) for invisible controls 
https://bugs.eclipse.org/bugs/show_bug.cgi?id=465280

Can someone check if this still occurs with a new Eclipse build?

To download recent nightly/integration builds, please go here:
http://download.eclipse.org/eclipse/downloads/
- Scroll down to "4.x Integration Builds". 
- Click on the most recent stable build like "I201XXXXX...", 
- Find your platform in the "Eclipse SDK". Download the archive, extract it and run the 'eclipse' binary.
Comment 6 Holger Voormann CLA 2017-08-11 05:00:06 EDT
This still seems to be an issue in Oxygen:
https://stackoverflow.com/q/45591741/45592702?noredirect=1#comment78215038_45592702
Comment 7 Niraj Modi CLA 2017-10-26 10:32:57 EDT
(In reply to Niraj Modi from comment #0)
> Created attachment 268265 [details]
> Eclipse_OxygenM7 on Ubunut17.04(32Bit)
> 
> Environment details:
> 1. Ubuntu17.04 32bit version
> 2. Eclipse 4.7 Build id: I20170508-2000(32bit build)
> 3. "Quick Access" and "Open Perspective" items.
> Sharing a screen grab of Eclipse for reference.
> 
> Note: "Ctrl + 3" option works and opens the "Quick Access" search dialog.

Above issue is still reproducible, as tested with latest Eclipse 32bit Build id: I20171025-2000 on Ubunut17.04
Comment 8 Eric Williams CLA 2018-03-28 10:59:56 EDT
Does this issue still occur on 64 bit Eclipse, using a 4.8 M6?
Comment 9 Eric Williams CLA 2018-12-14 12:58:03 EST
No response in awhile and 32-bit support for SWT is gone anyways, closing this ticket now. Please reopen it if the issue is reproducible on GTK3.22/24 and SWT 4.10.