Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Standard Widget Toolkit (SWT) » Context menu problems in Windows 7 and Linux(Context menu on windows 7 and Linux has additional options)
Context menu problems in Windows 7 and Linux [message #634000] Wed, 20 October 2010 08:45 Go to next message
Lokesh  is currently offline Lokesh Friend
Messages: 2
Registered: October 2010
Junior Member
Hi,

The context menu on text based widgets on Windows 7 and Linux (RedHat version > 5) has options for Unicode entry from English keyboards.

On Windows 7, the "Input Method Editor" options. How to get rid of these options.

The context menu options on windows 7 are

1. Right to left reading order
2. Show Unicode control characters
3. Insert Unicode control characters
4. Close IME (this does not do anything).
5. Reconversion.

The context menu options on linux.
1. Insert Unicode Control character

and some times
1. Input Method

I have tried to use the .gtkrc-2.0 properties (gtk-show-input-method-menu = 0 and gtk-show-unicode-menu = 0) to disable these context menu options on linux, unfortunately it hasn't worked for me.


It seems on windows, installing unicode language packs results in these additional options in context menu's. But, I haven't found any solutions for this problem.

[Updated on: Wed, 20 October 2010 08:46]

Report message to a moderator

Re: Context menu problems in Windows 7 and Linux [message #635095 is a reply to message #634000] Mon, 25 October 2010 15:35 Go to previous messageGo to next message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
Hi,

This case was recently fixed for gtk, see
https://bugs.eclipse.org/bugs/show_bug.cgi?id=284777 . It only affected
custom controls (eg.- StyledText), because wrapped native controls were
already showing the correct behaviour.

Windows 7 is the reverse case, it's swt's native controls that show these
menu items. In this case this behviour is correct since it respects the
platform. If you want to get rid of these items then see if there's a
Windows preference somewhere that allows you to do this (I don't know if
this exists or not). If you are able to change this then it will make these
menu items go away for all of your native win32 apps including eclipse/swt.

Grant


"Lokesh" <lokeshsan@yahoo.com> wrote in message
news:i9ma0a$po3$1@news.eclipse.org...
> Hi,
>
> On windows 7 and Linux (RedHat version > 5) the context menu has options
> for Unicode entry from English keyboards.
> On Windows 7, the "Input Method Editor" options. How to get rid of these
> options.
>
> The context menu options on windows 7 are
>
> 1. Right to left reading order
> 2. Show Unicode control characters
> 3. Insert Unicode control characters
> 4. Close IME (this does not do anything).
> 5. Reconversion.
>
> The context menu options on linux.
> 1. Insert Unicode Control character
>
> and some times
> 1. Input Method
>
> I have tried to use the .gtkrc-2.0 properties (gtk-show-input-method-menu
> = 0 and gtk-show-unicode-menu = 0) to disable these context menu options
> on linux, unfortunately it hasn't worked for me.
>
>
> It seems on windows, installing unicode language packs results in these
> additional options in context menu's. But, I haven't found any solutions
> for this problem.
Re: Context menu problems in Windows 7 and Linux [message #635511 is a reply to message #635095] Wed, 27 October 2010 07:29 Go to previous messageGo to next message
Lokesh  is currently offline Lokesh Friend
Messages: 2
Registered: October 2010
Junior Member
Hi,

Thanks for the response, was very useful.

BTW has this worked for anyone !
http://dev.eclipse.org/newslists/news.eclipse.newcomer/msg20 408.html

I tried this, it is not working. I am on RH 64-bit server edition.
The options shown in IM in context menu is coming from the current active profile.
By commenting out the IM options in current active profile, I could reduce the number of options (sub menu items to "Input Methods"), could not eliminate it totally.

Re: Context menu problems in Windows 7 and Linux [message #636185 is a reply to message #635511] Fri, 29 October 2010 14:36 Go to previous message
Grant Gayed is currently offline Grant GayedFriend
Messages: 2150
Registered: July 2009
Senior Member
If this doesn't work for you with SWT/Eclipse 3.7M2 or newer then perhaps
the fix in https://bugs.eclipse.org/bugs/show_bug.cgi?id=284777 missed some
aspect of this case. Please either re-open the report (if you're able) or
log a new report with the details.

Thanks,
Grant


"Lokesh" <lokeshsan@yahoo.com> wrote in message
news:ia8k6b$3gv$1@news.eclipse.org...
> Hi,
>
> Thanks for the response, was very useful.
>
> BTW has this worked for anyone !
> http://dev.eclipse.org/newslists/news.eclipse.newcomer/msg20 408.html
>
> I tried this, it is not working. I am on RH 64-bit server edition.
> The options shown in IM in context menu is coming from the current active
> profile.
> By commenting out the IM options in current active profile, I could reduce
> the number of options (sub menu items to "Input Methods"), could not
> eliminate it totally.
>
>
Previous Topic:Spanish accent characters are not rendered properly
Next Topic:Is syncExec broken?
Goto Forum:
  


Current Time: Fri Apr 19 20:00:44 GMT 2024

Powered by FUDForum. Page generated in 0.02617 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top