Commit Graph

369 Commits (13cecfa348a1c9b2128fd1bb34c1b0a85258906e)

Author SHA1 Message Date
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 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 fa61ee8842 scroll to active task automatically 6 years ago
Michail Vourlakos 3f66f09045 bound published tasks geometries at scrollarea 6 years ago
Michail Vourlakos fd99fba0bf refactor:Previews and TasksList on own directories 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 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 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
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 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 18d6a0354b Previews show again Activities and Desktops text
--merge plasma taskmanager commit, D19257
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 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
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 c64df5a078 fixes for separators 6 years ago
Michail Vourlakos 2af8d6290a move task IndicatorLoader in its own qml file 6 years ago
Michail Vourlakos f1eb8becfc improvements for Plasma Style indicator 6 years ago
Michail Vourlakos fe71e5dd2e remove deprecated headers 6 years ago
Michail Vourlakos 8d265f9432 fix attention animation for reverse state 6 years ago
Michail Vourlakos ef2e464ca8 improvements for separators 6 years ago
Michail Vourlakos 98c20e4f83 adjust separators to new indicators design 6 years ago
Michail Vourlakos e40e1556a9 fix attention animation with new indicators 6 years ago
Michail Vourlakos 388a5cdb99 important fixes for tasks states 6 years ago
Michail Vourlakos 54a9e7ed17 reposition tasks indicatots to a better place 6 years ago
Michail Vourlakos d9fe9d438d move Plasma/UnityIndicators into liblatte2 6 years ago
Michail Vourlakos ab85d28701 move LatteIndicator at Latte library as it should 6 years ago
Michail Vourlakos 3d7f5e7990 update Latte Indicator to new design 6 years ago
Michail Vourlakos 0147ed8451 update indicators design in plasmoid 6 years ago
Michail Vourlakos 82a11b9f4a adjust plasmoid to new indicators design 6 years ago
Michail Vourlakos c2dc637a46 activate Unity indicator style
--this is just initial work and not even close
to the final result but it is the ground in order
to build upon.
6 years ago
Michail Vourlakos e1ccd5f096 improve semantics for Task.LatteIndicator 6 years ago
Michail Vourlakos 2884f73507 enable Plasma Indicator Style
CCBUG: 404122
6 years ago
Michail Vourlakos 8f9140f67a option to enable/disable audio badge actions
BUG: 403611
6 years ago
Michail Vourlakos c5bf65dc32 improve wheel behavior in plasmoid 6 years ago
Michail Vourlakos 901b5a9455 hide indicators when are user disabled 6 years ago
Michail Vourlakos 7149cf5569 do not make previews show intrusive
BUG: 404099
6 years ago
Michail Vourlakos bd68d5dbcc dont show Preview after activating task with click
BUG: 404099
6 years ago
Michail Vourlakos a295560ed1 move TaskShorcutBadge in its own qml item 6 years ago
Michail Vourlakos fef791d8e1 improve names for globalshortcuts qml calls 6 years ago
Michail Vourlakos 58d8208704 fix binding loops for ShortcutBadges 6 years ago
Michail Vourlakos f6d2e8c8f8 add 24px minimum height for ShortcutBadges 6 years ago
Michail Vourlakos 3bfa313cbb fix crash when showing shortcut badges
BUG: 403647
6 years ago
Michail Vourlakos ef457f7cb3 prioritize progress over notification at InfoBadge
--the new behavior gives more priority to progress actions
over notification items such as "unread emails". Progress
actions at the end probably they will end and after that
the number of notification items will be shown

BUG: 403559
6 years ago
Michail Vourlakos 87a712229d circle View for InfoBadge when AudioBadge is shown
BUG: 403559
6 years ago
Michail Vourlakos 9851a71293 elide InfoBadge for first task when needed
BUG: 403518
6 years ago
Michail Vourlakos 37558dd20c dont include tasks badges at brightness effects
BUG: 403518
6 years ago
Michail Vourlakos c3ddce3c86 improve Tasks IconItem visuals/badges positioning
--in order to be able to draw correctly the badges when
they exceed the tasks boundaries the effects needed to
be repositioned in Task/IconItem. So now shadows/colorizers
etc. provide better freedom from code point of view.

BUG: 403518
6 years ago
Michail Vourlakos 50c5303b54 create separate Badges section for Tasks
--the user can now choose what badges prefers for
Tasks. The current supported are Information/
Progress/Audio

