Commit Graph

85 Commits (41a861cd0f2737906bf805c06a896a9bbae8b599)

Author SHA1 Message Date
Michail Vourlakos 8ab5779bcb compute blur area correctly on startup
--improve calculations for Effects area during startup
and at the same time when the dock is totally hidden
so it should not paint any effects area at all.

BUG:416928
FIXED-IN:0.9.9
5 years ago
Michail Vourlakos 210057af21 take into account roundness for pseudo-blur
--in editing mode the panel background blur takes
into account inside the qml window, it is used
as a demonstration for the user. This patch
takes into account the blurred area roundness
in order to not blur faulty areas that are not
going to be blurred in the end.
5 years ago
Michail Vourlakos 5288aa6e38 protect floating views appearance
--floating views is a strange situation for which
plasma theme do not have any way to be protected for
their drawing (there is a chance that shadows and content
overlap). Latte in order to protect from that situation
now uses the auto-discovered plasma theme roundness to be used
in order to calculate the minimum thicknes for panel
background.
5 years ago
Michail Vourlakos 79705e9753 option to disable creenEdgeMargin for maximized
--improved settings for Floating windows in Behavior
tab and add a new option to hide ALL screen gaps meaning
both length screen and thickness screen gap when there
is a maximized window in the screen

BUG:415630
5 years ago
Michail Vourlakos 896afcc068 support screen edge margin for behaveAsPlasmaPanel 5 years ago
Michail Vourlakos 8194ee94bc inform applets/indicators for screen edge margin
--fix geometries publishing, update margins calculations
5 years ago
Michail Vourlakos 0ebef42513 add screenEdgeMargin and update border accordingly 5 years ago
Michail Vourlakos 5fff947091 improve panel background is shown identification 5 years ago
Adrien Brunelat a21f46d85f
[414174] - Panel background transition color bug
Summary:
Added animation on background color change.
Removed test for background color that is not needed any more.

BUG:414174
FIXED-IN:0.9.5

Reviewers: mvourlakos

Reviewed By: mvourlakos

Subscribers: ognarb, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D25392
5 years ago
Michail Vourlakos a385f49aea dont draw outline for plasma popups
--when the user of course has chosen the plasma
experience for applets popups
6 years ago
Michail Vourlakos cef15c3adc forceSolidness higher priority from busy background 6 years ago
Michail Vourlakos b078765d5c improve smartness for Unity case layout
--when a vertical view is in busy state and is touching
also a horizontal view that is fully transparent in
SMART mode then the visual result is not that good.
In that case it is better to show the view background.
The horizontal view background in that case can provide
three different states:
a) if the panel style for popups is activated then the
horizontal view will follow the plasma original style
b) if NOT [a] and solid background for touching windows
is enabled then solid background will be offered
c) if NOT [a] and NOT [b] then the isBusy state
transparency will be offered
6 years ago
Michail Vourlakos ed83d1d13c improve more the isBusy background case
--the new implementation supports and always darkish
case when the isBusy background is drawn. So now
we have the following possibilities:
a)panel transparency<35 means BEST contrast with
underlying desktop background
b)panel transparency>=35 AND <70 means a DARKISH
background
c)panel transparency>=70 the user chosen plasma
theme
6 years ago
Michail Vourlakos 03569f660d fix effects area for behaveAsPlasmaPanel
--in case the maxLength is below 100%
6 years ago
Michail Vourlakos 1f1188bfc8 improve painting between different backgrounds
BUG: 409062
6 years ago
Michail Vourlakos 91a9e7c0c5 improvements for effects area and painting 6 years ago
Michail Vourlakos 8a281bc3e8 update panel shadows for isBusy state 6 years ago
Michail Vourlakos fd9025f632 adjust panel transparency according to theme level
--Latte now identifies what is the maximum transparency
provided by a plasma theme and uses that information
in order to provide full solidness if needed by the
Background Opacity option (meaning 100% should be totally
solid)
6 years ago
Michail Vourlakos 98587d11d4 make Latte panel background painting more important
--I reversed the logic meaning that the Latte panel
background painting in more important than the Plasma
original SVG painting. That way the animations between
panels painting become smoother with no glitches

