Closed
Bug 695569
Opened 14 years ago
Closed 14 years ago
Scroll indicators for web content
Categories
(Firefox for Android Graveyard :: General, defect, P2)
Tracking
(firefox11 fixed, fennec11+)
VERIFIED
FIXED
People
(Reporter: martijn.martijn, Assigned: kats)
Details
(Whiteboard: [QA-])
Attachments
(4 files, 2 obsolete files)
|
6.83 KB,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
|
144.35 KB,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
|
1.49 KB,
patch
|
cwiiis
:
review+
|
Details | Diff | Splinter Review |
|
2.27 KB,
patch
|
mfinkle
:
review+
|
Details | Diff | Splinter Review |
I don't see any scroll indicators, while scrolling with Native Fennec.
Updated•14 years ago
|
OS: Windows 7 → Android
Hardware: x86 → ARM
Updated•14 years ago
|
Summary: Scroll indicators → Scroll indicators for web content
Updated•14 years ago
|
Whiteboard: [QA+]
Updated•14 years ago
|
Priority: -- → P2
Updated•14 years ago
|
Assignee: nobody → kgupta
| Assignee | ||
Comment 1•14 years ago
|
||
Attachment #570357 -
Flags: review?(mark.finkle)
| Assignee | ||
Comment 2•14 years ago
|
||
Comment on attachment 570357 [details] [diff] [review]
Add scroll indicators
Actually, this patch doesn't work in all cases. I need to test/debug further. Feedback welcome though.
Attachment #570357 -
Flags: review?(mark.finkle) → review-
| Assignee | ||
Comment 3•14 years ago
|
||
Attachment #570357 -
Attachment is obsolete: true
Attachment #570743 -
Flags: review?(mark.finkle)
Comment 4•14 years ago
|
||
Comment on attachment 570743 [details] [diff] [review]
Add scroll indicators (v2)
>+ updateScrollbarsFor: function(aElement) {
>+ // only draw the scrollbars if we're scrolling the root content element
>+ if (aElement != this.selectedBrowser.contentDocument.documentElement &&
>+ aElement != this.selectedBrowser.contentDocument.body)
>+ return;
use a local:
let contentDoc = this.selectedBrowser.contentDocument
it's a tiny bit faster and you can leave the condition on a single line
>diff --git a/mobile/chrome/content/browser.xul b/mobile/chrome/content/browser.xul
>+<?xml-stylesheet href="chrome://browser/skin/browser.css" type="text/css"?>
I'd be happier if we gutted the CSS file to only have in it what we need.
Also, I saw a bug where panning to the top or the bottom would get stuck in a "panning" mode and the bars would not hide. Might not be your bug at all. Could be the reason we see text selection when panning too.
r- for the CSS file cleanup
Attachment #570743 -
Flags: review?(mark.finkle) → review-
| Assignee | ||
Comment 5•14 years ago
|
||
Update with JS refactoring as requested.
Attachment #570743 -
Attachment is obsolete: true
Attachment #570780 -
Flags: review?(mark.finkle)
| Assignee | ||
Comment 6•14 years ago
|
||
Attachment #570781 -
Flags: review?(mark.finkle)
| Assignee | ||
Comment 7•14 years ago
|
||
Attachment #570782 -
Flags: review?(chrislord.net)
Updated•14 years ago
|
Attachment #570780 -
Flags: review?(mark.finkle) → review+
Updated•14 years ago
|
Attachment #570781 -
Flags: review?(mark.finkle) → review+
Comment 8•14 years ago
|
||
Comment on attachment 570782 [details] [diff] [review]
(3/3) Stop runaway scrolling behaviour
Review of attachment 570782 [details] [diff] [review]:
-----------------------------------------------------------------
Looks good to me.
Attachment #570782 -
Flags: review?(chrislord.net) → review+
| Assignee | ||
Comment 9•14 years ago
|
||
https://hg.mozilla.org/projects/birch/rev/0aeaa4995892
https://hg.mozilla.org/projects/birch/rev/e968742b325d
https://hg.mozilla.org/projects/birch/rev/8f32c0c1285c
Status: NEW → RESOLVED
Closed: 14 years ago
Resolution: --- → FIXED
Comment 10•14 years ago
|
||
Should the scroll-indicators have a slight opacity to them so you can still see web content?
Verified Fixed
20111101040211
http://hg.mozilla.org/projects/birch/rev/7203d86d5868
-- Samsung Galaxy SII (Android 2.3.4)
Status: RESOLVED → VERIFIED
Updated•14 years ago
|
Whiteboard: [QA+] → [QA-]
| Assignee | ||
Comment 11•14 years ago
|
||
Not sure if the colors will change later, but for now i'm just making the gingerbread/honeycomb versions the same as the default.
Attachment #571108 -
Flags: review?(mark.finkle)
Updated•14 years ago
|
Attachment #571108 -
Flags: review?(mark.finkle) → review+
Comment 12•14 years ago
|
||
opacity and XUL normally leads to some small performance issues. We'll need to watch out for that.
| Assignee | ||
Comment 13•14 years ago
|
||
https://hg.mozilla.org/projects/birch/rev/885ea82d6820
We can revisit this once pcwalton's stuff lands to see if it slows down performance.
Updated•14 years ago
|
tracking-fennec: --- → 11+
Updated•14 years ago
|
status-firefox11:
--- → fixed
Updated•5 years ago
|
Product: Firefox for Android → Firefox for Android Graveyard
You need to log in
before you can comment on or make changes to this bug.
Description
•