BUG: 400539
6 years ago
Michail Vourlakos 4bdcd5e4d2 rename task:centralItem to taskIcon
--improve readability of code
6 years ago
Michail Vourlakos e3223d6908 rename task:mainItemContainer to taskItem 6 years ago
Michail Vourlakos 582d05e722 rename plasmoid Task Animations accordingly 6 years ago
Michail Vourlakos 52465865f9 rename Task SubParts in plasmoid accordingly 6 years ago
Michail Vourlakos 6c09418aa8 update badges mask in live mode at all cases
BUG: 403353
6 years ago
Michail Vourlakos e6192a084c update badge mask for value changes
Trying to handle the case of 403353 .
We update the badge mask when the badge information
have updated. Strange issue because this
does not happen when using dbus interface
for tasks badges indicators.
6 years ago
Michail Vourlakos 9c3726a07b support different actions for left click and hover
--app now supports the user to set different actions
for tasks left-click and for hover event

BUG: 400690 400429
6 years ago
Michail Vourlakos 2794de1f73 plasma 5.15 fixes for VirtualDesktops
--support new Virtual Desktops interface under
plasma 5.15
--improve readability of plasma 5.15 fixes
6 years ago
Steffen Coenen f6ce06f6ae Adjust Latte Dock to libtaskmanager API changes for Wayland
Summary:
Changes in libtaskmanager in Plasma 5.15 currently break several Latte Dock features. This patch ensures that Latte Dock will continue to work when Plasma 5.15 is released.

BUG: 403358

Reviewers: mvourlakos

Reviewed By: mvourlakos

Subscribers: plasma-devel

Tags: #latte_dock, #plasma

Differential Revision: https://phabricator.kde.org/D18375
6 years ago
Yuri Chornoivan 8d7110f761 Fix minor typos
Summary: Fix minor typos in messages and comments

Test Plan: No major changes to prevent compilation and usage

Reviewers: mvourlakos

Reviewed By: mvourlakos

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D17894
6 years ago
Michail Vourlakos d8621a9435 refactor:plasmoid rename latteDock to latteView 6 years ago
Michail Vourlakos 67253eda9d REFACTOR:update qml to new Latte.Types 6 years ago
Michail Vourlakos b191d72144 simplify TaskWindows and avoid a crash
--during dragging the DelegateModel inside
TaskWindows may not catch up with TasksModel
modelIndex() function and that could create
crashes. In order to avoid such crashes the
DelegateModel is not updated during dragging
and we give it also a little time to update
after the dragging has finished.
6 years ago
Michail Vourlakos 694e25ef6b restore mouse wheel actions for tasks
BUG: 401380
FIXED-IN: 0.8.4
6 years ago
Michail Vourlakos 6c58115f9b add launchers validator for syncing launchers
--moving a task now is not synced immediately to
other docks. Syncing takes place only in the end.
The dock in which the user changed the launchers
order sends a signal to other docks to update
theirs launchers order.

BUG: 401232
6 years ago
Yuri Chornoivan 7323068f36 Fix minor EBN issues 7 years ago
Michail Vourlakos afb34a85cf dont crash plasmoid from too fast mouse events
make sure that we delete a valid contextMenu and
not a ghost reference. This could occur from
two-fingers emulating right-click in wayland.

BUG: 397635
FIXED-IN: 0.8.1
7 years ago
Michail Vourlakos b4a7b1ac84 restructure windows previews to plasma design
--previews showed some strange behavior by
re-introducing faulty or empty previews under
X11. Best way to approach this is to follow up
plasma design idea in order for the code to be
comparable. The code was updated and the introduced
issue shows to be fixed but this wants users
feedback.

BUG: 397193
FIXED-IN: 0.8.1
7 years ago
Michail Vourlakos 9a69323293 smarter badges identifier for activation shortcuts
--with this commit now Latte is able to identify what are
the global shortcuts used for each activation entry and
also to not show at all any badge for activation entries
that are disabled from the user

BUG: 397128
7 years ago
Michail Vourlakos ffe2995493 delayer for tasks wheel events
-- touchpads and fast wheel scrolling for
tasks was creating an unpredicted effect
from user point view. The solution was
already tested from audio badges, applets
wheel activation but hadnt got into
for Tasks.

BUG: 396737
FIXED-IN: 0.8.1
7 years ago
Michail Vourlakos 3ea01dfafc fix badge text warning and border.color 7 years ago
Michail Vourlakos e6d87a0097 fix for filtering tasks based on launchers 7 years ago
Michail Vourlakos d7070d6a34 dont update spacers in launcher bouncing animation 7 years ago
Michail Vourlakos 0c6f9be0e7 some improvements to hidden spacers 7 years ago