Forum
Sign Up

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

2 months 1 week ago #1 by Frank
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
2 months 1 week ago - 2 months 1 week ago #2 by Eduard
Thank you. Bug has been fixed.

Software Developer
Last edit: 2 months 1 week ago by Eduard.

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

More
1 month 3 weeks ago #3 by Frank
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 MachinesEduard
Time to create page: 0.128 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 )