Commit Graph

64 Commits (6750f02d6f287eb1bf05009b4fd86edf8965fde4)

Author SHA1 Message Date
Michail Vourlakos c7bb46b217 introduce new MultipleLayouts mechanism
--the new approach does not load/unload layouts
during startup/exit. When the user loads layouts
in multiple layouts mode the layouts are inserted
and when exit they still remain in the hidden
multiple layouts file. These layouts present in the
multiple layouts file from now are called preloaded
layouts.
--the new approach fixes also the wayland exit
issue and in general the message for Latte not
closed properly has been totally dropped.

BUG:448702
BUG:446205
3 years ago
Michail Vourlakos 60095bba3b fix #96,FEATURE:AllScreens and AllSecondaryScreens
--This is a HUGE FEATURE and so important for multi-screens
users. It is introduced as one single commit because it
reimplements plenty of infrastructure changes and it will
be easier to identify newly introduced bugs.
--Users can now choose for their docks and panels to belong
at various screen groups. The first two screen groups introduced
are AllScreens and AllSecondayScreens. In the future it might
be possible to provide CustomScreensGroup that the user will
be able to define specific screens in which a dock or panel
should be always present.
--Current solution specifies an Original dock or panel and clones/copies
itself automatically to other screens. So docks and panels in other screens
are just real docks and panels that reference themselves to original
docks and panels.
--Clones are destroyed during layout startup and are automaticaly
recreated. It is suggested to export your layouts through the
official Layouts Editor in order to share them because in that case
clones are not included in the new generated layout file. If in any
case you do not this and you share your layout with any previous
versions then your clones will just appear as separate docks and
panels that belong to specific screens.
--Automatic syncing was introduced in order to keep up-to-date
the configuration of Original docks and panels with their referenced
Clones.
--Automatic syncing currently works for all docks and panels settings,
for all normal applets configurations and for all subcontaiments
configuration such as systrays.
--Automatic syncing does not work for applets inside subcontainments
such as Group Plasmoid. In such case it is suggested to configure
your applets inside your Group Plasmoid in the original dock or panel
and afterwards to trigger a recreation for the relevant clones
--Manual recreation of clones is easily possible by just choosing
the dock or panel to be OnPrimary or OnSpecificScreen and rechoosing
afterwards the AllScreensGroup or AllSecondaryScreensGroup
3 years ago
Michail Vourlakos fb4cfaa399 view:copy properly screen edge margin
Consider -1 as screen edge margin default value
and not zero. This way when duplicating a default
dock AllBorders are not enabled in the new dock.

BUG:446903
FIXED-IN:0.10.5
3 years ago
Alexander Lohnau 505379ed04 Use spdx syntax for all files 4 years ago
Ömer Fadıl Usta 03e9c6c954 Reorder inits to Fix wrong initialize problem and fixes for string compares 4 years ago
Michail Vourlakos 01e60e0aab update layout viewsScreens function
--use Layout::views() function to implement this
4 years ago
Michail Vourlakos 274ad37685 viewsdialog:support export as template action 4 years ago
Michail Vourlakos 4f0830eb8a fix orphanesubs warning for active layouts 4 years ago
Michail Vourlakos 6234253342 viewdialog:provide nice Repair for #W201 4 years ago
Michail Vourlakos 837842f1f1 layout:add function to remove orphan subcontainment 4 years ago
Michail Vourlakos 44d4c5a4de viewsdialog:report for error #107
--orphaned pseudo applets lost connection with their
subcontainment
4 years ago
Michail Vourlakos c5c61dffe3 storage:use knownErrors both for errors and warns 4 years ago
Michail Vourlakos c33623a809 storage:provide orphaned parent applet checker 4 years ago
Michail Vourlakos ceda380e49 improve errors semantics 4 years ago
Michail Vourlakos a5d289eb89 storage errors fix adding error data 4 years ago
Michail Vourlakos 27d9f209ea layout:drop isBroken in favor of errors/warnings 4 years ago
Michail Vourlakos 51044ce630 layout:provide errors/warnings structured nicely 4 years ago
Michail Vourlakos 2be67b11c5 storage:provide appletAndContainmentSameId checker 4 years ago
Michail Vourlakos c74f5cf7fc appletdata:provide storageId
--in case any consumer wants to use that info
4 years ago
Michail Vourlakos 11aa2abd2e storage provide differentAppletsSameId checker 4 years ago
Michail Vourlakos 849e66fd80 storage:provide orphaned subcontainments checker 4 years ago
Michail Vourlakos a2bf28054f add known errors in layouts storage 4 years ago
Michail Vourlakos 447f0e549c do not delay exit at all cases
--in the past a delay was needed in order for
docks panels to slide out nicely, this is not
needed any more because kwin takes responsibility
for this.
4 years ago
Michail Vourlakos a14312b227 Storage:sync containment config before storedView 4 years ago
Michail Vourlakos 1afe12ad71 fix how not-installed plugins are identified 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 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 dc56e61e64 Storage::simplify a bit newUniqueIdsFile function 4 years ago
Michail Vourlakos 54e9fcdcec storage:adjustments to newUniquedIdsFile 4 years ago
Michail Vourlakos 9e4c233816 Storage::update uniqueIdsFile function 4 years ago
Michail Vourlakos 7bd55c202f viewdialog:provide remove views functionality 4 years ago
Michail Vourlakos 02ff6cc808 fixes for offline properties updates 4 years ago
Michail Vourlakos 32566ea6ae storage:provide update view containment 4 years ago
Michail Vourlakos be636de5ce viewsdialog:show view screen edge margin if any 4 years ago
Michail Vourlakos 5af4f9c434 provide name for views 4 years ago
Michail Vourlakos 82c0029526 do not update ids in multiple mode continuously 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 373b8c5b56 do not break user view template file on first use 4 years ago
Michail Vourlakos 2b59a085e4 clear more options for exported templates 4 years ago
Michail Vourlakos bb0b5cbd26 clear layoutId when exporting view template 4 years ago
Michail Vourlakos c922aec8a5 cleanup exported layout template settings
--cleanup activities and preferredforshortcuts touched
4 years ago
Michail Vourlakos ea3d913757 improvements for view templates handling 4 years ago
Michail Vourlakos 26af7e4091 add functionality for ExportViewTemplate 4 years ago
Michail Vourlakos 57fc8ec375 support applets relative path icons 4 years ago
Michail Vourlakos 53f32b6f3b do not remove configuration for subcontainments 4 years ago
Michail Vourlakos a8d4bdf82d provide basic Export functionality 4 years ago
Michail Vourlakos 869df6316c fix applets table data
--ignore applets data that are not valid
4 years ago