question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Shell.Title and Window.Title currently doesn't propagate to the catalyst window title

See original GitHub issue

Description

The title on the window and shell component don’t currently propagate to the UIScene title property.

Here’s an example of a workaround https://github.com/PureWeen/dotnetConfDemo2022/blob/main/dotnetConfDemo/Windows/ScopedWindow.cs#L35

Issue Analytics

  • State:closed
  • Created 10 months ago
  • Comments:8 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
PureWeencommented, Jan 17, 2023

most apps don’t flip title based on the current page…

They usually do based on context and for accessibility reasons. Ideally your window title will append/include the context of where you are in an app, that way if you have multiple windows, or you have multiple instances of an app, the screen reader + window.title will give your window context.

For example, every window of your browser bases the title on the currently visible page.

Notepad will prefix the filename.

The Window.Title should probably be an attached property like how we do NavigationPage.Title

1reaction
PureWeencommented, Jan 16, 2023

@PureWeen is this still a thing? I feel like Window.Title now works and I am not sure if Shell.Title going to Window.Title is 100% desired as most apps don’t flip title based on the current page… But maybe I am wrong. I have a workaround that may be a feature?

You only have one Shell for your window so the Shell and the window are synonymous. The Title for the Page itself will be set on the ShellContent or the Page itself.

Read more comments on GitHub >

github_iconTop Results From Across the Web

How to change the window title in a Mac Catalyst ...
I'm opening multiple scenes in the Mac Catalyst version of my iPad app. The problem is that all of the windows simply show...
Read more >
How to change the window title in a Mac Catalyst ...
I'm opening multiple scenes in the Mac Catalyst version of my iPad app. The problem is that all of the windows simply show...
Read more >
Why doesn't the terminal window title change when logging ...
After a terminal window is created, its title only changes when some program within the window outputs a certain series of characters.
Read more >
tcsh: title update - Shell
Hello all, I'm trying to setup window title update when I run programs which doesn't update title by themselves.
Read more >
Screen - Window Settings
Set the name of the current window to windowalias . If no name is specified, screen prompts for one. Dynamic Titles. screen has...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found