1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-27 22:04:01 +03:00

21 Commits

Author SHA1 Message Date
Michail Vourlakos
fb718024cd fix brightness calculations for backgrounds
--fix brightness calculations for vertical edges
for the desktop backgrounds
--improve debug messages for the brightness calculations
at BackgroundTracker
2019-05-10 21:04:00 +03:00
Michail Vourlakos
af77263d9a update comments at background cache 2019-05-10 00:22:50 +03:00
Michail Vourlakos
fb4508c6a7 simplify CMakeLists 2019-04-06 22:04:21 +03:00
Michail Vourlakos
c735792c30 REFACTOR:replace all "foreach" statements 2019-04-05 17:17:10 +03:00
Michail Vourlakos
aa83854b03 fix liblatte2 faulty reference 2019-03-17 14:00:53 +02:00
Michail Vourlakos
d5ef4c8acf discover standard paths independent of distro 2019-03-16 13:44:00 +02:00
Michail Vourlakos
19815138c5 set a limit for backgrounds hash size
--Latte should remember 300 backgrounds
maximum and afterwards that cache is removed.
That way we can avoid cases that because
a slideshow plugin uses too many wallpapers
does not make Latte to have high memory usage.
2019-02-21 00:34:36 +02:00
Michail Vourlakos
cd825d9463 fix restoring wallpaper tracking after slideshow 2019-02-20 18:35:33 +02:00
Michail Vourlakos
e303130ef6 release broadcasted backgrounds when not needed
--an example could be when the user decides to change
wallpaper plugin for its desktop from a slideshow
to other wallpaper plugins
2019-02-19 20:58:48 +02:00
Michail Vourlakos
362d50a1fd support wallpaper slideshows 2019-02-19 17:44:40 +02:00
Michail Vourlakos
698b3bac77 isBusy dont be so sensitive
--decrease areas to 10 from 40
2019-01-05 21:57:13 +02:00
Michail Vourlakos
8d099abaaa fix a crash and isBusy calculations 2019-01-05 21:35:19 +02:00
Michail Vourlakos
1a643e9749 increase sensitivity for background busyness 2019-01-05 16:21:14 +02:00
Michail Vourlakos
38ab6b67bb improve background isBusy code for DynBack 2019-01-05 13:06:11 +02:00
Michail Vourlakos
50eb9ec277 change distorted to busy background
--simplify semantics by updating distorted
term to busy background
2019-01-05 12:22:06 +02:00
Michail Vourlakos
9229ca07fb add distorted flag to backgrounds tracking 2019-01-05 00:37:43 +02:00
Michail Vourlakos
b418923c03 move from luminas to brightness
--the luminas functions didnt work well
for all cases. Latte is now using brightness
functions as described at:

   https://www.w3.org/TR/AERT/#color-contrast

this patch fixes all cases mentioned in the bug
that Latte contrast identification did not work well

BUG: 402115
2018-12-25 20:20:06 +02:00
Michail Vourlakos
b6ae8d66ee identify single color background also
--Latte now does not only identify background files
but single colors also. At the same time the new
implementation is multi-screen aware. That means
that two different top panels at two different screens
can be color independent, meaning the first could
be lightish when it is transparent and the latter
darkish

BUG: 402143
2018-12-25 19:11:59 +02:00
Michail Vourlakos
f1712ca7a5 fixes for BackgroundCache 2018-12-25 18:36:44 +02:00
Michail Vourlakos
fabd989146 remove qml BackgroundTracker
--move to the new liblatte2 BackgroundTracker
which is also multi-screen aware
2018-12-25 14:17:05 +02:00
Michail Vourlakos
095048223a refactor:move backgroundtracker under liblatte 2018-12-25 13:03:20 +02:00