Commit Graph

63 Commits (f81e3cdc3afa640e2bd876a7edab4f6c94dcb4aa)

Author SHA1 Message Date
Michail Vourlakos f81e3cdc3a provide visual feedback when layouts overlap
--in configure applets mode when the layouts overlap
with main centered layout then visual feedback is provided to
the user in order to help him understand in which
layout each applet belongs
5 years ago
Michail Vourlakos df9eda426f improve Justify splitters behavior inConfigure
--justify splitters now the offset themselves when
startLayout or endLayout are too big
5 years ago
Michail Vourlakos 2ef0cdd944 introduce Layouter ability 5 years ago
Michail Vourlakos 66f8cce6d9 introduce Layouter Debug mode
--really handy and beautiful in order to confirm the
calculations that are valid. Already a bug was found
for ParabolicEffect. There is 1px difference between
hovering Tasks and Applets
5 years ago
Michail Vourlakos 39cc767eed drop panelUserSetAlignment not used anymore 5 years ago
Michail Vourlakos 95462fe5e6 fix maxlength applied inConfigureApplets mode 5 years ago
Michail Vourlakos 75c14b504e main layout on top of start and end layouts 5 years ago
Michail Vourlakos f715c5bbd5 various fixes for backgroud/items offsets 5 years ago
Michail Vourlakos dd4e4fb79d rename all Background.MultiLayer values
--much better and understandable names are now used
5 years ago
Michail Vourlakos fe370bf885 improve all binding for containment
--use the Binding.when property in order to identify
when a binding is triggered or not
5 years ago
Michail Vourlakos 6ae3c499f0 block calculations for applets changing parents 5 years ago
Michail Vourlakos 97a1c3fdb8 NEW Intuitive InConfigureApplets Mode
--I have managed to solve most of the issues that were
preventing a live demonstration of applets layout
during InConfigureApplets mode... Things are more
intuitive now are updated correctly between different
layout areas... enjoy...
5 years ago
Michail Vourlakos 28ec313bd2 track container fill calculations better
--container fill calculations are now tracked much
better when they are applied.
--as an improvement fill calculations are now taking place
at all edit mode states. So inConfigureApplets mode
the fill(s) applets do not throw out of screen
applets that are the layout edges
5 years ago
Michail Vourlakos 30aa8963cb fixes for Fitts Law applet margins 5 years ago
Michail Vourlakos a622485a47 fix warnings 5 years ago
Michail Vourlakos 87ffc22f6a remove AppletsRecords container ability
--use the all new much better infrastructure
to track applet abilities requirements
5 years ago
Michail Vourlakos e3e4ee4c5a fantastico! full decoupled parabolic effect
--This is the first commit that demonstrates also
a beautiful and easy way to gain properties from
multiple applets that support specific activities
5 years ago
Michail Vourlakos 63500ed524 HoveredIndex:Drop for containment
--a new implementation is needed which is going
to be simpler and lighter. Removing the current
implementation, parabolic effect works just fine
without issues and feels more responsive.
5 years ago
Michail Vourlakos 22f9bdd6a7 use Metrics Ability for screenEdgeMargin 5 years ago
Michail Vourlakos 1c6fef6c12 move thickMargin(s) to Metrics Ability 5 years ago
Michail Vourlakos 97e7c428b7 rename Ability.Container to Metrics
--major change but improves readability a lot
5 years ago
Michail Vourlakos 6a558df10b refactor:add Containment.AnimationsAbility
--change/update the animations api in order to
be understandable and easier to maintain/debug
5 years ago
Michail Vourlakos 39fbf728d5 rename actions for LatteContainment.scrollActions 5 years ago
Michail Vourlakos ac99708315 MAJOR MAJOR:splitting types to their own component
--improve types and references and add types splitted
at better places. So now we have
 - LatteCore.Types that are global for all components
 - LatteTasks.Types that are private to tasks plasmoid
 - LatteContainment.Types that are private to latte
containment
5 years ago
Michail Vourlakos 214447b12f make AutoItemSizer an Ability called AutoSize 5 years ago
Michail Vourlakos a72c30f763 replace containmentAb name with container 5 years ago
Michail Vourlakos 0db7b29a2d Abilities:move iconSize to containmentAbility 5 years ago
Michail Vourlakos 5073939335 REFACTOR:split up and refactor liblatte2 and types
--use a more logical organization for types. LibLatte2
is split to become LatteCore library and Latte types
are now moved to application level. The Latte Types will
be split even more... Tasks-Only related types will
become Latte.Tasks types

