I have checked "only show tasks from the current desktop". After opening a new window in a empty desktop B and switching to a different desktop A with some existing windows, these windows' tasks look very narrow. In particular, it seems to me that their total width is the same as the only task in desktop B. I'm attaching a video to show the issue and a screenshot of the settings. Reproducible: Always Steps to Reproduce: 1. Open some windows on desktop A 2. Switch to an empty desktop B 3. Open a window 4. Switch back to desktop A Actual Results: Taskbar's entries are very narrow Expected Results: Taskbar's entries should be wide if there's space enough. I expect them to be as big as they were before switching to desktop B. I've put 4.10.97 as version, but I've also reproduced the issue with git 691fc819b839dcd780e580db6fc443740b815767. The issue goes away if I uncheck "force row settings".
Created attachment 81514 [details] Video
Created attachment 81515 [details] Screenshot of the settings
Thank you for a good and detailed bug report. I have a hunch what the problem might be but am away from the desk right now. Could you do me a favor and test with e73da75? I expect the problem not to occur there, and then roughly know how to fix it later.
(In reply to comment #3) It happens with e73da75 too :(
Rats, then it will take some closer investigation -- hopefully I can reproduce it. Thanks though.
Git commit a9954aec520612cbcdf5253ffc11bb6fc5a96ee8 by Eike Hein. Committed on 02/08/2013 at 08:37. Pushed by hein into branch 'KDE/4.11'. Update container dimensions on child count changes in force row mode. This got lost during reshuffling at some point. M +11 -4 plasma/desktop/applets/tasks/package/contents/ui/main.qml http://commits.kde.org/kde-workspace/a9954aec520612cbcdf5253ffc11bb6fc5a96ee8
Git commit 20ad2d49ec2c6d8ec3066bb9d4feb45c4bded8d6 by Eike Hein. Committed on 02/08/2013 at 09:45. Pushed by hein into branch 'KDE/4.11'. Forgot a case. M +15 -2 plasma/desktop/applets/tasks/package/contents/ui/main.qml http://commits.kde.org/kde-workspace/20ad2d49ec2c6d8ec3066bb9d4feb45c4bded8d6