Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

uBO icon in Manage Your Extensions disappears in the offline mode or when network connectivity is not available #939

Closed
8 tasks done
ediowar opened this issue Mar 10, 2020 · 7 comments
Labels
enhancement New feature or request Firefox specific to Firefox fixed issue has been addressed

Comments

@ediowar
Copy link

ediowar commented Mar 10, 2020

Prerequisites

  • I verified that this is not a filter issue
  • This is not a support issue or a question
  • I performed a cursory search of the issue tracker to avoid opening a duplicate issue
    • Your issue may already be reported.
  • I tried to reproduce the issue when...
    • uBlock Origin is the only extension
    • uBlock Origin with default lists/settings
    • using a new, unmodified browser profile
  • I am running the latest version of uBlock Origin
  • I checked the documentation to understand that the issue I report is not a normal behavior

Description

[When you enter the offline mode, the uBO icon in Manage Your Extensions disappears.]

A specific URL where the issue occurs

[A specific URL is MANDATORY for issue happening on a web page, even if it happens "everywhere"]

Steps to Reproduce

  1. [First Step]
  2. [Second Step]
  3. [and so on...]

Expected behavior:

[What you expected to happen]

Actual behavior:

[What actually happened]

Your environment

  • uBlock Origin version: 1.25.0
  • Browser Name and version: Firefox 73.0.1 (64-bit)
  • Operating System and version: Ubuntu 16.04.6 LTS
@uBlock-user
Copy link
Contributor

Offline mode ? No steps to reproduce ?

@uBlock-user uBlock-user added external issue involving an external factor Firefox specific to Firefox unable to reproduce cannot reproduce the issue and removed unable to reproduce cannot reproduce the issue labels Mar 10, 2020
@uBlock-user
Copy link
Contributor

uBlock-user commented Mar 10, 2020

Capture

I see what you mean. The uBO icon is hosted at https://addons.cdn.mozilla.net/user-media/addon_icons/607/607454-32.png, but Firefox is not caching the extension icon when it downloads it to display in Manage Your Extensions pane. This happens for all extensions if the pane is refreshed in offline mode or if the internet connection is not available.

This is a Firefox issue.

@uBlock-user uBlock-user changed the title uBO icon in Manage Your Extensions disappears in the offline mode uBO icon in Manage Your Extensions disappears in the offline mode or when network connectivity is not available Mar 10, 2020
@uBlock-user
Copy link
Contributor

uBlock-user commented Mar 10, 2020

@agi90 Doesn't Firefox cache the extensions icons when extensions are installed for the first time ?

@gwarser
Copy link

gwarser commented Mar 10, 2020

It's because 32px icon is not specified in manifest. It seems adding this is enough:

  "icons": {
    "32": "img/ublock.svg",
    "64": "img/ublock.svg",

At least in debug mode. I'm also not sure "64" version is needed.


ClearURLs extension works fine, and have this in manifest:

"icons": {
        "16": "img/clearurls_16x16.png",
        "19": "img/clearurls_19x19.png",
        "20": "img/clearurls_20x20.png",
        "24": "img/clearurls_24x24.png",
        "30": "img/clearurls_30x30.png",
        "32": "img/clearurls_32x32.png",
        "38": "img/clearurls_38x38.png",
        "48": "img/clearurls_48x48.png",
        "64": "img/clearurls_64x64.png",
        "96": "img/clearurls_96x96.png",
        "128": "img/clearurls_128x128.png"
    },

Must be something with this new HTML about:addons interface, because some icons are loaded from cache just fine. Anyway, it will be better to load them from extension package.

@uBlock-user
Copy link
Contributor

@gwarser Does this fix uMatrix too ?

@gorhill
Copy link
Member

gorhill commented Mar 10, 2020

Though here it says:

You should supply at least a main extension icon, ideally 48x48 px in size. This is the default icon that will be used in the Add-ons Manager.

gorhill added a commit to gorhill/uBlock that referenced this issue Mar 14, 2020
@uBlock-user uBlock-user added fixed issue has been addressed and removed external issue involving an external factor labels Mar 15, 2020
@garry-ut99

This comment was marked as abuse.

@uBlockOrigin uBlockOrigin locked and limited conversation to collaborators Jun 30, 2024
@gwarser gwarser added the enhancement New feature or request label Jul 5, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
enhancement New feature or request Firefox specific to Firefox fixed issue has been addressed
Projects
None yet
Development

No branches or pull requests

5 participants