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. FPS slows down when not resizing window
QtWS25 Last Chance

FPS slows down when not resizing window

Scheduled Pinned Locked Moved Solved General and Desktop
windowfreezingopenglopenglwidget
2 Posts 2 Posters 331 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.
  • H Offline
    H Offline
    Hyperspider Software
    wrote on 27 Apr 2023, 00:19 last edited by
    #1

    I have a problem when my window freezes then my fps counter will slow down and freeze.
    To me I think that my window will not focus when not interacting, but then I figured out that it will only focus when resizing the window.
    However when I stop resizing the window it goes back to its freezing phase and will continue until it resizes once again.

    Any suggestions on how to fix this?
    Thanks!

    Video on the problem:
    https://drive.google.com/file/d/1s0W2a66Hrk01iJwrhuQ4zfUXqNCyB9UP/view?usp=sharing

    P 1 Reply Last reply 27 Apr 2023, 03:07
    0
    • H Hyperspider Software
      27 Apr 2023, 00:19

      I have a problem when my window freezes then my fps counter will slow down and freeze.
      To me I think that my window will not focus when not interacting, but then I figured out that it will only focus when resizing the window.
      However when I stop resizing the window it goes back to its freezing phase and will continue until it resizes once again.

      Any suggestions on how to fix this?
      Thanks!

      Video on the problem:
      https://drive.google.com/file/d/1s0W2a66Hrk01iJwrhuQ4zfUXqNCyB9UP/view?usp=sharing

      P Offline
      P Offline
      Pl45m4
      wrote on 27 Apr 2023, 03:07 last edited by
      #2

      @Hyperspider-Software

      Resizing and moving the window will cause updates, renders and repaints. If everything is done and nothing changes, it doesn't have to get updated at such high rate as it would, when you grab the window and move it around and change dimensions of the content.
      Just a guess. Maybe it might be helpful if you show some code, how the window is rendered.
      Is it just one window or does everything behave like this?


      If debugging is the process of removing software bugs, then programming must be the process of putting them in.

      ~E. W. Dijkstra

      1 Reply Last reply
      1
      • H Hyperspider Software has marked this topic as solved on 28 Apr 2023, 21:27

      1/2

      27 Apr 2023, 00:19

      • Login

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