Commit Graph

59 Commits (1510f1013c5ad86ddccac83e02c1ee38e7d8f5ae)

Author SHA1 Message Date
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
7 years ago
Yuri Chornoivan 7323068f36 Fix minor EBN issues 7 years ago
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
7 years ago
Michail Vourlakos e908c1207c fixes badges from applets
--fix for binding loop for applets badges
--dont hide applets number badges on hovering
7 years ago
Michail Vourlakos 3ea01dfafc fix badge text warning and border.color 7 years ago
Michail Vourlakos 6cff0be9c1 enable Meta forward from KWin to Latte
In Latte Preferences the user can now enable/disable
the Meta key forwarding for showing the
Application Launcher

BUG: 396754
7 years ago
Michail Vourlakos d4cb4e2410 setup unified global shortcuts per dock
--in multiple layouts environment the user
may prefer different settings for its global
shortcuts, in some may wants to use global
shortcuts for its applets and in another
layout may not.
7 years ago
Michail Vourlakos 6708510213 support a meta badge visual from global shortcuts
--when an application launcher exists, Latte can show
a "Meta" badge for that applet instead of the global
shortcut action number. With this patch we take also
into account when the assigned application launcher is
in different dock/panel and show it accordingly

BUG: 396753
7 years ago
Michail Vourlakos 00d15a7906 support no-unified global shortcuts
--v0.8 introduced unified global shortcuts for all
cases, that means that applets are also taken into
account for Latte activation/new instance global
shortcuts. A new parameter is introduced with
the patch at Latte global settings file called
"unifiedGlobalShortcuts", the user can set that
parameter to false before Latte startup in order
to use only global shortcuts relevant to the
Latte plasmoid.
7 years ago
Michail Vourlakos 91a1736b14 add debug flag for overloaded applets
--a visual indicator in order to show which plasma
applets have been overloaded from Latte. The overloaded
mechanism is a way in order to make these applets work
properly with Latte parabolic effect
7 years ago
Michail Vourlakos 506d23d948 enable parab.effect for latte spacer 7 years ago
Michail Vourlakos c14470c742 fix #983,expose latte availability to applets
--allow the applet developers to set at their
applet main file:

property bool disableLatteParabolicIcon: true

in order to disable any Latte functionality
concerning the parabolic icon

-- allow the applet developers to set at their
main file:

property bool isInLatte: false

