Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Mobile and Embedded
  4. Button Freeze while showing QWebView
Qt 6.12 LTS is out! See what's new in the release blog

Button Freeze while showing QWebView

Scheduled Pinned Locked Moved Unsolved Mobile and Embedded
1 Posts 1 Posters 274 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.
  • R Offline
    R Offline
    Ramakanth
    wrote on last edited by Ramakanth
    #1

    Hi All,

    Basically am trying to show html buffer using QWebView like setHtml(htmlBuffer) which is being run in the Qt GUI thread.
    Before showing the htmlBuffer, there is a conversion from the xml buffer(device response data) to html buffer using libxml library.

    At times, in a large network having multiple devices, the computation time for the conversion could take time like 680ms- 1sec or more based on the data size as it invokes applying stylesheet to show the html buffer and the computation is being run in the same thread as the UI. In a small network, the computation time is roughly 120 ms.

    In this context, whether UI buttons(derived from QPushButton for navigating pages) like next and prev could freeze/latch as it is being freezed? Is this expected behavior? If so, why?

    Is it related to long running operation in https://doc.qt.io/archives/qq/qq27-responsive-guis.html which makes gui or button not responsive?

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