Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Qt WebKit
  4. WebView + VirtualKeyboard + Javascript alert function

WebView + VirtualKeyboard + Javascript alert function

Scheduled Pinned Locked Moved Unsolved Qt WebKit
2 Posts 1 Posters 501 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.
  • M Offline
    M Offline
    Moises Marquez
    wrote on 21 Aug 2019, 12:06 last edited by Moises Marquez
    #1

    I'm writting an embedded navigator using webview and the virtualkeyboard based in qtwebbrowser.

    All looks good. The keyboard shows properly when an input get the focus, and dissapear when any hasn't it.

    But if a page shows an alert using javascript, and the user dismiss the alert, the keyboard is not shown anymore.

    Someone knows about this "problem"?

    I think that the best solution is forcing VirtualKeyboard to use ever the "normal" keyboard. It's possible to use only this keyboard even when a numeric input get the focus?

    M 1 Reply Last reply 22 Aug 2019, 11:36
    0
    • M Moises Marquez
      21 Aug 2019, 12:06

      I'm writting an embedded navigator using webview and the virtualkeyboard based in qtwebbrowser.

      All looks good. The keyboard shows properly when an input get the focus, and dissapear when any hasn't it.

      But if a page shows an alert using javascript, and the user dismiss the alert, the keyboard is not shown anymore.

      Someone knows about this "problem"?

      I think that the best solution is forcing VirtualKeyboard to use ever the "normal" keyboard. It's possible to use only this keyboard even when a numeric input get the focus?

      M Offline
      M Offline
      Moises Marquez
      wrote on 22 Aug 2019, 11:36 last edited by
      #2

      I have found that this problem occur when the focus is over a numeric field. The web throw an alert message. The keyboard disappear. And after this moment, only when the focus is recieved by another numeric field, the keyboard is shown.

      1 Reply Last reply
      0

      2/2

      22 Aug 2019, 11:36

      • Login

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