All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jirislaby <1592351@bugs.launchpad.net>
To: qemu-devel@nongnu.org
Subject: [Qemu-devel] [Bug 1592351] Re: mouse pointer offset with gtk, gl=on
Date: Tue, 14 Jun 2016 19:42:03 -0000	[thread overview]
Message-ID: <20160614194203.31455.67842.malone@soybean.canonical.com> (raw)
In-Reply-To: 20160614104554.31869.91941.malonedeb@soybean.canonical.com

That works for scale = 1. Given scale is set only in draw (2d) and not
in render (3d), it never worked with other scales. Apart from that, the
code is full of bugs.

I could make it work with the attached diff modulo the fprintfs,
basically. However I am not going to invest more time into that, as it
has to be audited and fixed by someone who actually understands the
code.

** Patch added: "debug & fix patch"
   https://bugs.launchpad.net/qemu/+bug/1592351/+attachment/4683813/+files/fix.diff

-- 
You received this bug notification because you are a member of qemu-
devel-ml, which is subscribed to QEMU.
https://bugs.launchpad.net/bugs/1592351

Title:
  mouse pointer offset with gtk,gl=on

Status in QEMU:
  Confirmed

Bug description:
  When I turn gl=on for -display gtk, some Y offset is added to the
  mouse pointer coordinates. That is, when I click on an icon, an icon
  _above_ the one I clicked triggers.

  Using xev, it seems to be offset of 10-12 pixels.

  It happens with all ps/2 mouse, -usbdevice mouse and -usbdevice
  tablet.

  Without gl=on, the pointer is precise.

  I have these qemu versions:
  qemu-2.6.0-470.2.x86_64
  qemu-ipxe-1.0.0-470.2.noarch
  qemu-ksm-2.6.0-470.2.x86_64
  qemu-kvm-2.6.0-470.2.x86_64
  qemu-ovmf-x86_64-2015+git1462940744.321151f-2.1.noarch
  qemu-ppc-2.6.0-470.2.x86_64
  qemu-seabios-1.9.1-470.2.noarch
  qemu-sgabios-8-470.2.noarch
  qemu-tools-2.6.0-470.2.x86_64
  qemu-vgabios-1.9.1-470.2.noarch
  qemu-x86-2.6.0-470.2.x86_64

To manage notifications about this bug go to:
https://bugs.launchpad.net/qemu/+bug/1592351/+subscriptions

  parent reply	other threads:[~2016-06-14 19:50 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-06-14 10:45 [Qemu-devel] [Bug 1592351] [NEW] mouse pointer offset with gtk, gl=on Jirislaby
2016-06-14 11:43 ` [Qemu-devel] [Bug 1592351] " Jirislaby
2016-06-14 14:50 ` Jirislaby
2016-06-14 17:57 ` Dr. David Alan Gilbert
2016-06-14 18:34 ` Jirislaby
2016-06-14 18:54 ` Jirislaby
2016-06-14 19:42 ` Jirislaby [this message]
2017-04-27 15:51 ` undefined
2017-04-27 16:05 ` undefined
2018-11-26 16:44 ` tinywrkbee
2020-01-23  6:23 ` [Bug 1592351] Re: mouse pointer offset with gtk,gl=on Thomas Huth

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20160614194203.31455.67842.malone@soybean.canonical.com \
    --to=1592351@bugs.launchpad.net \
    --cc=qemu-devel@nongnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.