Also see: https://github.com/brave/browser-laptop/pull/10691#issue-253338559
Did you search for similar issues before submitting this one?
Yes
Describe the issue you encountered:
Contribution Statement opened in a new tab doesn't show the tab title until the cursor is moved over it or tab focus is changed
Platform (Win7, 8, 10? macOS? Linux distro?):
Windows 10 x64
Brave Version (revision SHA):
Brave 0.14.0
rev 903cfea
Steps to reproduce:
Actual result:
Tab title is changed only after tab focus is lost or mouse over tab
Expected result:
Should show Contribution Statement when the statement file is opened
Will the steps above reproduce in a fresh profile? If not what other info can be added?
Yes
Is this an issue in the currently released version?
N/A
Can this issue be consistently reproduced?
Yes
Extra QA steps:
1.
2.
3.
Screenshot if needed:
Any related issues:
cc: @cezaraugusto
This is actually the same for any about page(preference, bookmarks, history) opened with keyboard shortcuts
Similar issue on opening a magnet link. On tab focus change or mouse over/away from tab shows the torrent title.
Also something familiar is happening when you are chatting on Facebook

The value is definitely being set... strange enough, it even shows properly in the DOM. However, it isn't triggering a re-render on the component itself 鈽癸笍
The issue is still happening on other languages than English.
STR:
Fix done with https://github.com/brave/browser-laptop/commit/fa919c0c4b7f2619b78a55b90bb178a734be18e9 doesn't offer a very good solution- often tab is empty until it loads. Reopening...
Unless there are objections, I'd like to propose moving this back. Likely the fixes being done by @NejcZdovc regarding ReduxComponent will solve this issue properly. Putting more effort on this when that work is coming soon may be a waste
co-assigned @NejcZdovc
When you start to look at ReduxComponent for tabs, let's take this use-case into account 馃槃
@bsclifton will do :smiley:
Here's a screen grab of the issue on 0.15.0 RC3

The fix does not work on debian:

Pulling into 0.15.300 as this has been fixed with recent updates by @bridiver and/or @NejcZdovc 馃槃
Not fixed yet:

this might be fixed in master. There was a rebase issue that caused a related problem.
@luixxiul let's retest this after the new builds
Manually tested using the steps I had above- it works great 馃憤
it seems fixed on the latest build.
https://github.com/brave/browser-laptop/issues/8525#issuecomment-301975548
Still reproducible:
STR:
- Clear the profile folder
- Open
about:about- Open
about:about- Close the tab
- Reopen it with the keyboard shortcut
Issue still persists. Reopening it also based on https://github.com/brave/browser-laptop/issues/8525#issuecomment-301975548
Moving to 0.15.4xx
Here's another STR (I'm not quite sure the cause is same):

Yet another example (I found while testing out https://github.com/brave/browser-laptop/pull/8336#issue-221932128):

related issue : #9000
Another STR:
about:about several timesabout:about and UntitledThe tab which has been opened gets the correct tab title, after each new tab is opened.

Also: if you open an about page from the bookmark toolbar, you get the tab title which starts from chrome-extension.
I believe I'm encountering this issue on version 0.18.14 on Windows 10 x64 when reading threads on https://boards.4chan.org. 4chan threads have an auto-update feature, which loads new messages and displays "(n)" in the page title to indicate the number of unread posts. When you scroll down to the bottom of the page, those posts are marked as read and the page title again changes to remove the "(n)" part.
I've noticed that the Brave window title (the text that replaces the URL bar when hidden) immediately updates when these page titles are changed, but the tab itself does not update until I either mouse-over it or focus a different tab.
It's quite annoying because if I'm on a different tab - it's harder to notice when there are new posts available to read. If I'm on a different tab like a Reddit tab, the window title will show the Reddit tab's title. The only way to see the 4chan tab's title is on the tab itself, which does not update.
cc @zentagonist I've just set it to 0.20.x and sprint/1 as this will be covered by #10691
This issue, I believe, is caused by the use of _transparent_ text. The engine thinks that because the text is transparent, nothing is rendered in its place, and therefore nothing needs to be updated.
If I'm not mistaken, @cezaraugusto is changing this to use a solid color for the text, and a pseudo-element for the fading. This should resolve this problem moving forward.
yes that's correct and your take is exactly what is happening. React renders the title but not the browser rendering engine itself, so you end up without updates until you hover the tab, which causes a full reflow. nice catch btw!