1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-06 21:18:11 +03:00
Commit Graph

85 Commits

Author SHA1 Message Date
Michail Vourlakos
899c0155c7 plasmatheme:define max background opacity to 1%
BUG:443366
2022-06-27 12:41:22 +03:00
Michail Vourlakos
b1d57051c2 wayland:support Plasma primaryscreen protocol
--use ScreenPool as reference for primary screen.
The new code uses PrimaryOutputWatcher class from
Plasma Shell in order to keep track of primary
screen at all cases.

BUG:448418
FIXED-IN:0.11.0
2022-05-09 20:35:45 +03:00
Michail Vourlakos
5100deee38 startup:track background brightness correctly
--plasma is doing some funny stuff in multi-screen
environments by changing screen ids and back and forth
when primary screen is changed. We now take into account
this and when screen plasma pools updates its ids in
any case the wallpapers tracking follows instantly.
2022-04-17 17:22:31 +03:00
Ömer Fadıl Usta
8476a796d2 Spring cleaning with Qt5.15.x
Because of we increased min qt version to 5.15.x, we dont need these checks anymore
2022-03-01 04:47:12 +00:00
Michail Vourlakos
b6a38e3830 improve autocalculationss for mask/blur regions
--this fix provides more accurate roundness masks
based on user preference
2022-02-05 17:28:57 +02:00
Michail Vourlakos
4c1c65e353 scrgeometries:public empty QRegion() correctly 2022-01-03 20:46:00 +02:00
Michail Vourlakos
cd2ec88274 enable regions broadcasting
--it doesnt make any difference with Plasma
2021-12-27 23:30:55 +02:00
Michail Vourlakos
c98f6679b8 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
2021-12-27 23:30:11 +02:00
Michail Vourlakos
3b8c4392c1 remove no needed qt checks 2021-12-20 23:07:50 +02:00
Michail Vourlakos
c711d690e2 add missing header 2021-12-17 14:24:53 +02:00
Michail Vourlakos
dc724dfd8b simplify Qt version even more 2021-12-17 14:22:17 +02:00
Michail Vourlakos
5c9a4e8392 simplify qt5 version check 2021-12-17 12:04:02 +02:00
Michail Vourlakos
67c38b194f still support Qt5 >= 5.12
BUG:447111
2021-12-17 11:20:54 +02:00
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.
2021-12-14 20:12:09 +02:00
Michail Vourlakos
74ba0dc63b Revert "[x11] - fix 30bit color depth that makes dock invisible with broken transparency"
This reverts commit 6497da4a4d.
2021-12-14 20:01:53 +02:00
Jonas Latza
6497da4a4d [x11] - fix 30bit color depth that makes dock invisible with broken transparency 2021-12-14 19:44:09 +02:00
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
2021-11-14 14:06:30 +02:00
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
2021-11-14 13:39:18 +02:00
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
2021-07-16 18:54:54 +03:00
Alexander Lohnau
505379ed04 Use spdx syntax for all files 2021-05-27 15:01:00 +00:00
Ömer Fadıl Usta
03e9c6c954 Reorder inits to Fix wrong initialize problem and fixes for string compares 2021-05-22 13:45:10 +00:00
Michail Vourlakos
89f15b420a remove QProcess include file 2021-04-02 00:07:53 +03:00
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
2021-03-07 11:43:05 +02:00
Michail Vourlakos
9e487b613b identify applet isMarginAreaSeparator 2021-02-26 17:04:49 +02:00
Michail Vourlakos
674b6ea754 plasma theme extended:separator area margins
--discover and expose plasma theme margins for
separator areas
2021-02-26 16:49:42 +02:00
Michail Vourlakos
41ebee5a71 update screenpool api 2021-02-17 12:24:36 +02:00
Michail Vourlakos
f27f938042 support XDG_CONFIG_PATH for app code
BUG:428210
2021-02-02 22:29:27 +02:00
Michail Vourlakos
7393ac02eb drop currentLayoutName as signal from synchronizer 2020-08-28 17:58:39 +03:00
Michail Vourlakos
8553a2e511 discover plasma theme shadow size and color 2020-08-22 18:15:01 +03:00
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
2020-08-22 18:15:01 +03:00
Michail Vourlakos
bd16a0da69 provide self-calculated theme corners mask 2020-08-22 18:15:01 +03:00
Michail Vourlakos
3b3388d673 rename SideBar to SidebarOnDemand
--improve semantics all over the place now
that we provide two different sidebar
visibility modes
2020-07-29 00:02:50 +03:00
Martijn Vogelaar
2e4f7da4c2 Introduction and implementation of the SidebarAutohide
as discussed in #19.
2020-07-28 15:49:55 +00:00
Michail Vourlakos
3c54759989 provide theme roundness calculations through mask 2020-07-22 15:19:15 +03:00
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
2020-07-22 12:46:22 +03:00
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
2020-07-22 11:20:26 +03:00
Michail Vourlakos
059b78ebc0 add missing header 2020-07-22 10:52:23 +03:00
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
2020-07-22 01:16:30 +03:00
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.
2020-07-21 17:18:49 +03:00
Michail Vourlakos
dedb8a0153 remove deprecated code 2020-07-21 12:09:23 +03:00
Michail Vourlakos
381675ac57 reduce kconfig.sync() calls
--improves startup times in some cases because
it does not write to disk that often.
2020-05-12 02:16:08 +03:00
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
2020-04-24 17:30:30 +03:00
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.
2020-04-24 14:52:16 +03:00
Michail Vourlakos
6e4779e6ab require new official Latte library 2020-04-22 21:10:17 +03:00
Michail Vourlakos
ac3ccb5b98 try to support a public liblatte library 2020-04-22 14:09:42 +03:00
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
2020-04-18 13:39:45 +03:00
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.
2020-04-12 13:41:49 +03:00
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.
2020-03-24 15:59:36 +02:00
Michail Vourlakos
0534c33ff8 reduce publish geometries interval to 1000ms 2020-03-21 13:23:15 +02:00
Michail Vourlakos
93d7422059 dont use too often, costly kwinrc tracking 2020-03-21 12:23:32 +02:00