Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. QtWebEngine
  4. select fields with a lot of data
Qt 6.11 is out! See what's new in the release blog

select fields with a lot of data

Scheduled Pinned Locked Moved Unsolved QtWebEngine
3 Posts 2 Posters 952 Views 1 Watching
  • 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.
  • elicatE Offline
    elicatE Offline
    elicat
    wrote on last edited by
    #1

    Good evening,
    i have multiple select fields with many values (many option lines).
    Even when I run the release program, the opening of the selection list is very slow. This does not happen in the html form opened by the normal browser.
    Anyone know how to fix this?
    Thanks in advance for your help.

    Saluti, Gianfranco Elicat

    JonBJ 1 Reply Last reply
    0
    • elicatE elicat

      Good evening,
      i have multiple select fields with many values (many option lines).
      Even when I run the release program, the opening of the selection list is very slow. This does not happen in the html form opened by the normal browser.
      Anyone know how to fix this?
      Thanks in advance for your help.

      JonBJ Offline
      JonBJ Offline
      JonB
      wrote on last edited by
      #2

      @elicat
      This really should not be the case, given that QtWebEngine is just using the chromium engine. Nor should how you compile be relevant if you are just presenting QtWebEngine with some fixed HTML. So do you have more than that going on? Are you counting your code time to generate the list of the selects? Can you show a minimal example of your issue?

      elicatE 1 Reply Last reply
      0
      • JonBJ JonB

        @elicat
        This really should not be the case, given that QtWebEngine is just using the chromium engine. Nor should how you compile be relevant if you are just presenting QtWebEngine with some fixed HTML. So do you have more than that going on? Are you counting your code time to generate the list of the selects? Can you show a minimal example of your issue?

        elicatE Offline
        elicatE Offline
        elicat
        wrote on last edited by elicat
        #3

        @JonB said in select fields with a lot of data:

        This really should not be the case, given that QtWebEngine is just using the chromium engine. Nor should how you compile be relevant if you are just presenting QtWebEngine with some fixed HTML. So do you have more than that going on? Are you counting your code time to generate the list of the selects? Can you show a minimal example of your issue?

        In my project I first create the complete html page and then I associate it with the WebEngine dynamically. The fields, in this case, are three select a bit long .. same this:

        var urlEngineFormPgm = splitViewComponent.txtCurrentPath + "/html/" +  namefilehtml;
        var objRectPgmCreate = componentQmlRectPgm.createObject(objMainWindow, 
        	{"xProgram": positionX,  
        	"objectNameProgram": objName, 
        	"textProgram": "Loading. . . .", 
        	"visibleProgram": true, 
        	"urlPgm": urlEngineFormPgm, 
        . . . .
        
        

        where urlPgm is alia og WebEngine property URL

        I have never calculated the execution time but I notice big differences between debug and release but also in release if I have a computer with few resources everything becomes slow .. The same page opened with crhome behaves in a normal way without being slow.

        P.S. Is slow when I touch fields Select for open list of combobox NOT when load QML whith WebEngine

        Saluti, Gianfranco Elicat

        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