Commit Graph

557 Commits (ddcfe56eda9e0d42bd04984a348cdf37606a8c15)

Author SHA1 Message Date
Michail Vourlakos b5ceb4d91a tasksparabolic:use view triggering values 4 years ago
Michail Vourlakos 259f04f7c9 view:forward ParabolicEnter from c++ 4 years ago
Michail Vourlakos a1ec6de412 tasks:make parabolic effect fixes 4 years ago
Michail Vourlakos d3eed82145 adjust tasks to new parabolic approach 4 years ago
Michail Vourlakos 751a4f6713 appletItem:provide its own Parabolic Area
--move the parabolic effect code in its own item
and thus making it a lot cleaner to maintain and
debug
4 years ago
Michail Vourlakos ae9836ccba first iteration for new parabolic 4 years ago
Michail Vourlakos bc9e39a6b2 use valid paddings for sinked events 4 years ago
Michail Vourlakos f45c6eea87 remove edge applet special spacing 4 years ago
Michail Vourlakos 34f1eff125 remove separator length based on latte setting 4 years ago
Michail Vourlakos 1650518935 autofill applets use same length paddings/margins 4 years ago
Michail Vourlakos 7ef490932d add visual identifiers for paddings 4 years ago
Michail Vourlakos c123bc40e1 fix/adjust InternalViewSplitter placement
--for the new paddings approach
4 years ago
Michail Vourlakos ae650bbcf7 disable some qml side events hacks
--with new padding approach we can be more certain
when the overlaied parabolic effect mousearea is
really needed
4 years ago
Michail Vourlakos c7ff929e35 auto-lock applets in more generic way 4 years ago
Michail Vourlakos 654c35cfec add visual debug rectangle for applets 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 a74a6ee3ff remove hack to activate applets from floating area
--by using the new approach from plasmaviews that take
into account paddings, any hacks to activate applets through
other codepaths are not needed any more.
4 years ago
Michail Vourlakos 0112df9c5d alter Abilities.Definitions, Abilities.Definition 4 years ago
Michail Vourlakos af2ff10c42 fix containment Debugger renaming
BUG:429846
4 years ago
Michail Vourlakos 1431feae8c upgrade debugMode to Abilities 4 years ago
Michail Vourlakos aef310bf36 upgrade debug spacers to Abilities 4 years ago
Michail Vourlakos 7f00ff7af2 upgrade layouter debug flag to Abilities 4 years ago
Michail Vourlakos 1e985590b5 upgrade debug timers flag to Abilities 4 years ago
Michail Vourlakos 13a4b64118 upgrade overloadedIcons/Window debug flags Ability 4 years ago
Michail Vourlakos 169b7d6aae introduce Debug Ability 4 years ago
Michail Vourlakos 24661fb91f plasmoid:fix latte style applets thickness 4 years ago
Michail Vourlakos 88ea6e370e add isEnabled to parabolic Ability 4 years ago
Michail Vourlakos b230812b0a respect applets screenEdgeMarginSupported
--provide proper thickness for applets that can support
properly Latte floating docks
4 years ago
Michail Vourlakos 589b5f009c applets:dont enable overlay hovering if not needed 4 years ago
Michail Vourlakos 76ec713c9d update for thin tooltips and auto size behaviors
--make their behavior more understandable and predictable
based on dock and panel types
5 years ago
Michail Vourlakos a3989d1c2a improve semantic for inRelocationHiding view phase 5 years ago
Michail Vourlakos e92f168abe show vertical systrays propertly
--do not enforce hidden applets for preferredLengths
that equal zero
5 years ago
Michail Vourlakos e4437b7f66 abilities:introduce UserRequests 5 years ago
Michail Vourlakos f5cc1f8f81 abilities:provide animations.requirements
--applets animations ability can now be used to
provide a zoomFactor that is needed from their
animations
5 years ago
Michail Vourlakos 2ba90621f7 fixes for Applets Indicators sizing
--indicators should take into account the current applet width
in order to take up more space that it is needed
5 years ago
Michail Vourlakos 2ea8d389ec dont block length margins for EdgeSquare applets 5 years ago
Michail Vourlakos edb943db6b fixes for spacers and positioning of behaveAsPanel
--fix positioning for Right/Bottom alignments when
View behavesAsPlasmaPanel
5 years ago
Michail Vourlakos 271089ef33 more improvements for Tasks applet 5 years ago
Michail Vourlakos f3df399f55 update some parabolic effect functions 5 years ago
Michail Vourlakos 2343933408 remove Container ParabolicManager
--this is not needed any more from the container.
All its functionality is provided from various
Container Abilities.
5 years ago
Michail Vourlakos 05bc900a6d fix multiTasks global shortcuts on position
--multi Tasks now work properly with global
shortcuts on position even when only one of them
is stealing them for its own use.
5 years ago
Michail Vourlakos 7176febb09 move badges tags in PositionShortcuts ability 5 years ago
Michail Vourlakos fa4ffbf521 use PositionShortuts Ability for activate/new 5 years ago
Michail Vourlakos dc78257962 improvement for Container::OnPositionShortcuts
--bind On Position Shortcuts Container ability
with View::ExtendedContainmentInterface implementation
5 years ago
Michail Vourlakos 3c73bff0ac use Indexer Ability for shortcut badges 5 years ago
Michail Vourlakos 949b2a4c3b AutoFill applets must never exceed maxgivenspace
BUG:421786
5 years ago
Michail Vourlakos 737f680853 fix more binding loops for AppletItem 5 years ago
Michail Vourlakos 12d6302fc3 fix binding loops and warnings 5 years ago
Michail Vourlakos 5ea28513c2 respect applets thickness properties 5 years ago
Michail Vourlakos bac3502f2c fix bindingloop from Applet.lengthAppletFullMargin 5 years ago
Michail Vourlakos 419b2bfb6d fix binding loop for Applet::layoutThickness 5 years ago
Michail Vourlakos c9caa408ea update Layout preferred values for Tasks 5 years ago
Michail Vourlakos fe4704e355 block par.effect for applet popups 5 years ago
Michail Vourlakos 6ae1613f87 fix some Bindings loops for AppletItem
--a nice check for Binding is too check is
latteView is provided. If it is null, e.g.
during exit Bindings can be blocked.
5 years ago
Michail Vourlakos 55c856d4f5 rename Applet property parabolicEffectIsSupported 5 years ago
Michail Vourlakos 707fc8bca9 improve AppletItem.layoutLength binding
--it is now lighter and is executed only
when it must be updated
5 years ago
Michail Vourlakos afb5217fe8 remove debug message 5 years ago
Michail Vourlakos 84003f3c35 protect latteBridge setting 5 years ago
Michail Vourlakos 55506fd20a automate AppletItems length calculations 5 years ago
Michail Vourlakos 9fcec2128a support min/max length and alignments beautifully
--applets that use auto fill calculations to gain their
length work really nice now for all alignments and values
very similar to plasma panels
5 years ago
Michail Vourlakos 7b1f2f2ef2 update AppletItem::Wrapper implementation
--new implementation is using length/thickness
semantics and not widths/heights. This way things
are much clearer and easier to extend
5 years ago
Michail Vourlakos 407cef9488 rename AppletItem property to maxAutoFillLength 5 years ago
Michail Vourlakos e83dcfdc92 fix invisiblity of Separator applets in rare cases
--when the user was using applets separators with parabolic
effect there were cases that did not appear at all. This
is now fixed.
5 years ago
Michail Vourlakos 0c5fb4957e rename applet property to isAutoFillApplet 5 years ago
Michail Vourlakos 2268d7ca12 more improvements for Layouter different alignments
--trying to find a workable layout case for all alignments
when they contain Fill(s) applets
5 years ago
Michail Vourlakos 4fa11ab3d8 use maximum length for normal alignments and fills
--when Left/Center/Right alignments contain a fill
applet then they should use the entire max length
5 years ago
Michail Vourlakos 61ce906ef9 dont add margins for fitt's case in fill applets 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 e83f7e551e redraw panel shadows after !visible workarounds
--use a single slot when View triggers its workarounds
for the kwin issue that kwin hides panels when an activity
stops. In such case the view shadows are also redrawn.
5 years ago
Michail Vourlakos 344a7b7f53 smoothen up glitches inConfigureApplets mode 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 e64921d2bf rename Indexer ability clients properties
--include also a fix for Tasks addingarea
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 a9425409d0 improve Indexer Container/Bridge implementation 5 years ago
Michail Vourlakos df4df914ca introduce Indexer ContainerAbility 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 62879df90e rename appletitem aliases properly 5 years ago
Michail Vourlakos b1ce98e8a4 introduce PrabolicEffect Ability for applets 5 years ago
Michail Vourlakos 44c7faba65 move zoomFactor,maxZoomFactor to ContainerAbility
--use nicer names such as parabolic.factor.zoom
and parabolic.factor.maxZoom
5 years ago
Michail Vourlakos f707cdab4f create ParabolicEffect Abitility
--such ability provides four different parts:
Defintion/Applet/Container/Bridge
5 years ago
Michail Vourlakos 81abb0eb35 fix some parabolic effect glitches 5 years ago
Michail Vourlakos 7e1be6144a remove Parabolic::DirectRender timer functionality
--remove direct render timer which is not used any more.
5 years ago
Michail Vourlakos 140cc8cb73 smoothen up parabolic effect 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 7b521634a8 restore properly multi-tasks parabolic effect
--update parabolic effect clear zoom functionanlity in order
to clear zoom properly
5 years ago
Michail Vourlakos 9145634434 PARABOLIC:new parabolic effect implementation
--the new implementation relies on items in order to
forward scale signals properly to their neighbours. So
parabolic effect does not have to know separators and
hidden items any more. As it appears it is lighter
also and more responsive. This is a very important
milestone for the parabolic effect.
5 years ago
Michail Vourlakos 22f9bdd6a7 use Metrics Ability for screenEdgeMargin 5 years ago
Michail Vourlakos 6259c395de move lengthMargin(s) to Metrics ability 5 years ago
Michail Vourlakos dae35a12bb rename thicknessMargins to thicknessEdges
--which is more accurate an Edge can be the calculated
distance of margin+border+padding like css is also
describing
5 years ago
Michail Vourlakos c45e45138f rename Metrics padding.length 5 years ago
Michail Vourlakos 1c6fef6c12 move thickMargin(s) to Metrics Ability 5 years ago
Michail Vourlakos e0d2991790 move fractions to MetricsPrivate 5 years ago
Michail Vourlakos 97e7c428b7 rename Ability.Container to Metrics
--major change but improves readability a lot
5 years ago
Michail Vourlakos dbd830aa48 remove applets spacers unneeded code 5 years ago
Michail Vourlakos 92a6319dac update applets windows tracking for AppletsRecords 5 years ago
Michail Vourlakos e4a609f250 release Applets.latteBridge on destruction 5 years ago
Michail Vourlakos 3a7a8368fa provide a multiapplets innerZoomFactor structure
--introduce AppletsRecords in order to keep track
of their requirements that influence the containment
qml behavior
5 years ago
Michail Vourlakos 368b4b8441 references improvements in container qml 5 years ago
Michail Vourlakos 152a467878 refactor: Tasks applet support Animations ability 5 years ago
Michail Vourlakos 732c7821f1 support property AbilityDefinition.Animations
--use qml for this and it is much better than c++
5 years ago
Michail Vourlakos 82f007e4bf provide an AbilityDefinition for Animations
--this way both containers and applets can use
the same infrastructure and properties
5 years ago
Michail Vourlakos b1f5e169ee provide new abilities imports structure 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 7ac648983f upgrade applet shadows variable for cotainment
--replace deprecated configuration.shadows with
configuration.appletShadowsEnabled
5 years ago
Michail Vourlakos 13a9522a16 rename abilities imports to distiguish purpose
--an better plural naming was chosen in order for
for consumers to distiguish abilities purpose. Abilities
are designed to be use by multiple applets and
containers
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 3bee600a98 introduce AppletAbilities as qml library
--introduce AppletAbilities qml library which is going
to be available to all applets to use it freely. In the stage
all components will be qml-only but in the future when
any of the components have been stabilized for their
apis then many of them could gain c++ implementation
5 years ago
Michail Vourlakos 810dd5a1b4 publish Abilities qml library
--add AppletRequirements in Abilities
qml library
5 years ago
Michail Vourlakos 6833a9b5cb expose an object for AppletRequirements 5 years ago
Michail Vourlakos 505f63b3ad update plasmoid Containment to Container 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 b69af88ebc refactor:move irrelevant WindowSystem properties
--irrelevant WindowSystem properties are now moved
to LatteCore.Environment that fit better semantically
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 36aae05bc8 position correctly applets thin title tooltips
--consider also the screenEdgeMargin
5 years ago
Michail Vourlakos aebbff4dfd improve applets badges location 5 years ago
Michail Vourlakos 25d061bb8f introduce Environment in Latte library
--as first value provide the separator length
that needs to be applied for all separators
5 years ago
Michail Vourlakos 8b41314b2f enable scrolling activation only for expandable
--systrays/internal containments are blocked from
this
5 years ago
Michail Vourlakos 0046c904d1 View:Move expanded applets code to View::Interface 5 years ago
Michail Vourlakos f63a467b1e improvements for applet isExpanded tracking 5 years ago
Michail Vourlakos 1adcbdb863 improve identify applets expanded state 5 years ago
Michail Vourlakos aa3aba50d9 make blockHiding multiple state
--blockHiding now tracks down which event has
requested it and it can work flawlessly with
multiple events

