1
0
mirror of https://github.com/KDE/latte-dock.git synced 2024-12-26 11:21:40 +03:00
Commit Graph

925 Commits

Author SHA1 Message Date
Michail Vourlakos
682e039439 fix for VirtualDesktops array identifying
BUG: 407351
2019-05-24 18:57:31 +03:00
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
2019-05-24 18:28:35 +03:00
Michail Vourlakos
828b31fb78 animate new launchers when dropping them 2019-05-22 20:12:41 +03:00
Michail Vourlakos
7ffe7d436d introduce plasmoid:TasksExtendedManager
--All the Tasks WORKSAROUNDS for libtaskmanager
limitation in one place
2019-05-22 13:44:13 +03:00
Michail Vourlakos
ee81cdf1bd send urlsDropped signal from containment 2019-05-21 19:17:08 +03:00
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
2019-05-17 21:28:39 +03:00
Michail Vourlakos
8ccdd2e719 improve Tasks adding launchers responsiveness 2019-05-16 23:58:27 +03:00
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
2019-05-16 17:44:25 +03:00
Michail Vourlakos
be25a3b145 improve debug graphics mode visuals 2019-05-14 22:20:32 +03:00
Michail Vourlakos
844dc8096c fix startup warnings 2019-05-12 17:07:24 +03:00
Michail Vourlakos
a61120bd7d enable Tasks draggin in live editing mode 2019-05-12 16:52:18 +03:00
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
2019-05-12 16:44:40 +03:00
Michail Vourlakos
215d74092f HACK TO avoid pixelixation in TASKS 2019-05-10 00:49:09 +03:00
Michail Vourlakos
a27ff3ec48 REFACTOR:Update LayoutManager to Layouts::Manager
--create "layouts" own directory in order to host
all LAYOUTS management/control code and classes
2019-05-09 17:12:57 +03:00
Michail Vourlakos
29157f4636 refactor:rename managedLayout to layout/viewLayout 2019-05-09 00:13:17 +03:00
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.
2019-05-08 21:48:36 +03:00
Michail Vourlakos
6f47b7c4c8 rename Rectangled TO Square for Indicators 2019-05-08 21:48:35 +03:00
l10n daemon script
e8d79632bd SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2019-05-08 05:41:19 +02:00
l10n daemon script
1085d4b4e4 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2019-05-06 05:48:28 +02:00
l10n daemon script
afd5e5b749 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2019-05-03 05:49:20 +02:00
Michail Vourlakos
e64e003a7c mask correctly the vertical scrollable tasks 2019-05-01 20:54:33 +03:00
Michail Vourlakos
f10239e364 onwheel event publish task geometries 2019-05-01 19:11:13 +03:00
Michail Vourlakos
704a12a522 center properly tasks published geometries 2019-05-01 19:04:03 +03:00
l10n daemon script
064b1178e6 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2019-04-30 05:41:18 +02:00
l10n daemon script
b83816e4c5 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2019-04-29 05:28:53 +02:00
l10n daemon script
536949840e SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2019-04-28 05:37:49 +02:00
l10n daemon script
3598639740 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2019-04-24 05:51:16 +02:00
Michail Vourlakos
763d22643e enable tasks dragging !inConfigureAppletsMode 2019-04-24 00:52:32 +03:00
Michail Vourlakos
8168d4ec13 fix pixelated icons when par.effect disabled 2019-04-24 00:44:23 +03:00
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
2019-04-23 22:32:04 +02:00
Michail Vourlakos
13cb58d54a improve badges borders colors 2019-04-23 19:00:53 +03:00
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.
2019-04-23 18:17:16 +03:00
l10n daemon script
946dca4475 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2019-04-23 06:03:49 +02:00
Michail Vourlakos
834b6477ac update tasks previews
--remove the workaround timer that was used
from previews dialog in order to draw properly
single previews changes
2019-04-22 13:43:56 +03:00
Michail Vourlakos
18fdde41a2 introduce auto-scrolling for tasks 2019-04-22 12:36:46 +03:00
l10n daemon script
fea93c95a3 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2019-04-22 05:56:31 +02:00
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
2019-04-21 16:27:50 +03:00
Michail Vourlakos
d8c294aada compute better scrolling area thickness 2019-04-21 16:27:49 +03:00
Michail Vourlakos
fa61ee8842 scroll to active task automatically 2019-04-21 16:27:49 +03:00
Michail Vourlakos
3f66f09045 bound published tasks geometries at scrollarea 2019-04-21 16:27:49 +03:00
Michail Vourlakos
f572970a95 add option for Tasks scrolling 2019-04-21 16:27:49 +03:00
Michail Vourlakos
468cabca0d improve Tasks naming and comments 2019-04-21 16:27:49 +03:00
Michail Vourlakos
b493fdf9fb hide Tasks applet actions when in Latte app 2019-04-21 16:27:49 +03:00
Michail Vourlakos
4b92a87c41 update fill(s) applets appropriately
--more specific when maxLength is changed
in editMode and !inconfigureAppletsMode
2019-04-21 16:27:49 +03:00
Michail Vourlakos
f5a46b3da9 scrolling,support multiple layouts and positions 2019-04-21 16:27:49 +03:00
Michail Vourlakos
88af46f5bf move alignment into scrollingarea 2019-04-21 16:27:49 +03:00
Michail Vourlakos
fcb04c2144 support scrolling elements to all edges 2019-04-21 16:27:49 +03:00
Michail Vourlakos
fd99fba0bf refactor:Previews and TasksList on own directories 2019-04-21 16:27:48 +03:00
Michail Vourlakos
706dee5b74 move tasks layout to dedicated folder 2019-04-21 16:27:48 +03:00
Michail Vourlakos
6710be3ae5 update plasmoid to support scrolling 2019-04-21 16:27:48 +03:00
l10n daemon script
32904be361 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2019-04-20 05:58:30 +02:00
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.
2019-04-15 22:00:22 +03:00
Michail Vourlakos
67a4a4ab14 remove deprecated options
--reversed, dotsOnActive and
threeColors that were related
to Latte indicator
2019-04-13 20:37:44 +03:00
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
2019-04-13 00:46:31 +03:00
Michail Vourlakos
30174bbb00 fix parabolic effect for vertical views 2019-04-12 14:40:30 +03:00
Michail Vourlakos
82480e6079 fix warnings,closing Latte with custom indicators 2019-04-01 17:16:40 +03:00
Michail Vourlakos
834bb56194 provide panel transparency info to indicators 2019-04-01 17:16:40 +03:00
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
2019-03-31 13:37:45 +07:00
Michail Vourlakos
d4b2589d0c expose isPressed state to indicators 2019-03-31 02:10:57 +02:00
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
2019-03-31 00:36:37 +02:00
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
2019-03-31 00:33:09 +02:00
Michail Vourlakos
612c53b78a respect liveEditMode for plasmoid separators 2019-03-30 10:55:44 +02:00
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
2019-03-29 22:48:36 +02:00
Michail Vourlakos
69bbb82841 improve icons colors names 2019-03-29 02:18:10 +02:00
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
2019-03-27 21:03:17 +02:00
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
2019-03-27 21:03:17 +02:00
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
2019-03-27 21:03:16 +02:00
Michail Vourlakos
28ef36a774 simplify indicators names 2019-03-24 18:44:27 +02:00
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
2019-03-24 12:17:29 +02:00
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
2019-03-18 19:35:53 +02:00
Michail Vourlakos
706ba661a2 merge plasma improvements for ContextMenu 2019-03-17 22:42:17 +02:00
Michail Vourlakos
18d6a0354b Previews show again Activities and Desktops text
--merge plasma taskmanager commit, D19257
2019-03-17 22:32:00 +02:00
Michail Vourlakos
f0899bd6a8 update plasmoid ContextMenu design to plasma 5.16
BUG: 405553
2019-03-17 22:23:07 +02:00
Michail Vourlakos
b89ef0e50b fix warnings fron new indicators architecture 2019-03-17 16:00:52 +02:00
Michail Vourlakos
8be388b893 improve vastly the indicators arch independence 2019-03-17 15:05:11 +02:00
Michail Vourlakos
4318404c9c fix warnings and improvements for Indicators 2019-03-17 14:34:44 +02:00
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
2019-03-17 13:49:26 +02:00
Michail Vourlakos
10fbf41081 enable hover effect for Plasma Style 2019-03-17 01:23:53 +02:00
Michail Vourlakos
e250048048 indicators active for previews only for windows 2019-03-15 15:15:17 +02:00
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
2019-03-15 20:12:05 +07:00
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
2019-03-15 00:04:02 +02:00
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
2019-03-14 17:54:50 +02:00
Michail Vourlakos
104ee8581f add more information for indicators consumption
--currentIconSize/maxIconSize/windowsCount/
windowsMinimizedCount
2019-03-14 16:37:23 +02:00
Michail Vourlakos
c07c1c75ab disable separators size when parabolicEffectEnabled 2019-03-12 20:31:21 +02:00
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
2019-03-12 19:23:35 +02:00
Michail Vourlakos
d61f8d5dd2 make slide in/out windows independent 2019-03-12 18:09:26 +02:00
Michail Vourlakos
1cc88b4c22 make launcher bounce animation independent 2019-03-12 17:55:26 +02:00
Michail Vourlakos
4f84d10b0b fix windowsCount for Task in plasmoid 2019-03-11 20:04:53 +02:00
Michail Vourlakos
b00598949d activate/disable independent animations 2019-03-11 19:50:11 +02:00
Michail Vourlakos
25b636465a split animations and make par.effect independent 2019-03-11 19:22:01 +02:00
Michail Vourlakos
9e6abb70d0 fix groupedTasks activation for !compositing 2019-03-11 16:20:35 +02:00
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
2019-03-04 19:42:01 +02:00
Michail Vourlakos
f3be388c40 expose windowsCount to Indicators 2019-02-25 20:11:52 +02:00
Michail Vourlakos
ff77bc3485 compute icon colors only for indicators requesting 2019-02-24 17:26:47 +02:00
Michail Vourlakos
b1865e2634 hide indicator properly when task is removed 2019-02-24 16:33:37 +02:00
Michail Vourlakos
c805963327 prepare for new latte separators 2019-02-24 16:04:33 +02:00
Michail Vourlakos
c64df5a078 fixes for separators 2019-02-24 15:38:47 +02:00
Michail Vourlakos
2af8d6290a move task IndicatorLoader in its own qml file 2019-02-24 10:14:34 +02:00
Michail Vourlakos
f1eb8becfc improvements for Plasma Style indicator 2019-02-23 14:30:07 +02:00
Michail Vourlakos
fe71e5dd2e remove deprecated headers 2019-02-23 09:33:24 +02:00
Michail Vourlakos
8d265f9432 fix attention animation for reverse state 2019-02-22 21:56:28 +02:00
Michail Vourlakos
ef2e464ca8 improvements for separators 2019-02-22 21:31:56 +02:00
Michail Vourlakos
98c20e4f83 adjust separators to new indicators design 2019-02-22 20:51:37 +02:00
Michail Vourlakos
e40e1556a9 fix attention animation with new indicators 2019-02-22 20:25:51 +02:00
Michail Vourlakos
388a5cdb99 important fixes for tasks states 2019-02-22 19:54:25 +02:00
Michail Vourlakos
54a9e7ed17 reposition tasks indicatots to a better place 2019-02-22 19:41:01 +02:00
Michail Vourlakos
d9fe9d438d move Plasma/UnityIndicators into liblatte2 2019-02-22 19:22:11 +02:00
Michail Vourlakos
ab85d28701 move LatteIndicator at Latte library as it should 2019-02-22 18:34:19 +02:00
Michail Vourlakos
3d7f5e7990 update Latte Indicator to new design 2019-02-22 18:29:46 +02:00
Michail Vourlakos
0147ed8451 update indicators design in plasmoid 2019-02-22 17:14:38 +02:00
Michail Vourlakos
82a11b9f4a adjust plasmoid to new indicators design 2019-02-22 16:45:04 +02:00
Michail Vourlakos
9cd30a6551 fix warnings from VDs in ContextMenu 2019-02-16 22:33:40 +02:00
Mathias Tillman
ddb941d465 Fix window thumbnails not working since frameworks 5.55
Summary:
This fixes a problem where window thumbnails are no longer visible since KDE Frameworks 5.55. This is caused by https://cgit.kde.org/plasma-framework.git/commit/?id=b257029afc3bfcd6366d2c2b910b8d91403ab8a which no longer automatically updates the visibility of mainItem of PlasmaCore.Dialog.

