online
online copied to clipboard
Improve the scrollbars
- Draw the railway for vertical and horizontal scrollbars
- The railway should be 50% transparent on all apps, except for calc which should have a fully opaque railway
Signed-off-by: Skyler Grey [email protected] Change-Id: I57975e52700f3b91782f9be40ad9864fc8c3baf2
- Target version: master
TODO
- [x] Display railways
- [ ] ~~Make thumbs thinner when the scrollbar is not being used~~
- [ ] ~~(possibly) Make the trail thinner when the scrollbar is not being used~~
- [x] (possibly) Make the scrollbars attach to the side of the window (particularly in calc where a small part of the spreadsheet displays past the scrollbar railway)
- [x] Make the scrollbar railway have lower opacity on apps other than calc
- [ ] ~~Fix the animating scrollbar resizing~~
- [ ] ~~Don't let the railway overflow the bounds (i.e. clip onto the column/row headers in calc)~~
- [ ] ~~Rewrite the writer/scrolling_spec cypress test~~ [Does not appear to be needed anymore]
- [ ] ~~Write new cypress tests for scrollbars (copy writer test over to calc to check the scrollbar is opaque etc.)~~
Note: Crossed out tasks were planned but have (on request) been moved to be in a later PR [not yet opened]
Checklist
- [x] Code is properly formatted
- [x] All commits have Change-Id
- [ ] I have run tests with
make check
- [ ] I have issued
make run
and manually verified that everything looks okay - [x] Documentation (manuals or wiki) has been updated or is not required
~~The failing test is one to test the scrollbars, so the reason it fails is fairly obvious. This test will need to be rewritten along with this PR~~
This test no longer fails
@pedropintosilva
@pedropintosilva the CI timed out, can you restart it please?
It seems Cypress has timed out on the CI side. I have re-triggered it.
@pedropintosilva the CI timed out, can you restart it please?
I have just noticed this ^ after commenting :p , sure
cypress test destkop/calc/scrolling_spec.js
has to be checked and adjusted
Makes sense ^ now that we have changed offsets and change scrollbars on calc to start to be drawn after the cells all those cypress coordinates are probably wrong