Commit Graph

845 Commits (work/m_edgeslide)

Author SHA1 Message Date
Michail Vourlakos 7aa4bff184 improve heuristics for real removal task animation
--improve how windows with no launchers in current activity
are identified in order to slide them out properly
4 years ago
Michail Vourlakos 1fab62377e plasmoid:use Loader for NewWindow animation
--this way it is much easier and cleaner to extend
new window animation
4 years ago
Michail Vourlakos a9c8425052 plasmoid:use Loader for Launcher animation
--this way it is much easier to extend launcher
animations
4 years ago
Michail Vourlakos c5472593fe hide window previews when last instance is closed
BUG:426089
4 years ago
Michail Vourlakos d5e83280d2 refactor:simplify layout data access 4 years ago
Michail Vourlakos 6dec2e378e remove deprecated applet code 4 years ago
Michail Vourlakos 42dedca86f fixes for multiple layouts new approach 4 years ago
Michail Vourlakos a3989d1c2a improve semantic for inRelocationHiding view phase 5 years ago
Michail Vourlakos b2ae994614 tasks:remove dynamic publish geometry timer
--use a static approach
5 years ago
Michail Vourlakos d695e75e0b tasks:remove deprecated timer 5 years ago
Michail Vourlakos 3a01377629 tasks:drop dynamic created resistant timer 5 years ago
Michail Vourlakos ace474ae5d tasks:do not create dynamically hoveredtimer
--keep the same static timer in order to identify
hovering
5 years ago
Michail Vourlakos 998ff199c7 fix calculation of applets visibleIndex()
--show properly shortcut badges for all applets

