Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QML and Qt Quick
  4. placing Popup over/above virtual keyboard
QtWS25 Last Chance

placing Popup over/above virtual keyboard

Scheduled Pinned Locked Moved Unsolved QML and Qt Quick
popup qmlkeyboardvirtualkeyboardoverlayz-order
2 Posts 2 Posters 499 Views
  • 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.
  • A Offline
    A Offline
    alpartis
    wrote on last edited by alpartis
    #1

    In my root QML ApplicationWindow, I have a Popup that covers the full screen when visible (this is my implementation of a “Dream” mode i.e. I make this Popup visible when I want to enter dream mode). This all works exactly as I’d like it to … with one exception: it does not cover the virtual keyboard if it’s presented when I want to start dreaming.

    Is there a way I can change the z-level of my Popup (which I believe is in the Overlay layer) such that it will obscure the keyboard? If not, is there a better way to achieve this?

    My current attempt to solve this has been to simply set z: 10000 for my Popup. This gets it over any other modal Dialog that I use, but is failing to cover the keyboard which is sometimes present.

    I should add, this is an embedded Linux device/platform (not Android, etc.) and I'm using Qt's VirtualKeyboard InputPanel.

    GrecKoG 1 Reply Last reply
    0
    • A alpartis

      In my root QML ApplicationWindow, I have a Popup that covers the full screen when visible (this is my implementation of a “Dream” mode i.e. I make this Popup visible when I want to enter dream mode). This all works exactly as I’d like it to … with one exception: it does not cover the virtual keyboard if it’s presented when I want to start dreaming.

      Is there a way I can change the z-level of my Popup (which I believe is in the Overlay layer) such that it will obscure the keyboard? If not, is there a better way to achieve this?

      My current attempt to solve this has been to simply set z: 10000 for my Popup. This gets it over any other modal Dialog that I use, but is failing to cover the keyboard which is sometimes present.

      I should add, this is an embedded Linux device/platform (not Android, etc.) and I'm using Qt's VirtualKeyboard InputPanel.

      GrecKoG Offline
      GrecKoG Offline
      GrecKo
      Qt Champions 2018
      wrote on last edited by
      #2

      @alpartis Try setting the overlay z:

      Overlay.overlay.z: 10000

      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