Commit Graph

373 Commits (59f66233f2a1a88709ba353fa10aaa2de69ddd18)

Author SHA1 Message Date
Michail Vourlakos e1712dded4 add more colors to SchemeColors 6 years ago
Michail Vourlakos 1192760f28 apply Colorizer at per applet bases 6 years ago
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.
6 years ago
Michail Vourlakos 1510f1013c add option to colorize based on active win scheme 6 years ago
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.
6 years ago
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
6 years ago
Michail Vourlakos f4c9060bff update delete icons to plasma design
BUG: 398941
FIXED-IN: 0.8.2
6 years ago
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
7 years ago
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
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 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
7 years ago
Michail Vourlakos 6070d2b0f0 restore panel shadows for docks 7 years ago
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.
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 fef362a52f a way for the user to change settings window size
--user can now use Meta+ScrollWheel in order to
increase/decrease the size of the dock settings
window according to its preference

BUG: 397038
7 years ago
Michail Vourlakos b5954009c2 Blur is not working for solid panels
--removing the option to check blurring
based on whether a panel is solid or not
and also check !compositing. Blurring doesnt
make any sense at !compositing environments

BUG: 396955
FIXED-IN: 0.8.1
7 years ago
Michail Vourlakos e7bd3f5aaf dont block tooltips for zoom scale=1
--trying to combine dock mode, panel mode and
parabolic effect with plasma applets current implementation
can create such issues. Removing the zoom=1
criteria to activate the Latte MouseArea. The
user can still lock plasmoids that want the
Hover Default Plasmoid behavior or use the
Latte protocol to understand when they are in a Latte
containment.

FIXED-IN: 0.8.1
7 years ago
Michail Vourlakos 8251fa8263 forward wheel events for underneath plasmoids
BUG: 396811
FIXED-IN: 0.8.1
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 50a4727ffa fix #867,enable neutral areas in corner cases
--The Plasma layout is using the Latte plasmoid. By
following that case the neutral applets areas werent
activated. This is fixed now and also the click animation
in such cases.
7 years ago
Michail Vourlakos 28f0bed9dd fix #997,decrease text size when needed
Launchers Area text wasnt decreasing its size for
very small thickness.
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 2d9b5376b7 add missing license headers in javascript files 7 years ago
Michail Vourlakos 62497561d2 Revert "wayland fix crash when changing location"
This reverts commit 797ead1f1d.
7 years ago
Michail Vourlakos 797ead1f1d wayland fix crash when changing location
--when a dock was changing location and kwin
effects where enabled then a crash was appearing
under wayland. So we block drawing effects when
a dock is inTempHiding or inForceHiding
7 years ago
Michail Vourlakos 506d23d948 enable parab.effect for latte spacer 7 years ago
Michail Vourlakos 7930b5950d remove present windows applet from blacklist 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 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 76af94b59d reposition applet spacer visual debugger
--this way the applet spacer visual debugger
uses the same metrics with its plasmoid
counterpart
7 years ago
Michail Vourlakos eec2927f88 updates for hidden tasks and int.separators 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 92c025d94d show tooltips by default
--shows Latte tooltips by default except
if an applet is locked or zoomfactor==1
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 cd8676e62a blacklist from applet from heuristics
--blacklist "com.github.zren.presentwindows" from
Latte heuristics in order to work correctly with
it.
7 years ago
Michail Vourlakos f49951566b Revert "change window type for applets tooltip"
This reverts commit fec2756266.
7 years ago
Michail Vourlakos fec2756266 change window type for applets tooltip
--change type to PopuMenu because Dock interacts
with wayland windows stangely and ToolTip doesnt
provide a beautiful theming.
7 years ago
Michail Vourlakos 065f92bb70 show maxLength value at relevant tooltip 7 years ago