Commit Graph

63 Commits (b9c2560a775c3e485cd83e95ea98cd548b72b2e9)

Author SHA1 Message Date
Michail Vourlakos 89f15b420a remove QProcess include file 4 years ago
Michail Vourlakos 01eb69bbe5 update desktop geometry on startup
--when Plasma is started much later than Latte
the Plasma::Extended::ScreenGeometries should enable
its broadcasting interface when Plasma is first
registered in DBus

BUG:424356
4 years ago
Michail Vourlakos 9e487b613b identify applet isMarginAreaSeparator 4 years ago
Michail Vourlakos 674b6ea754 plasma theme extended:separator area margins
--discover and expose plasma theme margins for
separator areas
4 years ago
Michail Vourlakos 41ebee5a71 update screenpool api 4 years ago
Michail Vourlakos f27f938042 support XDG_CONFIG_PATH for app code
BUG:428210
4 years ago
Michail Vourlakos 7393ac02eb drop currentLayoutName as signal from synchronizer 4 years ago
Michail Vourlakos 8553a2e511 discover plasma theme shadow size and color 5 years ago
Michail Vourlakos 1142950f69 provide effect/masks regions for custom backgrounds
--PlasmaExtended::Theme produces QRegions based on corners
radius that can be consumed afterwards from Effects calculations
in order to provide correct QRegions for custom backgrounds
produced from custom background radius option
5 years ago
Michail Vourlakos bd16a0da69 provide self-calculated theme corners mask 5 years ago
Michail Vourlakos 3b3388d673 rename SideBar to SidebarOnDemand
--improve semantics all over the place now
that we provide two different sidebar
visibility modes
5 years ago
Martijn Vogelaar 2e4f7da4c2 Introduction and implementation of the SidebarAutohide
as discussed in #19.
5 years ago
Michail Vourlakos 3c54759989 provide theme roundness calculations through mask 5 years ago
Michail Vourlakos 9ed0f17a9b new roundness discovery through shadows
--the new code succeeds in more cases and
trys also to handle some wrongly designed
cases such the Air plasma theme that provides
zig-zag corner shadows
5 years ago
Michail Vourlakos 0f2562aa5e smart way to identify plasma theme hasShadows
--many plasma themes disable their shadows with
settings their opacity to zero instead of removing
their shadow elements. In such case the new approach
sets the hasShadow flag to zero
5 years ago
Michail Vourlakos 059b78ebc0 add missing header 5 years ago
Michail Vourlakos 2db4ffb479 improve plasma theme roundness discovery
--the new approach is first tracking panel-background
shadows if they are available and shown in order to
identify the plasma theme panel background roundness
5 years ago
Michail Vourlakos 3c0060ba1d update panel background paddings calculations
--Plasma::FrameSvgItem margins are not consintent
in order to provide helpful hints how plasma theme
panel-background svg is drawn properly. The new
approach calculates paddings based on top,left,bottom,right
svg elements and in that way a consistent a properly
background.minimumThickness is discovered.
5 years ago
Michail Vourlakos dedb8a0153 remove deprecated code 5 years ago
Michail Vourlakos 381675ac57 reduce kconfig.sync() calls
--improves startup times in some cases because
it does not write to disk that often.
5 years ago
Michail Vourlakos deb9c244ff improve/support BackgroundTracker in app
--the new implementation is much improved and easy
to support. No workaround and direct use of the
libraries
5 years ago
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.
5 years ago
Michail Vourlakos 6e4779e6ab require new official Latte library 5 years ago
Michail Vourlakos ac3ccb5b98 try to support a public liblatte library 5 years ago
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
5 years ago
Michail Vourlakos f9c024095c ignore View real panel movements for desktop space
--when real panel views are slided out either for auto
hiding, dodge case or dynamically removing their screen
margin the desktop available space should not be
changed; it should stay the same.
5 years ago
Michail Vourlakos 25cfd25477 fix plasma geometries publish in multi-screen
--when a screen becomes inactive then its last values
for available rect and reqions should also be removed
from the recorded values.
5 years ago
Michail Vourlakos 0534c33ff8 reduce publish geometries interval to 1000ms 5 years ago
Michail Vourlakos 93d7422059 dont use too often, costly kwinrc tracking 5 years ago
Michail Vourlakos 0ff8f2b74f force plasmageometries updates for activitieschange 5 years ago
Michail Vourlakos d3a07b5371 improvements for multips views and sidebars 5 years ago
Michail Vourlakos e6ba47daab add more ignore visibility modes for calculations
--when a view is loaded its visibility mode is not
set already, in that case ignore it from all the
availableScreenGeometries calculations
5 years ago
Michail Vourlakos 719c852c8c update availableScree...WithCriteria functions
--use ignoredModes/Edges instead of accepted ones in order
to make code more readable and easy to understand
5 years ago
Michail Vourlakos f31cc660b4 send QRegion through dbus as QList<QRect>
BUG:418559
5 years ago
Michail Vourlakos 9f4d961f32 Revert "change QRegion to QList for dbus plasma call"
This reverts commit a7f786d87f.
5 years ago
Michail Vourlakos a7f786d87f change QRegion to QList for dbus plasma call
--change how dbus arguments are sent to Plasma
and a QList arguments for this

