You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@guacamole.apache.org by Sebastien Bilodeau <de...@gmail.com> on 2018/04/16 18:19:52 UTC

Cannot find how to enable IME

Hello,

I searched a lot before coming here to ask. Please bare with me if this is
an easy one. We have a custom Gacamole solution which goes like this:

Customers are on PC or MAC. When they navigate to our website, we include
an iframe which points to a Linux Ubuntu 14.04 server running guacd 0.9.9,
which in turn connects to a Win Server 2012 running our Silverlight
application in IE and streaming it into the iframe.

It works all fine, except for one thing. Users cannot type Asian chars.
When we try, we can see that as soon as we click a text box in our app, IME
is disabled. The asian symbol becomes an X. See screengrab below. Note that
it does work directly in Silverlight, when not going through Guacamole.


​
I found in the doc that "User preferences can be changed within the
settings screen". But I don't know how to reach that screen on our Linux
server. I also found that I could specify the input method
in clientController.js but this file is nowhere to be found on the server.

Does anyone have an idea how to enable IME in our situation? This specific
server is used only by Japanese customers, so it is very problematic!

Thanks!
Sébastien

Re: Cannot find how to enable IME

Posted by Sebastien Bilodeau <de...@gmail.com>.
Thank you so much Amarjeet and Nick for your replies.

I tried adding the attribute directly to the div which contains guac, like
this:
<div id="guacHolder" style="position:fixed; bottom:0px; top:30px;
width:100%; height:calc(100% - 30px);left:0px;" contenteditable="true">

Now that I added  contenteditable="true" it works in Internet Explorer!
Hurray! It doesn't work in Chrome, though. Any idea why?

That's a great leap forward for us. Thank you so much!

Sebastien

> On Apr 18, 2018, at 6:59 AM, Amarjeet Singh <am...@gmail.com> wrote:
> 
> 
>> Does anyone have an idea how to enable IME in our situation? This specific server is used only by Japanese customers, so it is very problematic!
> 
> 1. As Nick said upgrade it to 0.9.14.
> 
> 2. Browser check if the focus is on non-editable  field it disables the IME mode of Local Operating System.
> 
> 3. You have to check the focus of the cursor and make that field editable then  it will not disable the IME of the Operating system.
> 
> 
> Example :-
> 
> var    hasfocus  = document.getElementById("hasfocus");
> hasfocus .setAttribute('contenteditable', 'true');
> 
> most probably it will work when you upgrade it.
> 
> Thanks and Regards,
> Amarjeet Singh
> 
> 
> 
>> On Tue, Apr 17, 2018 at 1:15 AM, Nick Couchman <vn...@apache.org> wrote:
>> 
>> 
>>> On Mon, Apr 16, 2018 at 2:19 PM, Sebastien Bilodeau <de...@gmail.com> wrote:
>>> Hello,
>>> 
>>> I searched a lot before coming here to ask. Please bare with me if this is an easy one. We have a custom Gacamole solution which goes like this:
>>> 
>>> Customers are on PC or MAC. When they navigate to our website, we include an iframe which points to a Linux Ubuntu 14.04 server running guacd 0.9.9, which in turn connects to a Win Server 2012 running our Silverlight application in IE and streaming it into the iframe.
>>> 
>>> It works all fine, except for one thing. Users cannot type Asian chars. When we try, we can see that as soon as we click a text box in our app, IME is disabled. The asian symbol becomes an X. See screengrab below. Note that it does work directly in Silverlight, when not going through Guacamole.
>>> 
>>> 
>>> ​
>>> I found in the doc that "User preferences can be changed within the settings screen". But I don't know how to reach that screen on our Linux server. I also found that I could specify the input method in clientController.js but this file is nowhere to be found on the server.
>>> 
>>> Does anyone have an idea how to enable IME in our situation? This specific server is used only by Japanese customers, so it is very problematic!
>>> 
>> 
>> I would start by using a more recent version of Guacamole - 0.9.9 is very old - 0.9.14 is the latest released version, and 1.0.0 will probably be out in a few weeks.  It may not resolve the issue, but it's a good start.  Beyond that, I don't know what criteria Windows uses to enable or disable IME - I'm not sure if there is some flag in the RDP connection that determines whether or not it's enabled?
>> 
>> -Nick 
> 

