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

724 Commits

Author SHA1 Message Date
Michail Vourlakos
40bd5a83e2 update settings to new complexity level 2018-12-26 00:34:45 +02:00
Michail Vourlakos
5e09a41e99 refactor:remove no needed colorizer signals
--the new infrastructure to track background
brightness does not need communication between
universalsettings and view colorizer enabler
2018-12-25 20:33:47 +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
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
81335bc92f improve LayoutManager qml references 2018-12-20 19:40:05 +02:00
Michail Vourlakos
50ea2e1f8b provide default scheme file for !shown cases
--when the colorizer informs the applets to paint
themselves based on the current plasma theme some
of them (e.g. Window Buttons) may still need access
to that color palette through the schemeFile variable.
To support also this case Latte provides the default
theme scheme file at all cases.
2018-12-09 15:35:25 +02:00
Michail Vourlakos
c81e97f24d improve scheme file assignment from themeExtended 2018-12-09 10:52:01 +02:00
Michail Vourlakos
b732dab283 fix missing function parent 2018-12-08 18:48:24 +02:00
Michail Vourlakos
f84043d28e REFACTOR:change dock in containment to latteView 2018-12-08 18:35:32 +02:00
Michail Vourlakos
d8621a9435 refactor:plasmoid rename latteDock to latteView 2018-12-08 09:38:27 +02:00
Michail Vourlakos
67253eda9d REFACTOR:update qml to new Latte.Types 2018-12-07 19:04:10 +02:00
Michail Vourlakos
8261217837 refactor:move docksWithTasks to Layout 2018-12-01 23:51:09 +02:00
Michail Vourlakos
5e47a2f483 fix crash from wrong FrameSvgItem initialization
--enable shadows by default on startup otherwise
the FrameSvgItem sets is imagepath to "" and that
can create a crash during loading/unloading a
layout
2018-12-01 21:58:45 +02:00
Michail Vourlakos
642b524cc7 refactor:move currentScreen to View::Positioner
--rename also currentScreen to currentScreenName
for better semantic representation
2018-12-01 15:22:33 +02:00
Michail Vourlakos
f13e83ffb7 refactor:move theme handling to extendedtheme class 2018-12-01 10:08:19 +02:00
Michail Vourlakos
0794c0e84f refactor:blockAnimations moved to View::Effects
--rename blockAnimations to animationsBlocked
2018-12-01 09:42:09 +02:00
Michail Vourlakos
44006f2fe6 refactor:move dockTransparency to View::Effects
--rename dockTransparency to backgroundOpacity
2018-12-01 09:29:20 +02:00
Michail Vourlakos
885e438143 refactor:colorizerSupport moved to View::Effects
--renamed also from colorizerSupport to colorizerEnabled
2018-12-01 09:19:25 +02:00
Michail Vourlakos
3de7993b8d refactor:move shadow to Effects
-rename also to shadow to innerShadow for
better naming. This shadow is used when the
shadow is drawn inside the window from qml
side, such examples are the dock case and the
editVisual case
2018-12-01 00:52:05 +02:00
Michail Vourlakos
253ca3085a fix warnings 2018-12-01 00:30:21 +02:00
Michail Vourlakos
3a0a95e6a9 refactor: rename properties in View::Effects
--effectsArea became "rect"
--maskArea became "mask"
2018-12-01 00:26:56 +02:00
Michail Vourlakos
47c3d6fb41 refactor:move effects and mask at own dock class 2018-11-30 21:51:21 +02:00
Michail Vourlakos
71d648437f move dock positioning code into its own class 2018-11-29 22:45:01 +02:00
Michail Vourlakos
d364621e5a improve fill(s) calculations for single alignments
--improve how the applet size is calculated for fill(s)
applets when such applets are used in Left/Center/Right
alignments. This also fixes the bug that the plasma
taskmanager was not updating its size properly when tasks
were added after the initialization phase.