BUG: 404234

Test Plan: Ensure window thumbnails are working correctly now

Reviewers: mvourlakos

Reviewed By: mvourlakos

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D19002
2019-02-14 14:01:35 +01:00
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.
2019-02-13 20:58:44 +02:00
Michail Vourlakos
e1ccd5f096 improve semantics for Task.LatteIndicator 2019-02-10 17:45:11 +02:00
Michail Vourlakos
2884f73507 enable Plasma Indicator Style
CCBUG: 404122
2019-02-10 17:38:09 +02:00
Michail Vourlakos
8f9140f67a option to enable/disable audio badge actions
BUG: 403611
2019-02-10 01:12:22 +02:00
Michail Vourlakos
c5bf65dc32 improve wheel behavior in plasmoid 2019-02-10 00:54:17 +02:00
Michail Vourlakos
901b5a9455 hide indicators when are user disabled 2019-02-10 00:29:55 +02:00
Michail Vourlakos
7149cf5569 do not make previews show intrusive
BUG: 404099
2019-02-09 09:28:10 +02:00
Michail Vourlakos
bd68d5dbcc dont show Preview after activating task with click
BUG: 404099
2019-02-08 18:28:12 +02:00
Michail Vourlakos
a295560ed1 move TaskShorcutBadge in its own qml item 2019-02-02 18:39:41 +02:00
Michail Vourlakos
fef791d8e1 improve names for globalshortcuts qml calls 2019-02-02 18:34:40 +02:00
Michail Vourlakos
58d8208704 fix binding loops for ShortcutBadges 2019-01-27 16:58:38 +02:00
Michail Vourlakos
f6d2e8c8f8 add 24px minimum height for ShortcutBadges 2019-01-27 16:35:31 +02:00
Michail Vourlakos
3bfa313cbb fix crash when showing shortcut badges
BUG: 403647
2019-01-27 13:54:57 +02:00
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
2019-01-25 16:46:12 +02:00
Michail Vourlakos
87a712229d circle View for InfoBadge when AudioBadge is shown
BUG: 403559
2019-01-25 16:26:30 +02:00
Michail Vourlakos
9851a71293 elide InfoBadge for first task when needed
BUG: 403518
2019-01-24 15:29:41 +02:00
Michail Vourlakos
37558dd20c dont include tasks badges at brightness effects
BUG: 403518
2019-01-23 23:50:33 +02:00
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
2019-01-23 22:47:42 +02:00
Michail Vourlakos
94a5118e54 update Latte plasmoid to new Communicator names 2019-01-22 18:23:26 +02:00
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
2019-01-20 20:22:55 +02:00
Michail Vourlakos
4bdcd5e4d2 rename task:centralItem to taskIcon
--improve readability of code
2019-01-20 14:30:57 +02:00
Michail Vourlakos
e3223d6908 rename task:mainItemContainer to taskItem 2019-01-20 14:28:10 +02:00
Michail Vourlakos
582d05e722 rename plasmoid Task Animations accordingly 2019-01-20 14:24:33 +02:00
Michail Vourlakos
52465865f9 rename Task SubParts in plasmoid accordingly 2019-01-20 14:19:08 +02:00
Michail Vourlakos
6c09418aa8 update badges mask in live mode at all cases
BUG: 403353
2019-01-19 22:15:57 +02:00
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.
2019-01-19 17:55:09 +02:00
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
2019-01-19 16:30:44 +02:00
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
2019-01-19 10:53:11 +02:00
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
2019-01-19 10:10:13 +02:00
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
2019-01-02 19:37:43 +02:00
Michail Vourlakos
b8dca987f6 latte plasmoid support new v0.9 Communicator 2018-12-27 12:20:43 +02:00
Michail Vourlakos
b418923c03 move from luminas to brightness
--the luminas functions didnt work well
for all cases. Latte is now using brightness
functions as described at:

   https://www.w3.org/TR/AERT/#color-contrast

