1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-02-19 05:58:00 +03:00

56 Commits

Author SHA1 Message Date
Michail Vourlakos
33c584cc08 Mouse wheel action for empty areas
--User can now choose for the panel empty areas
a sroll wheel behavior:
-Scroll Desktops
-Scroll Activities
-Scroll Tasks

BUG: 404266
2019-03-17 00:49:51 +02:00
Michail Vourlakos
d5ef4c8acf discover standard paths independent of distro 2019-03-16 13:44:00 +02:00
Michail Vourlakos
981e11d231 update all indicators to new architecture
--Latte/Plasma indicators were updated to new
Indicators architecture that supports Back and
Front Layers
2019-03-15 00:08:57 +02:00
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
2019-03-15 00:04:02 +02:00
Michail Vourlakos
cb5a602d27 Unity: improve arrow drawing
--draw an external line in the color of
the background in order to create a better
contrast
2019-03-14 18:56:33 +02:00
Michail Vourlakos
bc0ad9d19f Unity:fix windows indicators for vertical views 2019-03-14 18:42:36 +02:00
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
2019-03-14 17:54:50 +02:00
Michail Vourlakos
104ee8581f add more information for indicators consumption
--currentIconSize/maxIconSize/windowsCount/
windowsMinimizedCount
2019-03-14 16:37:23 +02:00
Michail Vourlakos
0cd97b6815 improve border size in Unity indicator 2019-03-09 22:05:28 +02:00
Michail Vourlakos
f1a34ce437 add hacks in config windows for inner shadow 2019-03-09 19:35:37 +02:00
Michail Vourlakos
e1c964ea34 move external shadow under liblatte2 2019-03-09 18:59:59 +02:00
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
2019-03-04 19:41:23 +02:00
Michail Vourlakos
ff77bc3485 compute icon colors only for indicators requesting 2019-02-24 17:26:47 +02:00
Michail Vourlakos
b1865e2634 hide indicator properly when task is removed 2019-02-24 16:33:37 +02:00
Michail Vourlakos
dd1c3f61b8 increase mask thickness when indicators needed it 2019-02-24 09:24:42 +02:00
Michail Vourlakos
57bf3f3829 mask Unity glow to not break boundaries 2019-02-23 20:21:30 +02:00
Michail Vourlakos
9fcde6ad6b Unity indicator improvements
--force rectangle indicator only for Tasks and use
full applet size for Applets
2019-02-23 16:12:47 +02:00
Michail Vourlakos
ab0604b149 improvements for Unity indicator 2019-02-23 15:41:44 +02:00
Michail Vourlakos
f1eb8becfc improvements for Plasma Style indicator 2019-02-23 14:30:07 +02:00
Michail Vourlakos
388a5cdb99 important fixes for tasks states 2019-02-22 19:54:25 +02:00
Michail Vourlakos
d9fe9d438d move Plasma/UnityIndicators into liblatte2 2019-02-22 19:22:11 +02:00
Michail Vourlakos
529c6f0bab adjust applet to new LatteIndicator 2019-02-22 18:49:06 +02:00
Michail Vourlakos
ab85d28701 move LatteIndicator at Latte library as it should 2019-02-22 18:34:19 +02:00
Michail Vourlakos
3d7f5e7990 update Latte Indicator to new design 2019-02-22 18:29:46 +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
7a6dfa352c improve how iconitem tracks source changes
--this is used mostly to identify when the colors
should be updated
2019-02-15 19:19:12 +02:00
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.
2019-02-13 20:58:44 +02:00
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
2019-02-12 18:18:12 +02:00
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
2019-02-11 19:45:05 +02:00
Michail Vourlakos
87e6d23b7c add option for indicator style
--user can now alter the indicator style and
choose between Latte/Plasma/Unity
2019-02-10 16:18:51 +02:00
Michail Vourlakos
717c7f9612 enable new Colors options in the settings window 2019-02-09 15:43:12 +02:00
Michail Vourlakos
dba08b5e3d add missing characters 2019-02-09 15:20:43 +02:00
Michail Vourlakos
2332ca6d89 fix warning 2019-01-27 17:19:52 +02:00
Michail Vourlakos
ffc1669c67 fix height binding loop for BadgeText 2019-01-27 10:29:56 +02:00
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
2019-01-26 15:27:57 +02:00
Michail Vourlakos
9851a71293 elide InfoBadge for first task when needed
BUG: 403518
2019-01-24 15:29:41 +02:00
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
2019-01-19 16:30:44 +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
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
2019-01-02 19:37:43 +02:00
Michail Vourlakos
e9b3895936 improve options for applets shadow color 2018-12-31 21:23:26 +02:00
Michail Vourlakos
302d29bae7 improve ActiveIndicator/Glow options 2018-12-28 20:05:36 +02:00
Michail Vourlakos
7d66434244 introduce complexity for view settings 2018-12-25 23:57:41 +02:00