Closed
Bug 1479756
Opened 6 years ago
Closed 6 years ago
UI scales overlap
Categories
(DevTools :: Inspector: Animations, defect)
Tracking
(firefox-esr52 unaffected, firefox-esr60 unaffected, firefox61 unaffected, firefox62 unaffected, firefox63 verified)
VERIFIED
FIXED
Firefox 63
Tracking | Status | |
---|---|---|
firefox-esr52 | --- | unaffected |
firefox-esr60 | --- | unaffected |
firefox61 | --- | unaffected |
firefox62 | --- | unaffected |
firefox63 | --- | verified |
People
(Reporter: cfogel, Assigned: mantaroh)
References
Details
(Keywords: regression)
Attachments
(2 files, 2 obsolete files)
[Affected versions]: - Firefox 63.0a1 (2018-07-30) [Affected platforms]: - win 10x64, Ubuntu 16.04LTS, macOS 10.13.4 [Steps to reproduce]: 1. Launch Firefox; 2. Access the following link: https://rawgit.com/dadaa/3b73f847427025b51ba1ab7333013d0c/raw/77f3f0bb884875a179c3407f73bf8a8dd54751c9/doc_simple_animation.html 3. Open DevTools inspector - animation tab; 4. Observe the animation UI [Expected result]: - UI elements don't overlap [Actual result]: - for the timer indicator, in the first section hearders overlap/are visible [Regression range]: - Bug 1468475 resulted after a mozregression run - last good: 2018-07-12 08:55:33.060000 - first bad: 2018-07-12 08:58:54.411000 [Additional notes]: - attached screenshot with the issue
Comment 1•6 years ago
|
||
Mantaroh, it seems that your patch in bug 1468475 caused this regresssion, could you have a look please? Thanks
Blocks: 1468475
Flags: needinfo?(mantaroh)
Assignee | ||
Comment 2•6 years ago
|
||
(In reply to Pascal Chevrel:pascalc from comment #1) > Mantaroh, it seems that your patch in bug 1468475 caused this regresssion, > could you have a look please? Thanks Sure. I'll look into this. Thanks.
Flags: needinfo?(mantaroh)
Assignee | ||
Comment 3•6 years ago
|
||
We might need to calculate label width from DOM element correctly in order to prevent overflowed label. This WIP patch will calculate label width from temporary div element: https://hg.mozilla.org/try/rev/0e296e14889a28a79feb52529cb600e44d2ab8ae
Assignee: nobody → mantaroh
Status: NEW → ASSIGNED
Assignee | ||
Comment 4•6 years ago
|
||
This patch uses the getDerivedStateFromProps since the componentWillReceiveProps is deprecated from React 16.3. The reason of storing tick lines element into this component's state is this component need to calculate label's width from tick lines element, this getDerivedStateFromProps is the static function so that we can't access to 'this component' scope. For detail, see https://reactjs.org/blog/2018/03/27/update-on-async-rendering.html.
Assignee | ||
Comment 5•6 years ago
|
||
This patch will skip the first graduation by calculating and checking the width of the label.
Updated•6 years ago
|
Attachment #8997769 -
Attachment is obsolete: true
Updated•6 years ago
|
Attachment #8997768 -
Attachment is obsolete: true
Assignee | ||
Comment 6•6 years ago
|
||
This patch will clip the overflowed tick label. In order to check the width, this patch add the max-width into tick label element. Furthermore, componentWillReceiveProps is deprecated from React 16.3. So this patch will use componentDidUpdate instead of it.
Comment 7•6 years ago
|
||
Comment on attachment 8998087 [details] Bug 1479756 - Clip the overlapped header tick label. r?daisuke Daisuke Akatsuka (:daisuke) has approved the revision. https://phabricator.services.mozilla.com/D2818
Attachment #8998087 -
Flags: review+
Updated•6 years ago
|
Attachment #8998087 -
Attachment description: description:
Bug 1479756 - Clip the overlapped header tick label. r?daisuke → Bug 1479756 - Clip the overlapped header tick label. r?daisuke
Pushed by mantaroh@gmail.com: https://hg.mozilla.org/integration/autoland/rev/ff1da250bce2 Clip the overlapped header tick label. r=daisuke
Comment 9•6 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/ff1da250bce2
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 63
Updated•6 years ago
|
status-firefox61:
--- → unaffected
status-firefox-esr52:
--- → unaffected
status-firefox-esr60:
--- → unaffected
Reporter | ||
Comment 10•6 years ago
|
||
Confirmed fix on Win10x64, MacOS10.13.4, Ubuntu 16.04LTS.
Status: RESOLVED → VERIFIED
You need to log in
before you can comment on or make changes to this bug.
Description
•