https://github.com/brave/browser-laptop/pull/11169#issue-260846709
Did you search for similar issues before submitting this one?
Yes
Describe the issue you encountered:
When a Private tab is in its own window prior to Brave being is closed/relaunched, that window appears all white on relaunch and is in some cases unusable.
Platform (Win7, 8, 10? macOS? Linux distro?):
MacOS, verified on Win by @kjozwiak
Brave Version (revision SHA):
0.18.24
Steps to reproduce:
Actual result:
Window which had the Private tab displays all white (appears dead). You can however type in the URL bar and load a site.
Expected result:
Window should either display what your selection for what 'a new tab shows' or not be there at all since it held a private tab prior to closing Brave.
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?
Yes, 0.18.23
Can this issue be consistently reproduced?
Yes
Extra QA steps:
Screenshot if needed:
Prior to close:

After relaunch:

If there's only one incognito tab then the window probably shouldn't even re-open right?
@syuan100 great point 馃槃 That tab should be removed
@LaurenWags what happens to private tabs when there is only one window (which has other tabs)? I'm guessing the private tabs are just removed. I think we'll need to update the logic here to auto-close the window when no more tabs exist
You are correct @bsclifton - the private tab is just removed from the window with other tabs.
Verified on Windows x64 using
Verified on Ubuntu 17.10 x64
Verified with macOS 10.12.6 using
Most helpful comment
If there's only one incognito tab then the window probably shouldn't even re-open right?