in order to be informed by Latte when they are
in a Latte containment. For what ever purposes
the developers need to adjust to their plasmoid.
7 years ago
Michail Vourlakos 7f89bd99b0 fix #985,use same style for tasks/applets numbers 7 years ago
Michail Vourlakos 8f33a4f722 take into account if an applet is locked
--if in applet is locked from the user then we
dont need to try to enforce the parabolic manager
rectangular layouting.
7 years ago
Michail Vourlakos ad16d8d1b8 use plasma desktop version for folderview 7 years ago
Michail Vourlakos 8a3239c924 fix #913,update Justify calculations in editMode
--in Justify alignment fillWidth(s)/Height(s) applets
may exist. In such case the calculations for their values
should be activated because there is a chance that the
panel contents would go out of bounds and out of
screen. This way we make sure that all contents will be always
visible.
7 years ago
Michail Vourlakos b8321fb829 fix #905,smart colorize transparent panels
--enhanche the dynamic background feature and
in ordre to improve contrast with the underlying
background Latte now calculates the luminosity of the area
underneath the panel and based on that chooses the
best color to create contrast. The colors are chosen
only between textColor and backgroundColor.
7 years ago
Michail Vourlakos c7915677bd improve splitter icon color/contrast
--fix also splitter icon size when adding for
first time in EditMode
7 years ago
Michail Vourlakos de4cddb5d3 update internal splitter icon to use plasma theme 7 years ago
Michail Vourlakos db58a24040 dont count internalViewSplitters for globalShortcs
-- as mentioned at #879
-- improve also the semantics of globalShortcuts
7 years ago
Michail Vourlakos 103b901125 support showing applets numbers with badges
-- this is used mainly from globalshortcuts triggering
7 years ago
Michail Vourlakos 657d86033f respect user settings for applet shadows 7 years ago
Michail Vourlakos 14ffc70088 cleanup deprecated directRenderTimer/containment 7 years ago
Michail Vourlakos 7c1cd0cb70 improvements to applets parabolic effect 7 years ago
Michail Vourlakos 9fdb1b598d increase parabolic effect speed 7 years ago
Michail Vourlakos 431ec79088 force all DropShadows to fast mode 7 years ago
Michail Vourlakos c129743aa9 use a new zoom-in animation type 7 years ago
Michail Vourlakos 2957c50dd0 Revert "update zoom-in animation type"
This reverts commit cc6779d0c4.
7 years ago
Michail Vourlakos cc6779d0c4 update zoom-in animation type 7 years ago
Michail Vourlakos 2987e406db block signalUpdateScale if task/applet containMouse 7 years ago
Michail Vourlakos 9473f5b7a2 fix thick and applets alignment in reverse mode 7 years ago
Michail Vourlakos e0a3bd9f80 support nomad systray in Latte 7 years ago
Michail Vourlakos 8d40678e28 fix latteApplet size area
--this fixes also showing a wrong context menu
for tasks in zoomed tasks. It was showing instead
of the task context menu the container one.
7 years ago
Michail Vourlakos 1dd9a30139 release connect signals ondestruction
--following issue from #730 more qml code
was found that wasnt releasing connect signals
properly. That could create crashes because
already deleted qml objects could receive such
signals. That was observed after qt>=5.9.2
7 years ago
Michail Vourlakos 7bc8b51446 force transparent panel respects shadows settings 8 years ago
Michail Vourlakos 9760ef2a5e follow Fitt's Law when dock is inFullJustify
--improvements in order to follow Fitt's Law when
the dock is in Justify mode and 100% maximum length
8 years ago
Michail Vourlakos 1e4f98b4ae fix #633,trigger correctly the animations signals
--restoring the applets from the parabolic effect didnt
send correctly the ending signal that their animation
was finished
8 years ago
Michail Vourlakos 7d77ab5195 expose user specified shadows to qml 8 years ago
Michail Vourlakos d4a5370ef2 use same design for all separators 8 years ago
Michail Vourlakos e982540bff fix #490,support usesPlasmaTheme in our fake icons 8 years ago
Michail Vourlakos 641d096d58 fix #490,improve identification algorithms
--this commits improves the identification algorithm
for kicker and simplemenu and their behavior also
concerning setting a static image or not
8 years ago
Michail Vourlakos cfca7fadd4 dont paint items when shadow is activated
--this way we gain a few cpu cycles because they
are not painted when the item is painted through
the Shadow qml item
8 years ago
Michail Vourlakos 05c2123708 go faster to directRender state
--improve more the parabolic animation and
fix an issue that was based on the time window
between smooth animation and directRender when
the mouse activates the parabolic effect in the
begin.
8 years ago
Michail Vourlakos fe0e23b935 fix #490,support kicker and simplemenu applets
--we now support through our discovering mechanisms
a properly identification for kicker and simplemenu
applets. This way changing their icons work correctly
and of course the parabolic effect
8 years ago
Michail Vourlakos 51b600725d fix parabolic effect and Tasks thickness
--this fixes the Tasks plasmoid thickness and
improves a small breakage in the parabolic effect.
The Tasks thickness is going to maximum when there
is a hoveredInded in plasmoid or in containment.
--the previous fix, fixes also a small breakage in
the parabolic effect animation. The breakage was
appearing when going from
applet->applet separator->task and directRender is
enabled
8 years ago
Michail Vourlakos 19af87417e add disabled debug messages for parabolic signals
--these debug messages can be activated in the future
in order to identify in the future cases that the
parabolic effect doesnt work as it should
8 years ago
Michail Vourlakos 3a0ac83c46 fix #480,support properly separator widgets 8 years ago
Michail Vourlakos 0c69277912 correct center calculation based on hidden spacers 8 years ago
Michail Vourlakos a0bff8f9f0 first part to support properly separators
--support properly applet separators. This is the
first part, in the future the margins for them
should be updated correctly and the edge cases,
for example when the applet separator is next to
tasks plasmoid
8 years ago
Michail Vourlakos 9cdd9d839b fix splitters path for Justify mode 8 years ago