Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 4 Support (Qt 6) › Bug in nativeUtils.contacts

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #25382

    nks (baumemo)

    Hi Felgo Team,

    I found a performance regression issue which was introduced since Felgo 4 (May be on mayor version change or minor).

    The following code needs 8 seconds to print my first 4 contacts:

    AppPage {
        readonly property var contactList : nativeUtils.contacts
    
        Component.onCompleted: {
            console.log("1", JSON.stringify(contactList[0]))
            console.log("2", JSON.stringify(contactList[1]))
            console.log("3", JSON.stringify(contactList[2]))
            console.log("4", JSON.stringify(contactList[3]))
        }
    }

    It seems that every new line needs additional 2 seconds. Looping over a big contact list is impossible when having much contacts.

    Can you please fix this issue for us? Our customers need that.

    Best regards

    #25384

    Günther
    Felgo Team

    Hi,

    thank you for the report. On which devices / operating systems do you experience the issue?

    I did a quick test on iOS and can confirm that it takes very long to iterate over the entries. I will create a ticket so our developers can take a look.

    Best,
    Günther

    #25386

    nks (baumemo)

    I have tested it on android. Our customers seems to have the issue also on iOS. Thank you very much for creating the ticket for us! Hope you find the problem.

    #25400

    nks (baumemo)

    Hi Günther,

    is there something new about this topic?

    Regards

    #25407

    Günther
    Felgo Team

    Hi,

    we have the issue in our backlog but didn’t get to work on it yet.

    Best,
    Günther

    #25413

    nks (baumemo)

    Hi Günther,

    thank you for your reply. Is there a way to get this topic higher prioritized? May be you or the key account manager can send us a PM? The feature is completely useless for most of our customers.

    Regards

    #25414

    Günther
    Felgo Team

    Hi,

    sure, I will forward the request and we will be in touch to see what we can do!

    Best,
    Günther

    #25417

    Alex
    Felgo Team

    Hi,

    We had a look into the issue and work on an improvement for the next update. You can work with a work-around in the meanwhile: Can you use

    NativeUtils.getContacts(true)

    instead of

    NativeUtils.contacts

    to get the contacts and let us know if that works for you?

    Best,

    Alex from Felgo

Viewing 8 posts - 1 through 8 (of 8 total)

RSS feed for this thread

You must be logged in to reply to this topic.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded