Bug 121537 - Frame title should show SuggestedSaveAsName when not yet saved
Summary: Frame title should show SuggestedSaveAsName when not yet saved
Status: RESOLVED FIXED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: LibreOffice (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: low enhancement
Assignee: Samuel Mehrbrodt (allotropia)
URL:
Whiteboard: target:6.3.0 target:6.2.0.1
Keywords:
Depends on:
Blocks:
 
Reported: 2018-11-20 07:26 UTC by Samuel Mehrbrodt (allotropia)
Modified: 2023-11-27 09:15 UTC (History)
2 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Samuel Mehrbrodt (allotropia) 2018-11-20 07:26:27 UTC
When creating a new document, users can set a "SuggestedSaveAsName" ( https://api.libreoffice.org/docs/idl/ref/servicecom_1_1sun_1_1star_1_1document_1_1MediaDescriptor.html#a631c4542a945e89c006084ebdbea6202 ) which will be the default file name when the document is saved.

When setting that, the frame title still shows "Untitled x".

Instead it should display the name given as SuggestedSaveAsName (if available and the file was not yet saved).
Comment 1 Commit Notification 2018-11-20 11:18:05 UTC
Samuel Mehrbrodt committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/+/4355137901e18e24de2ab123fd0454147f1f3890%5E%21

tdf#121537 Display SuggestedSaveAsName in title if set

It will be available in 6.3.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 2 Commit Notification 2018-11-20 13:57:10 UTC
Samuel Mehrbrodt committed a patch related to this issue.
It has been pushed to "master":

https://git.libreoffice.org/core/+/9b3387f57d4a762f681ab5276aff8764426c6aa4%5E%21

tdf#121537 Add test

It will be available in 6.3.0.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 3 Commit Notification 2018-11-20 21:44:01 UTC
Samuel Mehrbrodt committed a patch related to this issue.
It has been pushed to "libreoffice-6-2":

https://git.libreoffice.org/core/+/8848881e25e75387a7ac26503c7da3787dd25b80%5E%21

tdf#121537 Display SuggestedSaveAsName in title if set

It will be available in 6.2.0.1.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 4 Commit Notification 2018-11-21 09:58:28 UTC
Samuel Mehrbrodt committed a patch related to this issue.
It has been pushed to "libreoffice-6-2":

https://git.libreoffice.org/core/+/fec5417ba7392f354494db57c23f7cdd4ff46cf0%5E%21

tdf#121537 Add test

It will be available in 6.2.0.1.

The patch should be included in the daily builds available at
https://dev-builds.libreoffice.org/daily/ in the next 24-48 hours. More
information about daily builds can be found at:
https://wiki.documentfoundation.org/Testing_Daily_Builds

Affected users are encouraged to test the fix and report feedback.
Comment 5 Mike Kaganski 2023-11-27 09:04:12 UTC
There's also DocumentTitle property in the media descriptor. Shouldn't it be used first, if present?