Results 1 to 3 of 3

Thread: Mouse misalignment using QT/Embedded and directfb

  1. #1
    Join Date
    Oct 2009
    Posts
    2
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Mouse misalignment using QT/Embedded and directfb

    I'm seeing odd mouse behavior using the QT demo applications with directfb.

    I'm using QT for Embedded Linux 4.5.3, and have configured it using "-embedded i386" and "-plugin-gfx-directfb".

    I'm running the applications on my Ubuntu laptop, using a command like this:
    demobrowser -qws -display directfb

    If set directfb to use an X11 window (using "system=x11" in .directfbrc), everything works fine, and the mouse cursor is aligned correctly.

    If I run the application in linux virtual terminal (use the linux framebuffer), the mouse cursor isn't shown at the correct location. In the browser, for example, the cursor may be shown an inch above and to the left of a link when the browser thinks the mouse is hovering over the link.

    The misalignment is constant across the whole screen, and seems to have something to do with what happens at the edge of the screen. If I move the mouse past an edge, the misalignment changes in proportion to the distance beyond the edge that the mouse is moved.

    Any clues about what might be going on?

  2. #2
    Join Date
    Oct 2009
    Posts
    2
    Qt products
    Qt/Embedded
    Platforms
    Unix/X11

    Default Re: Mouse misalignment using QT/Embedded and directfb

    The weirdness that I was seeing was in 4.5.3. I found that going back to 4.5.2 cures the problem for me.

  3. #3
    Join Date
    Oct 2009
    Posts
    1
    Qt products
    Qt/Embedded

    Default Re: Mouse misalignment using QT/Embedded and directfb

    Hi all:

    I found the same issue using Qt 4.5.3 and DirectFB in a sh4 embedded platform. As a workaround, I substituted the file:

    src/plugins/gfxdrivers/directfb/qdirectfbmouse.cpp

    by the 4.5.2 one and it works fine again. Is it a bug in this last Qt version or what? Any idea?

    Regards,
    Rafael

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Digia, Qt and their respective logos are trademarks of Digia Plc in Finland and/or other countries worldwide.