this patch fixes all cases mentioned in the bug
that Latte contrast identification did not work well

BUG: 402115
2018-12-25 20:20:06 +02:00
Michail Vourlakos
f84043d28e REFACTOR:change dock in containment to latteView 2018-12-08 18:35:32 +02:00
Michail Vourlakos
d8621a9435 refactor:plasmoid rename latteDock to latteView 2018-12-08 09:38:27 +02:00
Michail Vourlakos
67253eda9d REFACTOR:update qml to new Latte.Types 2018-12-07 19:04:10 +02:00
Michail Vourlakos
74f80cd4db sync launchers when needed
--this way all synced docks/panels are all
updated concerning where their launchers are
placed and in which activities are shown
2018-11-25 02:22:48 +02:00
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.
2018-11-25 02:05:51 +02:00
Michail Vourlakos
694e25ef6b restore mouse wheel actions for tasks
BUG: 401380
FIXED-IN: 0.8.4
2018-11-25 00:52:59 +02:00
Michail Vourlakos
8294bd892c support plasmoid.screenGeometry properly
BUG: 401333
2018-11-23 16:57:33 +02:00
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
2018-11-21 20:57:28 +02:00
Michail Vourlakos
530dd8d655 simplify more the communicator 2018-11-04 20:29:07 +02:00
Michail Vourlakos
37b89f2830 move qml luminance calculations to js files 2018-10-26 18:19:56 +03:00
Michail Vourlakos
9dae7f7170 add Colorizing properties in Communicator
--add properties in order for the Communicator
to inform applet when to use the LatteColorScheme
2018-10-23 20:42:14 +03:00
l10n daemon script
7fd9cb1952 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2018-10-20 05:56:42 +02:00
Michail Vourlakos
e44bbffc78 hovering disable media buttons broke previews
--when back/forward media buttons in previews
where disabled and the mouse was hovering them
then the preview was hiding itself and the
previews experience was broken.
2018-10-06 13:08:24 +03:00
Michail Vourlakos
6f0bde510c dont break parabolic effect when dropping url
--when the user was dropping a file onto a launcher
after the new window was created the parabolic
effect was showing a faulty triggering.
2018-10-03 22:42:54 +03:00
Michail Vourlakos
8db41a9ec2 open dropped urls for launchers in Global group
--dropped paths/urls on launchers of Global or
Layout launchers group did not open because the
synced infrastructure was breaking the QJsonArray
in that case.

