Commit Graph

157 Commits (fc8a531837f835b421465a9d5369e505c6024020)

Author SHA1 Message Date
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
7 years ago
Yuri Chornoivan 7323068f36 Fix minor EBN issues 7 years ago
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
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 3ea01dfafc fix badge text warning and border.color 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 83be8d9b20 fix #986,option to not group tasks
--give the user option to group or not
tasks of the same application by default
7 years ago
Michail Vourlakos 6881d8fbbe fix #970,parabolic effect fix
During dock sliding-in because the parabolic
effect isnt trigerred immediately but we wait
first the dock to go to its final normal
place we might miss the activation of the
parabolic effect. By catching that signal
we are trying to solve this.
7 years ago
Michail Vourlakos 2742be427b fix #901,show windows only from launchers
--add an option to tasks filters in order to
hide windows that do not have launchers
7 years ago
Michail Vourlakos 0c956fac77 fix #961,Improve Visibility consider WindowsGoBelow
--the following case:
[Windows Go Bellow + Top Panel + Panel Transparency<40%
+ "Improve Visibility" + "Not Forced Solid Background
for maximized windows"]
disables the colorizer because the role of the background
is done from the window titleBar.
7 years ago
Michail Vourlakos 13e8791213 add a few margins for applets tooltips 7 years ago
Michail Vourlakos ca6188bf46 remove transparency from Colorizer colors
--the plasma theme may have set for textColor
and backgroundColor, colors with transparency.
This can mess up the "Improve Visibility"
feature.
7 years ago
Michail Vourlakos 2967eea11a fix #961,Semi-Tranparent Panels at ImproveVisibility
--update issue #957 in order to take into account
semi-transparent panels. With semi-transparent panels
contrast could be a puzzle. The changes that
introduced with this patch are:
1. Enable Improve Visibility when also case [E] from
 #957 is enabled.
2. When a semi-transparent panel exists in combination
with Improve Visibility option then add a threshold
in order to indicate if the Colorizer will be applied
or not. The threshold is 40% in order to indicate if
a semi-transparent panel is solid or not.
7 years ago
Michail Vourlakos 820dff0bb5 improve calculations of panelEdgeSpacing 7 years ago
Michail Vourlakos 3ea40954fc fix #942,show dock when dragging at kwin edge
-- enable showing the dock if the user drags something
on it and the dock is hidden at a kwin edge
7 years ago
Michail Vourlakos 7ce5938312 add internal separator through drag n' drop 7 years ago
Michail Vourlakos 2b2ddfeb70 improve contrast for Launchers Area text 7 years ago
Michail Vourlakos 18151ec023 disable "visibility improvement" for !compositing 7 years ago
Michail Vourlakos 40fc0ca717 block automaticIconSize inTempHiding 7 years ago
Michail Vourlakos 607d6b4f4a hide plasmoid preview when hovering an applet 7 years ago
Michail Vourlakos 452e93c33e improve update of hoveredIndexes
--when the plasmoid is hovered when the
applets hoveredIndex should be initialized
and when an applet is hovered then the plamoids
hoveredIndex should be initialized to -1.
7 years ago
Michail Vourlakos 0bb70c1595 drop fastEntering for directRenderDelayer
--the directRenderDelayer is used during first
entering in order to delay the activation of
directRendering. The cons of previous fastEntering
implementation added the necessity for this
replacement.
7 years ago
Michail Vourlakos 4cf4351b80 improve all luminance calculations
--provide more accurate calculations for luminance
based on algorithm at:
https://www.w3.org/TR/2008/REC-WCAG20-20081211/#relativeluminancedef
7 years ago
Michail Vourlakos 42793475c5 fix #910,set added applet parent to dndSpacer one
--in Justify alignment and normal mode, setting the applet
to have as parent the root qml Item it creates a stack in
a lot of cases... By setting the applet container item
directly to more proper parent fixes any issue.
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 4d6e986d2b use panel theme in some cases that isnt chosen
--when the user has disabled the panel background
but has enabled a solid background for maximized windows
then in such case the panel background must be enabled
for when it is needed
7 years ago
Michail Vourlakos 198ce090ef enable monochrome panel for transparent panels
-- in dynamic background it might be important for
the user to increase the contrast because the textColor
from plasma theme and the background might not provide
readable contrast. This feature adds this by giving
to the user the choice to have as monochrome layout
when the panel is transparent to theme.backgroundColor
7 years ago
Michail Vourlakos 1ff161a030 updates and improvements at applets glob.shortcuts 7 years ago
Michail Vourlakos 103b901125 support showing applets numbers with badges
-- this is used mainly from globalshortcuts triggering
7 years ago
Michail Vourlakos db28c6bcaf use globalshortcuts with containment also
--we are trying to expose an applets calling
mechanism that is combined with the latte plasmoids
one with a nice beautiful way
7 years ago
Michail Vourlakos e370f0447f fix editShadow for compositing mode 7 years ago
Michail Vourlakos 3d6ff9583b disable animations for !compositing mode 7 years ago
Michail Vourlakos 6de4db1ba3 improvements for !compositing mode 7 years ago
Michail Vourlakos 6d08319c10 disable dynamicBackground for !compositing
--disable also the panel opacity for !compositing
7 years ago
Michail Vourlakos 5b3c00ff8c improve code for enable/disable checkRestoreZoom 7 years ago
Michail Vourlakos b607e25a4c reduce interval of checkRestoreZoom 7 years ago
Michail Vourlakos b12cf1446a orchestrate better directRender for plasmoid
--use same techniques with the containment in order
to activate/deactivate the directRender through
the latte plasmoid
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 3a2b0f7fd6 animate iconMargin when changes 7 years ago
Michail Vourlakos 05e08e57c5 delay a bit the directRender activation
--previously directRender was activating also when
from the first entered element the mouse moved fast
enough to the second element. But this could happen
also accidentaly some times. This improvements indicates
also the mouse position in the second element to be
near the center of that element
7 years ago
Michail Vourlakos 9c18e5dbef fix warnings 7 years ago
Michail Vourlakos 97e8b58df2 dont blacklist activeWindowControl
-- the fix will come up from upstream! ;)
7 years ago
Michail Vourlakos 3195cc206c enable ruler tooltip in editing mode 7 years ago
Michail Vourlakos ef8256f815 use mouse scroll to increase maxLength from Ruler 7 years ago
Michail Vourlakos 976494ed09 enable smooth animation when changing alignments 7 years ago
Michail Vourlakos 9e4ec510f9 increase topMargin at behaveAsPlasmaPanel 7 years ago