Commit Graph

37 Commits (c521112ceae190ee3284502999498d46d278eeba)

Author SHA1 Message Date
Michail Vourlakos 4ad9bceb27 activate through mouse wheel more applets
--when an applet is not identified as expandable
but on the other hand has activated the flag
activationTogglesExpanded then for those
applets the mouse wheel option should also
trigger an activation event
3 years ago
Michail Vourlakos a7cd06c2ef dont block visibility function after Meta trigger
--Menu11 and SimpleMenu applets are using a custom
plasmoid approach in order to be able to position their
popups differently on the screen. This patch considers
this in a more generic way and does not use the default
codepath to show popups from these applets. More
importantly the Needs/RequiresAttention status is used
in order to determine the panel/dock visibility for
these applets.

BUG:441053
3 years ago
Alexander Lohnau 505379ed04 Use spdx syntax for all files 4 years ago
Ömer Fadıl Usta 03e9c6c954 Reorder inits to Fix wrong initialize problem and fixes for string compares 4 years ago
Michail Vourlakos 76549a9f99 shortcuts:wait for view to fully shown properly
--the new approach is not using timers but actual
events from View in order to identify when the
view is fully shown and when their popup is actual
visible. This way popup showing and view slide-in
is always synchronized properly

BUG:425078
4 years ago
Michail Vourlakos c74b60c7da subcontainments considered Expandable 4 years ago
Michail Vourlakos 597ee4af5f respect always appletIsExpandable flag
--this way applets that during start were
expandable and now they are not, they do
not trigger expanded codepaths
4 years ago
Michail Vourlakos f6df7a7df1 introduc fast layout manager for containment 4 years ago
Michail Vourlakos 6cd47840fb improve how identification of expanded applets
--take into account AppletQuickItem.switchWidth/Height
values in order to identify or not if an applet
is expanded in a popup window
4 years ago
Michail Vourlakos f37fde5824 simplify dragging architecture
--simpler implementation both for plasmoid
mousehandler and containment droparea
4 years ago
Michail Vourlakos 6a6e47c657 plenty of fixes for moving/dragging applets 4 years ago
Michail Vourlakos 2fd5f51e8d fixes for justify alignment arrangement 4 years ago
Michail Vourlakos 2e7dcb5428 refactor rely on c++ to provide justify alignment
--c++ takes the burden to validate the Justify alignment
4 years ago
Michail Vourlakos 343c1e632a provide consistent slots naming
--onSomethingChanged syntax is preferred for all
slots that are triggered from somethingChanged signals
--doThis syntax is preferred for generic slots that
are triggered from various different codepaths
5 years ago
Michail Vourlakos 3de29ece9b drop subContaiment functions from genericlayout
--responsibility is now at Layouts::Storage singleton
class
5 years ago
Michail Vourlakos 8c1d0d34e5 rename internal containments to subcontainments
--applets that act as internal containments are now called
subcontainments because they are containments inside
main containments
5 years ago
Michail Vourlakos c3e430e356 fix crash when unloading layouts
--when unloading layouts applets are deleted
and subsequently all the heuristics for identifying
expanded applets are removed. In such case
there were rare cases that applet()->id() was
trying to be accessed and that was subsequently
creating crashes because applet did not exist
anymore. AppletQuickItems probably are deleted
after applet has already been destroyed.
5 years ago
Michail Vourlakos fa4ffbf521 use PositionShortuts Ability for activate/new 5 years ago
Michail Vourlakos dc78257962 improvement for Container::OnPositionShortcuts
--bind On Position Shortcuts Container ability
with View::ExtendedContainmentInterface implementation
5 years ago
Michail Vourlakos f32937ca6d first commit for multi on position shortcuts 5 years ago
Michail Vourlakos 3cadc32fc4 improvements for Tasks applets usage 5 years ago
Michail Vourlakos 2fae4a87ba ContainmentInt is now resposible for all Tasks 5 years ago
Michail Vourlakos 99db4d54f2 support plasma tasks model for tracking 5 years ago
Michail Vourlakos 76781094af rename ExtInterface::model to LatteTasksModel 5 years ago
Michail Vourlakos 1e48d053f7 fix crash when switching layouts
-- the faulter was containmentinterface that was
calling containment()->applets() during view
destroying phase
5 years ago
Michail Vourlakos 1ad1dd2982 fixes for globalshortcuts highest view identify
--always find the highest view that is going to be
used for global shortcuts based on position activation
--adjust the code a bit for SideBars in order to show
when a SideBar is called for global shortcuts based
on position activation and hide correctly when the
global shortcut is not triggered any more.

BUG:420356
5 years ago
Michail Vourlakos 0d0b0413bb activate appletquickitem if it is not expandable
--when the user requests to activate an applet that
it is not expandable such as DashBoard then only
thing that it is possible, it is to forcefully
activate it

BUG:420275
5 years ago
Michail Vourlakos 5fdcef81af TASKS:Migrate to multiple Tasks architecture
--First steps in order to support mulitple Tasks
applets in the same dock and panel.
--Step1: migrate values from Containment to Task
applet.
--Step2: deprecate Task applet options that are
found in containment
--Step3: provide multiple dynamic Tasks tabs in
settings
5 years ago
Michail Vourlakos 0da74fb3ce Tasks:track multiple Tasks applets
--create an infrastructure in order to be able
to adjust and configure multiple Tasks plasmoids
5 years ago
Michail Vourlakos bde33f98a9 remove blockHidingEvent on SideBar startup 5 years ago
Michail Vourlakos 8b41314b2f enable scrolling activation only for expandable
--systrays/internal containments are blocked from
this
5 years ago
Michail Vourlakos 0046c904d1 View:Move expanded applets code to View::Interface 5 years ago
Michail Vourlakos fa65462dea move View::deactivateApplets to extendedInterface 5 years ago
Michail Vourlakos 2db252b769 fix warnings 5 years ago
Michail Vourlakos 34d6c2cd78 identify highest priority application launcher
--provide a new way to identify which application
launcher has the highest priority in order to be
triggered. When an application launcher applet
has a global shortcut assigned to it then that
application launcher applet has the highest
priority in order to be triggered through
"Super" global key.
5 years ago
Michail Vourlakos d31d7afb9d dont wait for dock to show for activate shortcuts
--when the application launcher is not a popup then
we do not have to wait for the dock show we can execute
the activation code immediately
--when Latte activates an entry can now understand
if a popup is going to be shown in order to delay
the execution. If a popup is NOT going to show either
for a latte task or an applet then the code is executed
immediately

BUG:415417
FIXED-IN:0.9.6
5 years ago
Michail Vourlakos 111254e509 refactor:move qml handling from globalshortcuts
--all the qml handling code from globalshortcuts is
now moved to Latte::View::ContaimentInterface. This
way the code is cleaner and can be expanded easier.
5 years ago