Merge lp:~kiwinote/software-center/remember-scroll-position into lp:software-center
Status: | Merged |
---|---|
Merged at revision: | 2771 |
Proposed branch: | lp:~kiwinote/software-center/remember-scroll-position |
Merge into: | lp:software-center |
Diff against target: |
159 lines (+36/-5) 6 files modified
debian/changelog (+10/-2) softwarecenter/ui/gtk3/app.py (+4/-2) softwarecenter/ui/gtk3/panes/availablepane.py (+5/-0) softwarecenter/ui/gtk3/panes/softwarepane.py (+5/-1) softwarecenter/ui/gtk3/session/viewmanager.py (+7/-0) softwarecenter/ui/gtk3/views/appview.py (+5/-0) |
To merge this branch: | bzr merge lp:~kiwinote/software-center/remember-scroll-position |
Related bugs: |
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
software-store-developers | Pending | ||
Review via email: mp+93412@code.launchpad.net |
Description of the change
first change in this branch is to make the backspace key no longer trigger a navigation back as it has started to cause many many odd side effects, the possible workarounds to keep this behaviour all seem a bit messy but perhaps i can come up with something at a later stage
the main change is to remember the list position when eg going from a list to details back to the list again. after much experimentation the code in this branch seems to work fairly reasonably, but there are a few oddities, ie the restored scroll position isn't pixel perfect, but can vary by up to roughly one item height - despite reading the value and restoring that pixel perfect value.. also for some odd reason we need to restore the vadjustment value to both set_value and set_lower, otherwise it doesn't work..
the scroll position is only remembered in the available pane