Closed Bug 1672552 Opened 5 years ago Closed 5 years ago

BrowserParent::GetDocShellIsActive returns false on the foreground tab content when it's restored from seession

Categories

(GeckoView :: General, defect, P1)

Unspecified
All
defect

Tracking

(Not tracked)

RESOLVED DUPLICATE of bug 1673316

People

(Reporter: hiro, Assigned: agi)

Details

(Whiteboard: [geckoview:m84])

Though I wanted to provide a simple way to confirm this issue, but couldn't figure out the way. So to confirm this issue you need to build local Fenix (or GVE with bug 1500644).

  1. Build local Fenix with local m-c (because the current Fenix nightly hasn't been updated the latest m-c.)
  2. Open http://bokand.github.io/demo/urlbarsize.html on the Fenix
  3. Close the Fenix
  4. Launch the Fenix
  5. Make sure the site opened in comment 2 is opened in the restored session
  6. Try to scroll downwards
  7. See the right most bar's height

The bar height should be expanded when the dynamic toolbar is completely hidden, but actually it doesn't. That's because we notify the dynamic toolbar's height change only for the foreground tab by checking BrowserParent::GetDocShellIsActive(), but the function returns false even if it's the foreground one.

I believe this is a recent-ish regression.

Summary: BrowserParent::GetDocShellIsActive returns on the foreground tab content when it's restored from seession → BrowserParent::GetDocShellIsActive returns false on the foreground tab content when it's restored from seession
Assignee: nobody → agi
Priority: -- → P1
Whiteboard: [geckoview:m84]

I can't reproduce this anymore, I wonder if this was caused by Bug 1650118 somehow (which was backed out). Hiro can you still reproduce this?

Flags: needinfo?(hikezoe.birchill)

Oh yes, after updated my local tree, it works! I will try to narrow down which commit fixed it.

Flags: needinfo?(hikezoe.birchill)

This is very likely a duplicate of Bug 1673316.

Status: NEW → RESOLVED
Closed: 5 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.