FIXED-IN: 0.8.2
2018-10-01 21:11:40 +03:00
Michail Vourlakos
beb28b1a9f dont hide preview when hovering player buttons
--when the user was hovering the preview player
buttons the preview was hiding itself. This patch
fixes the situation in order to identify properly
that the mouse is still in the preview in such
case.

BUG: 398962
FIXED-IN: 0.8.2
2018-09-22 20:59:27 +03:00
Michail Vourlakos
892becd5f0 show full text in previews tooltips
--add some margins in order to be able to draw full
text at launchers previews

BUG: 398948
FIXED-IN: 0.8.2
2018-09-22 18:55:42 +03:00
Yuri Chornoivan
7323068f36 Fix minor EBN issues 2018-08-30 08:47:53 +03:00
Michail Vourlakos
b4dd016ed0 delay hiding previews when creating contextmenu
-- there are cases that hiding previews too early
can create crashes under wayland. Such a case is
when the user uses the touchpad to emulate a right-click
event to create a context menu for specific task

BUG: 397635
FIXED-IN: 0.8.1
2018-08-28 19:35:49 +03:00
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
2018-08-28 18:55:33 +03:00
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
2018-08-07 01:04:31 +03:00
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
2018-08-04 02:05:44 +03:00
l10n daemon script
ec9ad19c36 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2018-08-03 05:35:32 +02:00
l10n daemon script
270e474841 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2018-07-26 05:42:31 +02:00
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
2018-07-24 18:26:17 +03:00
Michail Vourlakos
c64d39172e increase volumestep for audio badges wheel 2018-07-24 18:14:45 +03:00
Michail Vourlakos
3ea01dfafc fix badge text warning and border.color 2018-07-23 20:02:29 +03:00
Michail Vourlakos
49d91aa19e update master version to 0.8.75 2018-07-15 12:52:30 +03:00
Michail Vourlakos
785b3029ad update to stable version 0.8.0
--after one year of work v0.8 with
its fantastic new features is here
2018-07-15 12:50:29 +03:00
Michail Vourlakos
e6d87a0097 fix for filtering tasks based on launchers 2018-07-12 10:35:15 +03:00
Michail Vourlakos
321af85469 update to v0.7.96
--last beta with string freeze before
official release of v0.8
2018-07-06 09:45:36 +03:00
Michail Vourlakos
d7070d6a34 dont update spacers in launcher bouncing animation 2018-07-05 22:40:26 +03:00
Michail Vourlakos
0c6f9be0e7 some improvements to hidden spacers 2018-07-05 00:01:27 +03:00
Michail Vourlakos
1365d2f444 improvements for hidden spacers animations 2018-07-04 01:51:02 +03:00
Michail Vourlakos
ff2b895fed fix launch feedback for plasma 5.13
--in plasma 5.13 there are cases the libtaskmanager
shows two launchers because we delay the launcher
removal for the bouncing animation. A way
to fix this by the user is to disable all startups
through plasma systemsettings->launch feedback
for the taskmanager. But because this is a
default plasma option many users would feel
uncomfortable when the launching animation
breaks. Such apps were gimp and inkscape.
This patch handles that case in order to provide
a nice no-breaking launcher animation for
these apps also.
2018-06-26 22:48:43 +03:00
l10n daemon script
bc93683d25 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2018-06-25 05:22:31 +02:00
Michail Vourlakos
b3d80717c1 Beta1 for v0.8
--this is the first beta release for
v0.8. Everything will be open for the
upcoming days including translation
strings improvements. Beta2 possibly
will introduce a string freeze.
2018-06-22 18:19:18 +03:00
l10n daemon script
f6097cd2dc SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2018-06-16 05:30:04 +02:00
l10n daemon script
972a56bd69 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2018-06-11 05:41:22 +02:00
Lukas Holecek
79df6cbe2c Activate next task in group on shortcut
Clicking a task group shows a tooltip with list of tasks. This tooltip
cannot be controlled by keyboard and it will stay open unless mouse is
used.