BUG:420210
5 years ago
Michail Vourlakos 7f4ff70950 upgrader:Alignment instead of PanelPosition
--ContainmentQuickItem is now using alignment
in its configuration
5 years ago
Michail Vourlakos 86ddc74cbb fix EnvironmentActions anchors
--EnvironmentActions follow mainLayout alignment
and anchor style at all cases
5 years ago
Michail Vourlakos 58fcd834d7 fix draging responsiveness for active window 5 years ago
Michail Vourlakos 2a7a009046 dont drag active window with mid click 5 years ago
Michail Vourlakos 88cd15af63 add a mouse wheel delayer for EmtpyAreas
--add a mouse wheel delayer like in other Latte
MouseArea(s) in order to limit the actions
executed through mouse wheel in one second.
The user can now execute five actions at maximum
in one second.
5 years ago
Michail Vourlakos dabc7bfe88 option to toggle windows minimized state
--mouse wheel can now be used from panel empty areas
in order to minimize windows or cycle between them.
The action is called ScrollToggleMinimed. When that
option is used the user can also use Ctrl+ScrollUp
in order to maximize a window or Ctrl+ScrollDown
to restore it
5 years ago
Michail Vourlakos 77b66e85e0 option to close active window with mid click
--an option to close active window with middle
click from empty areas
5 years ago
Michail Vourlakos 4809703e9f remove common global indicators options
--enabledForApplets and lengthPadding for indicators
has now moved to indicators responsibility to handle
--as a consequence usesPlasmaStyle has been removed
from indicators API. The corner cases that indicators
conflict with plasma theme applets should be handled
differently and in a different way
5 years ago
Michail Vourlakos 783906d244 dont autoposition Layouts for inLocationAnimation
--block default-autopositioning for Layouts when the user
is changing location for the View. This way we are
trying to avoid issues concerning animations and glitches
during that animation.
5 years ago
Michail Vourlakos 103de33c92 trying to implement real panels sliding in/ou 5 years ago
Michail Vourlakos 074d9efee1 use all floating screen gaps for Fitt's Law 5 years ago
Michail Vourlakos 4bffa9736a improvements to settings layout
--fix also some left of warnings from
screen edge margin
5 years ago
Michail Vourlakos c8bd9553c8 update EnvironmentActions for screenEdgeMargin 5 years ago
Michail Vourlakos 747d4870a0 introduce AutomaticItemSizer and add protector
--the automatic item sizer algorithm now is present
in its own class/responsibility area. As a new
improvement/fix the new implementation provides also
a protector/tracker that when the current prediction
to grow has already be applied two steps back in
history then the growing is not applied. This way
endless loops with growings and shrinks are blocked.

BUG:414180
FIXED-IN:0.9.5
5 years ago
Michail Vourlakos 2577c33b7d improvements for margins/paddings
--fix also how firstVisibleIndex is tracked for
AppletContainer(s)
5 years ago
Michail Vourlakos 5aac422a65 Fitt's Law improvements for applets
--each applets layout can not identify properly
which applet is the first/last visible from its
contents. This way we can now identify properly
at all cases which applets should remove their
margins in order to follow Fitt's Law at screen
edges. For example when a windows buttons applet
is found at the screen edge and suddently it
hides itself then the next visible applet should
be considered at screen edge and such should remove
its margins in order to touch the screen edge.
5 years ago
Michail Vourlakos d8a32fa18a load an indicator for the view background
--this way the plasma android-style click can be
triggered for empty areas
5 years ago
Michail Vourlakos 8cf49b672c remove obsolete draggingStarted signals/slots
--draggingStarted signals/slots were used in order
to handle the active window dragging from empty areas.
The new approach ungrabs the mouse properly through
View relevant function and at the same time sends a
QEvent::Leave event to inform applets that the mouse
has left the view. This is enough in order to remove
any older draggingStarted workarounds and hacks.
6 years ago
Michail Vourlakos bc94001cc8 reverse scrolling for vds/activities switching
--Latte should use the same workflow paradigm for
switching vds and activities with the plasma pager
approach. This commit complies with this.

BUG:411086
FIXED-IN:0.9.2
6 years ago
Michail Vourlakos 64589345ff update fills applets in LiveEditingMode 6 years ago
Michail Vourlakos 1051372e04 expose to qml builtin activity/vds switching
--tested that this fixes also the Latte crash
on exit as PagerModel is not used any more in
Latte internal code
6 years ago
Michail Vourlakos e25da5a668 update Containment Windows Tracking with screens
--new screens implementation for Latte screen
tracking
6 years ago