Commit Graph

588 Commits (60bc8ee65b49e9c28973f89e3c299a95e0de5b96)

Author SHA1 Message Date
Michail Vourlakos 3f90a49b55 applet:use last mouse event after dock slide-in
--this way the parabolic effect works nicely after
the dock slides-in. In the past there was a chance
that even though mouse was hovering an parabolicable applet
the parabolic effect was not started because parabolic
event was rejected because the dock was not fully shown
yet
3 years ago
Michail Vourlakos fe63a63efc clones:fix parabolic behavior on alignment changes
--more specificaly before this patch when the host
dock was changing from justify to center alignment
clones parabolic effect did not work as intended
3 years ago
Michail Vourlakos 59b422448b fix #100,introduce parabolic edge spacers for main
--new introduced external spacers of main layout are
used from parabolic effect in order to keep the contents
of main layout in balance. That produces a much better
visual result for the user because when the user hovers
an item, that item is zoomed and the mouse is still
present at first hovered position.
3 years ago
Michail Vourlakos 11f42978fa specify input mask when parabolic effect applied
--trying to handle this way all jumpiness from parabolic
effect when dock is at the bottom edge and the user moves its
mouse at the top edge of the parabolized item. When the mouse
slightly exits the item ParabolicMouseArea and gets a mouseEntered
signal even though, it should not and immediately gets also
a mouseExited signal to correct things. This happens exactly
after the Paraboli.sglClearZoom() signal has been triggered.
3 years ago
Michail Vourlakos 097ceed7d2 split thickness margins to tail and head
--make head thickness margin and tail thickness
margin totally independent
--ability item: reanchor it based on the screen edge
like applets are already doing
--adjust tasks animations in order to take into
account the anchoring
--parabolic effect adjust calculations to use
new thickness margins
3 years ago
Michail Vourlakos 219e901e87 zoom:improve response on first and last items
--improve zoom behavior for first and last items when
the user hovers them before any other item is hovered
and zoomed
3 years ago
Michail Vourlakos 60095bba3b fix #96,FEATURE:AllScreens and AllSecondaryScreens
--This is a HUGE FEATURE and so important for multi-screens
users. It is introduced as one single commit because it
reimplements plenty of infrastructure changes and it will
be easier to identify newly introduced bugs.
--Users can now choose for their docks and panels to belong
at various screen groups. The first two screen groups introduced
are AllScreens and AllSecondayScreens. In the future it might
be possible to provide CustomScreensGroup that the user will
be able to define specific screens in which a dock or panel
should be always present.
--Current solution specifies an Original dock or panel and clones/copies
itself automatically to other screens. So docks and panels in other screens
are just real docks and panels that reference themselves to original
docks and panels.
--Clones are destroyed during layout startup and are automaticaly
recreated. It is suggested to export your layouts through the
official Layouts Editor in order to share them because in that case
clones are not included in the new generated layout file. If in any
case you do not this and you share your layout with any previous
versions then your clones will just appear as separate docks and
panels that belong to specific screens.
--Automatic syncing was introduced in order to keep up-to-date
the configuration of Original docks and panels with their referenced
Clones.
--Automatic syncing currently works for all docks and panels settings,
for all normal applets configurations and for all subcontaiments
configuration such as systrays.
--Automatic syncing does not work for applets inside subcontainments
such as Group Plasmoid. In such case it is suggested to configure
your applets inside your Group Plasmoid in the original dock or panel
and afterwards to trigger a recreation for the relevant clones
--Manual recreation of clones is easily possible by just choosing
the dock or panel to be OnPrimary or OnSpecificScreen and rechoosing
afterwards the AllScreensGroup or AllSecondaryScreensGroup
3 years ago
Michail Vourlakos 98f39e17e3 parabolic:fix applets clearing issue 3 years ago
Michail Vourlakos b1c3594367 provide ParabolicEffect spread option
--this way the user can choose to use a much
greater parabolic effect that will influence five
or seven of its neighbours instead of just three.
The new option can be found at Latte Global Preferences.
3 years ago
Michail Vourlakos 4de51de221 dragging:respect placeholder in length fill calcs
--reduce glitches when dragging applets around and there
are also fillLength applets in Justify alignment
3 years ago
Michail Vourlakos c6ea796f00 fill one pixel gap of justify splitters 3 years ago
Michail Vourlakos 9351277cd7 anchor thin tooltips on their visual parents
BUG:447631
3 years ago
Michail Vourlakos 321a50627d plenty of fixes when dragging/moving applets 3 years ago
Michail Vourlakos eda019016d Indicators:expose more options for Icons
--the following options are exposed to indicators
in order to use them to their preference:
----iconTransformOrigin
----iconOpacity
----iconRotation
----iconScale
3 years ago
Michail Vourlakos 9ce7c5b72d respect applet maximumLength==0
--if the applet has set maximum length to
zero then the applet should not be shown
3 years ago
Michail Vourlakos e2b98892e5 simplify latte indicator implementation
--fix also the line animation in order to be always
played correctly
3 years ago
Michail Vourlakos ea500a8ec0 indicators:expose iconOffsetX/Y to applets
--expose iconed applets indicator iconOffsetX/Y setting
and this way animate applet icons if the indicator
would like to do so
3 years ago
Michail Vourlakos 04929b0138 do not clip applets at all cases
--this way cases that applets painting such as
shadows, blur etc. is out of the applets contents
they are still painted
3 years ago
Michail Vourlakos 33428af95b default roundToIconSize for applets in panels 3 years ago
Michail Vourlakos c9515a0353 activate through mouse wheel more applets
--when an applet is not identified as expandable
but on the other hand has activated the flag
activationTogglesExpanded then for those
applets the mouse wheel option should also
trigger an activation event
3 years ago
Michail Vourlakos a2813a1c43 fix Fitt's Law for parabolic effect items
--fix Fitt's law for items touching the screen
edge and at the same time using parabolic
effect
3 years ago
Michail Vourlakos d84e50a594 restack applets internal ClickEffect
--internal click effect is now moved to CompactApplet
which is much better place to be. This way fullrepresentation
applets do not use it at all
4 years ago
Alexander Lohnau 505379ed04 Use spdx syntax for all files 4 years ago
Michail Vourlakos 9d916aba35 improve anchoring for Paddings visual
--this way the new anchoring is totally independent
of parabolic effect
4 years ago
Michail Vourlakos a718d8d58a support aboutToQuit application signal on exit
--add also shadows to tasks window thumbnails
4 years ago
Michail Vourlakos a153ed71f7 ignore MarginsAreaSeparators at PositionShortcuts 4 years ago
Michail Vourlakos 069bbfc41a provide valid placeholderlength for autofill dragged 4 years ago
Michail Vourlakos 1f79546b39 fix indicators applet specific margin 4 years ago
Michail Vourlakos 62efa97e61 plenty of fixes for FastLayoutManager
--remove also the deprecated javascript LayoutManager
4 years ago
Michail Vourlakos 07d9d63338 new distinct MarginsAreaSeparator visual 4 years ago
Michail Vourlakos 15cf2b2b5f replace more functions with fastLayoutManager 4 years ago
Michail Vourlakos 37721a2628 dont force margins for AutoFill applets
--this way the Tasks scrolling is not triggered
when no needed