This patch changes the behavior so that when a global shortcut activates
a task group (usually Win+1, Win+2 etc.) a next task in the group is
activated without showing a tooltip.
2018-05-27 00:59:27 +03:00
Michail Vourlakos
8866047099 fix #1031,limit tooltip to 80characters 2018-05-23 15:38:03 +03:00
Michail Vourlakos
568ccd6e26 localization strings improvements 2018-05-23 14:57:27 +03:00
l10n daemon script
3f4fa6699c SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2018-05-19 06:04:08 +02:00
l10n daemon script
680032c222 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2018-04-23 05:24:11 +02:00
Michail Vourlakos
33f104215a fix #976,dont hide startups when having launchers 2018-04-21 15:54:36 +03:00
Michail Vourlakos
83be8d9b20 fix #986,option to not group tasks
--give the user option to group or not
tasks of the same application by default
2018-04-19 17:55:47 +03:00
Michail Vourlakos
2d9b5376b7 add missing license headers in javascript files 2018-04-15 15:23:39 +03:00
Michail Vourlakos
7c593c7112 fix #977,improve geometries publishing 2018-04-14 19:47:29 +03:00
Michail Vourlakos
7f89bd99b0 fix #985,use same style for tasks/applets numbers 2018-04-14 05:39:01 +03:00
Michail Vourlakos
e9ad5cd660 fix #981,single window titles in title tooltips 2018-04-14 05:29:37 +03:00
Michail Vourlakos
6881d8fbbe fix #970,parabolic effect fix
During dock sliding-in because the parabolic
effect isnt trigerred immediately but we wait
first the dock to go to its final normal
place we might miss the activation of the
parabolic effect. By catching that signal
we are trying to solve this.
2018-04-09 01:03:05 +03:00
Michail Vourlakos
7b77a71980 dont disable restore zoom for previews 2018-04-08 19:03:41 +03:00
Michail Vourlakos
3b7f4f4997 [wayland] improve previews behavior 2018-04-08 18:48:58 +03:00
Michail Vourlakos
5ea2cfa79e [wayland] - fix previews crash
-- disable the use of PlasmaCore.WindowThumbnail
under Wayland in order to fix a crash that was
appearing after a while when the user was using
previews