BUG:419034
5 years ago
Michail Vourlakos 1c88a97c55 app animations independent of plasma durations
--plasma durations can mess up the Latte animations
experience a lot. We now use our own set animations
durations which are independent of what the user
chose for plasma animations speed.

BUG:418883
5 years ago
Michail Vourlakos b3c3dab514 improve plasma folder behavior in SideBars 5 years ago
Michail Vourlakos 5efa757146 fix Justify Splitter appearance at all cases
--introduce also some max/min values for applets
size for inConfigureAppletsMode state
5 years ago
Michail Vourlakos 8f98ccb5e8 improve Justify Splitters in SideBars
--improve Justify Splitters experience for vertical
Docks/Panels and SidePanels
5 years ago
Michail Vourlakos 8e614468bc imrove applets scroll wheel activation
--the new implementation works at all cases even
when the ParabolicEffect MouseArea is not really
enabled (e.g. real panels)
5 years ago
Michail Vourlakos 154038c245 consider edge margin for applets shorcut badges 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 7d0d8f74f7 fix applets edge margins calculations
--different applets situations request different
margins for indicators and margins between them
in order to draw them properly. This fix takes
into account when edge margins are disabled from
wrapper and in that case the edge margins for these
are calculated bettter.
5 years ago
Michail Vourlakos 34d6c2cd78 identify highest priority application launcher
--provide a new way to identify which application
launcher has the highest priority in order to be
triggered. When an application launcher applet
has a global shortcut assigned to it then that
application launcher applet has the highest
priority in order to be triggered through
"Super" global key.
5 years ago
Michail Vourlakos 79705e9753 option to disable creenEdgeMargin for maximized
--improved settings for Floating windows in Behavior
tab and add a new option to hide ALL screen gaps meaning
both length screen and thickness screen gap when there
is a maximized window in the screen

