Merge lp:~cimi/overlay-scrollbar/hide-at-full-size-pager into lp:overlay-scrollbar

Proposed by Andrea Cimitan
Status: Merged
Merged at revision: 142
Proposed branch: lp:~cimi/overlay-scrollbar/hide-at-full-size-pager
Merge into: lp:overlay-scrollbar
Diff against target: 0 lines
To merge this branch: bzr merge lp:~cimi/overlay-scrollbar/hide-at-full-size-pager
Reviewer Review Type Date Requested Status
Loïc Molinari (community) Approve
Review via email: mp+52432@code.launchpad.net

Description of the change

This should hide the scrollbar correctly when the scrolling disappears (no content to scroll).
I'm not in love with the approach of this branch, because I should supervisor when os_pager_show and os_pager_hide are called by both map()/unmap() and adjustment_changed_cb() (I don't want to see pagers reappearing because of a change in the adjustment of an invisible pager).
Indeed, right now it seems to work.
I would propose a saner control over those calls in the future.

To post a comment you must log in.
Revision history for this message
Loïc Molinari (loic.molinari) wrote :

Looks good to me.

I'd put a "FIXME(Cimi): " in adjustment_changed_cb() explaining the pros and cons, like you did in that merge request. That way, your thoughts can be shared with people reading the code and won't be lost in that merge request.

143. By Andrea Cimitan

Added a FIXME to keep track of my concern

144. By Andrea Cimitan

updated fixme

Revision history for this message
Loïc Molinari (loic.molinari) :
review: Approve
145. By Andrea Cimitan

updated fixme

Preview Diff

Empty

Subscribers

People subscribed via source and target branches