Forum
Sign Up

Ribbon has many bugs

5 years 3 months ago - 5 years 3 months ago #1 by Yanping Jia
Dear Developer Machine:

We find some bugs when using the QTitanRibbon, the bugs are listed as follow, we hope get your rely as early as possible, the details about bugs is described in the attachment

1、a window is maximized on startup, then after click the restore button, we hope the window is placed in the center screen.
2、when I change the size of the window, the action on the ribbonBar can auto change along the width of the window.
The appearance of window looks like as Microsfot Excel, you can do it as follows.
3、when I open many projects, then click RibbonSystemButton, the left area is less heighter than right area, which make the RibbonPageSystemRecentFileList not show completely
4、when I click these three “Small Buttons”、”Checkboxes && Radio Buttons”、”Groups”, the backgroundColor of the three button is show wrongly as follow, we hope only the backgroundcolor of current clicked button is gray
5、When run the “ribbonsample” demo, I switch the style to the Office 2010, then drag the taskbar of Windows OS to make it heighter, the statusar of my window(ribbonsample) show wrongly, which make the information on statusbar blocked
6、I placed a QToolBar in my window, then I want to style it by using QToolBar * pToolBar->setStyleSheet(“background: #ff0000”), but it show without any effect. In fact, my toolbar’s width is shown in the screenshot as below, but only a part of my toolbar is styled
7、bug:
(1)、we can create the three RIbbonPage named as p1、p2、p3
(2)、 p1 has one RibbonGroup, p2 has more than 60 RibbonGroup(only 6 RibbonGroup is visiable, others are hidden),p1 has also one RibbonGroup
(3)、p1 is the current RibbonPage when the window start up
(4)、then, we switch to p3
(5)、now, we switch to p2, but all the RibbonGroups of p2 are not visiable
We analy the reason of produce the bug:
(1)、the rect of every RibbonPage in RibbonBar is(0,0,100,30), and RibbonPage keep the m_minWidth(default value is 100)
(2)、when the RibbonGroups of the RibbonPage show again, it need to calcute the min width of RibbonGroup, then sum all the min width of all RibbonGroup,plus 2(2 is the default width of group),which make the minimum width together is bigger than 100
(3)、due to the final result is bigger than m_minWidth,the p2 can not show rightly。
Attachments:
Last edit: 5 years 3 months ago by Yanping Jia.

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

More
5 years 3 months ago #2 by Developer Machines
Sent you by email a build with a new version (QtitanRibbon 4.0.0 beta1) to check for errors that were reported.

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 MachinesEduard
Time to create page: 0.138 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 )