BUG:433754
4 years ago
Michail Vourlakos 19b1a8c67d margins separator visual for inConfigure 4 years ago
Michail Vourlakos f3fd4a051e draw MarginsSeparator visual paddings 4 years ago
Michail Vourlakos d12d92ac68 Ability.BasicItem respect MarginsArea size 4 years ago
Michail Vourlakos 219c1b5e05 do not draw indicatorPaddings for PlasmaAutoFill 4 years ago
Michail Vourlakos 1e99b97def draw MarginsAreaSeparator visual paddings 4 years ago
Michail Vourlakos 2e70abb41a preserve applets length inMarginsArea
--inMarginsArea the applet length is still
calculated by metrics.iconSize
4 years ago
Michail Vourlakos 992f98389d dont roundToIconSize only for parabolic effect 4 years ago
Michail Vourlakos a72931fc41 identif Applet.ConstraintHints properly 4 years ago
Michail Vourlakos aaf562a207 not CanFillArea applets behabe as MarginsSeparators 4 years ago
Michail Vourlakos 69f466fd2f fix parabolic effect for MarginsAreaSeparators 4 years ago
Michail Vourlakos 87f42e4817 proper margins for CanFillThickness applets 4 years ago
Michail Vourlakos 35e9880ce7 provide AppletItem.canFillScreenEdge 4 years ago
Michail Vourlakos c3e8c5c8af expose Indexer.inMarginsArea through AbilityBridge 4 years ago
Michail Vourlakos a5ceb16e39 provide proper Metrics values for MarginsArea 4 years ago
Michail Vourlakos a67656c2f2 fixes and update elements margins for inMarginsArea 4 years ago
Michail Vourlakos 9abc937fa6 update applet margins for inMarginsArea 4 years ago
Michail Vourlakos 9929d1fa8e identify when applets are inside margins area 4 years ago
Michail Vourlakos fc34150d73 Indexer track marginsAreaSeparators 4 years ago