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 0E3BD200BE8 for ; Fri, 9 Dec 2016 06:40:42 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 07E7C160B27; Fri, 9 Dec 2016 05:40:42 +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 29ED4160B1F for ; Fri, 9 Dec 2016 06:40:41 +0100 (CET) Received: (qmail 34357 invoked by uid 500); 9 Dec 2016 05:40:40 -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 34345 invoked by uid 99); 9 Dec 2016 05:40:40 -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; Fri, 09 Dec 2016 05:40:40 +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 9A35E1A9B4D for ; Fri, 9 Dec 2016 05:40:39 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 2.148 X-Spam-Level: ** X-Spam-Status: No, score=2.148 tagged_above=-999 required=6.31 tests=[DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, HTML_MESSAGE=2, RCVD_IN_DNSWL_NONE=-0.0001, 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=gmail.com Received: from mx1-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 VDCMjqWHqbie for ; Fri, 9 Dec 2016 05:40:38 +0000 (UTC) Received: from mail-io0-f181.google.com (mail-io0-f181.google.com [209.85.223.181]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTPS id 5F7495F1AE for ; Fri, 9 Dec 2016 05:40:37 +0000 (UTC) Received: by mail-io0-f181.google.com with SMTP id p42so43134495ioo.1 for ; Thu, 08 Dec 2016 21:40:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:from:date:message-id:subject:to; bh=k7sR+YA6msrDNDQHBSVKQepSLe+9//HFIDpV5Y41FrI=; b=A6onm3f7V6JefivWqfljDkl+emyvPd7PD6I/4zcx14UPfNAoANqJiI47wZMp5ln+ju +hzg+6BStO2qF6S9e6jwPHWN915OGlds/Gf1jIdkJdYn+kVptgF3ea4QRdut65JKl+ne 17STsCzkt0TX7AgnYuC9inHn9U3QzBK3DOX80h+PCZ8aHCXQNKzSUyelGqwfZmaqf23C df8ATY84qgikJDnrL4D6KkjAorHgaf+5fTP6E2K+nR+ab01uNnbT6DBYeq3txgaCm35m 5ONHF8JNckXg7ekV8trcFKjviiOIuyRPOqxJOTF0xIv0yfZuEx4y07n/tVB14keWE3l9 Js5Q== 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; bh=k7sR+YA6msrDNDQHBSVKQepSLe+9//HFIDpV5Y41FrI=; b=LD/m0e2ZiitEx3tfsuTnB/X/l1S/Bc7HOwaszSLGez54skcRwyWOhodIzujFveVOsG dhqVN7mJ8TXquhnGKjmdK8hrLsNjGW6UjDGDSHTTRe4ZLjJpd4CM50bnBsdlZudzpE1u W/sNwFlUbTNFQzrfkeTAkOOyew4WA13w9MKE7KUz3OLej3ark39MnS98HHl01PaJc2t9 Z/2NeddC+gkC4bvFsmcnyQXq7LBnJOQSa+RYX9nWCduEb5v+wEPiFM1IJB8oDEEpBOz8 xtHFSr38pCsMDCHf2AJO703qhx5VhfvYEnfHJjHGmoAt5ETj/1Je0DON8wRfpJujHoX+ 34+Q== X-Gm-Message-State: AKaTC02b773qQiH33me607CyGhAz33OWs6XmWRFIuBSw1dCL4MM7vq7TaFi7GzjTuVch9DySC0BdVLG7N93lxQ== X-Received: by 10.36.14.21 with SMTP id 21mr5219039ite.79.1481262036224; Thu, 08 Dec 2016 21:40:36 -0800 (PST) MIME-Version: 1.0 Received: by 10.107.47.42 with HTTP; Thu, 8 Dec 2016 21:40:35 -0800 (PST) In-Reply-To: References: From: Jignesh Patel Date: Fri, 9 Dec 2016 11:10:35 +0530 Message-ID: Subject: Re: Keyboard Numpad keys issue To: user@guacamole.incubator.apache.org Content-Type: multipart/alternative; boundary=001a1143e0167d10b9054333314c archived-at: Fri, 09 Dec 2016 05:40:42 -0000 --001a1143e0167d10b9054333314c Content-Type: text/plain; charset=UTF-8 Hi, Thanks for prompt support and code. given code works well and now Num pad keys work fine. Jignesh On Fri, Dec 2, 2016 at 8:09 PM, Processor wrote: > This is the fix : > > {{ > > - > - > - src/protocols/rdp/guac_handlers.c.orig Tue Dec 15 06:53:50 > 2015 > - src/protocols/rdp/guac_handlers.c Tue Jan 5 16:50:19 2016 > *************** > - 489,494 **** > - 489,504 ---- > > rdp_guac_client_data* guac_client_data = (rdp_guac_client_data*) > client->data; > > + /* Inspired by the freerdp_focus_required() call in > client/X11/xf_client.c */ > + /* We delay the TS_SYNC_EVENT until the first key press (instead of the > event loop) due to a timing issue with Windows 2012, ref. */ > + /* https://social.msdn.microsoft.com/Forums/en-US/75024a3d-458f > -4ed9-b55d-7852d0113bd7/rdpbcgrpdf-2-minors-problems-with-server-2012 */ > + static int first_key = 1; > + if (first_key && pressed) > { + rdpInput* input = guac_client_data->rdp_inst->input; + > input->SynchronizeEvent(input, KBD_SYNC_NUM_LOCK); + first_key = 0; + } > > + > /* Update keysym state */ > if (GUAC_RDP_KEYSYM_STORABLE(keysym)) > GUAC_RDP_KEYSYM_LOOKUP(guac_client_data->keysym_state, keysym) = pressed; > }} > > > Bye > > 2016-12-02 10:29 GMT+01:00 Processor : > >> No it's a known bug. >> >> Corrected in the 0.9.10 Incubating >> >> There is a fix, but you'll have to patch the sources. If you want I can >> provide this to you. >> >> 2016-12-01 18:58 GMT+01:00 Jignesh Patel : >> >>> Hi, >>> >>> I have build Client and Server from 0.9.9 source. >>> >>> While connecting to Windows server ( 2008 or 2012 ), Num pad keys not >>> working even num lock is on. >>> >>> Advise me what can be problem in configuration. >>> >>> >>> Jignesh >>> >> >> > --001a1143e0167d10b9054333314c Content-Type: text/html; charset=UTF-8 Content-Transfer-Encoding: quoted-printable
Hi,

Thanks for prompt support = and code.

given code works well and now Num pad keys work fine= .

Jignesh
On Fri, Dec 2, 2016 at 8:09 PM, Processor <processor.com@gmail.com> wrote:
This is the fix :

{{

=20
  • =20
    • =20
      • src/pro= tocols/rdp/guac_handlers.c.orig Tue Dec 15 06:53:50 2015
      = =20
      • src/pro= tocols/rdp/guac_handlers.c Tue Jan 5 16:50:19 2016
        ***************
      = =20
      • 489,494= ****
      = =20
      • 489,504= ----
      = =20
    =20
=20

https://social.msdn.microsoft.com/Forums= /en-US/75024a3d-458f-4ed9-b55d-7852d0113bd7/rdpbcgrpdf-2-minors-p= roblems-with-server-2012 */
+ static int first_key =3D 1;
= + if (first_key && pressed)

{ + rdpInput* input =3D guac_clien= t_data->rdp_inst->input; + input->SynchronizeEvent(input, KBD= _SYNC_NUM_LOCK); + first_key =3D 0; + }=20


Bye<= /div>
2016-12-02 10:29 GMT+01:00 Processor <p= rocessor.com@gmail.com>:
No it's a known bug.

Corrected in= the 0.9.10 Incubating

There is a fix, but you'll have to = patch the sources. If you want I can provide this to you.

2016-12-01 18:58= GMT+01:00 Jignesh Patel <jignesh9@gmail.com>:
Hi,

I have build Client and Server from 0.9.9 source.

While conne= cting to Windows server ( 2008 or 2012 ), Num pad keys not working even num= lock is on.

Advise me what can be problem in configuration.


Jignesh



--001a1143e0167d10b9054333314c--