Hide Forgot
go to group view. click members click to another subtab click back to members notice members view is empty click on members subtab label again notice members view is back
in SubTabLayout: Canvas canvas = currentSubTab.getCanvas(); if (canvas != null) { if (hasMember(canvas)) { if (!canvas.isVisible()) { canvas.show(); } } else { if (!canvas.isCreated()) { canvas.setOverflow(Overflow.SCROLL); } ----> addMember(canvas); } markForRedraw(); this.currentlyDisplayed = currentSubTab; } The code gets into here, where the canvas already exists, but has no members. So canvas != null, hasMembers(canvas) == false and !canvas.isCreated() is false (i.e. canvas IS created). In the debugger, I see that canvas.isVisible() is false (which is to be expected, it isn't shown yet). However, I never see onDraw() get called nor RefreshableView.refresh() (which MemberView has - MemberView is "canvas" above). Question: why doesn't the code do a "canvas.show()" here like it does in the "hasMembers" if clause???
If I add if (!canvas.isVisible()) { canvas.show(); } after the addMembers call from my previous comment, this bug goes away.
commit ca82e3d added that if-statement to ensure the canvas is visible.
Verified on build#1086 (Version: 4.0.0-SNAPSHOT Build Number: 7b2d9f6) The members view displays the member resources when navigating and coming back from another subtabs. Marking as verified.
Bookkeeping - closing bug - fixed in recent release.