This fixes the incorrect initial positioning of the tabs for vertical
tab bars that persisted until the user switched to another tab
manually.
BUG: 395390
FIXED-IN: 5.62
This fixes the incorrect initial positioning of the tabs for vertical
tab bars that persisted until the user switched to another tab
manually.
BUG: 395390
FIXED-IN: 5.62
Automatic diff as part of commit; lint not applicable. |
Automatic diff as part of commit; unit tests not applicable. |
I didn't make a third copy of the positioning code, instead I put it all into a separate function.
For Kickoff you can test the changes like this:
Place Kickoff in a vertical panel. Restart plasmashell. Open Kickoff.
Before fix: first tab is placed out of bounds (y < 0).
After fix: first tab is positioned correctly (y = 0).
As far as I see, other applets that use PlasmaComponents.TabBar (like Activity Bar, Grouping widget etc) weren't affected by the bug and they still work the same.