Closed
Bug 1050815
Opened 10 years ago
Closed 10 years ago
Problem of jpeg image 'vibration' when used in background-image in cover size with 2 or more divs with differents sizes
Categories
(Core :: Graphics: ImageLib, defect)
Tracking
()
People
(Reporter: j.berenguier, Unassigned)
References
Details
(Keywords: power, regression)
Attachments
(3 files)
User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64; Trident/7.0; .NET4.0E; .NET4.0C; .NET CLR 3.5.30729; .NET CLR 2.0.50727; .NET CLR 3.0.30729; rv:11.0) like Gecko
Steps to reproduce:
Create two on more divs with background-size: cover, and different sizes
Use THE SAME IMAGE in every div
Juste see sample
Actual results:
The image... vibrates
Expected results:
No vibration
Reporter | ||
Updated•10 years ago
|
Summary: Problem of jpeg image 'vibration' when used in background-image in cover size with 2 or more divs with différents sizes → Problem of jpeg image 'vibration' when used in background-image in cover size with 2 or more divs with differents sizes
Comment 1•10 years ago
|
||
I don't see any motion on an OS X nightly build. What should I be looking for in particular?
(In reply to Josh Matthews [:jdm] from comment #1)
> I don't see any motion on an OS X nightly build. What should I be looking
> for in particular?
I think it's only on Windows, I see the bug. Check the screencast.
Reporter | ||
Comment 3•10 years ago
|
||
This picture shows the two states of the "vibration" on the top small pictures.
Left view : pixixelized state
Right view: correct state
It's probably an issue about image rastering.
Regression range:
good=2014-06-17
bad=2014-06-18
http://hg.mozilla.org/mozilla-central/pushloghtml?fromchange=bb35d1b73634&tochange=37f08ddaea48
Speculative bug maybe:
George Wright — Bug 913805 - Hold a lock on the RasterImage in ScaleRequest so that the srcFrame doesn't go away if we need to discard images to free up memory r=seth
I dont have any access so I dont know if this bug has been backported from FF33 to 31.
Keywords: regression,
regressionwindow-wanted
Updated•10 years ago
|
Component: General → ImageLib
Comment 5•10 years ago
|
||
[Tracking Requested - why for this release]:regression of visual glitch
[Tracking Requested - why for this release]:regression of visual glitch
setting image.high_quality_downscaling.enabled = false helps high CPU usage and vibration.
http://hg.mozilla.org/integration/mozilla-inbound/pushloghtml?fromchange=67f48cc4e6c9&tochange=0f2821706cdb
0f2821706cdb George Wright — Bug 913805 - Hold a lock on the RasterImage in ScaleRequest so that the srcFrame doesn't go away if we need to discard images to free up memory r=seth
I think that Mozilla should disable image.high_quality_downscaling.enabled until fixing bug 977459.
Blocks: 486918, CVE-2014-1557
Status: UNCONFIRMED → NEW
status-firefox33:
--- → affected
status-firefox34:
--- → affected
tracking-firefox33:
--- → ?
tracking-firefox34:
--- → ?
Depends on: 977459
Ever confirmed: true
Keywords: regressionwindow-wanted → power
Comment 6•10 years ago
|
||
George, does it a bell?
FYI, I am experiencing the same issue under GNU/Linux.
Flags: needinfo?(gwright)
OS: Windows 8.1 → All
Comment 7•10 years ago
|
||
I don't think this is related to bug 913805. Seth might have more of an idea.
Flags: needinfo?(gwright) → needinfo?(seth)
Comment 8•10 years ago
|
||
Tracking because it is a regression and it might hide some bigger issue.
Alice, could you explain me why you added the power keyword? Thanks
Comment 9•10 years ago
|
||
(In reply to Sylvestre Ledru [:sylvestre] from comment #8)
> Tracking because it is a regression and it might hide some bigger issue.
>
> Alice, could you explain me why you added the power keyword? Thanks
Because, CPU 100% usage.
Flags: needinfo?(alice0775)
Comment 10•10 years ago
|
||
Alice0775 White is 100% correct: this will be fixed by bug 977459. It doesn't hide some bigger issue. This is basically how things are designed to work, it's just a very bad case for the current algorithm.
I currently don't think it's worth disabling HQ downscaling, because right now we are extremely close to fixing bug 977459. If that gets delayed, though, maybe it would be worthwhile.
Flags: needinfo?(seth)
Comment 11•10 years ago
|
||
I've decided to split bug 977459 into multiple smaller bugs. This will be resolved by bug 1060200, which I'm uploading a patch for now.
Comment 12•10 years ago
|
||
Seth, are you planning to ask for an uplift in bug 1060200? If it is the case, it should arrive asap since we are in the middle of the beta cycle.
Flags: needinfo?(seth)
Comment 13•10 years ago
|
||
(In reply to Sylvestre Ledru [:sylvestre] from comment #12)
> Seth, are you planning to ask for an uplift in bug 1060200? If it is the
> case, it should arrive asap since we are in the middle of the beta cycle.
No, it can't be uplifted. It depends on a *lot* of stuff - it took a massive refactoring to make this fix possible. Unfortunately we'll need to wait for this to ride the trains normally.
Flags: needinfo?(seth)
Comment 14•10 years ago
|
||
OK. Thanks for the feedback Seth!
Can we close this bug then?
status-firefox35:
--- → fixed
Flags: needinfo?(seth)
Reporter | ||
Comment 15•10 years ago
|
||
Yes :)
Comment 16•10 years ago
|
||
Is it fixed in the daily Nightly?
Comment 17•10 years ago
|
||
It's fixed on m-c, and if it's not in today's Nightly it'll be in tomorrow's.
Sylvestre, let's leave this bug open until tomorrow; I'll close it then. I want to let bug 1060200 settle for 24 hours or so to make sure we don't need to back it out. It's a *big* change and regressions are very possible.
Comment 18•10 years ago
|
||
Fixed for me in the latest Nightly.
Comment 19•10 years ago
|
||
OK, it looks like bug 1060200 is going to stick. Let's resolve this.
Status: NEW → RESOLVED
Closed: 10 years ago
Flags: needinfo?(seth)
Resolution: --- → FIXED
Comment 20•10 years ago
|
||
Reproduced the original issue using the following build:
- http://ftp.mozilla.org/pub/mozilla.org/firefox/nightly/2014-09-03-07-20-57-mozilla-central/
Once I reproduced the issue using the poc from comment #0, I went through the following verification:
- Windows 8.1 x64 - (VM) - PASSED (reproduced and verified)
- Windows 7 x64 - (VM) - PASSED (reproduced and verified)
- Ubuntu 13.10 x64 (VM) - PASSED (reproduced and verified)
- ensured that the poc from comment #0 worked on regular windows/tabs
- ensured that the poc from comment #0 worked on private windows/tabs
- ensured that the poc from comment #0 worked on e10s windows/tabs
You need to log in
before you can comment on or make changes to this bug.
Description
•