Commit Graph

20 Commits (4374dace176667199e89f061a54feed12768c35e)

Author SHA1 Message Date
Michail Vourlakos 4c1c65e353 scrgeometries:public empty QRegion() correctly 3 years ago
Michail Vourlakos cd2ec88274 enable regions broadcasting
--it doesnt make any difference with Plasma
3 years ago
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
3 years ago
Michail Vourlakos 0c1e29bf4e 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 b3efb73aef 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 e0e3f19f7a 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
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 41ebee5a71 update screenpool api 4 years ago
Michail Vourlakos 7393ac02eb drop currentLayoutName as signal from synchronizer 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 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