Closed Bug 1282654 Opened 8 years ago Closed 8 years ago

Page background drawing image data from other tabs, even across Normal/Private windows

Categories

(Core :: Graphics, defect)

47 Branch
Unspecified
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Tracking Status
firefox47 --- affected
firefox48 --- fixed

People

(Reporter: tigt, Unassigned)

References

Details

Attachments

(1 file)

Steps to reproduce: visit http://www.egidino.com/2010/07/naga-dan-dinosaurus.html

What happened: Image data from other tabs is drawn as the page's background, and blocks of static which I'm assuming are memory that isn't image data

What should have happened: The declaration is -moz-linear-gradient(right top 45deg, #408AD4, #00264C), so I'm assuming that. Removing that style in DevTools makes the page snap back to normal.
Works for me. Can you provide the contents of "about:support" (Help > Troubleshooting information) and check if this still happens if you use safe mode (Help > restart with add-ons disabled -- also disables graphics hardware acceleration) ?
Component: General → Untriaged
Flags: needinfo?(tigt)
Product: Firefox → Core
about:support

{
  "application": {
    "name": "Firefox",
    "osVersion": "Darwin 15.5.0",
    "arch": "x86-64",
    "version": "47.0",
    "buildID": "20160604131506",
    "userAgent": "Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:47.0) Gecko/20100101 Firefox/47.0",
    "safeMode": false,
    "updateChannel": "release",
    "supportURL": "https://support.mozilla.org/1/firefox/47.0/Darwin/en-US/",
    "numTotalWindows": 1,
    "numRemoteWindows": 0,
    "remoteAutoStart": false,
    "autoStartStatus": 2
  },
  "modifiedPreferences": {
    "accessibility.typeaheadfind.flashBar": 0,
    "browser.cache.disk.smart_size.first_run": false,
    "browser.cache.disk.hashstats_reported": 1,
    "browser.cache.disk.capacity": 358400,
    "browser.cache.frecency_experiment": 4,
    "browser.cache.disk.smart_size.use_old_max": false,
    "browser.cache.disk.filesystem_reported": 1,
    "browser.download.importedFromSqlite": true,
    "browser.download.useDownloadDir": false,
    "browser.places.smartBookmarksVersion": 7,
    "browser.search.useDBForOrder": true,
    "browser.sessionstore.upgradeBackup.latestBuildID": "20160604131506",
    "browser.sessionstore.restore_pinned_tabs_on_demand": true,
    "browser.startup.homepage_override.mstone": "47.0",
    "browser.startup.homepage": "about:newtab",
    "browser.startup.homepage_override.buildID": "20160604131506",
    "browser.urlbar.userMadeSearchSuggestionsChoice": true,
    "dom.max_script_run_time": 0,
    "dom.apps.reset-permissions": true,
    "dom.mozApps.used": true,
    "extensions.lastAppVersion": "47.0",
    "font.internaluseonly.changed": true,
    "gfx.blacklist.direct2d": 3,
    "gfx.crash-guard.glcontext.deviceID": "0x1626",
    "gfx.crash-guard.glcontext.appVersion": "45.0.2",
    "gfx.crash-guard.status.glcontext": 2,
    "media.webrtc.debug.aec_log_dir": "/Users/tigt/Library/Caches/TemporaryItems",
    "media.webrtc.debug.log_file": "/Users/tigt/Library/Caches/TemporaryItems/WebRTC.log",
    "media.benchmark.vp9.versioncheck": 1,
    "media.gmp-widevinecdm.lastUpdate": 1465930549,
    "media.gmp-gmpopenh264.lastUpdate": 1451504944,
    "media.gmp-widevinecdm.abi": "x86_64-gcc3-u-i386-x86_64",
    "media.gmp-gmpopenh264.version": "1.5.3",
    "media.gmp-manager.lastCheck": 1467062236,
    "media.gmp-widevinecdm.version": "1.4.8.866",
    "media.youtube-ua.override.to": "43",
    "media.gmp.storage.version.observed": 1,
    "media.benchmark.vp9.fps": 127,
    "media.gmp-gmpopenh264.abi": "x86_64-gcc3-u-i386-x86_64",
    "media.gmp-manager.buildID": "20160604131506",
    "network.predictor.cleaned-up": true,
    "network.cookie.prefsMigrated": true,
    "network.cookie.cookieBehavior": 3,
    "network.cookie.thirdparty.sessionOnly": true,
    "places.history.expiration.transient_current_max_pages": 104858,
    "places.database.lastMaintenance": 1466715845,
    "plugin.state.googletalkbrowserplugin": 0,
    "plugin.state.default browser": 0,
    "plugin.importedState": true,
    "plugin.disable_full_page_plugin_for_types": "application/pdf",
    "plugin.state.o1dbrowserplugin": 0,
    "plugin.state.flash": 1,
    "print.print_paper_width": "  8.50",
    "print.print_paper_size_unit": 0,
    "print.print_to_file": false,
    "print.print_orientation": 0,
    "print.print_margin_top": "0.5",
    "print.print_paper_height": " 11.00",
    "print.print_scaling": "  1.00",
    "print.print_unwriteable_margin_right": 25,
    "print.print_reversed": false,
    "print.print_unwriteable_margin_left": 25,
    "print.print_paper_data": 0,
    "print.print_resolution": -437918235,
    "print.print_unwriteable_margin_bottom": 56,
    "print.print_paper_name": "",
    "print.print_oddpages": true,
    "print.print_bgimages": false,
    "print.print_duplex": -437918235,
    "print.print_evenpages": true,
    "print.print_margin_left": "0.5",
    "print.print_shrink_to_fit": true,
    "print.print_margin_right": "0.5",
    "print.print_unwriteable_margin_top": 25,
    "print.print_bgcolor": false,
    "print.print_margin_bottom": "0.5",
    "print.print_in_color": true,
    "print.print_paper_size_type": 1,
    "print.print_page_delay": 50,
    "privacy.sanitize.migrateClearSavedPwdsOnExit": true,
    "privacy.trackingprotection.enabled": true,
    "privacy.donottrackheader.enabled": true,
    "privacy.trackingprotection.introCount": 20,
    "privacy.sanitize.migrateFx3Prefs": true,
    "security.ssl.errorReporting.automatic": true,
    "services.sync.declinedEngines": "",
    "services.sync.lastPing": 1467062195,
    "services.sync.lastSync": "Tue Jun 28 2016 15:05:19 GMT-0400 (EDT)",
    "services.sync.numClients": 3,
    "services.sync.engine.prefs.modified": false,
    "storage.vacuum.last.index": 1,
    "storage.vacuum.last.places.sqlite": 1465896254
  },
  "lockedPreferences": {},
  "javaScript": {
    "incrementalGCEnabled": true
  },
  "accessibility": {
    "isActive": false,
    "forceDisabled": 0
  },
  "libraryVersions": {
    "NSPR": {
      "minVersion": "4.12",
      "version": "4.12"
    },
    "NSS": {
      "minVersion": "3.23 Basic ECC",
      "version": "3.23 Basic ECC"
    },
    "NSSUTIL": {
      "minVersion": "3.23",
      "version": "3.23"
    },
    "NSSSSL": {
      "minVersion": "3.23 Basic ECC",
      "version": "3.23 Basic ECC"
    },
    "NSSSMIME": {
      "minVersion": "3.23 Basic ECC",
      "version": "3.23 Basic ECC"
    }
  },
  "userJS": {
    "exists": false
  },
  "crashes": {
    "submitted": [],
    "pending": 0
  },
  "extensions": [
    {
      "name": "Clear Search 2",
      "version": "1.1.1-signed.1-signed",
      "isActive": true,
      "id": "ClearSearch2@extension-id.invalid"
    },
    {
      "name": "Duplicate in Tab Context Menu",
      "version": "1.0.11",
      "isActive": true,
      "id": "DuplicateInTabContext@schuzak.jp"
    },
    {
      "name": "Dust-Me Selectors",
      "version": "4.1.1-signed.1-signed",
      "isActive": true,
      "id": "{3c6e1eed-a07e-4c80-9cf3-66ea0bf40b37}"
    },
    {
      "name": "Firefox Hello",
      "version": "1.3.2",
      "isActive": true,
      "id": "loop@mozilla.org"
    },
    {
      "name": "FireFTP",
      "version": "2.0.28",
      "isActive": true,
      "id": "{a7c6cf7f-112c-4500-a7ea-39801a327e5f}"
    },
    {
      "name": "Image Lookup",
      "version": "0.3.1",
      "isActive": true,
      "id": "jid0-KYedxzPo61jJx1uAL6vdRXFUFcs@jetpack"
    },
    {
      "name": "Multi-process staged rollout",
      "version": "1.0",
      "isActive": true,
      "id": "e10srollout@mozilla.org"
    },
    {
      "name": "Open Image In New Tab",
      "version": "1.1.1-signed.1-signed",
      "isActive": true,
      "id": "imagetab@next.gen.nz"
    },
    {
      "name": "Open in Browser",
      "version": "1.17",
      "isActive": true,
      "id": "openinbrowser@www.spasche.net"
    },
    {
      "name": "Open With",
      "version": "6.7.1",
      "isActive": true,
      "id": "openwith@darktrojan.net"
    },
    {
      "name": "Pocket",
      "version": "1.0.2",
      "isActive": true,
      "id": "firefox@getpocket.com"
    },
    {
      "name": "Stylish",
      "version": "2.0.6",
      "isActive": true,
      "id": "{46551EC9-40F0-4e47-8E18-8E5CF550CFB8}"
    },
    {
      "name": "Clean Links",
      "version": "2.7.1-signed.1-signed",
      "isActive": false,
      "id": "{158d7cb3-7039-4a75-8e0b-3bd0a464edd2}"
    },
    {
      "name": "Markdown Here",
      "version": "2.12.0",
      "isActive": false,
      "id": "markdown-here@adam.pritchard"
    },
    {
      "name": "Privacy Badger",
      "version": "1.7.0",
      "isActive": false,
      "id": "jid1-MnnxcxisBPnSXQ@jetpack"
    },
    {
      "name": "Video DownloadHelper",
      "version": "5.6.1",
      "isActive": false,
      "id": "{b9db16a4-6edc-47ec-a1f4-b86292ed211d}"
    }
  ],
  "experiments": [],
  "graphics": {
    "numTotalWindows": 1,
    "numAcceleratedWindows": 1,
    "windowLayerManagerType": "OpenGL",
    "windowLayerManagerRemote": true,
    "supportsHardwareH264": "Yes",
    "adapterDescription": "",
    "adapterVendorID": "0x8086",
    "adapterDeviceID": "0x1626",
    "adapterRAM": "",
    "adapterDrivers": "",
    "driverVersion": "",
    "driverDate": "",
    "webglRenderer": "Intel Inc. -- Intel(R) HD Graphics 6000",
    "info": {
      "AzureCanvasBackend": "skia",
      "AzureCanvasAccelerated": 1,
      "AzureFallbackCanvasBackend": "none",
      "AzureContentBackend": "quartz"
    }
  }
}
In Safe Mode, I'm not getting the same problem, but now it's a black gradient that changes its size as I scroll down, but doesn't revert when I scroll back up.

If it helps any, I'm also running Firefox in OSX's new pseudo-fullscreen Workspace mode, which has caused a few visual hiccups in the past.
Thanks. Hopefully Milan can triage this further.
Component: Untriaged → Graphics
Flags: needinfo?(tigt) → needinfo?(milan)
This is specific to Apple's CG backend.  The underlying cause seems to be a really long page that sets up the gradient to be dependent on the length of the page, so it seems CG just doesn't work in that case.

As we reuse the tiles without clearing (performance reasons), and CG quietly fails, you get to see the old results.  You can see Safari failing to produce the gradient (Safari uses CG) as well.

We stopped using CG with 48, so this problem should be gone in the latest Firefox Beta and newer.
Flags: needinfo?(milan)
We can call this fixed by bug 1207332, where we switched away from CG to Skia backends.
Status: UNCONFIRMED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
See Also: → skia-osx
(FWIW, I tested on beta (48) on OS X rather than release, so I can confirm it's fixed. :-) )
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: