If an applet fails to load properly m_applet will be null which is a
valid state to be in when we destruct the plasmoid task object.
BUG: 356470
REVIEW: 126497
As describled in 'Self-hiding plasmoid' requirement
https://forum.kde.org/viewtopic.php?f=83&t=39501
I added Plasma::Types::HiddenStatus, then when the plasmoid's status is
SystemTray.Task.HiddenStatus, the plasmoid is just self-hiding.
REVIEW: 126298
QTimer::singleShot(time, QObject*, char*)
QTimer::singleShot(time, QObject*, PointerToFunction)
behave differently when time == 0
So the porting had an effect
This patch migrates to QMetaObject::invokeMethod which is clearer
CCBUG: 352055
There seems to be two different bug in 352055 but looks similar, the other one is fixed in Qt 5.6 according to Albert Astals Cid.
Somehow key events no longer end up in the expanded task, this could be related
to the fact that we now have a proper ScrollView instead of a plain ListView/Flickable.
REVIEW: 126293
By the time the activated signal is fired, currentIndex has not been updated yet, at least
when selecting ComboBox entries by mouse. When using the mouse wheel it works, which is
probably why I haven't noticed the breakage.
CHANGELOG: Fixed changing applet visibility in system tray settings when clicking the options
added some formfactor keywords in the applets metadata.
once the explorer model filters them accordingly,
it should remove a bit of applets problematic on
the phone for one reason or another
REVIEW:125810
Check if the value is correct by checking if it's different to null.
Use a property rather than a function, so that if a value changes, it gets
picked up. Additionally this will make it share the value rather than
rendering the icon twice (one for each use).
REVIEW: 125812
execute a script from the look and feel package when
an applet is added, adding to the script environment
"applet" that wraps the currently added applet and
"containment" that wraps its containment.
from there the javascript part can do anything it can do
in the startup script as well.
In case of containments, "applet" and "containment" will
be the same thing
REVIEW:125562
This patch allows to filter the loaded Plasmoids by formFactor. It uses
a property of host, and passes this down to the PlasmoidProtocol, which
then decides based on formFactor whether or not to show a Plasmoid.
The value for FormFactor can be changed from QML.
REVIEW:124634
This way we don't need to keep three different models in sync which has shown to
break quite often resulting in gaps in the layout and other strange behavior.
BUG: 347554
FIXED-IN: 5.4.0
REVIEW: 124380
if new plasmoids are installed that are systray enabled and
enabled by default, automatically add them, unless they were
disabled explicitly. This solves a problem distributions seem
to add while updating to new plasma releases.
obtain this by keeping both a list of explicitly enabled stuff
and all the already known stuff
REVIEW:123789
BUG:345872
applet loading in systemtray doesn't depend from sycoca anymore
it uses Plasma::PluginLoader, so it works with both sycoca-based
libplasma and with the new branch without
Use Animator for the animation to reduce CPU load and hardcode the animation duration to
a pleasant pace. Also remove obsolete non-smooth scaling and don't start when animations
are disabled in the first place.
REVIEW: 123337
- if clicked on arrow show sidebar
- if clicked on always hidden applet show sidebar
- if clicked on always shown applet hide sidebar
- in case of passive applet show sidebar
BUG: 344795
FIXED-IN: 5.2.2