Closed
Bug 1276876
Opened 9 years ago
Closed 8 years ago
Migrate the ruleview Image & Font preview to use HTML Tooltip
Categories
(DevTools :: Inspector: Rules, defect, P1)
DevTools
Inspector: Rules
Tracking
(firefox49 fixed, firefox50 verified)
People
(Reporter: jdescottes, Assigned: jdescottes)
References
Details
(Whiteboard: [devtools-html])
Attachments
(1 file)
The goal of this bug is to migrate the previewTooltip of the TooltipsOverlay class to a HTMLTooltip instance.
We will need to migrate two helper functions to be use the HTMLToolip:
- setRelativeImageContent
- setFontFamilyContent
(these 2 methods are used only here, so no need to keep a XUL Tooltip version alive)
This is very similar to what was done for the markup-view image preview migration.
Assignee | ||
Updated•9 years ago
|
Updated•9 years ago
|
QA Contact: alexandra.lucinet
Whiteboard: [devtools-html] → [devtools-html] [triage]
Assignee | ||
Updated•9 years ago
|
Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Assignee | ||
Comment 1•9 years ago
|
||
Review commit: https://reviewboard.mozilla.org/r/56928/diff/#index_header
See other reviews: https://reviewboard.mozilla.org/r/56928/
Assignee | ||
Comment 2•9 years ago
|
||
Updated•9 years ago
|
Iteration: --- → 49.3 - Jun 6
Priority: -- → P1
Whiteboard: [devtools-html] [triage] → [devtools-html]
Assignee | ||
Comment 3•9 years ago
|
||
Comment on attachment 8758742 [details]
MozReview Request: Bug 1276876 - ruleview: migrate font&image preview tooltips to HTMLTooltips;r?tromey
Review request updated; see interdiff: https://reviewboard.mozilla.org/r/56928/diff/1-2/
Attachment #8758742 -
Attachment description: MozReview Request: Bug 1276876 - ruleview: migrate font&image preview tooltips to HTMLTooltips → MozReview Request: Bug 1276876 - ruleview: migrate font&image preview tooltips to HTMLTooltips;r?tromey
Attachment #8758742 -
Flags: review?(ttromey)
Assignee | ||
Comment 4•9 years ago
|
||
Assignee | ||
Comment 5•9 years ago
|
||
Try seems green so far, the browser_dbg_search-symbols.js failures are linked to a bad commit that was backed out a bit later (see https://hg.mozilla.org/integration/fx-team/rev/08084e9e30d2)
Comment 6•9 years ago
|
||
Comment on attachment 8758742 [details]
MozReview Request: Bug 1276876 - ruleview: migrate font&image preview tooltips to HTMLTooltips;r?tromey
https://reviewboard.mozilla.org/r/56928/#review54134
Thank you. This looks good to me.
Attachment #8758742 -
Flags: review?(ttromey) → review+
Assignee | ||
Comment 7•9 years ago
|
||
Thanks for the review Tom!
Try is green, landing.
Pushed by jdescottes@mozilla.com:
https://hg.mozilla.org/integration/fx-team/rev/46d41d717dde
ruleview: migrate font&image preview tooltips to HTMLTooltips;r=tromey
Comment 9•8 years ago
|
||
bugherder |
Status: ASSIGNED → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 49
Comment 10•8 years ago
|
||
I managed to test this bug on Firefox 50.0a1 (2016-06-07) across platforms[1].
Beside the already known issues (Bug 932220, Bug 1067999, Bug 938097), I noticed that the Font preview text is wrongly displayed when the FF window width is reduced (http://imgur.com/Uac7sV8). As an expected result, if the text can't be displayed entirely, than the first part of the text should be displayed instead of the middle part.
Note that the issue describe above is not reproducible if the 'Dock to side of browser window' option is enabled.
Should I log a new bug for this issue?
[1] Windows 10 x64, Ubuntu 16.04 x64 and Mac OS X 10.10.5.
QA Whiteboard: [qe-dthtml]
Flags: needinfo?(jdescottes)
Assignee | ||
Comment 11•8 years ago
|
||
(In reply to Mihai Boldan, QA [:mboldan] from comment #10)
> I managed to test this bug on Firefox 50.0a1 (2016-06-07) across
> platforms[1].
> Beside the already known issues (Bug 932220, Bug 1067999, Bug 938097), I
> noticed that the Font preview text is wrongly displayed when the FF window
> width is reduced (http://imgur.com/Uac7sV8). As an expected result, if the
> text can't be displayed entirely, than the first part of the text should be
> displayed instead of the middle part.
> Note that the issue describe above is not reproducible if the 'Dock to side
> of browser window' option is enabled.
> Should I log a new bug for this issue?
>
> [1] Windows 10 x64, Ubuntu 16.04 x64 and Mac OS X 10.10.5.
Thanks for spotting this Mihai, I think it's a valid issue and we should log a Bug for this.
> width is reduced (http://imgur.com/Uac7sV8). As an expected result, if the
> text can't be displayed entirely, than the first part of the text should be
> displayed instead of the middle part.
Resizing the font-preview image to fit the tooltip could also be acceptable.
Flags: needinfo?(jdescottes)
Comment 12•8 years ago
|
||
I logged Bug 1279189 for the issue described in Comment 11.
Since the found issues were logged separately, I am marking this issue Verified Fixed.
Updated•6 years ago
|
Product: Firefox → DevTools
You need to log in
before you can comment on or make changes to this bug.
Description
•