Michail Vourlakos
3a5acf9383
layouts:fix crash when switching memoryusage type
2020-10-25 17:00:17 +02:00
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
2020-08-31 21:28:07 +03:00
Michail Vourlakos
7c542e6246
update layouts activities when activity is removed
2020-08-31 10:43:37 +03:00
Michail Vourlakos
a02056b4c8
ignore activities that are not currently present
2020-08-31 01:37:13 +03:00
Michail Vourlakos
e4714d748f
dont load freeactivities layouts if no frees
2020-08-30 21:31:13 +03:00
Michail Vourlakos
8448f36ed9
check layout valid activities
2020-08-30 21:28:22 +03:00
Michail Vourlakos
567e3ab78f
initmultiple:update activities for specific layout
2020-08-30 20:38:39 +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
eb627dd070
multiple mode:animate properly layouts unloading
2020-08-30 14:34:56 +03:00
Michail Vourlakos
41c2e2b033
refactor:improve Synchronizer:swithToLayout
...
--the new approach is much clearer and easy to
read that the deprecated one
2020-08-30 14:04:04 +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
d5e83280d2
refactor:simplify layout data access
2020-08-29 20:42:15 +03:00
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
2020-08-28 19:03:23 +03:00
Michail Vourlakos
bc87d53e83
updates for layouts model single mode
2020-08-28 17:58:39 +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
527f865eda
fix last config view tracking for multiple layouts
2020-08-28 17:58:39 +03:00
Michail Vourlakos
3689cc406d
retrieve available screen space through activityid
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
951668fff9
single informative window for activating layouts
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
dd46c79475
storage:expose applet plugins information
2020-08-20 17:28:29 +03:00
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
2020-08-19 20:17:41 +03:00
Michail Vourlakos
8b836da44e
genericlayout:improve semantics for id references
2020-08-19 17:36:25 +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
46292bf7e5
layouts::storage,provide subcontainment identities
...
--a generic way to identify subcontainments such as
systrays, group applets etc...
2020-08-19 15:14:46 +03:00
Michail Vourlakos
ab2f416176
layouts::storage,functions for subcontainments
2020-08-19 15:01:45 +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
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
2020-08-18 01:23:41 +03:00
Michail Vourlakos
5876548a7d
drop deprecated importing layout presets
2020-08-14 09:57:39 +03:00
Michail Vourlakos
6dd3d96bfb
update MultipleLayoutsHidden file importing
2020-08-14 09:41:23 +03:00
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
2020-08-14 09:33:39 +03:00
Michail Vourlakos
5ed3f111e3
update Layout::MULTIPLELAYOUTSHIDDENNAME
...
which is used to identify multiple layouts hidden
base layout
2020-08-14 09:08:01 +03:00
Michail Vourlakos
ba178e534d
add missing signals when adding new layout
2020-08-13 22:23:59 +03:00
Michail Vourlakos
50c419d4e4
upgrade importDefaultLayout codepaths
...
--use Templates::Manger in order to import
default layout on startup
2020-08-13 21:28:52 +03:00
Michail Vourlakos
15dc6f5eac
move newLayout from layoutsmanager to templates
2020-08-13 20:42:38 +03:00
Michail Vourlakos
19c96df252
update Layout::Manager::newLayout() function
...
--drop its presets support and update to all new
Layout Templates manager
2020-08-12 14:03:38 +03:00
Michail Vourlakos
edf06edeba
drop Layouts::Manager::presetsPaths
2020-08-12 13:51:28 +03:00
Michail Vourlakos
6e2d8143e5
improve Default Layout Template name is accessed
2020-08-12 12:59:55 +03:00
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
2020-08-03 18:13:37 +03:00
Michail Vourlakos
dec2860d5f
synchronizer:improve freeactivities layout semantic
2020-08-03 17:42:06 +03:00
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
2020-08-03 17:30:13 +03:00
Michail Vourlakos
0bcc45e633
use KWin slideouts when switching layouts
2020-08-03 00:29:59 +03:00