Commit Graph

34 Commits (0794c0e84f38f96e73fff1cb513320b2b247efd8)

Author SHA1 Message Date
Michail Vourlakos 3a0a95e6a9 refactor: rename properties in View::Effects
--effectsArea became "rect"
--maskArea became "mask"
6 years ago
Michail Vourlakos 47c3d6fb41 refactor:move effects and mask at own dock class 6 years ago
Michail Vourlakos 3553415c59 load roundness theme info properly 6 years ago
Michail Vourlakos f2d088a297 add theme roundness option at preferences page 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 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 820dff0bb5 improve calculations of panelEdgeSpacing 7 years ago
Michail Vourlakos e0707b684e fix #956,take into account panel transparency
--implementation of the design decisions described at
issue #957. Panel Background and Dynamic Background
options interact with each other concerning
panel transparency and triggering of solidness or
transparency.
7 years ago
Michail Vourlakos 60531484e9 simplify PanelBox states
--combine Center and Justify panel alignments
concairning their anchoring
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 a75984f564 force solidness in behaveAsPlasmaPanel
--when we are able to force solidness even though
the plasma theme may never provides that, because
the svg file has some tranparencies in it. Then
for such cases we support it. Such is case is when
the panel is behaveAsPlasmaPanel and maxLength=100%
7 years ago
Michail Vourlakos cce68d0653 update maskArea when effectsArea is changing
--this applies only in !compositing mode, because
is that mode effectsArea is always more accurate
instead of the mask calculations!
7 years ago
Michail Vourlakos 6d08319c10 disable dynamicBackground for !compositing
--disable also the panel opacity for !compositing
7 years ago
Michail Vourlakos 4e4ae54896 fix warnings from PanelBox 7 years ago
Michail Vourlakos 976494ed09 enable smooth animation when changing alignments 7 years ago
Michail Vourlakos fbe1fd4268 update runtime behaveAsPlasmaPanel in editMode 7 years ago
Michail Vourlakos 2d16bcd976 draw panel background correctly after themeChange 7 years ago
Michail Vourlakos 920de6cd6e fix RTL layout for vertical and alignments 7 years ago
Michail Vourlakos f22d5c85b2 support solid background with opacity for maximized
--the user may prefer solid background with opacity
when using the maximized windows functionality. This
patch enables this
7 years ago
Michail Vourlakos c5b99b4576 improve background animations when changing states
--when the background is shown or not (e.g. for maximized
windows) or when changing its transparency it is animated
in a better way
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 339b570c35 fix #713,solid background for maximized windows
--this works similar with transparency with no-maximized
windows feature but on reverse. e.g. transparency for
non-maximized windows and solidness for maximized ones
--opacity to 1 when applet is active
--when the user uses a semi transparent panel for
un-maximized active windows and the user activates
a pop up for an applet a better visual effect is the
panel to not have any transparency
--improve translation strings and options order
7 years ago
Michail Vourlakos 79c4defad6 show panel background faster at !compositing
--disable animations for panel opacity at
!compositing
7 years ago
Michail Vourlakos ad0a66804f small fixes for warnings and types 8 years ago
Michail Vourlakos db78a5b622 fix #498,translate 0% margin to 0px margins 8 years ago
Michail Vourlakos 3d8c8179e2 refactor layouts in containment
--simplify and organize a bit more the main.qml
in containment and move logic into LayoutsContainer
8 years ago
Michail Vourlakos b922b2c7e3 improve criteria for backOnlyOnMaximized case
--animate show/hiding background including its
internal shadows
8 years ago
Michail Vourlakos 9d55a65bf5 fix #469,support show background on maximized only
-- the user can choose this behavior from the Tweaks page,
the panel background in shown only when there is maximized
window and it is fully transparent otherwise
8 years ago
Michail Vourlakos 7c07385c10 fix #453,substitute absolute build path references
--fixes the kdesrc-build installation
8 years ago