Commit Graph

20 Commits (1b0de4f312157d2eca3374e5c36c4e0a590cd59b)

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
6 years ago
Michail Vourlakos af77263d9a update comments at background cache 6 years ago
Michail Vourlakos c735792c30 REFACTOR:replace all "foreach" statements 6 years ago
Michail Vourlakos aa83854b03 fix liblatte2 faulty reference 6 years ago
Michail Vourlakos d5ef4c8acf discover standard paths independent of distro 6 years ago
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.
6 years ago
Michail Vourlakos cd825d9463 fix restoring wallpaper tracking after slideshow 6 years ago
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
6 years ago
Michail Vourlakos 362d50a1fd support wallpaper slideshows 6 years ago
Michail Vourlakos 698b3bac77 isBusy dont be so sensitive
--decrease areas to 10 from 40
6 years ago
Michail Vourlakos 8d099abaaa fix a crash and isBusy calculations 6 years ago
Michail Vourlakos 1a643e9749 increase sensitivity for background busyness 6 years ago
Michail Vourlakos 38ab6b67bb improve background isBusy code for DynBack 6 years ago
Michail Vourlakos 50eb9ec277 change distorted to busy background
--simplify semantics by updating distorted
term to busy background
6 years ago
Michail Vourlakos 9229ca07fb add distorted flag to backgrounds tracking 6 years ago
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
6 years ago
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
6 years ago
Michail Vourlakos f1712ca7a5 fixes for BackgroundCache 6 years ago
Michail Vourlakos fabd989146 remove qml BackgroundTracker
--move to the new liblatte2 BackgroundTracker
which is also multi-screen aware
6 years ago
Michail Vourlakos 095048223a refactor:move backgroundtracker under liblatte 6 years ago