Commit Graph

55 Commits (d5ef4c8acf6590069c5752c8fcfa70d931bdafac)

Author SHA1 Message Date
Michail Vourlakos d5ef4c8acf discover standard paths independent of distro 6 years ago
Michail Vourlakos 981e11d231 update all indicators to new architecture
--Latte/Plasma indicators were updated to new
Indicators architecture that supports Back and
Front Layers
6 years ago
Michail Vourlakos c85ec4c07a new architecture for Indicators
--indicators now support both Back/Front
layers. Back layer is the usual layer
behind the current Item and the Front layer is
a layer above the current Item (overlay)
--update Unity to follow new architecture
6 years ago
Michail Vourlakos cb5a602d27 Unity: improve arrow drawing
--draw an external line in the color of
the background in order to create a better
contrast
6 years ago
Michail Vourlakos bc0ad9d19f Unity:fix windows indicators for vertical views 6 years ago
Michail Vourlakos a919dc3fca Unity:add triangles, make things more interesting
--added triangles indicators that follow plasma theme
coloring in order to indicate windows count, minimized
state and isActive flag

CCBUG: 404122
6 years ago
Michail Vourlakos 104ee8581f add more information for indicators consumption
--currentIconSize/maxIconSize/windowsCount/
windowsMinimizedCount
6 years ago
Michail Vourlakos 0cd97b6815 improve border size in Unity indicator 6 years ago
Michail Vourlakos f1a34ce437 add hacks in config windows for inner shadow 6 years ago
Michail Vourlakos e1c964ea34 move external shadow under liblatte2 6 years ago
Tranter Madi cf0182e827 Improve Unity Indicator
Summary:
- Fix the bug "UnityRect is smaller than the icon in some cases", caused by `anchors.margin: 4`
- Do not use plasma colors for `isActive` or `inAttention` cases.

Reviewers: #latte_dock, mvourlakos

Reviewed By: #latte_dock, mvourlakos

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D19309
6 years ago
Michail Vourlakos ff77bc3485 compute icon colors only for indicators requesting 6 years ago
Michail Vourlakos b1865e2634 hide indicator properly when task is removed 6 years ago
Michail Vourlakos dd1c3f61b8 increase mask thickness when indicators needed it 6 years ago
Michail Vourlakos 57bf3f3829 mask Unity glow to not break boundaries 6 years ago
Michail Vourlakos 9fcde6ad6b Unity indicator improvements
--force rectangle indicator only for Tasks and use
full applet size for Applets
6 years ago
Michail Vourlakos ab0604b149 improvements for Unity indicator 6 years ago
Michail Vourlakos f1eb8becfc improvements for Plasma Style indicator 6 years ago
Michail Vourlakos 388a5cdb99 important fixes for tasks states 6 years ago
Michail Vourlakos d9fe9d438d move Plasma/UnityIndicators into liblatte2 6 years ago
Michail Vourlakos 529c6f0bab adjust applet to new LatteIndicator 6 years ago
Michail Vourlakos ab85d28701 move LatteIndicator at Latte library as it should 6 years ago
Michail Vourlakos 3d7f5e7990 update Latte Indicator to new design 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 7a6dfa352c improve how iconitem tracks source changes
--this is used mostly to identify when the colors
should be updated
6 years ago
Michail Vourlakos c2dc637a46 activate Unity indicator style
--this is just initial work and not even close
to the final result but it is the ground in order
to build upon.
6 years ago
Michail Vourlakos 9eb5e25a2c support unity colors in Latte::IconItem
--iconitem now can provide a background and glow
color for its icon when the propery providesColors
is enabled
6 years ago
Michail Vourlakos 7772ee2855 add Type property for Latte::View
Summary:
--this way any part interested to know the
real type of Latte::View it can access the
all new type() property

Test Plan:
test view settings that indicate correctly
the panel/dock type

Reviewers: trmdi, #latte_dock

Reviewed By: trmdi

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D18926
6 years ago
Michail Vourlakos 87e6d23b7c add option for indicator style
--user can now alter the indicator style and
choose between Latte/Plasma/Unity
6 years ago
Michail Vourlakos 717c7f9612 enable new Colors options in the settings window 6 years ago
Michail Vourlakos dba08b5e3d add missing characters 6 years ago
Michail Vourlakos 2332ca6d89 fix warning 6 years ago
Michail Vourlakos ffc1669c67 fix height binding loop for BadgeText 6 years ago
Michail Vourlakos 2ab84aa140 make badge Text dependent of Badge height
--this way at very small sizes the text is still
shown without overlapping the badge indicator

BUG: 403602
6 years ago
Michail Vourlakos 9851a71293 elide InfoBadge for first task when needed
BUG: 403518
6 years ago
Michail Vourlakos 9c3726a07b support different actions for left click and hover
--app now supports the user to set different actions
for tasks left-click and for hover event

BUG: 400690 400429
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
Yuri Chornoivan 8d7110f761 Fix minor typos
Summary: Fix minor typos in messages and comments

Test Plan: No major changes to prevent compilation and usage

Reviewers: mvourlakos

Reviewed By: mvourlakos

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D17894
6 years ago
Michail Vourlakos e9b3895936 improve options for applets shadow color 6 years ago
Michail Vourlakos 302d29bae7 improve ActiveIndicator/Glow options 6 years ago
Michail Vourlakos 7d66434244 introduce complexity for view settings 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