1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-13 05:17:48 +03:00
Commit Graph

71 Commits

Author SHA1 Message Date
Michail Vourlakos
1210e708c9 support automatic roundness to !compositing 2019-04-03 22:24:21 +03:00
Michail Vourlakos
81204e3519 support importing indicators from compressed files 2019-03-29 00:07:36 +02:00
Michail Vourlakos
f9289dc558 support colorGroup for IconItem
--this way we fix all coloring issues with
plasma theme icons e.g. the audio indicator
was not painted correctly for some themes
2019-03-27 21:03:17 +02:00
Michail Vourlakos
0b90411b1d IMPORTANT: All new Indicators architecture
--this huge commit contains all the changes needed
in order for Latte to load Indicators dynamically
from their own packages
2019-03-24 12:17:29 +02:00
Michail Vourlakos
ca80a7932f introduce LatteComponents to be consumed globally
--this is needed in order for indicators plugins in
the future to provide the same UI elements with the
rest of LatteView Settings windows
2019-03-18 19:35:53 +02:00
Michail Vourlakos
28d197484e fix warnings 2019-03-17 16:14:19 +02:00
Michail Vourlakos
e505e20e59 fix Latte Indicator when plasmoid in Desktop 2019-03-17 16:08:52 +02:00
Michail Vourlakos
b89ef0e50b fix warnings fron new indicators architecture 2019-03-17 16:00:52 +02:00
Michail Vourlakos
4318404c9c fix warnings and improvements for Indicators 2019-03-17 14:34:44 +02:00
Michail Vourlakos
aa83854b03 fix liblatte2 faulty reference 2019-03-17 14:00:53 +02:00
Michail Vourlakos
0d568c81d5 update indicators architecture to be independent
--first steps in order to support completely independent
indicators that can be downloaded/installed/used online
2019-03-17 13:49:26 +02:00
Michail Vourlakos
1c2df50380 Unity: support reversedEnabled 2019-03-17 09:30:31 +02:00
Michail Vourlakos
480e7532a2 Unity:disable upper arrow indicator for applets 2019-03-17 01:54:55 +02:00
Michail Vourlakos
c39f0b4c8c add group indicator for Plasma style 2019-03-17 01:52:45 +02:00
Michail Vourlakos
10fbf41081 enable hover effect for Plasma Style 2019-03-17 01:23:53 +02:00
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