Commit Graph

86 Commits (7a11670e338b125353e29142611c2388f470afe7)

Author SHA1 Message Date
Michail Vourlakos 105655310a improve edit mode sliding in animation 6 years ago
Michail Vourlakos 03f507b09c improve liveediting for maxLength changes
--the user can now get visual feedback also for
Justify mode changes that are influenced by
maxLength and offset changes
6 years ago
Michail Vourlakos 20a57f3c15 improve edge changing animation 6 years ago
Michail Vourlakos 5665efd31f add a publishing state to simplify things
--this way the syncGeometries calculations are
reduced
6 years ago
Michail Vourlakos db6a4e9d0d make struts and Always Visible lighter
--support them also in Live Editing
6 years ago
Michail Vourlakos 9d76dc7284 consistent metrics between different states 6 years ago
Michail Vourlakos 0b90411b1d IMPORTANT: All new Indicators architecture
--this huge commit contains all the changes needed
in order for Latte to load Indicators dynamically
from their own packages
6 years ago
Michail Vourlakos 8be388b893 improve vastly the indicators arch independence 6 years ago
Michail Vourlakos f06e3415de restore mask calculaltions for noCompositingEdit 6 years ago
Michail Vourlakos 25b636465a split animations and make par.effect independent 6 years ago
Michail Vourlakos 01e60370b0 consider shadows for updating needed mask
--avoiding circumstances that the shadows are broken
because the mask is too small
6 years ago
Michail Vourlakos f1a34ce437 add hacks in config windows for inner shadow 6 years ago
Michail Vourlakos e1c964ea34 move external shadow under liblatte2 6 years ago
Michail Vourlakos 0816e2b8aa fix top masking during editMode
--improve also identifying when subtracting
edit mode mask is needed
6 years ago
Michail Vourlakos c21d355f9a fix calculations for maxThickness 6 years ago
Michail Vourlakos 94415e24b4 improve config windows calculated geometries 6 years ago
Michail Vourlakos 736d068a44 improve masking for config windows
--now config windows are masked properly in order to
accessible to all of their areas. By design the config
windows are trying to be below the main view, this is
why masking is needed in order to work properly and not
having areas that can not be clicked/accessed because
of the top Latte View
6 years ago
Michail Vourlakos 542174f296 make edit visual totally dynamic
--meaning that edit Visual can contain more
elements than just the usual ones and as such
we can now add a "Rearrangement" option to make
things easier to switch between live/static editing
6 years ago
Michail Vourlakos 527cddb72d update Ruler and EditVisual
--improve and restructure all editMode in order
for Ruler and EditMode to be ready to accept more
direct available settings in settings overlay
section.
6 years ago
Michail Vourlakos 9615c7362b enable Blur in LiveMode 6 years ago
Michail Vourlakos 6db1ca7b5d fix typo 6 years ago
Michail Vourlakos c69271f9e0 restore panel thickness in editMode 6 years ago
Michail Vourlakos ab9eb5d536 consider also editMode mask requirements
--take into consideration the margin needed between
the contents and MaxLength ruler in order to calculate
correctly the thickness needed
6 years ago
Michail Vourlakos dd1c3f61b8 increase mask thickness when indicators needed it 6 years ago
Michail Vourlakos fb522d6231 introduce new margins for containment 6 years ago
Michail Vourlakos c6178e58bd only touching windows at DynamicBackground criteria
--at the same time disable Blur for isBusy state of
panel drawing

BUG: 404483
6 years ago
Michail Vourlakos 507e7ffde8 expose existsActiveWindow from windowstracker 6 years ago
Michail Vourlakos 7772ee2855 add Type property for Latte::View
Summary:
--this way any part interested to know the
real type of Latte::View it can access the
all new type() property

Test Plan:
test view settings that indicate correctly
the panel/dock type

Reviewers: trmdi, #latte_dock

Reviewed By: trmdi

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D18926
6 years ago
Michail Vourlakos 1e65211277 DodgeAllWindows now uses WindowsTracker
--this way we use the same code for Dynamic
Background and DodgeAllWindows
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 eab2851e4e respect Blur for forcePanelForDistortedBackground 6 years ago
Michail Vourlakos 5e09a41e99 refactor:remove no needed colorizer signals
--the new infrastructure to track background
brightness does not need communication between
universalsettings and view colorizer enabler
6 years ago
Michail Vourlakos 81335bc92f improve LayoutManager qml references 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 44006f2fe6 refactor:move dockTransparency to View::Effects
--rename dockTransparency to backgroundOpacity
6 years ago
Michail Vourlakos 885e438143 refactor:colorizerSupport moved to View::Effects
--renamed also from colorizerSupport to colorizerEnabled
6 years ago
Michail Vourlakos 3de7993b8d refactor:move shadow to Effects
-rename also to shadow to innerShadow for
better naming. This shadow is used when the
shadow is drawn inside the window from qml
side, such examples are the dock case and the
editVisual case
6 years ago
Michail Vourlakos 253ca3085a fix warnings 6 years ago
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 71d648437f move dock positioning code into its own class 6 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 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 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 285d00a21c dont blur in forceSolidPanel if it was deactivated 7 years ago