Forum
Sign Up

a performance issue of QtitanRibbon 4.3.0

8 years 1 week ago #1 by 417
Product Version: QtitanRibbon 4.3.0

OS Version: Windows 10

Summary:

We’ve found a performance issue of QtitanRibbon 4.3.0 in the use of the process. It takes a long time to switch the enabled/disabled state of QAction. Our software is similary to Office Word and it needs to switch the state of QAction in real time. In debug mode, it will take about 1.5 seconds to switch 100 QActions enabled to disabled. We wrote the test code in RibbonApplication.exe in the demo project and it took 0.1-0.2 second to switch 25 QActions. Could you please fix the problem as soon as possible.

The test code is as follow:

// RibbonApplication.exe Project

QTime time;

time.start();

m_actionFileNew->setEnabled(false);

m_actionOpenFile->setEnabled(false);

m_actionSaveFile->setEnabled(false);

m_actionPrint->setEnabled(false);

m_actionPrintSetup->setEnabled(false);

m_actionPrintPreview->setEnabled(false);

m_actionTextBold->setEnabled(false);

m_actionTextUnderline->setEnabled(false);

m_actionTextItalic->setEnabled(false);

m_actionTextColor->setEnabled(false);

m_actionAlignLeft->setEnabled(false);

m_actionAlignCenter->setEnabled(false);

m_actionAlignRight->setEnabled(false);

m_actionAlignJustify->setEnabled(false);

m_actionUndo->setEnabled(false);

m_actionRedo->setEnabled(false);

m_actionCut->setEnabled(false);

m_actionCopy->setEnabled(false);

m_actionPaste1->setEnabled(false);

m_actionPaste2->setEnabled(false);

m_actionFormatPointerAction->setEnabled(false);

m_actionSelectAll->setEnabled(false);

m_actionFullScreen->setEnabled(false);

m_actionPrintLayout->setEnabled(false);

m_comboFont->setEnabled(false);

m_comboSize->setEnabled(false);

double second = time.elapsed()/1000.0;

Please Log in or Create an account to join the conversation.

More
7 years 11 months ago #2 by Developer Machines
Bug was fixed in QtitanRibbon 4.4.0 version.

Please Log in or Create an account to join the conversation.

More
  • Not Allowed: to create new topic.
  • Not Allowed: to reply.
  • Not Allowed: to edit your message.
Moderators: Developer Machines
Time to create page: 0.122 seconds

Developer Newsletter

Join our Developer Machines newsletter to get informed on all the latest releases of the commercial components for Qt.C++, Delphi FireMonkey, updates and general knowledges.

Quick Support

Should you need any additional information about our products or licensing, please contact us at the following email addresses:

  • This email address is being protected from spambots. You need JavaScript enabled to view it.

  • This email address is being protected from spambots. You need JavaScript enabled to view it.

Get in Touch

If you would like to purchase our products or services, but don’t know how to do it the right way, please feel free to contact us:

  • This email address is being protected from spambots. You need JavaScript enabled to view it.( any questions related to our products or services )
  • This email address is being protected from spambots. You need JavaScript enabled to view it.( questions related to licensing )