1
0
mirror of https://github.com/KDE/latte-dock.git synced 2024-12-23 01:33:50 +03:00
Commit Graph

166 Commits

Author SHA1 Message Date
Michail Vourlakos
d84c5152b3 support multiple sidebars triggering
--and also at the same time support specific
sidebars based on their names
2021-05-03 23:49:39 +03:00
Michail Vourlakos
99382184ff layout:provide popUpMargin 2021-05-03 02:50:23 +03:00
Michail Vourlakos
837842f1f1 layout:add function to remove orphan subcontainment 2021-05-02 10:44:32 +03:00
Michail Vourlakos
27d9f209ea layout:drop isBroken in favor of errors/warnings 2021-04-30 01:01:31 +03:00
Michail Vourlakos
51044ce630 layout:provide errors/warnings structured nicely 2021-04-30 00:26:47 +03:00
Michail Vourlakos
2927ed04f2 layout:fix crash from removeView
--when removeView is called the relevant containment
should be first removed from containments relevant
layout list in order to not be reenabled through
syncLatteViewsToScreens
2021-04-29 14:28:50 +03:00
Michail Vourlakos
0aad703b45 viewsdialog:remove views without user confirmation
--this is because view removals from viewsdialog have
already been confirmed from the user
2021-04-27 17:49:36 +03:00
Michail Vourlakos
6bffba2b16 viewsdialog:support all cases move active views
--moving views between different active layouts can be
tricky because three different scenario should be handled:
--- onscreen_view -> onscreen_view in different active layouts
--- onscreen_view -> offscreen_view in different active layouts
--- offscreen_view -> onscreen_view in different active layouts
2021-04-27 01:43:38 +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
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
a25760df5d use Containment::action("remove") directly
--update Layout::removeView implementation in order
to call containment "remove" function directly.
That approach works more reliable than the previous
one and we are that in the end no orphaned containment
config data will be present in the layout file.
2021-04-22 00:38:44 +03:00
Michail Vourlakos
aa608f1bf5 use ::storedView approach for Duplicate View 2021-04-18 11:20:05 +03:00
Michail Vourlakos
9d113ba754 provide Storage/Layout::storedView function
--it is going to be used in order for
Duplicate/Cut/Copy functionality to be supported
properly. Its main purpose is to accept a
layout and a containment_id and based on
that to provide a stored view temp file
which is going to be used as a template
for any future addition.
2021-04-18 11:03:22 +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
4d76005325 viewsdialog:update model data for newly added views 2021-04-17 19:32:40 +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
7bd55c202f viewdialog:provide remove views functionality 2021-04-15 00:58:41 +03:00
Michail Vourlakos
8c23f267ed smooth slide-in/out after startup and view removal 2021-04-13 13:02:14 +03:00
Michail Vourlakos
f68aac0501 slide-out views when deleted 2021-04-13 12:46:39 +03:00
Michail Vourlakos
02ff6cc808 fixes for offline properties updates 2021-04-13 12:16:41 +03:00
Michail Vourlakos
050b454b5a support screen changes for offline containments 2021-04-13 10:56:15 +03:00
Michail Vourlakos
2b754dde97 provide inactive views update functionality 2021-04-13 10:20:48 +03:00
Michail Vourlakos
32566ea6ae storage:provide update view containment 2021-04-13 00:54:42 +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
15039f7b8b update view name when changed from user 2021-04-12 09:19:24 +03:00
Michail Vourlakos
cc4f901cf1 viewsdialog:support updating screen 2021-04-12 00:17:59 +03:00
Michail Vourlakos
195a24b33c viewsdialog:apply live screen edges changes 2021-04-11 19:37:54 +03:00
Michail Vourlakos
b8229ac199 draw custom text color for default custombackground 2021-03-24 13:18:07 +02:00
Michail Vourlakos
622cc6988c provide debug messages for ViewsTable 2021-03-21 16:54:58 +02:00
Michail Vourlakos
a7ac422b31 support running views data from Layouts::Storage 2021-03-21 15:31:47 +02:00
Michail Vourlakos
87ddf1f6d6 update Layout::Storage to Data::View,ViewsTable 2021-03-21 14:36:25 +02:00
Michail Vourlakos
b6f43057ce accept Explicit and Primary on same screen edge
--we now accept Explicit Views in the same screen edge
with OnPrimary Views At ALL CASES and we do not remove
them until the Screens properties have created a deprecated
valid Screens Views Map
2021-03-03 22:21:36 +02:00
Michail Vourlakos
965644ce2c add duplicate view in context menu 2021-02-28 17:27:04 +02:00
Michail Vourlakos
41ebee5a71 update screenpool api 2021-02-17 12:24:36 +02:00
Michail Vourlakos
09654e75b3 expose view templates through dock settings
--the user can now add views based on view templates
found in the system through Dock Settings, New Dock
actions
2021-02-06 00:14:11 +02:00
Michail Vourlakos
d21fc43b8c add update slot for layout:lastUsedActivity
--add layout slot to update lastUsedActivity
when runningActivities where changed in order
for layout::applyActivities() to provide valid
activities list even when an activity is
first starting.
2021-01-25 22:16:31 +02:00
Michail Vourlakos
09294b8599 sync configuration to files after save configs 2021-01-10 12:43:19 +02:00
Michail Vourlakos
8448f36ed9 check layout valid activities 2020-08-30 21:28:22 +03:00
Michail Vourlakos
a83d26a35b multiple:make switch funtion work properly
--when the user requests a specific layout in Multiple
Layout mode the new approach is the following. If
the layout has assigned activities this is respected
but if its activities are empty that layout is assigned
only on the current activity and any other layouts assigned
explicitly to that activity are released
2020-08-30 20:32:13 +03:00
Michail Vourlakos
d8f1f7e4b9 refactor:settings layouts controller
--the controller does not need to host its own
CentralLayouts any more. It retrieves original
data for Synchronizer, updates layouts accordingly
and sends back to Synchronizer all the updated
layouts data
2020-08-29 23:37:52 +03:00
Michail Vourlakos
7393ac02eb drop currentLayoutName as signal from synchronizer 2020-08-28 17:58:39 +03:00
Michail Vourlakos
a9774ff13f update Switch button in Layouts table 2020-08-28 17:58:39 +03:00
Michail Vourlakos
0ee31eead6 update kwin disabled borders infrastructure 2020-08-28 17:58:39 +03:00
Michail Vourlakos
c7d163fdb6 plenty of fixes for multiple layouts 2020-08-28 17:58:39 +03:00
Michail Vourlakos
527f865eda fix last config view tracking for multiple layouts 2020-08-28 17:58:39 +03:00
Michail Vourlakos
42dedca86f fixes for multiple layouts new approach 2020-08-28 17:58:39 +03:00
Michail Vourlakos
9026f931fd fixes for corona available areas calcs 2020-08-28 17:58:39 +03:00
Michail Vourlakos
2e120f9446 make Multiple mode work correctly 2020-08-28 17:58:39 +03:00
Michail Vourlakos
caf9bf7b78 REFACTOR:Drop Shared Layouts infrastructure
--Move in a simpler layouts approach.
--Single Layout mode loads ONLY ONE Layout for ALL Activities
--Multiple Layouts mode loads any combination of Layouts based
on the following settings:
  -- OnAllActivities
  -- ForFreeActivities
  -- SpecificActivities
2020-08-28 17:58:39 +03:00