Commit Graph

156 Commits (6362d662b750cecb08c096f49b8e29e327cf1724)

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.
4 years ago
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.
4 years ago
Michail Vourlakos aa608f1bf5 use ::storedView approach for Duplicate View 4 years ago
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.
4 years ago
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
4 years ago
Michail Vourlakos 4d76005325 viewsdialog:update model data for newly added views 4 years ago
Michail Vourlakos 1fac17d6ba Storage:update newView for views editor
--trying to support newView that works in all the
cases between inactive/active layouts
4 years ago
Michail Vourlakos 7bd55c202f viewdialog:provide remove views functionality 4 years ago
Michail Vourlakos 8c23f267ed smooth slide-in/out after startup and view removal 4 years ago
Michail Vourlakos f68aac0501 slide-out views when deleted 4 years ago
Michail Vourlakos 02ff6cc808 fixes for offline properties updates 4 years ago
Michail Vourlakos 050b454b5a support screen changes for offline containments 4 years ago
Michail Vourlakos 2b754dde97 provide inactive views update functionality 4 years ago
Michail Vourlakos 32566ea6ae storage:provide update view containment 4 years ago
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
4 years ago
Michail Vourlakos 15039f7b8b update view name when changed from user 4 years ago
Michail Vourlakos cc4f901cf1 viewsdialog:support updating screen 4 years ago
Michail Vourlakos 195a24b33c viewsdialog:apply live screen edges changes 4 years ago
Michail Vourlakos b8229ac199 draw custom text color for default custombackground 4 years ago
Michail Vourlakos 622cc6988c provide debug messages for ViewsTable 4 years ago
Michail Vourlakos a7ac422b31 support running views data from Layouts::Storage 4 years ago
Michail Vourlakos 87ddf1f6d6 update Layout::Storage to Data::View,ViewsTable 4 years ago
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
4 years ago
Michail Vourlakos 965644ce2c add duplicate view in context menu 4 years ago
Michail Vourlakos 41ebee5a71 update screenpool api 4 years ago
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
4 years ago
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.
4 years ago
Michail Vourlakos 09294b8599 sync configuration to files after save configs 4 years ago
Michail Vourlakos 8448f36ed9 check layout valid activities 4 years ago
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
4 years ago
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
4 years ago
Michail Vourlakos 7393ac02eb drop currentLayoutName as signal from synchronizer 4 years ago
Michail Vourlakos a9774ff13f update Switch button in Layouts table 4 years ago
Michail Vourlakos 0ee31eead6 update kwin disabled borders infrastructure 4 years ago
Michail Vourlakos c7d163fdb6 plenty of fixes for multiple layouts 4 years ago
Michail Vourlakos 527f865eda fix last config view tracking for multiple layouts 4 years ago
Michail Vourlakos 42dedca86f fixes for multiple layouts new approach 4 years ago
Michail Vourlakos 9026f931fd fixes for corona available areas calcs 4 years ago
Michail Vourlakos 2e120f9446 make Multiple mode work correctly 4 years ago
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
4 years ago
Michail Vourlakos 63bfc444c4 provide allactivities and free activities ids 4 years ago
Michail Vourlakos 8b836da44e genericlayout:improve semantics for id references 5 years ago
Michail Vourlakos 3de29ece9b drop subContaiment functions from genericlayout
--responsibility is now at Layouts::Storage singleton
class
5 years ago
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
5 years ago
Michail Vourlakos d4bed3881b drop layout::storage totally
--use only the all new layouts::storage
singleton class for all layout storage
operations
5 years ago
Michail Vourlakos d3c1f4d1a8 layouts::storage,move copyView() function 5 years ago
Michail Vourlakos 53a0cb6574 layouts::storage, move syncToLayoutFile() code 5 years ago
Michail Vourlakos d97be6744d layouts::storage, move isBroken() function 5 years ago
Michail Vourlakos 9a1346d04a layouts::storage support importToCorona() 5 years ago
Michail Vourlakos 2fd9d6cbfd layout::storage move private functionality
--move private functionality to singleto class
5 years ago