Forum
Sign Up

Bug Report: setWindowModified doesn't work properly in Application example

5 years 10 months ago #1 by 无锡飞谱电子信息技术有限公司
Platform: QTitanRibbon 5.0.1, Qt 5.13.0, VS 2017
But I have same issue in other ribbon, qt and VS release.

in example Application, here are some codes in MainWindow::setCurrentFileName function:
setWindowTitle(tr("%1[*] - %2").arg(shownName).arg(tr("Qtitan Ribbon Office")));
setWindowModified(false);
setWindowFilePath(shownName);

when you run it, whatever you save it or not, the title bar is always have [*] appeared, but it should be removed when saved or setWindowModified(false);

Thanks
Frank Zhou

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

More
5 years 10 months ago - 5 years 10 months ago #2 by Eduard
Thank you. Bug has been fixed.
Last edit: 5 years 10 months ago by Eduard.

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

  • Eduard
  • Eduard's Avatar
5 years 10 months ago #3 by 无锡飞谱电子信息技术有限公司
This bug tested in 5.1.0. Partially fixed, but I still got problem in it. I will try to distinguish the bug come from the QTitanRibbon or from my code.

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.295 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:

  • support@devmachines.com

  • license@devmachines.com

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:

  • support@devmachines.com( any questions related to our products or services )
  • license@devmachines.com( questions related to licensing )