Frameless QDialog and TouchPad events

  • I have opened dialog window inherited form QDialog class and
    set flags (Qt::FramelessWindowHint | Qt::Dialog )
    (to get rid of the title bar).
    When I touch on touchpad any key there are no effect - mouse actions work properly.
    What the problem?

    Thanks in advance

  • have you guaranteed that the dialog has focus when you try to press a key? modal dialogs should steal the focus when active. you said "mouse works" are there clickable widgets on the dialog that you are verifying the dialog receives events?

  • @Milosz
    The problem was solved by upgrading Qt from 5.10 to 5.12.2

Log in to reply

Looks like your connection to Qt Forum was lost, please wait while we try to reconnect.