Commit Graph

269 Commits (117e8e2dc3e1241c562aca9d5b18281ec059d5a4)

Author SHA1 Message Date
Alexander Lohnau 505379ed04 Use spdx syntax for all files 4 years ago
Michail Vourlakos a001eab39c provide isSidebar flag for view::visibility 4 years ago
Michail Vourlakos f2dda7347c set input mask properly for hidden sidebars
--do not enable any input mask for hidden sidebars
4 years ago
Michail Vourlakos c0e768c73c move external bindings in their own file 4 years ago
Michail Vourlakos 7e26d54a08 do not start sliding ins/outs with no reason
--ViewPart:VisibilityManager is sending events
to show or hide but it can not validate the view
visual state meaning is hidden, sliding in/out, blocked
etc. That role is taken from Containment::VisibilityManager
that accepts that signals and in case the state are
requesting is already provided then in such case
these signals are ignored.
--This way myView flags for inSlidingIn/Out/PartiallyShown/FullyShown
etc are providing valid values in some previous
problematic scenarios
--This fix solves the issue that parabolic effect with Tasks Previews
it was not too responsive but it had many glitches
4 years ago
Michail Vourlakos 5f29378bf4 update/fix broadcasted appletsLayoutGeometry
--this way popups are placed even better from
plasma style docks/panels
4 years ago
Michail Vourlakos 4e5b3dd957 fix bottom/right calcs for floating nointeract gap 4 years ago
Michail Vourlakos e45bb95433 improve how applets are positioned based on pads
--improve a lot how applets are positioned in
different alignments and more specific take into
consideration the background roundness and the
items specified length margin in order to provide
always the most consistent look for the user
4 years ago
Michail Vourlakos d37984c6d9 remove deprecated check 4 years ago
Michail Vourlakos 518445027d containment:enable startUp flag from layout manager 4 years ago
Michail Vourlakos 16b83772e3 fixes for Sidebars hiding/showing behavior 4 years ago
Michail Vourlakos a94d68d9b6 pixel perfect popup placement
--at the same time improve a lot background length
calculations and various alignments published
layout geometry in order to correspond much
better to real visible estate
4 years ago
Michail Vourlakos f5fb12e8da position latte panels pop ups really nice
--expose appletsLayoutGeometry through Latte::View
dynamic properties and allog LattQuick::Dialogs to
use it in order to be positioned nicely
4 years ago
Michail Vourlakos 945b8ba5ea expose margin values in pixels for the user
--margin values are in percentage, now the user
is able to hover over these values in order
to be informed how much they are calculated in
pixels
4 years ago
Michail Vourlakos d420a75b8a view nextLocation show properly after slidein
--show view completely after slide-in and after the
slide-in animation has completed trigger visibiliy
checks based on regular visibility criteria
4 years ago
Michail Vourlakos 64ffeaefc4 dont block hiding for sidebars 4 years ago
Michail Vourlakos b235e6cc96 update view alignment to new architecture
--view alignment can now be updated either by
editdock window or through views dialog in
settings window
4 years ago
Michail Vourlakos 3ec142d3a2 drop deprecated screen edge relocation codepath 4 years ago
Michail Vourlakos 7b817893f0 fix #53,calculations for hidden input in LeftEdge 4 years ago
Michail Vourlakos c67a877556 fix Floating Gap SideBar case not accepting input
BUG:433820
4 years ago
Michail Vourlakos 393db028b7 provide access below screen margin for Docks
--using hidden VisibilityManager::floatingGapWindow
implementation in order to provide full access for
the area which is below the screen margin when the
user has disabled user interaction for that area

BUG:433820
4 years ago
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