Forum
Sign Up

QTitan Ribbon Painting - gray background

13 years 5 months ago #1 by Matthias Zangl
Hi,

another timing problem we have since version 2.2 is that sometimes ribbon groups are painted gray instead of blue.

In the provided example when the user switches from Overview to Basket the ribbon content gets reloaded because basket is an external plugin. Usually this works finde and looks like in ribbon_button_working.png. But sometimes the background of the group gets painted gray (see ribbon_buttongrayout_unhovered.png). But still the buttons are working as you can see in the ribbon_buttongrayout_hovered.png image.

Maybe it is related to one of the other painting problems I reported. But still, I wanted to let you know.

thanks,
Matt
Attachments:

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

More
13 years 5 months ago #2 by Developer Machines
To better understand the problem please tell me what algorithm you use to reload the page?

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

More
13 years 5 months ago - 13 years 5 months ago #3 by Matthias Zangl
when changing the active tab page the ribbon of the target plugin is loaded (the tab page the user is about to activate controls which plugin is dynamically loaded)

1) Clear ribbon: we clean the quick access bar and remove all group and pages

2) Each plugin has its ribbon bar configured in a xml

3) we build our own xmlobject tree out of it, reading information about pages from xml, pages are reading groups and groups are reading data about actions and widgets

4) and then we use this tree structure of xmlobjects to build the according ribbon object model

did this help?

thanks,
Matthias
Last edit: 13 years 5 months ago by Matthias Zangl.

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

More
13 years 5 months ago - 13 years 5 months ago #4 by Developer Machines
Hello Matthias,
Unfortunately we could not reproduce the bug with gray background. I would suggest you to try the new version of the QtitanRibbn (will be released next week) and then decide is there a problem or it is solved.
Last edit: 13 years 5 months ago by Developer Machines.

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

More
13 years 4 months ago #5 by Matthias Zangl
Hello,

thanks for trying. Yes, I think this is a good idea. Lets hope that it is gone. ;-)

bye,
Matt

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

More
13 years 4 months ago #6 by Matthias Zangl
Hello,

also this problem still exists for us in version 2.3. We try to provide a sample demonstrating this.

thanks,
Matthias

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.157 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 )