Re: Cannot find how to enable IME

Posted by Amarjeet Singh <am...@gmail.com>.
> Does anyone have an idea how to enable IME in our situation? This specific
> server is used only by Japanese customers, so it is very problematic!


1. As Nick said upgrade it to 0.9.14.

2. Browser check if the focus is on non-editable  field it disables the IME
mode of Local Operating System.

3. You have to check the focus of the cursor and make that field editable
then  it will not disable the IME of the Operating system.


Example :-

var    hasfocus  = document.getElementById("hasfocus");
hasfocus .setAttribute('contenteditable', 'true');

most probably it will work when you upgrade it.

Thanks and Regards,
Amarjeet Singh



On Tue, Apr 17, 2018 at 1:15 AM, Nick Couchman <vn...@apache.org> wrote:

>
>
> On Mon, Apr 16, 2018 at 2:19 PM, Sebastien Bilodeau <de...@gmail.com>
> wrote:
>
>> Hello,
>>
>> I searched a lot before coming here to ask. Please bare with me if this
>> is an easy one. We have a custom Gacamole solution which goes like this:
>>
>> Customers are on PC or MAC. When they navigate to our website, we include
>> an iframe which points to a Linux Ubuntu 14.04 server running guacd 0.9.9,
>> which in turn connects to a Win Server 2012 running our Silverlight
>> application in IE and streaming it into the iframe.
>>
>> It works all fine, except for one thing. Users cannot type Asian chars.
>> When we try, we can see that as soon as we click a text box in our app, IME
>> is disabled. The asian symbol becomes an X. See screengrab below. Note that
>> it does work directly in Silverlight, when not going through Guacamole.
>>
>>
>> ​
>> I found in the doc that "User preferences can be changed within the
>> settings screen". But I don't know how to reach that screen on our Linux
>> server. I also found that I could specify the input method
>> in clientController.js but this file is nowhere to be found on the server.
>>
>> Does anyone have an idea how to enable IME in our situation? This
>> specific server is used only by Japanese customers, so it is very
>> problematic!
>>
>>
> I would start by using a more recent version of Guacamole - 0.9.9 is very
> old - 0.9.14 is the latest released version, and 1.0.0 will probably be out
> in a few weeks.  It may not resolve the issue, but it's a good start.
> Beyond that, I don't know what criteria Windows uses to enable or disable
> IME - I'm not sure if there is some flag in the RDP connection that
> determines whether or not it's enabled?
>
> -Nick
>

Re: Cannot find how to enable IME

Posted by Nick Couchman <vn...@apache.org>.
On Mon, Apr 16, 2018 at 2:19 PM, Sebastien Bilodeau <de...@gmail.com>
wrote:

> Hello,
>
> I searched a lot before coming here to ask. Please bare with me if this is
> an easy one. We have a custom Gacamole solution which goes like this:
>
> Customers are on PC or MAC. When they navigate to our website, we include
> an iframe which points to a Linux Ubuntu 14.04 server running guacd 0.9.9,
> which in turn connects to a Win Server 2012 running our Silverlight
> application in IE and streaming it into the iframe.
>
> It works all fine, except for one thing. Users cannot type Asian chars.
> When we try, we can see that as soon as we click a text box in our app, IME
> is disabled. The asian symbol becomes an X. See screengrab below. Note that
> it does work directly in Silverlight, when not going through Guacamole.
>
>
> ​
> I found in the doc that "User preferences can be changed within the
> settings screen". But I don't know how to reach that screen on our Linux
> server. I also found that I could specify the input method
> in clientController.js but this file is nowhere to be found on the server.
>
> Does anyone have an idea how to enable IME in our situation? This specific
> server is used only by Japanese customers, so it is very problematic!
>
>
I would start by using a more recent version of Guacamole - 0.9.9 is very
old - 0.9.14 is the latest released version, and 1.0.0 will probably be out
in a few weeks.  It may not resolve the issue, but it's a good start.
Beyond that, I don't know what criteria Windows uses to enable or disable
IME - I'm not sure if there is some flag in the RDP connection that
determines whether or not it's enabled?

-Nick