You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
MAYA-131609: Tabs go missing when changing direction
With commit 1082038 from Qt R&D, we were still able to reproduce the missing tabs issue when a tab was removed with tab bar scrolled to the right. While I understand that the problem arose because the geometry was not ready when the API was called, I believe the scroll offset calculation could be rewritten to handle various scenarios, regardless of how and when this API is used. My change reorders the existing logic and achieves the following:
Resets the scroll offset if there is enough space to fully display the tab bar before checking other conditions.
If there is not enough space, it clamps the adjusted scrollOffset value within the limits.
I have added a test case to demonstrate the issue we observed with the original commit.
0 commit comments