Results 1 to 2 of 2

Thread: Can't receive mouse move events in fullscreen

  1. #1
    Join Date
    Jul 2017
    Posts
    8
    Thanks
    2
    Qt products
    Qt4
    Platforms
    Unix/X11

    Default Can't receive mouse move events in fullscreen

    I'm having a problem where my mouseMoveEvent function doesn't get any events when i switch to fullscreen by
    Qt Code:
    1. showFullScreen();
    To copy to clipboard, switch view to plain text mode 
    Any possible reasons why this may occur?

  2. #2
    Join Date
    Jan 2006
    Location
    Munich, Germany
    Posts
    4,710
    Thanks
    21
    Thanked 418 Times in 411 Posts
    Qt products
    Qt3 Qt4 Qt5 Qt/Embedded
    Platforms
    Unix/X11 Windows

    Default Re: Can't receive mouse move events in fullscreen

    Any possible reasons why this may occur?
    many.
    Since you provided no clues on how your code works, nor code, its hard to say what it the problem on your code.
    Having said that, one of the most common reasons for such problems is CPU hogging by a loop or something similar that denies qt from calling processEvents().
    ==========================signature=============== ==================
    S.O.L.I.D principles (use them!):
    https://en.wikipedia.org/wiki/SOLID_...iented_design)

    Do you write clean code? - if you are TDD'ing then maybe, if not, your not writing clean code.

Similar Threads

  1. How to receive gesture events on a QGraphicsItem?
    By tarantulae in forum Qt Programming
    Replies: 1
    Last Post: 18th September 2013, 17:09
  2. Replies: 3
    Last Post: 22nd February 2013, 19:56
  3. Replies: 3
    Last Post: 30th March 2011, 18:47
  4. Receive HotKey events with QAbstractEventDispatcher?
    By V4Friend in forum Qt Programming
    Replies: 1
    Last Post: 31st May 2010, 20:26
  5. Move Rectangle on mouse Move
    By vermarajeev in forum Qt Programming
    Replies: 24
    Last Post: 14th May 2007, 05:34

Tags for this Thread

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.