Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 7B4D1200B4D for ; Sat, 18 Jun 2016 07:27:07 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 79DF6160A61; Sat, 18 Jun 2016 05:27:07 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id C4FF8160A62 for ; Sat, 18 Jun 2016 07:27:06 +0200 (CEST) Received: (qmail 80398 invoked by uid 500); 18 Jun 2016 05:27:05 -0000 Mailing-List: contact user-help@guacamole.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: user@guacamole.incubator.apache.org Delivered-To: mailing list user@guacamole.incubator.apache.org Received: (qmail 80385 invoked by uid 99); 18 Jun 2016 05:27:05 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 18 Jun 2016 05:27:05 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 2389A1A0213 for ; Sat, 18 Jun 2016 05:27:05 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -0.702 X-Spam-Level: X-Spam-Status: No, score=-0.702 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=disabled Authentication-Results: spamd2-us-west.apache.org (amavisd-new); dkim=pass (2048-bit key) header.d=guac-dev-org.20150623.gappssmtp.com Received: from mx2-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id gUVAVfxRzfMT for ; Sat, 18 Jun 2016 05:27:01 +0000 (UTC) Received: from mail-vk0-f48.google.com (mail-vk0-f48.google.com [209.85.213.48]) by mx2-lw-eu.apache.org (ASF Mail Server at mx2-lw-eu.apache.org) with ESMTPS id 801555F1B3 for ; Sat, 18 Jun 2016 05:27:00 +0000 (UTC) Received: by mail-vk0-f48.google.com with SMTP id j2so140275893vkg.2 for ; Fri, 17 Jun 2016 22:27:00 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=guac-dev-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-transfer-encoding; bh=WEVHf5VJEZeYZ7jQldrgMfQ/v+o8o4sabdF5faUwxvo=; b=L2BzfzkEDqiMRpYEGpRbo9gTcaVucbqBJse1wgWijR30HU14xyskb2gyHWi94q1p2N BCO9DwsoPmEH4F3LV5O4Kpuzlm6tGsVUgMg1O/OgAbk4LPyGJdqCcbjO6J/4uQq26ya6 KzFTnKCjcNwHyfQIg9+jhfiy1QeEePGLw1TTg+IhnyTkVoHKAUdsF4ieXPrsDeB0TfRu 2JT0cntw4wjMgRxaDyg1ZAer+IeUixjgw5DL6/HGPOn661YAR8kYlsYcd/q/mxCwv4H/ tE8U9rqJJt7+OxuzM0ajU+BXSD0KGJ7mV1BxI7Cc1oBOyy47DNXKFnJSVjjsfTxdlDnK UkAA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:content-transfer-encoding; bh=WEVHf5VJEZeYZ7jQldrgMfQ/v+o8o4sabdF5faUwxvo=; b=dFAlXw762vTNeIWk8pzJtaAY6p/926qltzpDD6ZualTgvN9Qq6hvNrTn7dRGJhkwuR Sv5kNokBMpwZojiAESAiUjPWqwoKltp0MMKB9Rob8AQoOn2mR7Ud8LaAcuTSfOMKyut/ xADpC6obCuoNaHNuyCJ2cC5t7ycG9oxNo5+xSjOPGUxaEirHlgRvoIxS52AbImMAtpV+ XCkMts+LeJwv+SpcDZv0q61lshpIAWQTTBpW8WPYwEncqYrv7AV8+iypnaiDt4Hh0DmP bzmONWBdmhghSbG+v36MJMCUchx8wkcXtukZfblel8xDY0JGPnsw+a3J9/m47pTPXcvy J70w== X-Gm-Message-State: ALyK8tLQzGbuT9lSkozzB5uSuM8Vx/V+tSPvkFj/R/7Q/EuQCKVChQ9qqBzg1Y1/UNbBn0PHgH187pENncuoEA== X-Received: by 10.176.1.234 with SMTP id 97mr2402482ual.132.1466227619475; Fri, 17 Jun 2016 22:26:59 -0700 (PDT) MIME-Version: 1.0 Received: by 10.176.4.38 with HTTP; Fri, 17 Jun 2016 22:26:58 -0700 (PDT) X-Originating-IP: [67.164.58.106] In-Reply-To: References: From: Mike Jumper Date: Fri, 17 Jun 2016 22:26:58 -0700 Message-ID: Subject: Re: keyboard does not take effect out of the div of display To: user@guacamole.incubator.apache.org Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable archived-at: Sat, 18 Jun 2016 05:27:07 -0000 On Wed, Jun 15, 2016 at 7:24 AM, =E6=9D=8E=E5=B0=8F=E8=9B=9F wrote: > hello, Hello, First, please be careful when sending email - I'm not sure what's going on here, but you're using an absolutely enormous font... 36px is pretty excessive. If you're unsure how to set this in your mail client, I'd recommend switching to text-only mail. I am responding in plain text mode to de-format this email and make things readable again. > here,i have a question .Just as the picture below:On the top,here is a > display of vnc connection,and on the bottom of the display is a input . = So > when i type in the input,all the keyboard input was sent into the display= . > it was not what i wanted.How could I do to solve this problem? If you want to receive keyboard events generically across the window, you will need to use the document object. Using something else will mean that keyboard events will only occur when that object has focus, which can be difficult to predict and may not work at all. Instead, I would recommend continuing to use the document object, but instead disable handling of the keyboard while your input fields have focus. You can do this by: 1) Tracking focus with the "blur" and "focus" events provided by the browse= r. 2) Returning true within your onkeydown handler when you wish to allow the events through to your input field. 3) Not calling sendKeyEvent() except when you want a key event to be sent to the remote desktop server. Thanks, - Mike