BUG:424512
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 9b58dc7083 fix warning 5 years ago
Michail Vourlakos d625aa2430 identify when previews description is shown
--this is mostly used from grouped tasks in order to
position their previews properly and consistent
5 years ago
Michail Vourlakos f37349d7dc reposition active preview line indicator 5 years ago
Michail Vourlakos f66a841658 improve tasks previews highlight
--use Plasma Tasks Previews highlight item
that looks much better
5 years ago
Michail Vourlakos 9b18db6a23 Tasks Previews,smoothen up the experience
--reduce workarounds for tasks previews and simplify
the previews model case. Now all previews, both single
window and group are using the same delegate in
order to be drawn
5 years ago
Michail Vourlakos 9c3bbb8b19 previews behavior improvements
--show thin title tooltips launchers
and do not show tasks previews windows
for launchers
5 years ago
Michail Vourlakos 27c947e5ad disable workaround for previews validity
--in the past in order for previews to be valid
we had to hide and reshow previews after each
current task changing. As it appears this might
not be needed any more, let's try to disable it.
5 years ago
Michail Vourlakos f3bb208e04 increase default previews delay
--update previews immediately after first task with
preview is shown. All the rest tasks showing previews
should trigger their previews showing immediately.
Only the first task when previews are not shown
must trigger the delayer
5 years ago
Michail Vourlakos 95dfbfd919 Tasks Previews multiple fixes
--provide an option for previews to work as a
popup window[new] or as tooltip[classic]
--multiple fixes to show/hide previews based on
user preferences from left click and hovering
a task
--move the active window line as the last item
of Preview column in order to be always drawn and
never overlap with previews or previous items
5 years ago
Michail Vourlakos 3c617a36c8 Tasks:progress badge option fix 5 years ago
Michail Vourlakos efe3defad6 Tasks shorcut badges improvements 5 years ago
Michail Vourlakos 6933e26d9c Tasks improvements for scrolling animations 5 years ago
Michail Vourlakos e98ce9e0c8 fix warning and task shortcuts bouncing 5 years ago
Michail Vourlakos b1b0a69a27 fix Tasks PositionShortcuts shortcuts counting 5 years ago
Michail Vourlakos 271089ef33 more improvements for Tasks applet 5 years ago
Michail Vourlakos 631837e199 Tasks fixes for disableAllWindowsFunctionality 5 years ago
Michail Vourlakos 7932daaa34 Tasks:support hideAllTasks (only launchers mode) 5 years ago
Michail Vourlakos f3df399f55 update some parabolic effect functions 5 years ago
Michail Vourlakos 90ab1a94e1 remove deprecated parabolic manager from plasmoid 5 years ago
Michail Vourlakos 9590dea430 remove deprecated Tasks::ParabolicManager 5 years ago
Michail Vourlakos 9e0fa5d6cd remove deprecated apis for ParabolicManager 5 years ago
Michail Vourlakos 79bcf40e5f remove some deprecated paraboliceffect apis 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 5be106565c PositionShortcuts choose which Tasks will be used
--Tasks have an option in order for one of them to steal
the Global On Position shortcuts and not be applied for
any other applets in the same dock
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 3c73bff0ac use Indexer Ability for shortcut badges 5 years ago
Michail Vourlakos fcf4f0a873 smoothen up parabolic effect for TasksPreviews
--parabolic effect is now Blocking Restore only when
a Task Preview contains mouse. This is more responsive
and more intuitive.
5 years ago
Michail Vourlakos 12d6302fc3 fix binding loops and warnings 5 years ago
Michail Vourlakos 29e0551642 dont center Tasks in edit mode 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 36687c1eb5 fix a Tasks pixelated icons case
--when parabolic zoomfactor===1 a rare case
was that some tasks were appearing pixelated.
By disabling the Tasks Icons mathimatical roundness
this looks fixed.
5 years ago
Michail Vourlakos 14a6d73284 fix warnings 5 years ago
Michail Vourlakos 6be6450f18 fix binding loops for applets Indexer
--update fist/lastVisibleItem Index only after
the layout children match the models used count
5 years ago
Michail Vourlakos 3a347754ea fix one pixel glitch for parabolic effect
--finally after two years I found why there was a glitch
when the parabolic effect was hovering from Task into
an applet and vice versa. Tasks were rounding their
size before exposing it to container. Now this is fixed.
--Drag a task animation is now improved to be a little
more responsive and to inform also its mask requirements
to animations
5 years ago
Michail Vourlakos c173a0dbdf align Tasks Previews exactly on item's head edge 5 years ago
Michail Vourlakos 8525e076f8 Tasks,dont mask out zoomed items too soon
--AppletItem::clip was introduced  in order to
avoid circumstances that applets exceed their limits
and as such still events from surrounding applets.
Because of that change applets should now apply
their layout properties as valid all the time
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 78a8770be8 clip Tasks Scrollable area
--this way the Tasks applet can not
hover and hijack signals from previous
added applets in the same Layout container
5 years ago
Michail Vourlakos 39cc767eed drop panelUserSetAlignment not used anymore 5 years ago
Michail Vourlakos 29128a5291 Tasks:fix autoscrolling for dragging
--during scrolled tasks the scrolllable list
now is autoscrolled properly when the user
is repositioning launchers through dragging
or when dragging external files over tasks
and launchers
5 years ago
Michail Vourlakos e8d0ca3742 fix Tasks menu RemoveSeparator option
BUG:421252
5 years ago
Michail Vourlakos 0d023dff37 expose backgroundThickness through Metrics
--this way Tasks scrolling shadows work ok again
and also they are decoupled from containment
5 years ago
Michail Vourlakos e64921d2bf rename Indexer ability clients properties
--include also a fix for Tasks addingarea
5 years ago
Michail Vourlakos 836cecec41 Tasks fix thickness calculations scrollable list 5 years ago
Michail Vourlakos 3417b5ee0b dont separate launchers from tasks 5 years ago
Michail Vourlakos ef2592b183 add Indexer applet Ability
--works beautifully and nicely even in
multi-applets indexer supported environment
5 years ago
Michail Vourlakos b1ce98e8a4 introduce PrabolicEffect Ability for applets 5 years ago
Michail Vourlakos a0e4f688e5 fix some previews issues 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 c9b7866662 HoveredIndex:Drop plasmoid implementation
--parabolic effect does not need hovered index
any more in order to work properly
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 4096ed6b58 ignore parabolic signal for hidden tasks 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 db60035917 fix Tasks AddingArea positioning 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 ce97e8c9aa fixes for Previews in tasks left click 5 years ago
Michail Vourlakos 816466c7a4 tasks:improve Previews dragging file from outside 5 years ago
Michail Vourlakos 00127f28c0 Tasks:introduce Tasks.Dialog
--this is just a subclass of PlasmaQuick::Dialog
that provides "containsMouse" property
5 years ago
Michail Vourlakos 3018bd0fff tasks:restore previews window functionality
--various improvements/fixes for previews and highlight
windows in new plasmoid architecture. All tasks settings
are now stored in applet level and not in containment
level

BUG:420692
5 years ago
Michail Vourlakos 97e7c428b7 rename Ability.Container to Metrics
--major change but improves readability a lot
5 years ago
Michail Vourlakos 2ed8b86913 remove taskitem spacers unneeded code 5 years ago
Michail Vourlakos 03de9bb09f replace maxZoomFactor with innerZoomFactor
--innerZoomFactor is a way for applets to
request specific zoom factor at some cases
for example during some of their animations
5 years ago
Michail Vourlakos c9ec2bc957 rename minZoomFactor to animations.maxZoomFactor 5 years ago
Michail Vourlakos 69aaedac5f move Tasks local animations to local ability 5 years ago
Michail Vourlakos ef1fc413c9 publich Containet ability components 5 years ago
Michail Vourlakos 04daf81ac5 provide apis through abilities import 5 years ago
Michail Vourlakos 4237bd44b6 references improvements for Tasks applet 5 years ago
Michail Vourlakos c43dd6d003 update root references to Abilities 5 years ago
Michail Vourlakos 152a467878 refactor: Tasks applet support Animations ability 5 years ago
Michail Vourlakos df72c018c9 update plasmoid for AbilityDefinition.Animations 5 years ago
Michail Vourlakos b1f5e169ee provide new abilities imports structure 5 years ago
Michail Vourlakos 29018067d1 introduce AppletAbility.AnimationsBase 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 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 6833a9b5cb expose an object for AppletRequirements 5 years ago
Michail Vourlakos 505f63b3ad update plasmoid Containment to Container 5 years ago
Michail Vourlakos 42c44c20da Abilities:Move Tasks iconSizes to ContainmentAb 5 years ago
Michail Vourlakos e525596a04 refactor:split Latte Types to Tasks and Types
--move also irrelevant types to their owner. For
example LayoutsPage is moved to Settings::Dialog
namespace
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 5fdcef81af TASKS:Migrate to multiple Tasks architecture
--First steps in order to support mulitple Tasks
applets in the same dock and panel.
--Step1: migrate values from Containment to Task
applet.
--Step2: deprecate Task applet options that are
found in containment
--Step3: provide multiple dynamic Tasks tabs in
settings
5 years ago
Michail Vourlakos da648b5b4e Tasks:update to location and alignment
--update implementation to use "root.location"
instead of root.position
--update implementation to use "root.alignment"
instead of root.userPanelPosition
5 years ago
Michail Vourlakos 6fffd19826 Tasks:remove deprecated code 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 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 cca5ec3aaa fix all task indicators for bouncing animations
--make task indicators properly placed when tasks
are bouncing
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 57d1bf1f43 add quit application to contextmenu actions
--easier way for some to quit Latte by just
right clicking on the docks/panels

BUG:417486
5 years ago
Michail Vourlakos 4971655a2c support Chromium/Chrome audio channels
--upstream patch from Plasma taskmanagers
5 years ago
Michail Vourlakos de1604bb71 improve bouncing animation speed for plasma 5.18 5 years ago
Michail Vourlakos 0406a9a411 [wayland] - dont crash on tasks right click
BUG:417546
FIXED-IN:0.9.9
5 years ago
Michail Vourlakos ebd749fd00 dont break Task.IconItem size calculations startup
--remove no-needed anchors changes state for Task.IconItem
and at the same time fix the size calculations for IconItem.
There were cases for Views that did not use the parabolic effect
at all and Tasks contained single windows tasks (that did not
have launchers assigned), these specific tasks were
appearing at minimum icon size 16px. even though the user
had set much greater values.
5 years ago
Michail Vourlakos b5233ddfe0 option for tasks to scroll and minimize them
--a new Wheel action is introduced to Tasks and
the user can now choose to disable wheel actions
only for tasks OR cycle through grouped tasks OR
upwards cycles trhough grouped tasks and downwards
minimizes them.

BUG:416096
5 years ago
Tranter Madi 77c170c8f7 Update from Plasma for ToolTipInstance.qml
Summary: Just pull the update from Plasma

Reviewers: #latte_dock, mvourlakos

Reviewed By: #latte_dock, mvourlakos

Subscribers: mvourlakos, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D26760
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 63971f4429 enable normal Latte Tasks removal action
--requesting from users a different way to remove
the Latte Tasks plasmoid if they want to is not
a good hig. Reenabling the classic ways to remove
Latte Tasks. The user can now use the applet tooltip
to remove it or by right clicking it in Latte
edit mode. Because of this the Tasks->Recycling
button is not needed any more.

BUG:415274
5 years ago
Michail Vourlakos c27c338450 align tasks separator to screenEdgeMargin 5 years ago
Michail Vourlakos 1e43376781 [qt5.14]-restore dragged task to normal in the end
after dragging a task, the task should return to
normal state. In qt 5.14 default states that have
a "when" property do not play well

BUG:415333
FIXED-IN:0.9.6
5 years ago
Tranter Madi fe5dbf9f2b Improve context menu
Summary:
- Add `Configure Latte Global Settings...` because it's too hidden in Layout > Configure and does not relate to the Layout menu.
- Insert a new `Separator` to separate between Global settings and View settings (see screenshot)
- Rename `Panel/Dock Settings` to `Edit Panel/Dock` (Verb + Noun)
- Rename `Layout > Configure...` to `Layout > Manage Layouts` (Verb + Noun)

Menu Items Order:

   a.  -separator-
   b. Layouts->
   c. Configure Application...
   e.  -separator-
   f. Add Widgets...
   g. Edit Dock...
   h.  -separator- [only for Tasks plasmoid]
   i.  Close... [only for Tasks plasmoid]

BUG: 415584

Test Plan:
Before:
{F7844554}

After:
a. context menu of applets
{F7845184}
b. context menu of a task that hasn't/has one window shown
{F7844944}
{F7845185}
c. context menu of Latte Tasks plasmoid when used on the desktop
{F7845186}
{F7845187}

Reviewers: #latte_dock, #vdg, mvourlakos

Reviewed By: #latte_dock, mvourlakos

Subscribers: ngraham, ndavis, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D26238
5 years ago
Michail Vourlakos dfd8bcdeca wayland improvements for WindowsAlwaysCover 5 years ago
Michail Vourlakos d82ac63417 improve publish task geometries code
--update the publish task geometries code
in order to identify also when the dock
has hide itself or is fully shown properly
and update the published task geometries
accordingly
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 a40ff9cf5b update CustomBackground to more border styles
--use screenEdgeMargin in order to support more border
styles for custom background component that paints
the underneath panel background for smart coloring.
5 years ago
Michail Vourlakos 8194ee94bc inform applets/indicators for screen edge margin
--fix geometries publishing, update margins calculations
5 years ago
Michail Vourlakos 165db28a24 plasmoid use layout last used activity
--this way in multiple layouts mode when switching
different layouts the tasks/launchers are sliding in/out
only when we switch between different activities in
the same layout and NOT when switching between different
activities in different layouts
5 years ago
Michail Vourlakos 7663e86068 multiple fixes for different margins
--multiple fixes for margins all over the place. More
specific how they are calculated and when they are
used
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 4139948d11 activate single windows directly in !compositing
--meaning to not activate the previews window in that
case. Single windows should be activated immediately
after left click, previews are not necessary in that
case.

FIXED-IN:0.9.2
5 years ago
Michail Vourlakos f3e6debc26 let the user close multiple windows from previews
BUG:411461
FIXED-IN:0.9.2
6 years ago
Michail Vourlakos edfd111d9a use only exter.margins for separators
--separators are only usings the external margins
between items. In the past it was also consider
the indicators internal padding. This is not
needed and it was creating too big empty
spaces with no real reason.
6 years ago
Michail Vourlakos 768a6b4b2a indicators can now offset a bit icons
--through level.requested options each indicator
instance can request specific repositioning for
each icon. Very good example for this is the
Win7 style indicator
6 years ago
Michail Vourlakos a885eaa163 dont show progress badge if user disabled it 6 years ago
Michail Vourlakos 2866b6a3aa plasma theme colors for !accelerated graphics
--fix also how accelerated graphics are identified
by using GraphicsInfo api
6 years ago
Michail Vourlakos 724a59eb23 add accelerated graphics checks all over the place
--when qml uses software rendering checks should be
added in order to not hide the visual elements. This
is taking place now in a more concrete way and checked
also that tasks with badges or not are still shown

