Closed
Bug 915526
Opened 11 years ago
Closed 11 years ago
make image visibility usable on android and b2g when prefed on
Categories
(Core :: Layout: Images, Video, and HTML Frames, defect)
Tracking
()
RESOLVED
FIXED
mozilla26
People
(Reporter: tnikkel, Assigned: tnikkel)
References
Details
Attachments
(1 file)
(deleted),
patch
|
roc
:
review+
kats
:
feedback+
|
Details | Diff | Splinter Review |
This seems reasonable and should let us start testing it by flipping the main pref.
Attachment #803520 -
Flags: review?(matspal)
Assignee | ||
Comment 1•11 years ago
|
||
Comment on attachment 803520 [details] [diff] [review]
patch
This is just something that makes sense so we can start testing. We can change it later. No hurry.
Attachment #803520 -
Flags: feedback?(bugmail.mozilla)
Updated•11 years ago
|
Attachment #803520 -
Flags: feedback?(bugmail.mozilla) → feedback+
Comment 2•11 years ago
|
||
Just to be clear, you want B2G and Mobile to have:
pref("layout.imagevisibility.enabled", false);
pref("layout.imagevisibility.numscrollportwidths", 1);
pref("layout.imagevisibility.numscrollportheights", 1);
modules/libpref/src/init/all.js doesn't declare any of those, so it will
get the defaults from the C++ code (true, 0, 1, respectively):
http://mxr.mozilla.org/mozilla-central/source/layout/base/nsPresShell.cpp#5362
http://mxr.mozilla.org/mozilla-central/source/layout/generic/nsGfxScrollFrame.cpp#2228
Is that your intention? (it seems a little odd to leave numscrollportwidths = 0
for desktop)
Comment 3•11 years ago
|
||
Comment on attachment 803520 [details] [diff] [review]
patch
I think roc would be a better reviewer for this.
Attachment #803520 -
Flags: review?(matspal) → review?(roc)
Assignee | ||
Comment 4•11 years ago
|
||
(In reply to Mats Palmgren (:mats) from comment #2)
> Is that your intention? (it seems a little odd to leave numscrollportwidths
> = 0
> for desktop)
Yeah, that was my intention. My reasoning was that horizontal scrolling is much more rare on desktop. It happens frequently on mobile because users have to zoom in and pan around the page. I can give us some horizontal lookahead on desktop if you think it's a good idea.
Comment 5•11 years ago
|
||
OK. I think it's fine as is, it's probably better for testing purposes to
to test the values we intend to ship. OTOH, our installed base on desktop
is orders of magnitude larger than b2g/mobile (afaik) so using 1 there
(for a while) might give us earlier feedback in case there's a problem.
Assignee | ||
Comment 6•11 years ago
|
||
I'm not opposed to shipping 1 for horizontal on desktop either, that also seems reasonable.
I just wanted to provide good initial values (just based on a good guess by myself), and I'm open to any suggestions (based on instinct or data) to change the values.
Comment on attachment 803520 [details] [diff] [review]
patch
Review of attachment 803520 [details] [diff] [review]:
-----------------------------------------------------------------
Please add default values for these prefs to all.js.
Attachment #803520 -
Flags: review?(roc) → review+
Assignee | ||
Comment 8•11 years ago
|
||
Comment 9•11 years ago
|
||
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla26
Comment 10•11 years ago
|
||
(In reply to Timothy Nikkel (:tn) from comment #4)
> (In reply to Mats Palmgren (:mats) from comment #2)
> > Is that your intention? (it seems a little odd to leave numscrollportwidths
> > = 0
> > for desktop)
>
> Yeah, that was my intention. My reasoning was that horizontal scrolling is
> much more rare on desktop. It happens frequently on mobile because users
> have to zoom in and pan around the page. I can give us some horizontal
> lookahead on desktop if you think it's a good idea.
We use horizontal scrolling in the start tab for metrofx and we also support panning and zooming. Should we add these prefs for metrofx?
Assignee | ||
Comment 11•11 years ago
|
||
(In reply to Jim Mathies [:jimm] from comment #10)
> We use horizontal scrolling in the start tab for metrofx and we also support
> panning and zooming. Should we add these prefs for metrofx?
Yes, definitely. Thanks for noticing this. I filed bug 916904.
Updated•6 years ago
|
Product: Core → Core Graveyard
Updated•6 years ago
|
Product: Core Graveyard → Core
You need to log in
before you can comment on or make changes to this bug.
Description
•