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. Way to avoid delay in toolbar button based menu generation?
Forum Updated to NodeBB v4.3 + New Features

Way to avoid delay in toolbar button based menu generation?

Scheduled Pinned Locked Moved Unsolved General and Desktop
2 Posts 2 Posters 441 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.
  • P Offline
    P Offline
    primem0ver
    wrote on last edited by
    #1

    I have noticed that the first time I click on a toolbar button that is supposed to show a menu, there is a significant delay before the menu is drawn. Basically the box appears, then I have to wait several seconds before the menu items are added. I have seen reports that this occurs in context menus as well. I am assuming that something is being initialized in this time though it doesn't seem to be the menu itself because ALL menus work fine after the first one is drawn.

    Is there any way to force whatever needs to happen to occur at application load so that this wait doesn't occur the first time a button is pressed?

    1 Reply Last reply
    0
    • mrjjM Offline
      mrjjM Offline
      mrjj
      Lifetime Qt Champion
      wrote on last edited by
      #2

      Hi
      That does sound a bit odd.
      Maybe mention Qt version and platform.

      It could be a bug.
      Is it possible to reproduce in small sample?

      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