1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-13 04:58:18 +03:00

557 Commits

Author SHA1 Message Date
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
Michail Vourlakos
b8ad6fceeb drag a maximized window from panel 2018-10-27 20:50:49 +03:00
Michail Vourlakos
722d656bfa enhance colorschemes and colorizer to new arch 2018-10-27 14:37:11 +03:00
Michail Vourlakos
3553415c59 load roundness theme info properly 2018-10-27 00:59:36 +03:00
Michail Vourlakos
92ce3f15c1 introduce plasma theme extended
--this is going to be a class that will
provide all the extended info of a plasma
theme such as roundness, dark/light color
schemes
2018-10-26 23:40:10 +03:00
Michail Vourlakos
37b89f2830 move qml luminance calculations to js files 2018-10-26 18:19:56 +03:00
Michail Vourlakos
9374ff3cc4 move colorizeManager to its own Item class 2018-10-26 18:19:56 +03:00
Michail Vourlakos
d705d5a657 fixes for new Communicator protocol 2018-10-23 20:42:14 +03:00
Michail Vourlakos
5bab21d786 add function to identify mainitem in applets
--applets can have different main elements based on their
implementation. In such case we use a depth of 2 in order
to search for elements that contain variable isInLatte
2018-10-23 20:42:14 +03:00
Michail Vourlakos
4a13d12703 send colorizerManager colors to applets 2018-10-23 20:42:14 +03:00
Michail Vourlakos
9dae7f7170 add Colorizing properties in Communicator
--add properties in order for the Communicator
to inform applet when to use the LatteColorScheme
2018-10-23 20:42:14 +03:00
Michail Vourlakos
1f51524d42 create Applet Communicator for applets
--this item is fully responsible in order to
communicate the latte containment with any
underlying applet. A protocol specification
is used in that item in order for applets and
latte to exchange information.

currently supported:
   ingoing parameters (to applet):
      bool isInLatte // is in a Latte dock

   outgoing parameters (from applet):
         //deprecated from disableLatteOverlay
      bool disableLatteParabolicIcon

      bool disableLatteOverlay //dont use Latte overlays
2018-10-23 20:42:13 +03:00
Michail Vourlakos
c5150300d5 fix warnings 2018-10-23 20:42:13 +03:00
Michail Vourlakos
f2d088a297 add theme roundness option at preferences page 2018-10-23 20:42:13 +03:00
Michail Vourlakos
e1712dded4 add more colors to SchemeColors 2018-10-23 20:42:13 +03:00
Michail Vourlakos
1192760f28 apply Colorizer at per applet bases 2018-10-23 20:42:13 +03:00
Michail Vourlakos
89b86c4b3e add customBackground class for colorizer
--in order to overlay properly the panel background
a roundness option was needed that takes into account
which borders should be drawn. In an upcoming commit
the user will be able to adjut the current plasma
theme roundness. The Colorizer is using now the
CustomBackground in order to draw the background
when the user wants to draw the contents based on
the current active window color scheme.
2018-10-23 20:42:13 +03:00
Michail Vourlakos
1510f1013c add option to colorize based on active win scheme 2018-10-23 20:42:13 +03:00
Michail Vourlakos
f6b4aa55cf support background painting based on window scheme
--support painting based on the active window scheme.
Added a schemecolors class for this and updated
abstractwindowinterface to provide tracking for windows
color schemes.
2018-10-23 20:42:12 +03:00
Michail Vourlakos
500b3d2b86 respect shrink margins for thickBase
--increase also the minimum for thickHigh in order
to follow plasma design

BUG: 398950, 398951
FIXED-IN: 0.8.2
2018-09-23 11:42:33 +03:00
Michail Vourlakos
f4c9060bff update delete icons to plasma design
BUG: 398941
FIXED-IN: 0.8.2
2018-09-22 18:55:32 +03:00
Michail Vourlakos
0f79c08e86 simplify code readability for panelShadowsActive
--fix also a case that the user hasnt enabled to
show panel background at all from the Show option
and the shadows where shown because they were
chosen before it was disabled by the user
2018-09-01 11:34:27 +03:00
Michail Vourlakos
fc8a531837 fix disabled monochrome contents for no background
--when the user had chosen monochrome contents and had
disabled the panel background totally the case wasnt
activating monochrome contents when needed
2018-09-01 10:59:04 +03:00
Michail Vourlakos
ec0e16ca5a consider preferredSize(s) only for >0 values
--do not consider preferredWidth or preferredHeight
for applets when that value is <=0 otherwise that
applet it may become invisible. Such case is the
plasma analog clock when it is locked at a vertical
dock

BUG: 398098
FIXED-IN: 0.8.1
2018-08-31 18:36:44 +03:00
Yuri Chornoivan
7323068f36 Fix minor EBN issues 2018-08-30 08:47:53 +03:00
Michail Vourlakos
87094a6fe7 dont draw panel shadows when theme doesnot provide
when the plasma theme was not supporting shadows then
Latte was double drawing the panel background when
the user has chosen that wanted shadows

BUG: 397980
FIXED-IN: 0.8.1
2018-08-28 13:49:32 +03:00
Michail Vourlakos
6070d2b0f0 restore panel shadows for docks 2018-08-28 10:24:46 +03:00
Michail Vourlakos
81d3a12e91 respect different panel backgrounds from theme
--many plasma themes provide a different panel
background per edge, with different styles or
transparency levels. Latte now respects the
plasma theme concerning the panel backgrounds
found in a plasma theme.
2018-08-27 22:56:28 +03:00
Michail Vourlakos
78b41eff91 use current transparency to update effects
--the background contrast effect should be applied
only when the dock/panel is visually solid otherwise
it may block the transparency settings

BUG: 397431
FIXED-IN: v0.8.1
2018-08-21 00:51:36 +03:00
Michail Vourlakos
9a69323293 smarter badges identifier for activation shortcuts
--with this commit now Latte is able to identify what are
the global shortcuts used for each activation entry and
also to not show at all any badge for activation entries
that are disabled from the user

BUG: 397128
2018-08-04 02:05:44 +03:00