Commit Graph

84 Commits (2e7dcb5428fbc965ac02e30d9233ac62a29e6532)

Author SHA1 Message Date
Michail Vourlakos 3a5acf9383 layouts:fix crash when switching memoryusage type
Michail Vourlakos 302c6a9cc2 update pause layout in multiple layouts environment
--the new approach takes into account only the layout
appliedactivities and accepts also FreeActivities as
valid to be paused
Michail Vourlakos 7c542e6246 update layouts activities when activity is removed
Michail Vourlakos a02056b4c8 ignore activities that are not currently present
Michail Vourlakos e4714d748f dont load freeactivities layouts if no frees
Michail Vourlakos 8448f36ed9 check layout valid activities
Michail Vourlakos 567e3ab78f initmultiple:update activities for specific layout
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
Michail Vourlakos eb627dd070 multiple mode:animate properly layouts unloading
Michail Vourlakos 41c2e2b033 refactor:improve Synchronizer:swithToLayout
--the new approach is much clearer and easy to
read that the deprecated one
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
Michail Vourlakos d5e83280d2 refactor:simplify layout data access
Michail Vourlakos 13708ddf4a support singleModeLayoutName property in settings
--single mode has now its own unique property to hold
the layout to be used in single mode
Michail Vourlakos bc87d53e83 updates for layouts model single mode
Michail Vourlakos 7393ac02eb drop currentLayoutName as signal from synchronizer
Michail Vourlakos a9774ff13f update Switch button in Layouts table
Michail Vourlakos 0ee31eead6 update kwin disabled borders infrastructure
Michail Vourlakos 527f865eda fix last config view tracking for multiple layouts
Michail Vourlakos 3689cc406d retrieve available screen space through activityid
Michail Vourlakos 9026f931fd fixes for corona available areas calcs
Michail Vourlakos 951668fff9 single informative window for activating layouts
Michail Vourlakos 2e120f9446 make Multiple mode work correctly
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
Michail Vourlakos dd46c79475 storage:expose applet plugins information
Michail Vourlakos 7a3d68ed61 sort layouts based on their names
--when layouts are presented to the user it is preferred
to be perfectly sorted based on their names
Michail Vourlakos 8b836da44e genericlayout:improve semantics for id references
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
Michail Vourlakos 46292bf7e5 layouts::storage,provide subcontainment identities
--a generic way to identify subcontainments such as
systrays, group applets etc...
Michail Vourlakos ab2f416176 layouts::storage,functions for subcontainments
Michail Vourlakos d4bed3881b drop layout::storage totally
--use only the all new layouts::storage
singleton class for all layout storage
operations
Michail Vourlakos d3c1f4d1a8 layouts::storage,move copyView() function
Michail Vourlakos 53a0cb6574 layouts::storage, move syncToLayoutFile() code
Michail Vourlakos d97be6744d layouts::storage, move isBroken() function
Michail Vourlakos 9a1346d04a layouts::storage support importToCorona()
Michail Vourlakos 2fd9d6cbfd layout::storage move private functionality
--move private functionality to singleto class
Michail Vourlakos d97fe4c59c provide a new Layouts::Storage singleton
--this class will be the replacement for layout::storage
and will be responsible for any containment actions for
all layouts either loaded or offloaded. Through this
refactor loading and checking CentralLayouts should become
lighter and also memory efficient
Michail Vourlakos 5876548a7d drop deprecated importing layout presets
Michail Vourlakos 6dd3d96bfb update MultipleLayoutsHidden file importing
Michail Vourlakos 7c238589ba improve name style and layouts path references
--use Importer in order to reference layouts directory
in user space and improve also naming for relevant
Importer functions
Michail Vourlakos 5ed3f111e3 update Layout::MULTIPLELAYOUTSHIDDENNAME
which is used to identify multiple layouts hidden
base layout
Michail Vourlakos ba178e534d add missing signals when adding new layout
Michail Vourlakos 50c419d4e4 upgrade importDefaultLayout codepaths
--use Templates::Manger in order to import
default layout on startup
Michail Vourlakos 15dc6f5eac move newLayout from layoutsmanager to templates
Michail Vourlakos 19c96df252 update Layout::Manager::newLayout() function
--drop its presets support and update to all new
Layout Templates manager
Michail Vourlakos edf06edeba drop Layouts::Manager::presetsPaths
Michail Vourlakos 6e2d8143e5 improve Default Layout Template name is accessed
Michail Vourlakos 9092e54fc0 enable Multiple Layouts mode in wayland
--enable multiple layouts mode partially and
try to provide at least one central layout
combined with a shared layout
Michail Vourlakos dec2860d5f synchronizer:improve freeactivities layout semantic
Michail Vourlakos fed3194ca9 multiple:unload central layouts after the additions
--this way a shared layout that unloads its only central
layout is not unloaded at all if a new central layout exists
with it
Michail Vourlakos 0bcc45e633 use KWin slideouts when switching layouts