Browser-laptop: Private tab in its own window causes that window to be white on relaunch (and sometimes unusable)

Created on 1 Sep 2017  路  4Comments  路  Source: brave/browser-laptop

Test plan

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:

    1. Launch Brave.
    2. Load two tabs with any two sites.
    3. Create a new Private tab and load a site.
    4. Tear off/detach the Private tab so it is now in its own window. (you now have two windows)
    5. Close/relaunch Brave.
    6. Window which had the Private tab displays all white.
  • 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:

    1. Launch Brave.
    2. Load two tabs with any two sites.
    3. Create a new Window (you now have two windows). Create a Private tab and load a site. Close the normal tab that was in this window.
    4. Close/relaunch Brave.
    5. Window which had the Private tab displays all white. Note - this time you can't reuse this window. If you type in the URL bar, the tab loads with site tab name, but no content displays in the tab.
  • Screenshot if needed:
    Prior to close:
    screen shot 2017-09-01 at 4 02 55 pm

After relaunch:
screen shot 2017-09-01 at 4 03 33 pm

  • Any related issues:
Qchecked-Linux Qchecked-Win64 Qchecked-macOS Qtest-plan-specified bug featurprivate-tabs release-noteinclude

Most helpful comment

If there's only one incognito tab then the window probably shouldn't even re-open right?

All 4 comments

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

  • 0.23.8 06c657b
  • muon 6.1.5
  • libchromiumcontent 66.0.3359.181

Verified on Ubuntu 17.10 x64

  • 0.23.8 06c657bb7ee5530f93c37f51cc6b7bf158912d04
  • Muon 6.1.5
  • libchromiumcontent 66.0.3359.181

Verified with macOS 10.12.6 using

  • 0.23.8 06c657b
  • Muon 6.1.5
  • libchromiumcontent 66.0.3359.181
Was this page helpful?
0 / 5 - 0 ratings

Related issues

antiroyalty picture antiroyalty  路  3Comments

jonathansampson picture jonathansampson  路  3Comments

stevespringett picture stevespringett  路  3Comments

luixxiul picture luixxiul  路  3Comments

shortstuffsushi picture shortstuffsushi  路  3Comments