Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Qt widgets lose focus?
Forum Updated to NodeBB v4.3 + New Features

Qt widgets lose focus?

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 2.4k Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • B Offline
    B Offline
    biomedicalhatem
    wrote on last edited by
    #1

    Hey,

    I have been using Qt 4.6.4 on Windows 7 64-bit for two years. Recently, I am having a weird issue with only Qt widgets. It appears on all my Qt applications (which includes the Qt exampled applications). I don't seem to be able to press buttons, as if the window is out of focus. If I drag the complete window, or resize it, I seem to be able to press on a button. If I immediately try to press on another button (child of another parent widget), the same problem seems to appear again. I am not sure if it is a Windows or Qt issue.. but this problem only appears on Qt widgets. I also sometimes have a problem maximizing any application opened in the taskbar (still appears to be a focus issue).. I fix that by pressing ctrl-alt-delete.. then starting the task manager.. then windows starts to behave correctly again. Nevertheless, the Qt problem always persists.

    I update and restarted windows, and don't have any malware.

    The only option infront of me now is to reinstall windows.. any idea on how to fix that any other way would be surely appreciated! :)

    1 Reply Last reply
    0
    • B Offline
      B Offline
      biomedicalhatem
      wrote on last edited by
      #2

      Following up, I think the problem is now solved.

      The wireless Logitech mouse I was using seemed to be causing the problem. When I turn it off.. or remove its dongle, windows, and the Qt programs appear to behave well. I still don't understand how a faulty mouse can cause such selective behavior, but I am glad things are working fine :)

      1 Reply Last reply
      0

      • Login

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • Users
      • Groups
      • Search
      • Get Qt Extensions
      • Unsolved