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. Can't type in QTextEdit when the mouse is not on the window
Forum Updated to NodeBB v4.3 + New Features

Can't type in QTextEdit when the mouse is not on the window

Scheduled Pinned Locked Moved General and Desktop
2 Posts 1 Posters 879 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.
  • G Offline
    G Offline
    Guigui
    wrote on last edited by
    #1

    Hi all,

    We're developing an application where the GUI is made of 3 dock windows and a QGraphicsScene serves as central widget. One of the dock windows has QTextEdit for parameter input. We noticed that whenever the mouse is not over the dock window containing the QTextEdit, we can't type in anything although it still has focus.

    Any idea how to fix this? Heard it might be caused by the window manager (we're on Linux btw), but there must surely be a workaround since this behavior does not happen on other applications built on Qt we use.

    Thanks for the help!

    1 Reply Last reply
    0
    • G Offline
      G Offline
      Guigui
      wrote on last edited by
      #2

      Any ideas or explanation anyone?

      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