Commit Graph

79 Commits (675bdf5f7d5aac6d70717cec2bd6962536241d3e)

Author SHA1 Message Date
Michail Vourlakos de766bd0e1 scrgeometries:public empty QRegion() correctly 3 years ago
Michail Vourlakos b988193f27 enable regions broadcasting
--it doesnt make any difference with Plasma
3 years ago
Michail Vourlakos 3c21f5475e fix plasma available geometry broadcasting
--ignore docks and panels for availableScreenRect(s) etc.
when they are in startup and they are painted offscreen
--plasma is not ready to accept availableScreenRegion(s) because
after startup moves desktop widgets to the left even though
it should not
--fix availableScreenRegion calculations for Centered and Justified
docks and panels
3 years ago
Michail Vourlakos c711d690e2 add missing header 3 years ago
Michail Vourlakos dc724dfd8b simplify Qt version even more 3 years ago
Michail Vourlakos 5c9a4e8392 simplify qt5 version check 3 years ago
Michail Vourlakos 67c38b194f still support Qt5 >= 5.12
BUG:447111
3 years ago
Michail Vourlakos 0accfe21b2 fix 30bit color depth that makes dock invisible
--previous approach did not work correctly on 24bit
systems. The new approach should handle properly all
cases.
3 years ago
Michail Vourlakos 74ba0dc63b Revert "[x11] - fix 30bit color depth that makes dock invisible with broken transparency"
This reverts commit 6497da4a4d.
3 years ago
Jonas Latza 6497da4a4d [x11] - fix 30bit color depth that makes dock invisible with broken transparency 3 years ago
Michail Vourlakos 9f468b7933 plasmageometry:remove workarounds for activities
--remove workarounds for plasma desktop not respecting
geometries sent from Latte for activities that are not
the current one
3 years ago
Michail Vourlakos 912f2f1cfa plasmadesk:fix startup freezes from QDbusInterface
--as it appears plasma applets were not the main faulter
to blame for startup freezes. The bug was that Latte
was trying to communicate with Plasma DBus interface
to inform it about docks/panels geometries. For some
reason during startup other applets could also were
trying the same and for that reason Qt provides a 25sec
forced delay in case there are too many such calls.
The new approach does not block the startup code at all
and it should work at all cases.

BUG:444739
FIXED-IN:0.10.4
3 years ago
Michail Vourlakos 5486730a00 pref option to disable geometries broadcasting
--the user can choose to disable available desktop geometry
broadcasting to Plasma in order to avoid any desktop widgets
moving at all cases
4 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 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