Commit Graph

346 Commits (60e97ec0bea1bea7ef0db27f2dae2dadf02a8629)

Author SHA1 Message Date
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 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 cda688c2a5 refactor:move AddingVisuals to LatteComponents 6 years ago
Michail Vourlakos d283e61b5d improve DragDrop behavior/responsiveness 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 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 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 215d74092f HACK TO avoid pixelixation in TASKS 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 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
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 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