Commit Graph

248 Commits (ddcfe56eda9e0d42bd04984a348cdf37606a8c15)

Author SHA1 Message Date
Michail Vourlakos a24f6b85c2 drop totally shrinkThickMargins option
--the new per applet margins make that property
no relevant anymore
4 years ago
Michail Vourlakos 66361652ef floating,support two different struts thickness
- Hide Thickness Screen Gap scenario provides two different struts thicknesses.
--- [1] The first struts thickness is when there is no maximized window and is such case
---     the view is behaving as in normal AlwaysVisible visibility mode. This is very useful
---     when users tile windows. [bug #432122]
--- [2] The second struts thickness is when there is a maximized window present and in such case
---     the view is hiding all of its screen edges. It is used mostly when the view is wanted
---     to act as a window titlebar.

BUG:432122
4 years ago
Michail Vourlakos 50a1ee1db8 update input mask even for !normalState 4 years ago
Michail Vourlakos 10873a2295 activate properly mirror screen gap for panels 4 years ago
Michail Vourlakos 6e3c35510b move updateMaskArea() calls into VisibilityManager 4 years ago
Michail Vourlakos a5626c1e58 improve how updateMaskArea function is triggered 4 years ago
Michail Vourlakos 4ee4f875a5 remove deprecated code 4 years ago
Michail Vourlakos 0a9899491e remove dockIsHidden property
--use instead myView.isHidden
4 years ago
Michail Vourlakos e9cc81b03a drop isHalfShown for myView.isShownPartially
--provide also myView.isShownFully
4 years ago
Michail Vourlakos 16f846c72f rename to myView.alignment 4 years ago
Michail Vourlakos 8bf428becb fix warnings 4 years ago
Michail Vourlakos 2ed1bedd5f drop deprecated inForcedHiding 4 years ago
Michail Vourlakos 1ec0b924d4 rename to updateIsEnabled for Bindings 4 years ago
Michail Vourlakos 145a4b222c drop deprecated inSlidingAnimation 4 years ago
Michail Vourlakos a9bceda4be rename to inClientSideScreenEdgeSliding 4 years ago
Michail Vourlakos c859f17cab rename to isFloatingInClientSide 4 years ago
Michail Vourlakos 5c03022847 update naming to inNormalState 4 years ago
Michail Vourlakos 397e1324e9 update name to view.inRelocationAnimation 4 years ago
Michail Vourlakos 0e48caa5d0 rename to inForcedHiding 4 years ago
Michail Vourlakos cc81a0ae46 rename background.isGreaterThanItemThickness 4 years ago
Michail Vourlakos f6ddf52148 rename to inClientSideFloating 4 years ago
Michail Vourlakos c456599881 add option to mirror floating gap
--when a maximized window is present the
floating gap is mirrored above the dock or
panel in order to provide a much better
visual appearance
4 years ago
Michail Vourlakos 069455be4e provide struts based on screen gap
--following new norms and styles the struts
applying for Always Visible they now take into account
the screen edge margin and apply the same margin
also at their head thickness margin. If there is
much negative user feedback this might be reverted.

BUG:419731
4 years ago
Michail Vourlakos bb9564e11f fix input mask area length calculations
--effects area is not relevant when the dock is
hidden, in such case using localGeometry is a much
better approach and more accurate.

BUG:431273
4 years ago
Michail Vourlakos 33ad9069e0 make slide in/outs relevant to animations speed 4 years ago
Michail Vourlakos 9d3ebca4af provide stable struts thickness
--when a floating view is hiding its screen gap
there is no reason for struts to be added
during that phase. Published struts could be
the final expected window position in that case.

BUG:431255
4 years ago
Michail Vourlakos f8cce7acfa fix normalThickness value 4 years ago
Michail Vourlakos 919b0cbf8c rename view property 4 years ago
Michail Vourlakos 1181fc472c dont update GTK_FRAME_EXTENTS for floating state
--dont update when a floating Dock is hiding its screen
edge for a maximized window.
4 years ago
Michail Vourlakos 5fbabaf58f abilities: drop parabolic.lastindex property
--new approach is much cleaner to use
4 years ago
Michail Vourlakos 640e9b3802 fix starup thickness for floating dock
--when starting Latte and a floating dock
has chosen to hide its screen gap for maximized
windows, in that case was not updating its
window thickness properly
4 years ago
Michail Vourlakos de6f2282e6 remove all padding events code
--in favour of EventsSink approach that will
probably solve all corner cases of view sunk
events
4 years ago
Michail Vourlakos 2251b16338 wayland:enable new input event handling 4 years ago
Michail Vourlakos bc5ba50147 refactor:plenty of fixes for masks/input events
--use only input events in order to identify the area
from which a window accepts input and also remove almost
every mask-qml code handling
--by reducing mask usage to minimum we fix also the
BLACKLINE bug under X11
4 years ago
Michail Vourlakos ba94315ecb REFACTOR:input events and mask area
-- The new approach reduces mask area calls to
barely minimum. Input mask is used instead to
specify the area for which we accept input.
-- The new approach solves also the BLACKLINE issue
when hovering the view at startup. This is because
at all times the full window area is drawn.
4 years ago
Michail Vourlakos bc9e39a6b2 use valid paddings for sinked events 4 years ago
Michail Vourlakos 7c3b994cbb sinked_events:do not send for needlength animations
--fix a case of parabolic effect breaking when mouse
was hovering empty areas on the sides of the dock
4 years ago
Michail Vourlakos 167a19b748 sinked events:respect Fitts Law 4 years ago
Michail Vourlakos 74d9065f1f change applets margins/paddings approach 4 years ago
Michail Vourlakos 96fd421e9f sinked events:various fixes
--disable sinked events when parabolic effect is
enabled. It needs to be rethought how this could work
properly with parabolic effect.
4 years ago
Michail Vourlakos 746f32050d adjust mouse events relevant to view paddings 4 years ago
Michail Vourlakos 0f06f00855 upgrade debug maskEnabled to Abilities 4 years ago
Michail Vourlakos 1431feae8c upgrade debugMode to Abilities 4 years ago
Michail Vourlakos 0a35af87d9 upgrade thickness.normal to Abilities 4 years ago
Michail Vourlakos f1c615fd0f upgrade thickness.maxNormalForItems to Abilities 4 years ago
Michail Vourlakos 4bdbd6c358 upgrade thickness.maxNormal to Abilities 4 years ago
Michail Vourlakos 33e0dab320 upgrade thickness.zoomed to abilities 4 years ago
Michail Vourlakos 0c5670c653 upgrade thickness.maxZoomed to abilities 4 years ago
Michail Vourlakos f0092a9f6e drop thicknessMidOriginal 4 years ago
Michail Vourlakos 72aef4dbd7 upgrade thickness.hidden to abilities 4 years ago