Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

Private tab in its own window causes that window to be white on relaunch (and sometimes unusable) #10768

Closed
LaurenWags opened this issue Sep 1, 2017 · 4 comments

Comments

@LaurenWags
Copy link
Member

LaurenWags commented Sep 1, 2017

Test plan

#11169 (comment)


  • 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:
@syuan100
Copy link
Contributor

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

@bsclifton
Copy link
Member

@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

@LaurenWags
Copy link
Member Author

You are correct @bsclifton - the private tab is just removed from the window with other tabs.

syuan100 added a commit to syuan100/browser-laptop that referenced this issue Sep 27, 2017
syuan100 added a commit to syuan100/browser-laptop that referenced this issue Sep 27, 2017
bsclifton pushed a commit to syuan100/browser-laptop that referenced this issue Nov 9, 2017
bsclifton pushed a commit to syuan100/browser-laptop that referenced this issue Nov 20, 2017
@bsclifton bsclifton added this to the 0.22.x (Nightly Channel) milestone Nov 20, 2017
@bbondy bbondy modified the milestones: 0.22.x (Developer Channel), 0.23.x (Nightly Channel) Feb 25, 2018
@srirambv
Copy link
Collaborator

srirambv commented Jun 14, 2018

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 06c657b
  • 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

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.