BUG:411037
FIXED-IN:0.9.2
6 years ago
Michail Vourlakos 551edf01fb provide Progress information to indicators
--as a test case, the Plasma indicator now supports
the original plasma progress indicator of plasma
taskmanagers
6 years ago
Yuri Chornoivan 15ab253efd Fix minor EBN issues 6 years ago
Michail Vourlakos f449e22943 dont hide icons/applets for software rendering
--when qml software rendering is enabled the ShaderEffects
do not work. Hiding sources in that case is hiding
from the user tasks and applets with no visual feedback.
Sources in that case should hide themeselves and give
the user the minimum which is the original drawn contents.

BUG:410920
FIXED-IN:0.9.2
6 years ago
Michail Vourlakos 43d1985d4e improve LeftClick::PreviewWindows
--when the user clicks a single window now it is
just activated instead of showing first the preview
window showing only one instance

BUG:410417
6 years ago
Michail Vourlakos 5bab4b0409 wayland,show preview windows for grouped tasks
BUG: 410408
6 years ago
Michail Vourlakos 6121799346 avoid Tasks Pixelization
--enable cached:true for Tasks effects in order
to try to avoid pixelization in some cases when
effects are enabled
6 years ago
Michail Vourlakos 60e97ec0be fix blurred icons
--revert back the PIXELIZATION workaround because
it creates BLURRED icons even for sizes>=64px!

BUG:410365
FIXED-IN:0.9.1
6 years ago
Michail Vourlakos 4ebf3e2329 update progress badge properly
--send repaint signals properly for BadgeText

BUG:410318
FIXED-IN:0.9.1
6 years ago
Michail Vourlakos 780d807cc8 find a way to apply LatteSideColoring for Tasks 6 years ago
Michail Vourlakos 30f3145f95 Introduce Flat and 3D style for Badges
--the user can now choose to enable or NOT 3D
style for all badges through Latte Global Preferences
window. By default the Flat style is preferred

BUG: 409467
6 years ago
Michail Vourlakos 6fbb2d7d0d define specific prominent badge colors 6 years ago
Michail Vourlakos df9394ddd6 option for prominent color of Notification Badges
--The user from Tasks,Badges can choose a more prominent
color for notification badges (usually reddish). In case
the user has not enabled that option(default) then the plasma
theme highlight color is used which is also the default
option of Latte v0.8

BUG: 408955
6 years ago
Michail Vourlakos 0768975765 Center position Tasks when in the Desktop 6 years ago
Michail Vourlakos 2e5a018678 disable scrolling shadows when Tasks in desktop 6 years ago
Michail Vourlakos f75605d78d introduce Resources for Indicators 6 years ago
Michail Vourlakos 33962fa1fc expose some animations properties to Indicators
--animations enabled and durationTime exposed to
Indicators
6 years ago
Michail Vourlakos f04009b665 simplify code part 6 years ago
Michail Vourlakos f7471e59b3 improve when to clear parab.effect from Tasks 6 years ago
Michail Vourlakos cda688c2a5 refactor:move AddingVisuals to LatteComponents 6 years ago
Michail Vourlakos d283e61b5d improve DragDrop behavior/responsiveness 6 years ago
Michail Vourlakos 7a31e52614 increase Tasks GarbageCollector interval at 30secs 6 years ago
Michail Vourlakos dfcd3e2452 reinstantiate properly tasks previews
--this code helps the previewsmodel to
reinstantiate when changing from single
instance preview to another single one
6 years ago
Michail Vourlakos 682e039439 fix for VirtualDesktops array identifying
BUG: 407351
6 years ago
Michail Vourlakos 74772cd7a9 introduce SCROLLING options for Tasks
--the user can now adjust the Scrolling options
for its Tasks when the items overflow. The following
are provided:
Scrolling: ENABLE/DISABLE
--Manual Scrolling: DISABLE/PARALLEL/HORIZONTALANDVERTICAL
--Auto Scrolling: ENABLE/DISABLE

