When there is only one virtual desktop, TasksModel DesktopRole returns 0 instead of 1, so we never listed windows in this case.
BUG: 363656
FIXED-IN: 5.6.5
When there is only one virtual desktop, TasksModel DesktopRole returns 0 instead of 1, so we never listed windows in this case.
BUG: 363656
FIXED-IN: 5.6.5
Seems to work.
I don't understand why the model does that, though:
int Task::desktop() const { if (KWindowSystem::numberOfDesktops() < 2) { return 0; } return d->info.desktop(); }
Lint Skipped |
Unit Tests Skipped |
there was an inconsistency at some point between the applet counting from 0 and x counting from 1 iirc, and nowdays *should* be possible to remove that if (KWindowSystem::numberOfDesktops() < 2) { code?
<kbroulik:#plasma> Sho_: https://phabricator.kde.org/D1706 is this still an issue with the new lib (the applet needs to be adjusted to use the new lib?)
Yes, this code stil uses the old lib.