BUG:418559
5 years ago
Michail Vourlakos d071e3be33 publish available screen geometries to Plasma
--Plasma 5.18 introduced a new dbus interface in order
for external apps to be able to publish to Plasma how
much they occupy from screen space. This is a much
requested feature from users, Latte is now publishing
both its availableScreenRect and availableScreenRegions
and this is also Multiple Layouts aware at runtime.

BUG:391073
5 years ago
Michail Vourlakos 80ceea98e2 respect plasma theme color palette always
--identify better what is the plasma theme color
palette the creator has chosen and use ALWAYS
the same color palette that Plasma is also using.
In the past, Latte was trying to protect the
color palette because Latte REVERSED colors mode
did not work fine for all plasma themes. That
approach is abandoned, Latte will use the same
colors group with plasma themes and it is on
the creators responsibility to provide enough
contrast
5 years ago
Michail Vourlakos f6b8ed139d update PanelShadows to upstream code 5 years ago
Yuri Chornoivan 3a60d6f3b2 Fix minor EBN issues 6 years ago
Michail Vourlakos 4535ee03c2 REAL maxOpacity from plasma panel backgrounds
--Plasma::ExtendedTheme class now provides maximum
opacity provided by panel backgrounds
6 years ago
Michail Vourlakos 1d5bce41d4 improve roundness algorithm
--during searching the plasma theme roundness,
opacity values for pixels > 200 are considered
to be in panel background part. This fixes also
the Oxygen theme case and provides a better roundness
value now
6 years ago
Michail Vourlakos 734c08ffda improve plasma theme roundness discovery 6 years ago
Michail Vourlakos ad788130ab REFACTOR:add WindowSystem namespace 6 years ago
Michail Vourlakos 6248a0ccae refactor:move schemecolors under "wm" folder 6 years ago
Michail Vourlakos 8c3d658a0d refactor:move Importer to "layouts" folder 6 years ago
Michail Vourlakos 499c4eb1d1 update !compositing panelbackground used until now
--following plasma approach and use always
even for !compositing mode the widgets/panel-background
svg file. This way when Latte and Plasma panels are
combined there is uniformity between them.

BUG: 406597
6 years ago
Michail Vourlakos 2963a1fc2f apply all colors from applyTheme
--infrastructure is now ready to expose to
applets the full color paletter and not
make compromises by choosing only from
original plasma theme for some of the
exposed colors
--dont reverse colors for selection group.
It creates a much nicer effect from user point
of view to keep the highlighting colors the
same for both the normal and reversed plasma
themes.
6 years ago
Michail Vourlakos fb4508c6a7 simplify CMakeLists 6 years ago
Michail Vourlakos c735792c30 REFACTOR:replace all "foreach" statements 6 years ago