1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-02-03 09:47:22 +03:00

201 Commits

Author SHA1 Message Date
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
2021-05-13 20:09:05 +03:00
Michail Vourlakos
940bee9408 Latte::Quick use layout popUpMargin
--this way we can support three different
popup styles. Plasma/AllBorders/Far From Edge
2021-05-03 03:11:09 +03:00
Michail Vourlakos
18233dc6ee viewsdialog:support moving between active layouts 2021-04-27 01:22:29 +03:00
Michail Vourlakos
5fd18ee0af add LayoutsManager::moveView function
--moveView for active layouts under MultipleLayouts
becomes more generic and can be used either from
onscreens and offscreens views
2021-04-27 00:08:16 +03:00
Michail Vourlakos
945b8ba5ea expose margin values in pixels for the user
--margin values are in percentage, now the user
is able to hover over these values in order
to be informed how much they are calculated in
pixels
2021-04-24 15:06:37 +03:00
Michail Vourlakos
00a3d15478 fix #64,position views properly under wayland
--last week commit about beautiful slide in/out through
kwin infrastructure broke the wayland placement for
docks and panels. This commit fixes the issue
and at the same time provide beautifule slide in/outs
for docks panels during their creation and removal.
2021-04-22 10:11:20 +03:00
Michail Vourlakos
aa608f1bf5 use ::storedView approach for Duplicate View 2021-04-18 11:20:05 +03:00
Michail Vourlakos
2c8d7134bd simplify Layout::newView calls
--template file is already provided from Data::View
so there is no real reason to expose it one
more time
2021-04-18 10:19:14 +03:00
Michail Vourlakos
1fac17d6ba Storage:update newView for views editor
--trying to support newView that works in all the
cases between inactive/active layouts
2021-04-17 14:37:09 +03:00
Michail Vourlakos
8c23f267ed smooth slide-in/out after startup and view removal 2021-04-13 13:02:14 +03:00
Michail Vourlakos
02ff6cc808 fixes for offline properties updates 2021-04-13 12:16:41 +03:00
Michail Vourlakos
b235e6cc96 update view alignment to new architecture
--view alignment can now be updated either by
editdock window or through views dialog in
settings window
2021-04-12 12:24:22 +03:00
Michail Vourlakos
92f12b6f63 view:update move to layout
--update to new infrastructure that is able to
switch view location by combining multiple
changes at the same time
2021-04-12 09:10:48 +03:00
Michail Vourlakos
be636de5ce viewsdialog:show view screen edge margin if any 2021-04-11 11:56:58 +03:00
Michail Vourlakos
5af4f9c434 provide name for views 2021-04-01 11:00:59 +03:00
Michail Vourlakos
a7ac422b31 support running views data from Layouts::Storage 2021-03-21 15:31:47 +02:00
Michail Vourlakos
03bd034898 fix user changing screen behavior
--wait for the actual screen change to really
happen in order to reshow the dock afterwards

BUG:433876
2021-03-03 22:04:25 +02:00
Michail Vourlakos
965644ce2c add duplicate view in context menu 2021-02-28 17:27:04 +02:00
Michail Vourlakos
87ae24dae1 add myView.action() to reach view actions
-this way things are more clear how the actions
are applied and reordered
2021-02-28 13:16:40 +02:00
Michail Vourlakos
a44c5fa821 provide remove dock action in context menu 2021-02-28 11:56:09 +02:00
Michail Vourlakos
26af7e4091 add functionality for ExportViewTemplate 2021-02-13 19:52:52 +02:00
Michail Vourlakos
7af60c802d provide isHidingBlocked through MyView Ability 2021-01-31 23:05:54 +02:00
Michail Vourlakos
cfb382002b update containmentActions properly when recreating 2021-01-23 23:37:13 +02:00
Michail Vourlakos
52490c6d7c fix crash when updating indicators 2021-01-23 21:16:13 +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
84d4d4cef7 provide latte internal widget explorer 2021-01-16 19:12:42 +02:00
Michail Vourlakos
e404abde4e fix editThickness for latte panels 2021-01-08 00:45:33 +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
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
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
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
043c65e36c remove irrelevant line 2020-10-27 18:36:03 +02:00
Michail Vourlakos
eb627dd070 multiple mode:animate properly layouts unloading 2020-08-30 14:34:56 +03:00
Michail Vourlakos
d5e83280d2 refactor:simplify layout data access 2020-08-29 20:42:15 +03:00