Commit Graph

60 Commits (6362d662b750cecb08c096f49b8e29e327cf1724)

Author SHA1 Message Date
Michail Vourlakos aa608f1bf5 use ::storedView approach for Duplicate View
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.
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
Michail Vourlakos 4d76005325 viewsdialog:update model data for newly added views
Michail Vourlakos 1fac17d6ba Storage:update newView for views editor
--trying to support newView that works in all the
cases between inactive/active layouts
Michail Vourlakos 7bd55c202f viewdialog:provide remove views functionality
Michail Vourlakos 050b454b5a support screen changes for offline containments
Michail Vourlakos 32566ea6ae storage:provide update view containment
Michail Vourlakos 195a24b33c viewsdialog:apply live screen edges changes
Michail Vourlakos 622cc6988c provide debug messages for ViewsTable
Michail Vourlakos 87ddf1f6d6 update Layout::Storage to Data::View,ViewsTable
Michail Vourlakos 965644ce2c add duplicate view in context menu
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 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 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 d97be6744d layouts::storage, move isBroken() function
Michail Vourlakos 2fd9d6cbfd layout::storage move private functionality
--move private functionality to singleto class
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 0286966cab use properly default custom background values
Michail Vourlakos 46760a04de cycle properly config views with Meta+A
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 6e4779e6ab require new official Latte library
Michail Vourlakos ac3ccb5b98 try to support a public liblatte library
Michail Vourlakos 5073939335 REFACTOR:split up and refactor liblatte2 and types
--use a more logical organization for types. LibLatte2
is split to become LatteCore library and Latte types
are now moved to application level. The Latte Types will
be split even more... Tasks-Only related types will
become Latte.Tasks types

BUG:420210
Michail Vourlakos 90d1cedc1e fix context menu for applet if group plasmoid
--the new code can understand ALL applets that are
inside an internal containment style applets such
as plasma, nomad systrays and group plasmoid

FIXED-IN:0.9.10
Michail Vourlakos 2db252b769 fix warnings
Michail Vourlakos 0b2be421eb IMPORTANT:Multiple docks/panels in same edge
--Latte can now support multiple Views in the same screen
edge. Views as separated in THREE Layers of priorities.
1. Views from Shared Layouts have highest priority and they
are first to occupy a screen edge
2. Views that are set OnPrimary screen occupy a screen edge only
if there is NO other View from a Shared Layout applied already
3. Views that are Explicit to specific screens occupy a screen
edge only if there is NO PRIMARY view already loaded
Michail Vourlakos 90df4f4f61 support new visibility mode for SideBars
--SideBar views are shown/hide ONLY WHEN the
user has requested to DO SHOW from external
applets, shortcuts and scripts
Michail Vourlakos 10939d410c Views Report Information for inactive layouts
Michail Vourlakos 3412b13148 present Views data for Active layout
Michail Vourlakos 7954a3ac39 improve Screens Report
--the new report identifies for all your layouts
when a screen has not been assigned any docks/panels.
That can help user to clean up the ScreensConnectors
if wants to
Michail Vourlakos eb0c52c52b improve settings windows shown trigerring behavior
--when the user uses Meta+A to cycle between the Views
configuration windows then in such case when NO Config
window is shown the LAST ONE USED should be shown again.
IF a Config View is already shown then the NEXT should
be shown afterwards
Michail Vourlakos ba6460e919 update indicators runtime
--fixes to signals in ViewParts in order to avoid
crashes. Currently the recreateView approach is used
in order to reload indicators runtime dynamically.
The "View::setSource" approach does not reload the
indicators properly
Michail Vourlakos 85e49d41bf improve view recreation code
Michail Vourlakos b71baccc14 fix screenForContainment in MulitpleShared mode
Michail Vourlakos 61e9e629c5 rename some global shortcuts texts
--protect also the Layout::lastConfigViewFor,
dont sent a view that is no longer available
Michail Vourlakos 96b86f4c49 remember lastConfigViewFor for shared layouts
Michail Vourlakos 7cd3b6201d remember the last created ConfigView per layout
Michail Vourlakos 2d89e60030 fix layoutViewType for Shared Layouts
Michail Vourlakos c6cd3f4685 move layout connections in the view
--any view and view::containment() signals that
are related to layout are now moved in the
View::setLayout() in order to be reinitialized
properly when the view changes to another
layout
Michail Vourlakos f2eb0b6b3a REFACTOR:DONT load MultipleLayouts in Central(s)
--no reason to load Mutiple layouts linked file
as a Pseudo Central layout. This way no needed
checks can be removed and things are still working
as before.
Michail Vourlakos e417a8d4ba add type() to layouts
Michail Vourlakos 1c6ddcad10 Improve addView for ActiveLayouts
--take into account the TopLayout views before
adding a new View either on startup loading
or when the user adds it
Michail Vourlakos 6620cf54bd plenty fixes updates for MultipleTopLayouts
Michail Vourlakos 70640ae2e5 override functions for Active and TopLayouts