Closed Bug 1888463 Opened 1 year ago Closed 1 year ago

Extra padding on the bottom border of a imageless tab hover preview

Categories

(Firefox :: Tabbed Browser, defect)

Desktop
All
defect

Tracking

()

VERIFIED FIXED
Tracking Status
firefox-esr115 --- unaffected
firefox124 --- unaffected
firefox125 --- unaffected
firefox126 --- verified
firefox127 --- verified

People

(Reporter: bmaris, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

Attached image Gif showing the issue

Found in

  • Latest Nightly 126.0a1

Affected versions

  • Latest Nightly 126.0a1

Tested platforms

  • Affected platforms: MacOS 13, Windows 11, Ubuntu 22.04
  • Unaffected platforms: none

Preconditions

  • Set browser.tabs.cardPreview.enabled to true

Steps to reproduce

  1. Open a few new tabs
  2. Restart the browser
  3. Hover with the mouse over a few tabs that don't have an image in the preview

Expected result

  • The border of the preview is correctly displayed with no artifacts.

Actual result

  • Extra padding is added to the bottom border for preview without images. It does fix itself once the tab is clicked though but restarting the browser again will make it reproduce again.

Regression range

Duplicate of this bug: 1890665

Some extra info from the duplicate:
This is because tab-preview-thumbnail-container exists on the DOM when it shouldn't, possibly related to this code:
https://searchfox.org/mozilla-central/rev/f602853ba8d55ba157e2a74d9b571615f6ed97b8/browser/components/tabpreview/tabpreview.mjs#152

This was fixed by bug 1890397, thus closing it as fixed.

Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Status: RESOLVED → VERIFIED
Depends on: 1890397
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: