Commit Graph

456 Commits (854840b8fc8029c0ccc0a44031b9985112bfb71d)

Author SHA1 Message Date
Michail Vourlakos 834b6477ac update tasks previews
--remove the workaround timer that was used
from previews dialog in order to draw properly
single previews changes
Michail Vourlakos 18fdde41a2 introduce auto-scrolling for tasks
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
Michail Vourlakos d8c294aada compute better scrolling area thickness
Michail Vourlakos fa61ee8842 scroll to active task automatically
Michail Vourlakos 3f66f09045 bound published tasks geometries at scrollarea
Michail Vourlakos f572970a95 add option for Tasks scrolling
Michail Vourlakos b493fdf9fb hide Tasks applet actions when in Latte app
Michail Vourlakos 4b92a87c41 update fill(s) applets appropriately
--more specific when maxLength is changed
in editMode and !inconfigureAppletsMode
Michail Vourlakos f5a46b3da9 scrolling,support multiple layouts and positions
Michail Vourlakos 88af46f5bf move alignment into scrollingarea
Michail Vourlakos fcb04c2144 support scrolling elements to all edges
Michail Vourlakos fd99fba0bf refactor:Previews and TasksList on own directories
Michail Vourlakos 706dee5b74 move tasks layout to dedicated folder
Michail Vourlakos 6710be3ae5 update plasmoid to support scrolling
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.
Michail Vourlakos 67a4a4ab14 remove deprecated options
--reversed, dotsOnActive and
threeColors that were related
to Latte indicator
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
Michail Vourlakos 30174bbb00 fix parabolic effect for vertical views
Michail Vourlakos 82480e6079 fix warnings,closing Latte with custom indicators
Michail Vourlakos 834bb56194 provide panel transparency info to indicators
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
Michail Vourlakos d4b2589d0c expose isPressed state to indicators
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
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
Michail Vourlakos 612c53b78a respect liveEditMode for plasmoid separators
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
Michail Vourlakos 69bbb82841 improve icons colors names
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
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
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
Michail Vourlakos 28ef36a774 simplify indicators names
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
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
Michail Vourlakos 706ba661a2 merge plasma improvements for ContextMenu
Michail Vourlakos 18d6a0354b Previews show again Activities and Desktops text
--merge plasma taskmanager commit, D19257
Michail Vourlakos f0899bd6a8 update plasmoid ContextMenu design to plasma 5.16
BUG: 405553
Michail Vourlakos b89ef0e50b fix warnings fron new indicators architecture
Michail Vourlakos 8be388b893 improve vastly the indicators arch independence
Michail Vourlakos 4318404c9c fix warnings and improvements for Indicators
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
Michail Vourlakos 10fbf41081 enable hover effect for Plasma Style
Michail Vourlakos e250048048 indicators active for previews only for windows
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
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
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
Michail Vourlakos 104ee8581f add more information for indicators consumption
--currentIconSize/maxIconSize/windowsCount/
windowsMinimizedCount
Michail Vourlakos c07c1c75ab disable separators size when parabolicEffectEnabled
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
Michail Vourlakos d61f8d5dd2 make slide in/out windows independent