1
0
mirror of https://github.com/KDE/latte-dock.git synced 2024-12-26 11:21:40 +03:00
Commit Graph

1563 Commits

Author SHA1 Message Date
Michail Vourlakos
6a6e47c657 plenty of fixes for moving/dragging applets 2020-12-31 16:58:53 +02:00
Michail Vourlakos
8959e58148 provide generic code for fill applets calculations 2020-12-31 16:58:53 +02:00
Michail Vourlakos
50aec78526 position properly paddings visuals 2020-12-31 16:58:53 +02:00
Michail Vourlakos
50bf618942 drag/move applets from outside View 2020-12-31 16:58:53 +02:00
Michail Vourlakos
2fd5f51e8d fixes for justify alignment arrangement 2020-12-31 16:58:53 +02:00
Michail Vourlakos
2e7dcb5428 refactor rely on c++ to provide justify alignment
--c++ takes the burden to validate the Justify alignment
2020-12-31 16:58:53 +02:00
Michail Vourlakos
968a80f858 show applet paddings inConfigureApplets mode 2020-12-31 16:58:53 +02:00
Michail Vourlakos
55a6455399 support CanFillArea applets 2020-12-30 23:24:55 +02:00
Michail Vourlakos
17f4a90ed7 hide EventsSinkOriginArea when not needed 2020-12-30 13:23:38 +02:00
Michail Vourlakos
fb1aaefd34 Revert "hide sinkareas when no needed"
This reverts commit 168502673b.
2020-12-30 13:20:57 +02:00
Michail Vourlakos
168502673b hide sinkareas when no needed 2020-12-30 13:02:50 +02:00
Michail Vourlakos
f63bc30274 remove workaround activating applet from neutral 2020-12-30 09:47:14 +02:00
Michail Vourlakos
c7fedca8b6 remove margins from SinkAreas 2020-12-30 09:30:29 +02:00
Michail Vourlakos
431ce6c6fa enable EventsSink with parabolic effect
--add also some comments/information about
EventsSink qml implementation
2020-12-29 21:43:11 +02:00
Michail Vourlakos
574135e084 Welcome the all new EventsSink infrastructure
--each applet has now its own Sunk events to handle,
and as such each applet can now have different paddings
and that does not create any issues or missing events
2020-12-29 21:18:21 +02:00
Michail Vourlakos
de6f2282e6 remove all padding events code
--in favour of EventsSink approach that will
probably solve all corner cases of view sunk
events
2020-12-29 19:36:58 +02:00
Michail Vourlakos
f652975c90 qml:load ParabolicArea(s) only when really needed 2020-12-29 00:03:55 +02:00
Michail Vourlakos
ba9233684e view:separate parabolic c++ code from view
--The parabolic effect c++ part of View now
leaves in its own class
2020-12-28 23:36:28 +02:00
Michail Vourlakos
5a9d84f383 fix, do not show alreadyshown tasks after hiding 2020-12-28 22:11:59 +02:00
Michail Vourlakos
a51f10b7e2 drop applets custom hovering animation 2020-12-28 16:44:54 +02:00
Michail Vourlakos
99531d4d19 drop totally any applet icon overlaying 2020-12-28 16:41:32 +02:00
Michail Vourlakos
b5ceb4d91a tasksparabolic:use view triggering values 2020-12-28 10:23:36 +02:00
Michail Vourlakos
259f04f7c9 view:forward ParabolicEnter from c++ 2020-12-28 10:11:11 +02:00
Michail Vourlakos
a1ec6de412 tasks:make parabolic effect fixes 2020-12-27 23:37:46 +02:00
Michail Vourlakos
d3eed82145 adjust tasks to new parabolic approach 2020-12-27 22:26:13 +02:00
Michail Vourlakos
751a4f6713 appletItem:provide its own Parabolic Area
--move the parabolic effect code in its own item
and thus making it a lot cleaner to maintain and
debug
2020-12-27 21:45:01 +02:00
Michail Vourlakos
ae9836ccba first iteration for new parabolic 2020-12-27 19:07:00 +02:00
Michail Vourlakos
2f0a226b0d dont draw layoutscontainer when hidden 2020-12-27 14:08:09 +02:00
Michail Vourlakos
2251b16338 wayland:enable new input event handling 2020-12-27 14:03:57 +02:00
Michail Vourlakos
bc5ba50147 refactor:plenty of fixes for masks/input events
--use only input events in order to identify the area
from which a window accepts input and also remove almost
every mask-qml code handling
--by reducing mask usage to minimum we fix also the
BLACKLINE bug under X11
2020-12-27 13:52:32 +02:00
Michail Vourlakos
ba94315ecb REFACTOR:input events and mask area
-- The new approach reduces mask area calls to
barely minimum. Input mask is used instead to
specify the area for which we accept input.
-- The new approach solves also the BLACKLINE issue
when hovering the view at startup. This is because
at all times the full window area is drawn.
2020-12-27 11:04:04 +02:00
Michail Vourlakos
bc9e39a6b2 use valid paddings for sinked events 2020-12-26 20:42:51 +02:00
Michail Vourlakos
f45c6eea87 remove edge applet special spacing 2020-12-26 19:46:58 +02:00
Michail Vourlakos
34f1eff125 remove separator length based on latte setting 2020-12-26 19:39:11 +02:00
Michail Vourlakos
1650518935 autofill applets use same length paddings/margins 2020-12-26 19:22:32 +02:00
Michail Vourlakos
7ef490932d add visual identifiers for paddings 2020-12-26 19:15:42 +02:00
Michail Vourlakos
7c3b994cbb sinked_events:do not send for needlength animations
--fix a case of parabolic effect breaking when mouse
was hovering empty areas on the sides of the dock
2020-12-26 00:42:56 +02:00
Michail Vourlakos
c123bc40e1 fix/adjust InternalViewSplitter placement
--for the new paddings approach
2020-12-25 20:30:06 +02:00
Michail Vourlakos
167a19b748 sinked events:respect Fitts Law 2020-12-25 19:08:21 +02:00
Michail Vourlakos
ae650bbcf7 disable some qml side events hacks
--with new padding approach we can be more certain
when the overlaied parabolic effect mousearea is
really needed
2020-12-25 14:07:43 +02:00
Michail Vourlakos
c7ff929e35 auto-lock applets in more generic way 2020-12-25 14:02:05 +02:00
Michail Vourlakos
654c35cfec add visual debug rectangle for applets 2020-12-25 13:47:23 +02:00
Michail Vourlakos
74d9065f1f change applets margins/paddings approach 2020-12-25 13:17:12 +02:00
Michail Vourlakos
96fd421e9f sinked events:various fixes
--disable sinked events when parabolic effect is
enabled. It needs to be rethought how this could work
properly with parabolic effect.
2020-12-25 01:14:11 +02:00
Michail Vourlakos
a74a6ee3ff remove hack to activate applets from floating area
--by using the new approach from plasmaviews that take
into account paddings, any hacks to activate applets through
other codepaths are not needed any more.
2020-12-24 19:36:52 +02:00
Michail Vourlakos
746f32050d adjust mouse events relevant to view paddings 2020-12-24 19:27:11 +02:00
Michail Vourlakos
0112df9c5d alter Abilities.Definitions, Abilities.Definition 2020-12-03 18:59:05 +02:00
Michail Vourlakos
fb9f2739a3 rename Abilities.Hosts to Abilities.Host 2020-12-03 18:51:29 +02:00
Michail Vourlakos
976ed15351 rename Ability.Container to Ability.Host 2020-12-03 18:36:30 +02:00
Michail Vourlakos
af2ff10c42 fix containment Debugger renaming
BUG:429846
2020-11-30 18:48:35 +02:00