Commit Graph

133 Commits (15cf2b2b5fdb080251ab56ee7b893af9ac8c88a2)

Author SHA1 Message Date
Michail Vourlakos 965644ce2c add duplicate view in context menu
Michail Vourlakos 41ebee5a71 update screenpool api
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
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.
Michail Vourlakos 09294b8599 sync configuration to files after save configs
Michail Vourlakos 8448f36ed9 check layout valid activities
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 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 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 c7d163fdb6 plenty of fixes for multiple layouts
Michail Vourlakos 527f865eda fix last config view tracking for multiple layouts
Michail Vourlakos 42dedca86f fixes for multiple layouts new approach
Michail Vourlakos 9026f931fd fixes for corona available areas calcs
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 63bfc444c4 provide allactivities and free activities ids
Michail Vourlakos 8b836da44e genericlayout:improve semantics for id references
Michail Vourlakos 3de29ece9b drop subContaiment functions from genericlayout
--responsibility is now at Layouts::Storage singleton
class
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 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 9ff834ccae layouts:define custom text properly
--store the full text color in layout file
Michail Vourlakos 7ef74d2096 sync settings before exporting
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 1b4d13959b use new TemplateManager add default templatelayout
Michail Vourlakos 2fdbc134a1 load system layout templates properly
Michail Vourlakos 8c1d0d34e5 rename internal containments to subcontainments
--applets that act as internal containments are now called
subcontainments because they are containments inside
main containments
Michail Vourlakos 28bcc973c0 details:add layout icon property
--expose icon properly at details window
Michail Vourlakos c3fd137032 details:add clear pattern button
Michail Vourlakos 0286966cab use properly default custom background values
Martijn Vogelaar 2e4f7da4c2 Introduction and implementation of the SidebarAutohide
as discussed in .
Michail Vourlakos 383d762f11 Introduce storage TMP directory for layouts
--all storage functions are now taking place into
the same Latte TMP directory that is introduced
for layouts. So no more .bak files are needed from
~/.config folder.
Michail Vourlakos 166ee1899a multiple fixes to PrimaryConfig geom calcs
--provide also instant layout switching when
View changes a layout between central and shared
layout in the same view port
Michail Vourlakos cb368c504d drop old Tasks identification code paths
Michail Vourlakos 46760a04de cycle properly config views with Meta+A
Michail Vourlakos 381675ac57 reduce kconfig.sync() calls
--improves startup times in some cases because
it does not write to disk that often.
Michail Vourlakos 9be7822b98 upgrade to LatteApp.Interfaces containment access
Michail Vourlakos 97e7c428b7 rename Ability.Container to Metrics
--major change but improves readability a lot
Michail Vourlakos 63187ce5b4 remove Latte library as requirement
--implement things simpler by using the same
CoreTypes header file both for LatteCore.Types
import statement and App c++ implementation.
Let's leave in the future to decide if
a LibLatte is really necessary.
Michail Vourlakos 2526ab7e17 rename to MemoryUsage::LayoutsMemory
--easier to read in the code as that type
provides:
MemoryUsage::SingleLayout
MemoryUsage::MultipleLayouts
Michail Vourlakos 552216d4d3 support Layout::BackgroundStyle
Michail Vourlakos 6e4779e6ab require new official Latte library