BUG: 407779
6 years ago
Michail Vourlakos 828b31fb78 animate new launchers when dropping them 6 years ago
Michail Vourlakos 7ffe7d436d introduce plasmoid:TasksExtendedManager
--All the Tasks WORKSAROUNDS for libtaskmanager
limitation in one place
6 years ago
Michail Vourlakos ee81cdf1bd send urlsDropped signal from containment 6 years ago
Michail Vourlakos 1ef4de0da8 VASTLY IMPROVE dragging experience
--when dragging a new applet over the view
the responsiveness is now improved vastly
--the new architecture uses two different
DragAndDropAreas. One which is the old one
and is used when dragged launchers, urls and
separators. The second is used only when
applets are dragged into the view
--the visuals for adding launchers/applets have
been improved and a circular visual is preferred
now instead
6 years ago
Michail Vourlakos 8ccdd2e719 improve Tasks adding launchers responsiveness 6 years ago
Michail Vourlakos 93528d3164 fixes for clearing parabolic effect zoom
--case 1: first left applet neighbour of Tasks was not
clearing its zoom if the mouse was entering too fast
the Tasks applet from the applet direction
--case 2: first task in Tasks was not clearing its zoom
when the applet triggering the clear zoom effect was too
far from the Tasks

BUG: 401294
6 years ago
Michail Vourlakos be25a3b145 improve debug graphics mode visuals 6 years ago
Michail Vourlakos 844dc8096c fix startup warnings 6 years ago
Michail Vourlakos a61120bd7d enable Tasks draggin in live editing mode 6 years ago
Michail Vourlakos 8b2e31e6ef launchers syncing improve positions discoverring
--previous code was creating an endless loop during
launchers syncing when there were windows between
the launchers.
example to reproduce: add a Discover launcer and
at the previous indexes there should be some
launchers that have open windows but their launcher
is assigned to different activity. Drag afterwards
the Discover launcher to first indexes e.g. 0,1
6 years ago
Michail Vourlakos 215d74092f HACK TO avoid pixelixation in TASKS 6 years ago
Michail Vourlakos a27ff3ec48 REFACTOR:Update LayoutManager to Layouts::Manager
--create "layouts" own directory in order to host
all LAYOUTS management/control code and classes
6 years ago
Michail Vourlakos 29157f4636 refactor:rename managedLayout to layout/viewLayout 6 years ago
Michail Vourlakos 7ae63e7dd1 optimize screenGeometry calls from Tasks plasmoid
--plasmoid.screenGeometry is costly under Latte environment
because it supports multple layouts in multiple activities.
By using the View::screenGeometry the calls are minimized
almost totally.
6 years ago
Michail Vourlakos 6f47b7c4c8 rename Rectangled TO Square for Indicators 6 years ago
Michail Vourlakos e64e003a7c mask correctly the vertical scrollable tasks 6 years ago
Michail Vourlakos f10239e364 onwheel event publish task geometries 6 years ago
Michail Vourlakos 704a12a522 center properly tasks published geometries 6 years ago
Michail Vourlakos 763d22643e enable tasks dragging !inConfigureAppletsMode 6 years ago
Michail Vourlakos 8168d4ec13 fix pixelated icons when par.effect disabled 6 years ago
Mathias Tillman 99454c0b15 Import QtGraphicalEffects 1.0 instead of 1.2 to fix dependency issue.
Summary:
Fixes an issue where the shell plasmoid fails to load when QtGraphicalEffects 1.2 is missing from the system. This causes various issues like the task manager applet failing to load.

BUG: 406818

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D20774
6 years ago
Michail Vourlakos 13cb58d54a improve badges borders colors 6 years ago
Michail Vourlakos 12e8863f4b update info badges color for tasks notifications
--info badges updated their colors in order to attract
more attention on them. Most themes etc. use for their
negativeTextColor a reddish color so that is a good
match for this.
6 years ago
Michail Vourlakos 834b6477ac update tasks previews
--remove the workaround timer that was used
from previews dialog in order to draw properly
single previews changes
6 years ago
Michail Vourlakos 18fdde41a2 introduce auto-scrolling for tasks 6 years ago
Michail Vourlakos 05b5344379 improve when tasks geometries are published
--take into account the scrolling area, when animations
in scrolling area are ended tasks geometries could be
calculated again
6 years ago
Michail Vourlakos d8c294aada compute better scrolling area thickness 6 years ago
Michail Vourlakos fa61ee8842 scroll to active task automatically 6 years ago
Michail Vourlakos 3f66f09045 bound published tasks geometries at scrollarea 6 years ago
Michail Vourlakos f572970a95 add option for Tasks scrolling 6 years ago
Michail Vourlakos b493fdf9fb hide Tasks applet actions when in Latte app 6 years ago
Michail Vourlakos 4b92a87c41 update fill(s) applets appropriately
--more specific when maxLength is changed
in editMode and !inconfigureAppletsMode
6 years ago
Michail Vourlakos f5a46b3da9 scrolling,support multiple layouts and positions 6 years ago
Michail Vourlakos 88af46f5bf move alignment into scrollingarea 6 years ago
Michail Vourlakos fcb04c2144 support scrolling elements to all edges 6 years ago
Michail Vourlakos fd99fba0bf refactor:Previews and TasksList on own directories 6 years ago
Michail Vourlakos 706dee5b74 move tasks layout to dedicated folder 6 years ago
Michail Vourlakos 6710be3ae5 update plasmoid to support scrolling 6 years ago
Michail Vourlakos 6505e8797f send mouse signals from View to containment
--this is side-way path for mouse events and
more specific the mouse pressed, released
events to be sent from parent window to its
qml containment part. This way it is possible
to keep the original plasma applet behavior
such as original plasma tooltips and provide
Latte specific functionality such as animated
clicks from indicators.

