Bug 57409 - File name doesn't change the document title
Summary: File name doesn't change the document title
Status: RESOLVED FEATURE
Alias: None
Product: Workbooks & Inspector
Classification: Xamarin
Component: Client: Mac ()
Version: master
Hardware: Macintosh Mac OS
: --- normal
Target Milestone: ---
Assignee: xamarininteractive
URL:
Depends on:
Blocks:
 
Reported: 2017-06-12 20:54 UTC by David Ortinau [MSFT]
Modified: 2017-06-13 16:04 UTC (History)
2 users (show)

Tags:
Is this bug a regression?: ---
Last known good build:

Notice (2018-05-24): bugzilla.xamarin.com is now in read-only mode.

Please join us on Visual Studio Developer Community and in the Xamarin and Mono organizations on GitHub to continue tracking issues. Bugzilla will remain available for reference in read-only mode. We will continue to work on open Bugzilla bugs, copy them to the new locations as needed for follow-up, and add the new items under Related Links.

Our sincere thanks to everyone who has contributed on this bug tracker over the years. Thanks also for your understanding as we make these adjustments and improvements for the future.


Please create a new report on Developer Community with your current version information, steps to reproduce, and relevant error messages or log files if you are hitting an issue that looks similar to this resolved bug and you do not yet see a matching new report.

Related Links:
Status:
RESOLVED FEATURE

Description David Ortinau [MSFT] 2017-06-12 20:54:53 UTC
https://www.dropbox.com/s/jb14bec9dnv3m40/Screenshot%202017-06-12%2015.40.37.png?dl=0

I duplicated a workbook, renamed the file. The "Title" attribute of the document didn't update to reflect the name change. I don't see any way to change it in the Workbooks UI. I can change it in VSCode no problem.

Seems I should be able to edit the title perhaps in the new sidebar? Or it should check to see if my filename has changed and update accordingly.
Comment 1 David Ortinau [MSFT] 2017-06-12 21:01:33 UTC
I'm observing the same problem when using File > Save As. The title of the document didn't change anywhere but the filename on disk.

When I closed Workbooks and reopened the new file, I saw the correct name briefly, but when the document fully loaded it reverted to the old title.
Comment 2 Sandy Armstrong [MSFT] 2017-06-13 15:52:07 UTC
In Workbooks 1.3, the title is determined by the title attribute in the YAML header.

This is initially set based on the file name you choose when you first save.

If you wish to change the title later, you must do so via the sidebar. On Windows, you double-click the page entry for the main page to be able to edit the title. On Mac you do whatever the native behavior is there.
Comment 3 David Ortinau [MSFT] 2017-06-13 16:04:16 UTC
Ah, thanks. I was clicking the top level title in the sidebar which doesn't work. Clicking the workbook title below the NuGet folder works.