BUG:415630
5 years ago
Michail Vourlakos 6f7eebeec2 choose behavior for floating screen gap
--when the user has enabled dragging/moving active
window from floatings screen gap then that space
can not be used to activate applets. It is rather
used to drag/move/restore last active window.
5 years ago
Michail Vourlakos 6a17a3e67b only left click for applets neutral areas activate 5 years ago
Michail Vourlakos 1c7eec05e3 send only screenEdgeMargin to applets/indicators
--screenEdgeMarginEnabled value is not really needed
to applets and indicators. Only the margin value
applied is of importance in order to place themselves
properly.
5 years ago
Michail Vourlakos 06fdd0d703 make screenEdgeMargin aware some elements
--update some containment elements and make
them screenEdgeMargin aware in order to be
positioned properly
5 years ago
Michail Vourlakos 896afcc068 support screen edge margin for behaveAsPlasmaPanel 5 years ago
Michail Vourlakos 8ee4b83461 update applets to screen edge margin awareness
--applets can now use the screen edge margin value
in order to follow Fitt's Law for floating docks/panels
if they want to. Latte takes case all applets of
course but in case an applet would like also to
to use also the space between the gap of the view
and the screen edge, it can so.
5 years ago
Michail Vourlakos 8194ee94bc inform applets/indicators for screen edge margin
--fix geometries publishing, update margins calculations
5 years ago
Michail Vourlakos d31d7afb9d dont wait for dock to show for activate shortcuts
--when the application launcher is not a popup then
we do not have to wait for the dock show we can execute
the activation code immediately
--when Latte activates an entry can now understand
if a popup is going to be shown in order to delay
the execution. If a popup is NOT going to show either
for a latte task or an applet then the code is executed
immediately

BUG:415417
FIXED-IN:0.9.6
5 years ago
Michail Vourlakos 484741558e add comments 5 years ago
Michail Vourlakos 2493971f03 improve atScreenEdge code 5 years ago
Michail Vourlakos 2577c33b7d improvements for margins/paddings
--fix also how firstVisibleIndex is tracked for
AppletContainer(s)
5 years ago
Michail Vourlakos 5c5084f7bb improve some semantics in AppletItem 5 years ago
Michail Vourlakos bfd72413d9 show a smaller indicator for atScreenEdge applets
--this is a temporary fix in order to provide a
visually pleasant result until the final fix for
Fitt's law is applied.
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