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
QtWS25 Last Chance

WebView + VirtualKeyboard + Javascript alert function

Scheduled Pinned Locked Moved Unsolved Qt WebKit
2 Posts 1 Posters 494 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 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
    0
    • M Moises Marquez

      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 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

      • Login

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