BUG: 392865
2018-04-08 18:24:29 +03:00
Michail Vourlakos
6de8417007 fix #970,dont show previews when sliding in/out 2018-04-08 12:07:02 +03:00
Michail Vourlakos
6d7d53e454 improve removal animation
-- when removing a task and there are surrounding
separators then the hidden spacers are updated
immediately for the neighbour tasks. In such case
in order to not break the removal animation a small
margin must applied.
2018-04-08 11:32:21 +03:00
Michail Vourlakos
39d837da1d increase separators update signals
--add a delayer in order to syncLaunchers to avoid
a crash when multiple docks exist that are synced
together.
2018-04-07 18:34:01 +03:00
Michail Vourlakos
544642903b fix warnings under wayland 2018-04-07 17:56:48 +03:00
Michail Vourlakos
18fb040b84 dont break the bouncing animation 2018-04-07 17:47:40 +03:00
Michail Vourlakos
9c15b90f78 update tasks edges when task becomes shown/hidden 2018-04-07 15:18:32 +03:00
Michail Vourlakos
e9b3cf2ed7 Use a new architecture for internal separators
--the old architecture that was trying to keep
an internal separators record couldnt catch up
and at the same time could create issues with
internal separators at different activities.
2018-04-07 15:07:12 +03:00
Michail Vourlakos
d4685cd492 disable functionality for onlylaunchers
--when only launchers are shown and the user
has chosen to disable any active indicator
then the plasmoid should behave only as
a smart launchers list with no window
capabilities
2018-04-07 03:17:18 +03:00
Michail Vourlakos
eec2927f88 updates for hidden tasks and int.separators 2018-04-07 02:48:58 +03:00
Michail Vourlakos
b8c07b8523 fixes for disable Windows Functionality 2018-04-07 01:43:27 +03:00
Michail Vourlakos
2742be427b fix #901,show windows only from launchers
--add an option to tasks filters in order to
hide windows that do not have launchers
2018-04-06 19:36:30 +03:00
Michail Vourlakos
1a5fed2e67 fix positioning of internal separators
--when the user has enabled reverse active
indicators
2018-04-02 17:33:28 +03:00
Michail Vourlakos
a0e4c029a9 use plasma desktop version at plasmoid 2018-04-02 16:44:00 +03:00
Michail Vourlakos
badbe7da6a update to version 0.7.79 2018-04-02 00:50:26 +03:00
Michail Vourlakos
f5b56e3559 improvements for publishing geometries 2018-04-01 16:41:42 +03:00
Michail Vourlakos
7ce5938312 add internal separator through drag n' drop 2018-03-31 13:46:26 +03:00
Michail Vourlakos
e9580dbe1e fixes in animations when dragging a task 2018-03-31 10:36:24 +03:00
Michail Vourlakos
4370878b12 support pretty big badge messages counter
--following plasma paradigm we now support
badge messages until 9.999 and even more to
be shown to the user as indicator
2018-03-31 10:29:15 +03:00
Michail Vourlakos
5cb27f0ae4 fix initialization value 2018-03-26 21:45:18 +03:00
Michail Vourlakos
6fc6a1f142 fix warnings 2018-03-26 21:31:29 +03:00
Michail Vourlakos
5f538274a2 fix ToolTipInstance warnings for no model present 2018-03-21 17:24:30 +02:00
Michail Vourlakos
f655a81512 fix warnings on startup from ToolTipInstance 2018-03-18 19:14:16 +02:00
Michail Vourlakos
9b77d8d2a5 fix binding look for TooltipInstance 2018-03-18 19:03:44 +02:00
Michail Vourlakos
2bb2c23d01 use default previews for launchers
-- use default previews for launchers
when the user has enabled the tasks
previews functionality
-- fix some warnings for previews
2018-03-18 13:01:45 +02:00
Michail Vourlakos
f939d57a8f increase text size for previews 2018-03-18 13:01:45 +02:00
Michail Vourlakos
d14d21531a improvements for task previews
--always delete a previous timer for checking
preview showing before creating a new one
--always make sure the before showing a preview
the dock isnt hidden
2018-03-17 10:40:12 +02:00
Michail Vourlakos
35f53e6428 animations improvements
--animate tasks hidden spacers properly
when a task is inAttention and the user
enters the mouse at first time when the task
isnt zoomed
--improve tasks hidden spacers animated
behaviors
--improve applets hidden spacers animated
behaviors
2018-03-16 09:33:37 +02:00
Michail Vourlakos
452e93c33e improve update of hoveredIndexes
--when the plasmoid is hovered when the
applets hoveredIndex should be initialized
and when an applet is hovered then the plamoids
hoveredIndex should be initialized to -1.
2018-03-16 00:35:11 +02:00
Michail Vourlakos
3fe9d2bc4e hide preview when closing last preview from btn
BUG: 391898
2018-03-16 00:17:21 +02:00
Michail Vourlakos
b2d917026f enable directRenderDelayer after hiding 2018-03-14 16:46:16 +02:00
Michail Vourlakos
0bb70c1595 drop fastEntering for directRenderDelayer
--the directRenderDelayer is used during first
entering in order to delay the activation of
directRendering. The cons of previous fastEntering
implementation added the necessity for this
replacement.
2018-03-14 16:32:23 +02:00
Michail Vourlakos
5b77c09faa improve fastEntering tracking
--take into account both hoveredIndexes
(applet & containment) for fastEntering
identify.
2018-03-14 16:32:23 +02:00
Michail Vourlakos
ec3a68b81e disable some debug messages 2018-03-12 20:17:49 +02:00
Michail Vourlakos
4cf4351b80 improve all luminance calculations
--provide more accurate calculations for luminance
based on algorithm at:
https://www.w3.org/TR/2008/REC-WCAG20-20081211/#relativeluminancedef
2018-03-12 20:08:03 +02:00
Michail Vourlakos
2266461609 improve removal animation duration 2018-03-11 02:16:29 +02:00
Michail Vourlakos
6379b401b7 increase wheel sensitivity
--this is used for the audiobadge in order to
be more natural its behavior to the users
expectations
2018-03-03 12:32:16 +02:00
Michail Vourlakos
a32eb124da fix #892,reduce scrolling speed for audio badges 2018-03-03 12:07:25 +02:00
Michail Vourlakos
f8b5bc5c25 fix #890,use only pulseaudio stream to track audio 2018-03-03 10:55:19 +02:00
Michail Vourlakos
7055b44a6e fix #890,dont show audio for paused mpris player
--improvements from plasma taskmanager mpris code
--check for mprisplayer status, when the player
is paused dont show the audio badge
2018-03-03 10:27:07 +02:00
Michail Vourlakos
9166293348 fix previews dialog for wayland 2018-03-02 21:24:33 +02:00
Michail Vourlakos
6bb7f0ab51 improve context menus for wayland 2018-03-02 20:27:32 +02:00
Michail Vourlakos
410190e615 fix #891,import old launchers only once
--import deprecated launchers to new architecture only
once
2018-03-02 19:13:05 +02:00
Michail Vourlakos
a6d92153f9 fix #881,load launchers correctly in plasma panel 2018-02-25 23:36:06 +02:00
Michail Vourlakos
aaecd4de15 improve mouse par.effect sensitivity for tasks 2018-02-25 21:29:00 +02:00
Michail Vourlakos
1ff161a030 updates and improvements at applets glob.shortcuts 2018-02-25 20:00:23 +02:00
Michail Vourlakos
103b901125 support showing applets numbers with badges
-- this is used mainly from globalshortcuts triggering
2018-02-25 19:05:32 +02:00
Michail Vourlakos
e92b570a4f add BadgeText in Latte lib from the plasmoid
-- move BadgeText in Latte lib in order to be able
to be used from plasmoid and containment at the
same time
2018-02-25 17:31:10 +02:00
Michail Vourlakos
316b6fb6df call checkRestoreZoom properly for contextMenu
--latte plasmoid has its own build-in contextMenu. Call
properly the checkRestoreZoom for that contextMenu
2018-02-23 20:35:43 +02:00
Michail Vourlakos
7dbb71167b use plasma theme for audio badges 2018-02-22 20:15:27 +02:00
Michail Vourlakos
3b71e0e4d8 disabe globalDirectRender after task bouncing 2018-02-19 19:15:52 +02:00
Michail Vourlakos
bdc03805ee update version to 0.7.78 2018-02-19 18:28:44 +02:00