[Libreoffice-bugs] [Bug 139427] New: manually setted frame title will not be resetted after closing document

bugzilla-daemon at bugs.documentfoundation.org bugzilla-daemon at bugs.documentfoundation.org
Tue Jan 5 13:23:55 UTC 2021


https://bugs.documentfoundation.org/show_bug.cgi?id=139427

            Bug ID: 139427
           Summary: manually setted frame title will not be resetted after
                    closing document
           Product: LibreOffice
           Version: unspecified
          Hardware: All
                OS: All
            Status: UNCONFIRMED
          Severity: normal
          Priority: medium
         Component: LibreOffice
          Assignee: libreoffice-bugs at lists.freedesktop.org
          Reporter: sven_stanislawski at web.de

Created attachment 168702
  --> https://bugs.documentfoundation.org/attachment.cgi?id=168702&action=edit
macro document

When I change the frame title of the last opened document it will not be reset
to the default name after closing this document

Example in Basic:
oFrame = ThisComponent.CurrentController.Frame
oFrame.setTitle("new Title")

After closing the document the start center will be shown and the frame title
says "new Title".

See:
https://opengrok.libreoffice.org/xref/core/framework/source/fwe/helper/titlehelper.cxx?r=db89f53c#339

The member variable won't be reset. Is that the desired behavior? The problem
also exists in OpenOffice. Is there a workaround without listening for every
OnNew or OnLoad event and changing the title.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/libreoffice-bugs/attachments/20210105/1c6cf06f/attachment.htm>


More information about the Libreoffice-bugs mailing list