BUG: 408552
6 years ago
Michail Vourlakos 1ef4de0da8 VASTLY IMPROVE dragging experience
--when dragging a new applet over the view
the responsiveness is now improved vastly
--the new architecture uses two different
DragAndDropAreas. One which is the old one
and is used when dragged launchers, urls and
separators. The second is used only when
applets are dragged into the view
--the visuals for adding launchers/applets have
been improved and a circular visual is preferred
now instead
6 years ago
Michail Vourlakos 29157f4636 refactor:rename managedLayout to layout/viewLayout 6 years ago
Michail Vourlakos d3ab078070 improve panelSpacing for !compositing 6 years ago
Michail Vourlakos 499c4eb1d1 update !compositing panelbackground used until now
--following plasma approach and use always
even for !compositing mode the widgets/panel-background
svg file. This way when Latte and Plasma panels are
combined there is uniformity between them.

BUG: 406597
6 years ago
Michail Vourlakos 4fe515fb8e fixe !compositing behaveAsPanel sizes calculations
--this patch positions correctly behaveAsPanel view
types in !compositing mode concerning and taking into
account maxLength and offset
--the patch introduces also an AppletsContainer to
substitute all three layouts of LayoutsContainer
6 years ago
Michail Vourlakos 1210e708c9 support automatic roundness to !compositing 6 years ago
Michail Vourlakos aaee132951 add outline width option in Preferences 6 years ago
Michail Vourlakos f3f6dccf65 support Outline option for compositing mode
--works much better than I was expecting and at the
same time it simplifies the PanelBox code a lot
6 years ago
Michail Vourlakos 661f3cad1b update panel backgrounds implementation
--there is now an always shown underlying layer that
provides full solidness for 100% panel transparency
--Colorizer.CustomBackground was updated in order to
support Borders drawing
6 years ago
Michail Vourlakos 7902bf8ce5 remove panel external margin 6 years ago
Michail Vourlakos faf38820d5 fix Blur Demonstration under editMode 6 years ago
Michail Vourlakos 9615c7362b enable Blur in LiveMode 6 years ago
Michail Vourlakos 39f302e149 set max highPanelMargin to 2px.
--this is plasma-style and that improves consistency
6 years ago
Michail Vourlakos 4702bc0694 improve how panel thickness is calculated
--always provide the needed high margin for the panel
background thickness
6 years ago
Michail Vourlakos fb522d6231 introduce new margins for containment 6 years ago
Michail Vourlakos 9c0b6fa60a smoothen a bit background changes in PanelBox 6 years ago
Michail Vourlakos 315a217d10 respect disabled background for all cases 6 years ago
Michail Vourlakos fd300ec9cf simplify colorize properties & active new options 6 years ago
Michail Vourlakos 9b9072d8f6 update qml code to follow windowTracker 6 years ago
Michail Vourlakos ad5286279f rename properties appropriately in containment 6 years ago
Michail Vourlakos b3eaa35506 fixes for incorrect references 6 years ago
Michail Vourlakos 1bd4e648bc add visual feedback for Blur in editMode 6 years ago
Michail Vourlakos 33034d7969 dont block shadow setting in editMode 6 years ago
Michail Vourlakos e869ae9a91 dont force dyn.background in editMode 6 years ago
Michail Vourlakos 387939bd0a update solid option to solid style
--Solid Style option is just a way to use the
Solid svg from the plasma theme
6 years ago
Michail Vourlakos 50eb9ec277 change distorted to busy background
--simplify semantics by updating distorted
term to busy background
6 years ago
Michail Vourlakos 6acd6d8476 identify distorted areas for dynamic background 6 years ago
Michail Vourlakos b732dab283 fix missing function parent 6 years ago
Michail Vourlakos f84043d28e REFACTOR:change dock in containment to latteView 6 years ago
Michail Vourlakos 67253eda9d REFACTOR:update qml to new Latte.Types 6 years ago
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
6 years ago