The issue was found when submitting KF 5.18 & Plasma 5.5.3 to openSUSE Tumbleweed https://openqa.opensuse.org/tests/113806/modules/first_boot/steps/1 i can reproduce the problem locally also with git master of both KF5 & Plasma Reproducible: Always Steps to Reproduce: 1. Add Folder applet to desktop Actual Results: See the picture Expected Results: https://openqa.opensuse.org/tests/113995/modules/first_boot/steps/1
Plasma 5 doesn't put a Folder View on to the desktop by default, so this is a downstream customization of the init script that's defective in some way.
The issue is here for me when i also add the folder 'by hand'. I hope this scenario is supported ;-)
Please note, the regression is somewhere in KF 5.17 -> 5.18 or Plasma 5.5.2 -> 5.5.3 as it worked correctly before.
Ah sorry, I misunderstood your report initially. Seeing the problem now.
so this one 'broke' it: commit 344dbeb93884af36f66e9a5133e7be7bd1b1e70d Author: David Rosca <nowrep@gmail.com> Date: Tue Dec 22 15:46:00 2015 +0100 AppletQuickItem: Drop timer to create full representation The timer only added 250ms delay before creating the full representation, sometimes resulting in showing empty popup for a moment. REVIEW: 126468
Yeah, I was debugging this yesterday and noticed it's because either applet.width or applet.height in main.qml::addApplet() come out as 0. Oddly the proper calculation does run before, but the applet item is squashed to 0 height before being passed to the function (onHeightChanged runs twice). Still. need to work out where and why that resize happens.
Ah, so it did actually break something. Please test https://git.reviewboard.kde.org/r/126778/
Yep, problem solved =)
Git commit 11937533e83659dc4dab6f7e8e6019863a28ddae by David Rosca. Committed on 17/01/2016 at 17:02. Pushed by drosca into branch 'master'. Ignore check if just one part of size is zero in compactRepresentationCheck When debugging the linked bug, it looks like when item's geometry change eg. from 0x0 to 100x100, geometryChanged may be called twice, first with 100x0 and then finally with 100x100. This was not issue before, because we used timer to call compactRepresentationCheck. This changes compactRepresentationCheck so that it early returns also when just one part of item's size is zero. Fixes regression from 344dbeb938 REVIEW: 126778 M +2 -2 src/plasmaquick/appletquickitem.cpp http://commits.kde.org/plasma-framework/11937533e83659dc4dab6f7e8e6019863a28ddae