Commit Graph

83 Commits (ac3ccb5b98a2502bba8b4f48cbcebca420f9173e)

Author SHA1 Message Date
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 14e739b395 details:provided layout backgrounds
Michail Vourlakos 72fdf4563b improve AbstractLayout background infrastructure
--the new infrastructure can remember settings between
CustomBackgroundStyle and ColorStyle in order to
help the user to not have to reassign values
when changing backgrounds, between predefined
colors style and custom one.
Michail Vourlakos a613bb49ba small improvements
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
Johnny Jazeix ebaf3aebee fix build for Qt < 5.14
Michail Vourlakos df844ed171 drop double reference in corona
Michail Vourlakos ba94546cb4 multiple fixes for single layout case
Michail Vourlakos 00e6fbba5b update synchronizer semantics to freeactivities
Michail Vourlakos 6ff1102e1f update qt5 deprecated code
Michail Vourlakos 2db252b769 fix warnings
Michail Vourlakos d3a07b5371 improvements for multips views and sidebars
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 ccbf2c88fd crash fix:from unloading views
--when as Always Visible view was unloaded from
a CentralLayout because its Activity was closing
it was creating a crash. This patch fixes the
situation by releasing sensitive view signals
earlier.
Michail Vourlakos f93bec8893 fixes for WindowsCanCover
--show immediately when view contains mouse
--hide only if view does not contain mouse
--never apply ByPassWM hint for WindowsCanCover
Michail Vourlakos 61016444fb dont crash when changing layouts
--occasionaly when the user was switching
layouts it could get some crashes. It looks
safer to unload first the Latte::Views objects
and their corresponding containments afterwards.
I tried in my system to switch multiple layouts
in plenty different configurations and I could
not get a crash. This patch should fix the
mentioned crash report if that was the root
of the issue.

BUG:412864
FIXED-IN:0.9.5
Michail Vourlakos 1a49238d57 track kwinrc file only on changes
--instead of reading the kwin values all the time
when needed from user actions we now read them
only on startup and when the kwinrc file was
updated/changed

BUG:411657
FIXED-IN:0.9.3
Michail Vourlakos 8fe5f8f843 add report error message for unknown screens
Yuri Chornoivan 9fd6bcd87f Fix minor typo
Michail Vourlakos 10939d410c Views Report Information for inactive layouts
Michail Vourlakos 8f50131088 copyView considers multiple systrays
--when copying a view and the view contains
muliple systrays in it this is NOW taken
into account and accomplished accordingly
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 f822ece27a keep onPrimary flag when copying views
Michail Vourlakos 2d89e60030 fix layoutViewType for Shared Layouts
Michail Vourlakos 4e80801523 syncLatteViews when Central is assigned to Shared
Michail Vourlakos e13793df38 identify screen id at startup for primary screens
Michail Vourlakos c653bbe14b send view edge changed signal when copying views
Michail Vourlakos a661fbb032 refactor:drop LAYOUTSMANAGER apis moved to SYNCHER
Michail Vourlakos 24e25944db Shared Views have highest priority
--Shared views can be positioned to all free edges
including those occupied by Central layouts and the
Central layouts update their views accordingly
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 8c3d658a0d refactor:move Importer to "layouts" folder
Michail Vourlakos a27ff3ec48 REFACTOR:Update LayoutManager to Layouts::Manager
--create "layouts" own directory in order to host
all LAYOUTS management/control code and classes
Michail Vourlakos 29157f4636 refactor:rename managedLayout to layout/viewLayout
Michail Vourlakos b33f29bc42 Activate Shared Layout if it is not loaded yet
Michail Vourlakos e7568c8478 NO/ASSIGN active Shares to active Centrals
Michail Vourlakos 78d212ce8e SharedLayouts saving their settings from Layouts
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 1f14405e63 REFACTOR: rename Active TO -> CENTRALLAYOUT
Michail Vourlakos be36b7cfaf unload SharedLayout when does not activeLayouts
--this code path is also used on Latte exit
Michail Vourlakos 9f338f38a4 dont set sharedLayout var if the layout not exist