Icon of sdk/ui/button/action ActionButton is not rendered

RESOLVED INCOMPLETE

Status

RESOLVED INCOMPLETE
4 years ago
a year ago

People

(Reporter: czerny.jakub, Unassigned)

Tracking

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(2 attachments)

(Reporter)

Description

4 years ago
Created attachment 8594400 [details]
ActionButton.png

Toolbar button (from jpm compiled addon) icon is not rendered. When button is hovered only border is visible. See attachment.

outerHTML of XUL element:
<toolbarbutton xmlns="http://www.mozilla.org/keymaster/gatekeeper/there.is.only.xul" id="action-button--simple-addon-my-button" class="toolbarbutton-1 chromeclass-toolbar-additional badged-button" type="undefined" label="my button" tooltiptext="my button" image="resource://simple-addon/data/gear.png" constrain-size="true" cui-areatype="toolbar" badge=""/>
note: url resource://simple-addon/data/gear.png worked


Version:
https://hg.mozilla.org/mozilla-central/rev/8af644c9b616
Build identifier: Mozilla/5.0 (X11; Linux x86_64; rv:40.0) Gecko/20100101 Firefox/40.0

Steps to reproduce:
1. extract attached project
2. run 'jpm run' in root directory of the project

It worked with Firefox 39
(Reporter)

Comment 1

4 years ago
Created attachment 8594401 [details]
simple-addon.zip
Component: Extension Compatibility → General
Product: Firefox → Add-on SDK
Version: 40 Branch → unspecified
Flags: needinfo?(evold)
Matteo was the last one to work on this file, I'm not sure who is working on the SDK otherwise.
Flags: needinfo?(evold) → needinfo?(zer0)
(In reply to Erik Vold [:erikvold] (please needinfo? me) from comment #2)
> Matteo was the last one to work on this file, I'm not sure who is working on
> the SDK otherwise.

Not saying you are responsible for the file here Matteo, if you're on to other projects and don't have time to take a look just remove the ni?

Thanks!
I'm going to remove the ni here 'cause I'm not sure when I'll going to work on it; but I'll check as soon as I'll have time, if no one will fix it before.
Flags: needinfo?(zer0)
(Reporter)

Comment 5

4 years ago
In works ok in current nightly (41).
https://bugzilla.mozilla.org/show_bug.cgi?id=1399562
Status: UNCONFIRMED → RESOLVED
Last Resolved: a year ago
Resolution: --- → INCOMPLETE
You need to log in before you can comment on or make changes to this bug.