NOTE: An investigation - testing took place in
order to check if this approach could be also used
for mouseMove events to be used for applets parabolic
effect. The result was that this was not possible because
there were too many signals and too much calculations
too identify for which applet the signal belonged to.
The parabolic effect was not fluid in that case and
could not catch up.
6 years ago
Michail Vourlakos 67a4a4ab14 remove deprecated options
--reversed, dotsOnActive and
threeColors that were related
to Latte indicator
6 years ago
Michail Vourlakos d95d861b64 add new options to indicators interface
--providesHoveredAnimation, in order to disable
the Latte one
--providesClickedAnimation, in order to disable
the Latte one
--needsMouseEventCoordinates, in order to know
when the mouse pressed e.g. creating animations
like the android way
6 years ago
Michail Vourlakos 30174bbb00 fix parabolic effect for vertical views 6 years ago
Michail Vourlakos 82480e6079 fix warnings,closing Latte with custom indicators 6 years ago
Michail Vourlakos 834bb56194 provide panel transparency info to indicators 6 years ago
Tranter Madi 5fe27176fa Center align shortcut badges when iconSize < 48
Summary:
When iconSize is not big enough, center aligned shortcut badges look better than top-left aligned ones.

BUG: 406037

Test Plan:
- When iconSize < 48: shortcut badges are center aligned
- When iconSize >= 48: they are top-left aligned

For example, with iconSize = 32:
Before:
{F6736365}
After:
{F6736366}

Reviewers: #latte_dock, mvourlakos

Reviewed By: mvourlakos

Subscribers: mvourlakos, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D20128
6 years ago
Michail Vourlakos d4b2589d0c expose isPressed state to indicators 6 years ago
Nick Guletskii 6f84812a53 Highlight the hovered item in the task group tooltip
Summary:
Currently, the task group tooltip doesn't react to the user hovering over a thumbnail. This patch modifies the active window line to also act as a hover indicator, making the UI more responsive to the user's mouse movements.

{F6734813}

Reviewers: #latte_dock, mvourlakos

Reviewed By: #latte_dock, mvourlakos

Subscribers: mvourlakos, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D19281
6 years ago
Nick Guletskii 0a3755dce5 Close the window selected in the task group tooltip on middle click
Summary: In Windows, it is possible to close windows by middle-clicking their previews in the taskbar. This patch adds this feature to Latte Dock. Now, middle clicking an item in the task group tooltip will close the corresponding window.

Reviewers: #latte_dock, mvourlakos

Reviewed By: #latte_dock, mvourlakos

