Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. General and Desktop
  4. Very strange performance of QLabel and QLineEdit
Forum Updated to NodeBB v4.3 + New Features

Very strange performance of QLabel and QLineEdit

Scheduled Pinned Locked Moved Unsolved General and Desktop
4 Posts 3 Posters 356 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.
  • M Offline
    M Offline
    MStackoverflo
    wrote on last edited by MStackoverflo
    #1

    Hi,
    I have a program with simple QLabel and QLineEditinside a QGridLayout. On a particular computer, anytime I change a QLabel by setText or anytime there's an input in a QLineEdit, the program freezes for around 250ms to 300ms. This behavior does not happen on other computers, including weaker ones. CPU utilization goes from 0.5% to 2%.

    Computer CPU that has problem :

    • AMD 3600x (6 core 12 thread) + Rx580 GPU

    Other CPU that has been tested with the same program and works well :

    • Intel i3 5th gen with integrated GPU
    • Intel i5 8th Gen with integrated GPU
    • AMD 5900x + 1660ti

    Anyone has had similar issues before?

    jsulmJ 1 Reply Last reply
    0
    • M MStackoverflo

      Hi,
      I have a program with simple QLabel and QLineEditinside a QGridLayout. On a particular computer, anytime I change a QLabel by setText or anytime there's an input in a QLineEdit, the program freezes for around 250ms to 300ms. This behavior does not happen on other computers, including weaker ones. CPU utilization goes from 0.5% to 2%.

      Computer CPU that has problem :

      • AMD 3600x (6 core 12 thread) + Rx580 GPU

      Other CPU that has been tested with the same program and works well :

      • Intel i3 5th gen with integrated GPU
      • Intel i5 8th Gen with integrated GPU
      • AMD 5900x + 1660ti

      Anyone has had similar issues before?

      jsulmJ Offline
      jsulmJ Offline
      jsulm
      Lifetime Qt Champion
      wrote on last edited by
      #2

      @MStackoverflo said in Very strange performance of QLabel and QLineEdit:

      Anyone has had similar issues before?

      No

      Does changing label or the line edit trigger any activities in your application?
      Can you debug your app on that machine?

      https://forum.qt.io/topic/113070/qt-code-of-conduct

      1 Reply Last reply
      0
      • M Offline
        M Offline
        MStackoverflo
        wrote on last edited by
        #3

        @jsulm said in Very strange performance of QLabel and QLineEdit:

        No
        Does changing label or the line edit trigger any activities in your application?
        Can you debug your app on that machine?

        No it doesnt. I even create a new QLabel or QLineEdit just for testing and when I input text on these, it still happens.

        1 Reply Last reply
        0
        • SGaistS Offline
          SGaistS Offline
          SGaist
          Lifetime Qt Champion
          wrote on last edited by
          #4

          Hi,

          Are you graphics driver up to date ?
          If so, did you try with an older version ?

          Interested in AI ? www.idiap.ch
          Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

          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