https://bugs.kde.org/show_bug.cgi?id=376277
Marco Martin <notm...@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|UNCONFIRMED |RESOLVED Resolution|--- |FIXED Latest Commit| |https://commits.kde.org/pla | |sma-workspace/e20f155190ac4 | |e47bd2a9c1967b79f6e125c95ec --- Comment #5 from Marco Martin <notm...@gmail.com> --- Git commit e20f155190ac4e47bd2a9c1967b79f6e125c95ec by Marco Martin. Committed on 29/03/2017 at 11:42. Pushed by mart into branch 'master'. Setting a sensible minimum size for plasmawindowed Summary: plasmawindowed didn't set any minimum size to its window, so it could be resized unusably small. it tried to find its attached Layout, but the attached property object wasn't created. now set the minimum size by the following heiristics: * if there is a switchsize, set it to switch to full representation * then take the full representation minimum size if available and bigger then switch size * otherwise, set it as SizeEnormous icon size * in any case, don't let the window be less than that Test Plan: tried both an applet that exports a layout and ful lrepresentation (kickoff) and an applet that wants to stay collapsed (analog clock) kickoff stays expanded at a reasonable minimum size, the clock can be scaled down to 128x128 Reviewers: #plasma, broulik Reviewed By: #plasma, broulik Subscribers: broulik, plasma-devel Tags: #plasma Differential Revision: https://phabricator.kde.org/D5235 M +1 -0 plasma-windowed/CMakeLists.txt M +29 -15 plasma-windowed/plasmawindowedview.cpp M +2 -0 plasma-windowed/plasmawindowedview.h https://commits.kde.org/plasma-workspace/e20f155190ac4e47bd2a9c1967b79f6e125c95ec -- You are receiving this mail because: You are watching all bug changes.