Commit Graph

45 Commits (00843b5b834a9b9dc73137b6339691ad434f4735)

Author SHA1 Message Date
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 c065bab169 detailsdialog:set custom color scheme for layout 4 years ago
Michail Vourlakos aa916b7b9e screensdialog:retrieve Removability data properly
--use layouts controller in order to track layouts data
and get access to occypied explicit screens. This way
we make sure that the user wont be allowed to delete
screens that are used by layouts.
4 years ago
Michail Vourlakos c740f5020d screensdialog:connect to layouts controller
--this way we can make sure the screens data removable
flag is consistent with latest layouts data even those
that have not been applied yet
4 years ago
Alexander Lohnau 505379ed04 Use spdx syntax for all files 4 years ago
Michail Vourlakos a03dca9d02 fix export layout template for active layouts
--newly created docks and panels in active layouts
must first be synced into their original file before
being exported
4 years ago
Michail Vourlakos cbd8d5d88c layoutsmanager:take responsibility for layout icons 4 years ago
Michail Vourlakos e9c5ca5c75 import layout:load data from CentralLayout::data() 4 years ago
Albert Astals Cid 4571c255ed Fix i18np call
The first argument is the one that decides whether the first form or the
second form will be used, so needs to be a number, second argument gets
substituted onto the %2

Using join() of a string list of 1 just gives you the string
4 years ago
Yuri Chornoivan 837a428eed Fix minor typos 4 years ago
Michail Vourlakos 7fa05eaea3 fix plural for translated strings 4 years ago
Michail Vourlakos ed3352b807 fix translation strings parameters counting 4 years ago
Michail Vourlakos ce62b31901 drop .arg() from translation strings 4 years ago
Michail Vourlakos ea13a6dee5 fix i18ncp translation calls 4 years ago
Michail Vourlakos ff180c6d62 fix compilation from no needed brackets 4 years ago
Yuri Chornoivan f1da40401e Use i18ncp() for plurals 4 years ago
Michail Vourlakos 99382184ff layout:provide popUpMargin 4 years ago
Michail Vourlakos 6234253342 viewdialog:provide nice Repair for #W201 4 years ago
Michail Vourlakos 422c2f9d83 settingsdialog:initial errors/warnings only once 4 years ago
Michail Vourlakos 660cef280f settingsdialogs:consistent button look for inlines 4 years ago
Michail Vourlakos dcdc239fc4 update show inline messages to Positive
--when an action succeeds
4 years ago
Michail Vourlakos cb44cd77c2 error #103,provide action buttons for user 4 years ago
Michail Vourlakos 73382d4d04 settingsdialog:initial warnings/errors counter 4 years ago
Michail Vourlakos 53ae3cfe73 settingsdialog:improve some textes 4 years ago
Michail Vourlakos 3e85b42cdc dialogs:improve default sizes for windows/columns 4 years ago
Michail Vourlakos 3fcb5275b7 show layout errors/warnings after imporing it 4 years ago
Michail Vourlakos f3809bcca7 layouts:less intrusive warning messages 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 ecd582eaf9 layoutseditor:clear consideredactive on duplicate 4 years ago
Michail Vourlakos 8021602a33 viewsdialog:use templateskeeper for duplicate
--this way storedViews are reproduced only when
really needed. If an action has already produced
a storedView and no changes may have happen when
that storedView is used at all cases
4 years ago
Michail Vourlakos e0ed86bd41 viewsdialog:show/hide views context menu actions
--based on a view is selected or not the relevant
actions are shown in the context menu
4 years ago
Michail Vourlakos cedcbddd4d viewsdialog:do not update layouts model for views 4 years ago
Michail Vourlakos 195a24b33c viewsdialog:apply live screen edges changes 4 years ago
Michail Vourlakos 7adcd450d7 fix views initialization table layout id
--by chosing the current layout id we can be sure
that even newly created layouts will expose their
views
4 years ago
Michail Vourlakos 7aa94bede1 expose views data through views dialog 4 years ago
Michail Vourlakos d903da90e7 provide custom layout combobox
--custom layout combobox provides also the chosen
drawn layout icon
4 years ago
Michail Vourlakos 1348863b57 settings:initialize and set views in layouts model
--this action may be costly so it is executed only once
when Views dialog is requesting data for specific layout
4 years ago
Michail Vourlakos e2206afbfd rename Copy layout to Duplicate
--improve button name in Layouts Editor
from Copy to Duplicate
4 years ago
Michail Vourlakos b49d5eb084 layouts window:store column widths properly 4 years ago
Michail Vourlakos f39e46fd68 hide settings window InMenu for inMultipleMode
--inMultipleMode only Plasma Activities Explorer can
enable/disable layouts
4 years ago
Michail Vourlakos 22fa4c8fc8 rename property single active layout
--renaming active layout in single mode is a little
tricky in order to not leave any deprecated data behind.
Successful steps would be:
1. unload current single layout
2. load new single layout for the new file
3. remove deprecated layout file after new file loaded correctly
4 years ago
Michail Vourlakos 4a89138a6e provide functionality for Enabled layout action 4 years ago
Michail Vourlakos c57a69ae05 rename function in settings handler 4 years ago
Michail Vourlakos 6f58d09d06 reorganize settings dialogs in better structure 4 years ago