Open Bug 1625226 Opened 5 years ago Updated 9 months ago

Ctrl+Tab preview thumbnails are weirdly cropped with devtools open

Categories

(Firefox :: Tabbed Browser, defect, P3)

defect

Tracking

()

People

(Reporter: ktaeleman, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(2 files)

When switching tabs when devtools is open on one of the tabs, the tab with devtools will render incorrectly in the tabs switching preview.

STR:

  • Open a site and enable devtools
  • Open 3 more tabs on different sites
  • Press and hold ctrl-tab to show tab preview
    Notice that the tab with devtools is rendered incorrectly. It also shows the wrong layout
Attached image Wrong preview
Attached image Actual page

I think the code lives here:
https://searchfox.org/mozilla-central/rev/4ccefc3181f9d237ef4ca8bd17b4e7c101ddf7b5/browser/base/content/browser-ctrlTab.js

and presumably this is a bug in the code that gets run for the "capture" function there.

That seems to invoke https://searchfox.org/mozilla-central/rev/4ccefc3181f9d237ef4ca8bd17b4e7c101ddf7b5/toolkit/components/thumbnails/PageThumbs.jsm#324

I think this code all lives in the "Tabbed Browser" component. There are some layout/graphics APIs involved somewhere, but it's not obvious that they're where the problem lies (as opposed to the JS code that captures/prepares/etc. the preview). Hence, reclassifying as Tabbed Browser for now, since that's the component responsible for managing this UI & these previews.

Component: Layout → Tabbed Browser
Product: Core → Firefox
Priority: -- → P3
Summary: Tab switching preview thumbnails are partially black/white with devtools open. → Ctrl+Tab preview thumbnails are weirdly cropped with devtools open

Because this bug's Severity has not been changed from the default since it was filed, and it's Priority is P3 (Backlog,) indicating it has been triaged, the bug's Severity is being updated to S3 (normal.)

Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: