Rework iPad's menu resizing#1453
Conversation
Kodiai Review SummaryWhat ChangedReworked iPad menu resizing to prevent hiding the playlist view completely and ensure the playlist header remains visible above the toolbar during rotation. Reviewed: core logic Strengths
ObservationsImpact[MAJOR] XBMC Remote/ViewControllerIPad.m (533): Potential use of uninitialized variable Preference[MINOR] XBMC Remote/ViewControllerIPad.m (272, 280): Typo in comments Suggestions
Verdict🟡 Ready to merge with minor items -- Optional cleanup suggestions below (no blockers) Review Details
|
0438503 to
efc357e
Compare
Excludes topPadding, bottomPadding, toolbar and playlist toolbar.
Avoid moving separator underneath the playlist toolbar, also after rotation or after startup. Snap back to last menu item which places the separator above the playlist toolbar. Simplify use of changeLeftMenu.
Rename property to mainMenuTable, which allows to remove some superfluous casts. In addition, remove synthesize and keep using a property only.
1091f8e to
bc73525
Compare
|
Squashed and rebased to master. |
Description
This PR reworks the menu resizing on iPad. It also fixes an issue reported in this forum post and via AppStore review. Before this rework it was possible to hide the playlist view completely. This could happen because the movable playlist header could be placed behind the playlist toolbar, either by user or by rotation to landscape mode.
The rework takes care that the playlist header is always kept visible and touchable above the playlist toolbar, including rotation use cases.
Summary for release notes
Bugfix: Always keep playlist header visible on iPad