Subscribers: mvourlakos, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D19284
6 years ago
Michail Vourlakos 612c53b78a respect liveEditMode for plasmoid separators 6 years ago
Michail Vourlakos 6569160195 improve icon colors for applets
--provide a background and glow color for those
applets that do not provide an icon to render
6 years ago
Michail Vourlakos 69bbb82841 improve icons colors names 6 years ago
Michail Vourlakos f9289dc558 support colorGroup for IconItem
--this way we fix all coloring issues with
plasma theme icons e.g. the audio indicator
was not painted correctly for some themes
6 years ago
Michail Vourlakos 262dfa6b09 Indicators protocol change attributes to level
--introduce a new class called level which contains
all the needed information concerning indicator level
and at the same time the bridge that provides information
for the specific indicator states
6 years ago
Michail Vourlakos 614ec3ea48 move shortcut badges at top left corner
--this way the elements are observed better and
the user is able to both watch out the items and
the shortcut that activates them
6 years ago
Michail Vourlakos 28ef36a774 simplify indicators names 6 years ago
Michail Vourlakos 0b90411b1d IMPORTANT: All new Indicators architecture
--this huge commit contains all the changes needed
in order for Latte to load Indicators dynamically
from their own packages
6 years ago
Michail Vourlakos ca80a7932f introduce LatteComponents to be consumed globally
--this is needed in order for indicators plugins in
the future to provide the same UI elements with the
rest of LatteView Settings windows
6 years ago
Michail Vourlakos 706ba661a2 merge plasma improvements for ContextMenu 6 years ago
Michail Vourlakos 18d6a0354b Previews show again Activities and Desktops text
--merge plasma taskmanager commit, D19257
6 years ago
Michail Vourlakos f0899bd6a8 update plasmoid ContextMenu design to plasma 5.16
BUG: 405553
6 years ago
Michail Vourlakos b89ef0e50b fix warnings fron new indicators architecture 6 years ago
Michail Vourlakos 8be388b893 improve vastly the indicators arch independence 6 years ago
Michail Vourlakos 4318404c9c fix warnings and improvements for Indicators 6 years ago
Michail Vourlakos 0d568c81d5 update indicators architecture to be independent
--first steps in order to support completely independent
indicators that can be downloaded/installed/used online
6 years ago
Michail Vourlakos 10fbf41081 enable hover effect for Plasma Style 6 years ago
Michail Vourlakos e250048048 indicators active for previews only for windows 6 years ago
Tranter Madi 432d6fb753 Apply changes for tooltip from upstream
Summary:
Upstream changes: https://phabricator.kde.org/D17073

- Do not crop albumArt
- Use smaller fontsizes for labels.

Test Plan:
Screenshot:
{F6692625}

Reviewers: mvourlakos, rooty

Reviewed By: mvourlakos, rooty

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D19777
6 years ago
Michail Vourlakos c85ec4c07a new architecture for Indicators
--indicators now support both Back/Front
layers. Back layer is the usual layer
behind the current Item and the Front layer is
a layer above the current Item (overlay)
--update Unity to follow new architecture
6 years ago
Michail Vourlakos a919dc3fca Unity:add triangles, make things more interesting
--added triangles indicators that follow plasma theme
coloring in order to indicate windows count, minimized
state and isActive flag

CCBUG: 404122
6 years ago
Michail Vourlakos 104ee8581f add more information for indicators consumption
--currentIconSize/maxIconSize/windowsCount/
windowsMinimizedCount
6 years ago
Michail Vourlakos c07c1c75ab disable separators size when parabolicEffectEnabled 6 years ago
Michail Vourlakos f7b9f49af8 fix crash from information badges
--the Colorizer that was responsible to
grey out the information badges when the
task is dragged, it was creating crashes
when its latte view was removed by the user
6 years ago
Michail Vourlakos d61f8d5dd2 make slide in/out windows independent 6 years ago
Michail Vourlakos 1cc88b4c22 make launcher bounce animation independent 6 years ago
Michail Vourlakos 4f84d10b0b fix windowsCount for Task in plasmoid 6 years ago
Michail Vourlakos b00598949d activate/disable independent animations 6 years ago
Michail Vourlakos 25b636465a split animations and make par.effect independent 6 years ago
Michail Vourlakos 9e6abb70d0 fix groupedTasks activation for !compositing 6 years ago
Michail Vourlakos b15df34cc4 livemode:enable parabolic effect for editMode
--first commit to restructure editMode in order to
support livemode under editing. Live mode means
that all options changes during editMode will be
available to be tested directly
6 years ago
Michail Vourlakos f3be388c40 expose windowsCount to Indicators 6 years ago
Michail Vourlakos ff77bc3485 compute icon colors only for indicators requesting 6 years ago
Michail Vourlakos b1865e2634 hide indicator properly when task is removed 6 years ago
Michail Vourlakos c805963327 prepare for new latte separators 6 years ago
Michail Vourlakos c64df5a078 fixes for separators 6 years ago