Created attachment 164152 [details] overlay sheet is too tall SUMMARY If you update or install something and click on the percentage on the sidebar, the overlay sheet with the currently pending operations will show up. On Plasma 6 it's too tall. Check the attached screenshot for more info. STEPS TO REPRODUCE 1. Open Discover 2. Start updating or installing something 3. Click on the progress bar to the left that says "Tasks" OBSERVED RESULT Overlay sheet with pending items is too tall EXPECTED RESULT Correct size. SOFTWARE/OS VERSIONS KDE Plasma Version: 5.90.90 KDE Frameworks Version: 5.246.0 Qt Version: 6.0.0 Kernel Version: 6.2.0-37-generic (64-bit) Processors: 6 × Intel® Core™ i5-9400F CPU @ 2.90GHz Memory: 7,7 GiB of RAM Graphics Processor: LLVM;
Can reproduce.
Setting an implicitHeight value on its ListView fixes the issue, so somehow its default implicit height isn't being set correctly.
OverlaySheet + ListView's implicit height will never be reliable. I did it for Dependencies sheet, and it quickly escalated into a bunch of horrible hacks. We should just use full pages IMHO
This tiny view doesn't make sense to be a page, though.
What if/when it's not tiny?
Then it needs a larger amount of vertical space. But that's rare compared to the common case of the popup having one or two things listed in it. Regardless, this all worked properly with the OverlaySheet-based popup in Plasma 5 times, so there's some regression that needs fixing.
*** Bug 478565 has been marked as a duplicate of this bug. ***
Should be fixed with https://invent.kde.org/frameworks/kirigami/-/merge_requests/1454