Closed Bug 1476647 Opened 6 years ago Closed 6 years ago

Endless scrolling is broken from a certain toolbox height

Categories

(DevTools :: Storage Inspector, defect)

defect
Not set
normal

Tracking

(firefox63 fixed)

RESOLVED FIXED
Firefox 63
Tracking Status
firefox63 --- fixed

People

(Reporter: ntim, Assigned: jdescottes)

References

Details

(Whiteboard: [good first verify])

Attachments

(1 file)

STR:
- Open storage inspector on https://wwwhome.ewi.utwente.nl/~vriezekolke/test.html
- Resize the toolbox to be higher
- scroll down the local storage tab

AR:
nothing happens

ER:
more items should display

I'm guessing it's because with the logic at [0] expects the user to be able to scroll 9/10 of the scroll height, which isn't possible if the scrollbar is too short.

[0]: https://searchfox.org/mozilla-central/rev/c296d5b2391c8b37374b118180b64cca66c0aa16/devtools/client/shared/widgets/TableWidget.js#1011
Julian, it looks like your patch in bug 1434579 would fix this.

Would it be possible to split out the relevant part here ?
Blocks: 1171903
Flags: needinfo?(jdescottes)
See Also: → 1434579
Comment on attachment 8993024 [details]
Bug 1476647 - Fix TableWidget scroll position calculation;

https://reviewboard.mozilla.org/r/257828/#review264756
Attachment #8993024 - Flags: review?(mratcliffe) → review+
Thanks for the review. Green try at https://treeherder.mozilla.org/#/jobs?repo=try&revision=dcf7f9a8d1e2d585a37bad799fd3b31ecdbb0b5b 

Landing.
Flags: needinfo?(jdescottes)
Assignee: nobody → jdescottes
Status: NEW → ASSIGNED
Pushed by jdescottes@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/627f2adec73b
Fix TableWidget scroll position calculation;r=miker
Sorry about that! Switching to vertical layout for the storage inspector seems to make the test fail intermittently. Since the  bug can be reproduced simply using a bigger height for DevTools, I will update it to do that.
Flags: needinfo?(jdescottes)
Pushed by jdescottes@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/25c83a66f294
Fix TableWidget scroll position calculation;r=miker
https://hg.mozilla.org/mozilla-central/rev/25c83a66f294
Status: ASSIGNED → RESOLVED
Closed: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → Firefox 63
See Also: → 1713316
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: