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

156 Commits

Author SHA1 Message Date
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
Michail Vourlakos
63bfc444c4 provide allactivities and free activities ids 2020-08-28 17:58:39 +03:00
Michail Vourlakos
8b836da44e genericlayout:improve semantics for id references 2020-08-19 17:36:25 +03:00
Michail Vourlakos
3de29ece9b drop subContaiment functions from genericlayout
--responsibility is now at Layouts::Storage singleton
class
2020-08-19 17:10:00 +03:00
Michail Vourlakos
ac2a4cffc6 support different subcontainments types
--create an abstract implementation for subcontainments
such as systrays and group applet in order to use
the same infrastructure for all storage operations
such as Multiple Layouts loading, copying views,
providing important information etc.

BUG:418642
2020-08-19 16:59:07 +03:00
Michail Vourlakos
d4bed3881b drop layout::storage totally
--use only the all new layouts::storage
singleton class for all layout storage
operations
2020-08-18 03:13:05 +03:00
Michail Vourlakos
d3c1f4d1a8 layouts::storage,move copyView() function 2020-08-18 02:56:33 +03:00
Michail Vourlakos
53a0cb6574 layouts::storage, move syncToLayoutFile() code 2020-08-18 02:23:34 +03:00
Michail Vourlakos
d97be6744d layouts::storage, move isBroken() function 2020-08-18 02:15:28 +03:00
Michail Vourlakos
9a1346d04a layouts::storage support importToCorona() 2020-08-18 01:56:11 +03:00
Michail Vourlakos
2fd9d6cbfd layout::storage move private functionality
--move private functionality to singleto class
2020-08-18 01:44:10 +03:00