the only user of that signal, bubblemon applet uses
Plasma::Applet::shouldConserveResources() method tho
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
once set the hint has to be updated on form factor switch (e.g. when the
applet is moved from the desktop to panel or vice-versa)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
because when to show the popup icon instead of the widget and when not is
decided by the minimum of the widget and Plasma::ScrollWidget is adjustable
(shrinks if minimum size is not set)
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
by getting the preferred size hint from the actual applet widget and
returning the result of Plasma::PopupApplet::sizeHint() otherwise (both
Plasma::PopupApplet::sizeHint() and Plasma::applet::sizeHint() do hints
trickery based on form factor and such) a lot of assumptions other bits
make are fullfilled
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
how does it look? something like this:
https://ibb.co/1zbDVpk
and because all the SolidUiServer bits are written by me now - copyright
it to me. the actions dialog was not operational btw (not for hotplug
events anyway).
the solidautoeject thing does not even make sense - when the eject
button is pressed it was calling Solid::OpticalDrive::eject() but if the
button is pressed the tray will eject anyway so what was it doing
actually?
solid-device-automounter can be replaced with solid actions but the
devices are mounted for solid actions anyway so dropping it
as for KCM for the solid actions - there can be none but to add features
such as non-interactive actions (e.g. launch the keyboard KCM when a
keyboard is plugged without poping dialog) or actions that do something
on device removal it has to be done anew
note that the action file for opening a file manager was named
"test-predicate-openinwindow" meaning it was a testing thing rather than
a finished thing
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>