BUG: 401456
2018-11-27 23:08:26 +02:00
Michail Vourlakos
2b05834fe6 reduce interval for fill calculations 2018-11-24 19:47:49 +02:00
Michail Vourlakos
3c983a0082 missing object 2018-11-24 19:28:25 +02:00
Michail Vourlakos
78543c84e3 update sizes for fillWidth/Height more regular
--this way applets wont stack up in a size that is not
following panel available size and applets Layout sizes
settings
2018-11-24 19:24:52 +02:00
Michail Vourlakos
174c092a58 improve fill(s) calculations in Justify mode 2018-11-24 17:39:22 +02:00
Michail Vourlakos
f7f8a02521 preserve Justify applet order when applets missing 2018-11-23 23:06:19 +02:00
Michail Vourlakos
97d476a3f0 fix many typo(s) 2018-11-19 22:28:53 +02:00
Michail Vourlakos
9c3107d363 fix maximum length calculation in qml side
--the maximum length calculation in qml side
was not calculated correctly for behabeAsPlasmaPanel
flag
2018-11-18 20:53:28 +02:00
Michail Vourlakos
d92690f849 consider maximumWidth=0 as valid
--for applets that fillwidth and have
also set their maximumWidth we take that
value into account even when maximumWitdth=0
2018-11-18 15:53:57 +02:00
Michail Vourlakos
8ababcdc0c keep some colors from original plasma theme 2018-11-17 19:22:29 +02:00
Michail Vourlakos
a6a291d2c5 expose all latte colors to applets 2018-11-17 18:12:42 +02:00
Michail Vourlakos
954dac650f dont enable shadows when are not needed
--this reduces also the syncGeometry calls
and as such improves cpu usage
2018-11-17 16:00:51 +02:00
Michail Vourlakos
5c82996dfa disable applet mouseareas for not loaded applets 2018-11-07 21:16:21 +02:00
Michail Vourlakos
0cd33727b8 restore iconOverlay default behavior
BUG: 400806
2018-11-07 19:00:55 +02:00
Michail Vourlakos
53d17bfd01 new communication protocol one more time 2018-11-07 16:42:32 +02:00
Michail Vourlakos
05732f3c50 add LICENSE and AUTHORS in icons folders
--Debian packagers requested these files
in order to confirm the creators and licenses
for icons. This has arised again
in the past when Latte was introduced
for Ubuntu so it is good to end this
once and for all.

The creator for logo icons in folder "icons/"
is Alexey Varfolomeev and has granted GPLv2
for its icons. Alexey is a well known kde artist
and Latte project is thanking him for its fantastic
contribution, we love its icons! :)

The creator for pattern icons in folder
"containment/package/contents/icons/" is
me, Michail Vourlakos and I have also granted
for them a GPLv2 license.

The creator for icons in folder
"shell/package/contents/images/" is me,
Michail Vourlakos and I have granted
for them an LGPLv2+ license because of
their simplicity

BUG: 400758
2018-11-06 21:56:20 +02:00
Michail Vourlakos
530dd8d655 simplify more the communicator 2018-11-04 20:29:07 +02:00
Michail Vourlakos
0f1b090e19 support new LatteSetings object for Communicator
--in order to improve extenability we pass now
a single QtObject for applets to use in order
to communicate with Latte
2018-11-04 20:01:40 +02:00
Michail Vourlakos
096358f46a expose latteInEditMode from communicator 2018-11-04 12:46:57 +02:00
Michail Vourlakos
6eb1251965 dont compute width/height for latte plasmoid 2018-10-31 09:26:26 +02:00
Michail Vourlakos
d190ebb216 dont show fill(s) applets oversized in edit mode 2018-10-28 23:13:20 +02:00
Michail Vourlakos
48fe4fd615 support fill(s) applets property
--the user can use applets such as
plasma icon-only taskmanager to alignments
Left,Center,Right. In previous versions
this was possible only for Justify alignment.
2018-10-28 23:02:58 +02:00
Michail Vourlakos
24806d8909 drop TaskManager for drag/double click panel
--use the visibilitymanager in order to drag
and maximize/restore an active window. Update
also the wayland functions for these features.
2018-10-28 21:10:08 +02:00
Michail Vourlakos
a14c265006 drag active window when moving mouse fast
--when the user trys to drag the active window
from panel and moves the mouse fast dragging
starts immediately without waiting the drag timer
to end.
2018-10-28 10:55:05 +02:00
Michail Vourlakos
9b0feaea6a drag active window from panel
the user can use the empty panel areas
in order to drag the active window
and by double clicking to maximize/restore
the active window

BUG: 400391
2018-10-28 10:13:33 +02:00
Michail Vourlakos
e63a43afe5 enable requestMove through the visibilitymanager 2018-10-28 10:03:49 +02:00
Michail Vourlakos
1397ebe5ed fixes and add double click to restore/maximize 2018-10-27 23:32:18 +03:00