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

Bug 552084

Summary: Seeing extra "Input Methods" as menu option.
Product: [Eclipse Project] Platform Reporter: Pushkar Chawda <pushkar.c>
Component: SWTAssignee: Platform-SWT-Inbox <platform-swt-inbox>
Status: CLOSED DUPLICATE QA Contact:
Severity: normal    
Priority: P3 CC: ericwill, pushkar.c, Vikas.Chandra
Version: 4.11   
Target Milestone: ---   
Hardware: PC   
OS: Linux   
Whiteboard:
Attachments:
Description Flags
Attached an screenshot of the same. none

Description Pushkar Chawda CLA 2019-10-14 10:27:58 EDT
Created attachment 280250 [details]
Attached an screenshot of the same.

We have developed a eclipse plugin for our product and recently we are trying to update and support latest eclipse versions.

Linux specifix : we are using RHEL 

Red Hat Enterprise Linux Server release 7.3 (Maipo)

While testing we are seeing an additional "Input method" option in menu, since version 4.11 till 4.10 issue is not present, upon further checking we found that already bug very fixed in past related to this issue Bug 284777, and the code change made as per below link are missing in latest gtk library shiped with eclipse.

https://bugzilla.redhat.com/attachment.cgi?id=412703&action=diff

library versoin comparision.

versoin 4.3(kepler) - org.eclipse.swt.gtk.linux.x86_64_3.102.1.v20140206-1358.jar - Code changes present

Version 4.10 - org.eclipse.swt.gtk.linux.x86_64_3.109.0.v20181204-1801.jar - Code changes present

Versoin 4.11 - org.eclipse.swt.gtk.linux.x86_64_3.110.0.v20190305-0602.jar - Code changes not present

I am not sure the code have been removed due to some specific reason or moved to some other class or method.

Attached an screenshot as well. Please suggest/help me on this.
Comment 2 Pushkar Chawda CLA 2019-10-17 03:22:59 EDT
I have already tried the below suggestion, used setData by getting default display, added the code in our main activator class construstor.

Display.getDefault().setData("org.eclipse.swt.internal.gtk.noInputMethod",true);

This was not working for me, not sure i am doing something wrong.
Comment 3 Pushkar Chawda CLA 2019-10-21 02:27:22 EDT
anyone who can help me with this..
Comment 4 Alexander Kurtakov CLA 2019-10-21 03:32:21 EDT
Eric, can you share some light here?
Comment 5 Eric Williams CLA 2019-10-21 18:53:38 EDT
Please try with 4.13, I removed this menu entirely from SWT in either 4.12 or 4.13 (can't remember exactly which one).
Comment 6 Pushkar Chawda CLA 2019-10-22 05:02:37 EDT
Yes, issue seems to be fixed in 4.13, do we have any way to hide/remove from 4.12 as well, as we are planning to support till 4.12 and we have tested our plugin till this version only right now.
Comment 7 Eric Williams CLA 2019-10-22 22:09:58 EDT
(In reply to Pushkar Chawda from comment #6)
> Yes, issue seems to be fixed in 4.13, do we have any way to hide/remove from
> 4.12 as well, as we are planning to support till 4.12 and we have tested our
> plugin till this version only right now.

No, sadly it's an internal thing. Is it critical?
Comment 8 Pushkar Chawda CLA 2019-10-23 02:52:36 EDT
It is, as it gives additional option to user which we don't control and some option is not doing anything observable but some gives error, seeing which user may get suprised and open a issue with us. 

Sadly this issue is present in 4.11 and 4.12 version.

hence i was looking a way to hide or handle this :(
Comment 9 Eric Williams CLA 2019-10-29 08:49:59 EDT
There isn't really much I can do as we don't backport fixes for older releases, now that we have the faster release cycle. I would advise to upgrade 4.13 as soon as possible.
Comment 10 Eric Williams CLA 2019-11-11 16:01:56 EST

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