1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-11 13:18:13 +03:00
Commit Graph

2232 Commits

Author SHA1 Message Date
Michail Vourlakos
39ad54f9bb provide visual indicator for multiple tasks
--when the user changes Tasks tab settings between
different applets, the selected applet is providing an
animation
2021-01-22 21:58:37 +02:00
Michail Vourlakos
f37fde5824 simplify dragging architecture
--simpler implementation both for plasmoid
mousehandler and containment droparea
2021-01-22 19:09:12 +02:00
Michail Vourlakos
397e1324e9 update name to view.inRelocationAnimation 2021-01-19 21:14:09 +02:00
Michail Vourlakos
7a4010abc1 instantiate properly widget explorer 2021-01-16 21:43:36 +02:00
Michail Vourlakos
b6f4550c08 raise view window to set it in front layer 2021-01-16 20:57:07 +02:00
Michail Vourlakos
0edbd9a66a widgets explorer: initialize windows flags earlier
--this way we avoid in wayland to draw window decoration
2021-01-16 19:49:32 +02:00
Michail Vourlakos
754fb85133 avoid crash in wayland from Widgets Explorer 2021-01-16 19:41:57 +02:00
Michail Vourlakos
84d4d4cef7 provide latte internal widget explorer 2021-01-16 19:12:42 +02:00
Michail Vourlakos
81e4b19b59 improve SunkEvents implementation
--each origin mouse area is now informin
the SunkEvents handler for the relevant
origin areas at the same time and this way
there is no events breakage when changing
from one sunked event origin area to another
--the sunked events origin and destination areas
are now released only when the event is NOT inside
any origin area or any destination. This way
no events breakage is appearing when changing from
destination area to origin area and vice versa.
2021-01-15 22:29:00 +02:00
Michail Vourlakos
69df6400f2 rename launchersignals to syncedLaunchers
--that is more appropriate name for synced
launchers latte launchers handler
2021-01-14 20:21:12 +02:00
Michail Vourlakos
1ca43ee13f use Launchers Ability for syncing
--move internal synced launchers infrastructure
in order to use Launchers Ability. Things
this way will become much cleaner and
at the same reusable and maintainable
2021-01-13 22:53:55 +02:00
Michail Vourlakos
15c3b3630a wayland:fix struts crash
--when struts thickness during startup was zero
that was creating an invalid window geometry under
wayland and subsequently it was crashing the app.

BUG:431381
2021-01-10 13:14:07 +02:00
Michail Vourlakos
09294b8599 sync configuration to files after save configs 2021-01-10 12:43:19 +02:00
Michail Vourlakos
e404abde4e fix editThickness for latte panels 2021-01-08 00:45:33 +02:00
Michail Vourlakos
9d3ebca4af provide stable struts thickness
--when a floating view is hiding its screen gap
there is no reason for struts to be added
during that phase. Published struts could be
the final expected window position in that case.

BUG:431255
2021-01-07 15:02:16 +02:00
Michail Vourlakos
f8cce7acfa fix normalThickness value 2021-01-06 22:59:05 +02:00
Michail Vourlakos
919b0cbf8c rename view property 2021-01-06 22:02:54 +02:00
Michail Vourlakos
1181fc472c dont update GTK_FRAME_EXTENTS for floating state
--dont update when a floating Dock is hiding its screen
edge for a maximized window.
2021-01-06 21:29:34 +02:00
Michail Vourlakos
b9b41317ca reduce interval for Parabolic Nullifier 2021-01-05 21:39:48 +02:00
Michail Vourlakos
da1df5bc0c parabolic:improve clearZoom responsiveness
--fix also a case the even though mouse was out of the
view the zoomed items where not restoring
2021-01-01 16:16:26 +02:00
Michail Vourlakos
6a6e47c657 plenty of fixes for moving/dragging applets 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
c2595ba170 fix missing header 2020-12-31 16:56:27 +02:00
Michail Vourlakos
c7fedca8b6 remove margins from SinkAreas 2020-12-30 09:30:29 +02:00
Michail Vourlakos
1b23e3669b field QQuickItem pointers for Parabolic/EventsSink
--avoid crashes when the relevant destination/origin
quickitems are deleted during their events processing
2020-12-29 21:54:31 +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
bc50b437e9 introduce View::EventsSink 2020-12-29 19:32:25 +02:00
Michail Vourlakos
60aa17dada fix missing header 2020-12-29 07:40:19 +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
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
17865ee21a task parabolic more fixes for its implementation 2020-12-28 09:51:10 +02:00
Michail Vourlakos
dcde80e6ed view::use a timer to nulify currentParabolicItem 2020-12-28 00:40:18 +02:00
Michail Vourlakos
a1ec6de412 tasks:make parabolic effect fixes 2020-12-27 23:37:46 +02:00
Michail Vourlakos
345d2823f6 simplify parabolic criteria in view 2020-12-27 20:58:16 +02:00
Michail Vourlakos
ae9836ccba first iteration for new parabolic 2020-12-27 19:07:00 +02:00
Michail Vourlakos
3c17c2e839 settings:disable StaysOnTop hint 2020-12-27 14:18:03 +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
4bf562c17b remove unneeded line 2020-12-26 00:27:28 +02:00
Michail Vourlakos
0c153de58f sinkedevents:optimize calculations 2020-12-25 19:20:16 +02:00
Michail Vourlakos
167a19b748 sinked events:respect Fitts Law 2020-12-25 19:08:21 +02:00
Michail Vourlakos
259d183179 dont be so verbose for sinked events
--so debug messages only for pressed sinked event
2020-12-25 14:20:52 +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
746f32050d adjust mouse events relevant to view paddings 2020-12-24 19:27:11 +02:00
Michail Vourlakos
b06e164f53 expose view padding through qml 2020-12-24 18:25:23 +02:00
Michail Vourlakos
2deed2d10c visibilitymanager use effects to hide/show mask 2020-11-30 21:06:24 +02:00