1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-04 13:18:07 +03:00
Commit Graph

2536 Commits

Author SHA1 Message Date
Michail Vourlakos
aae2ecc78b refactor:update names in globalshortcuts
--use Latte View as a reference instead of the
deprecated Latte Dock
2019-02-02 18:01:52 +02:00
Michail Vourlakos
608275cc6b refactor:move modifiers code at its own class 2019-02-02 17:46:35 +02:00
Michail Vourlakos
f2f8f0eb8b improvements for Meta behavior
--global shortcuts now tracks modifiers changes
and trys to do the best for the user.
1. When Meta is pressed and holded latte views are
shown
2. When Meta is clicked but without been holded then
the Application Launcher code path is preferred
3. Activating Latte entries does not follow the
Meta pressedAndHolded code path
4. Pressing any other modifier except Meta cancels the
Meta pressed code path

BUG: 403734
2019-02-01 20:19:58 +02:00
Michail Vourlakos
6008f080bd remove x11 hack for global shortcuts
--enhance modifiers tracking at globalshortcuts
class
2019-02-01 20:01:00 +02:00
Michail Vourlakos
6f1c66f7d2 Display shortcut badges while holding Super
Summary:
Use `KModifierKeyInfo` to display shortcut badges while holding Super

BUG: 401768

Test Plan:
Just playing with it.
I still don't understand the `GlobalShortcut` class very well, correct me if I make any mistake.

Reviewers: #latte_dock, mvourlakos

Reviewed By: #latte_dock, mvourlakos

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D18620
2019-02-01 19:14:18 +02:00
Michail Vourlakos
f31df4ee71 show plasma shortcuts for applets
--when shortcuts badges are shown then the
plasma assigned shortcuts are preferred to
be presented to the user
2019-01-30 20:04:00 +02:00
Michail Vourlakos
a2569664b3 Latte is now informed for applets shortcuts
--meaning that Latte now has provide information
for applets when these applets have shortcuts been set
by plasma infrastructure.
2019-01-30 19:52:32 +02:00
Michail Vourlakos
e45ab91d65 heal layout file from deprecated applets
--there are deprecated applets that are not
used, I dont know under which circumstances
this ghost applet configurations are created,
they are shown more commonly under plasma
systrays
2019-01-27 20:21:37 +02:00
Michail Vourlakos
2332ca6d89 fix warning 2019-01-27 17:19:52 +02:00
Michail Vourlakos
e5c2b37f79 update Tasks Indexes immediately after shortcuts
--do not delay updating the tasks indexes and counts in
Latte plasmoid in order to avoid inconsistent values
during startup. Now entries activation works immediately
after startup
2019-01-27 17:14:13 +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
46dd59b65a cleanup applet shortcuts on startup
--when Latte crashes the global shortcuts from applets
remain untouched in kglobalshortcutsrc file. That fact
based on the Latte architecture that can alter applet
ids during layout loading can break the global shortcuts
experience by creating multiple global shortcuts records
for the same applet and by disabling some shortcuts because
these shortcuts are already enabled for ghost applets of
the crashed layout. This patch fixes this by removing all
applet global shortcuts during startup. Applet global shortcuts
are already saved in the layout file based on the current
plasma architecture, that fact simplifies things a lot.

BUG: 401184
2019-01-27 16:06:05 +02:00
Michail Vourlakos
3bfa313cbb fix crash when showing shortcut badges
BUG: 403647
2019-01-27 13:54:57 +02:00
Michail Vourlakos
62f396e86f add shortcuts for layout 2019-01-27 13:42:19 +02:00
Michail Vourlakos
ffc1669c67 fix height binding loop for BadgeText 2019-01-27 10:29:56 +02:00
Pino Toscano
72341142a2 fix project_license in appstream file
use the right SPDX tag
2019-01-27 08:57:23 +01:00
Michail Vourlakos
1bfa52ed79 update Changelog to v0.8.5 2019-01-26 18:10:46 +02:00
Michail Vourlakos
b3a845a0d5 do not show tooltip for spacers and separators 2019-01-26 15:58:44 +02:00
Michail Vourlakos
2ab84aa140 make badge Text dependent of Badge height
--this way at very small sizes the text is still
shown without overlapping the badge indicator

BUG: 403602
2019-01-26 15:27:57 +02:00
Michail Vourlakos
ad5286279f rename properties appropriately in containment 2019-01-25 17:36:15 +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
f03e820caf reposition items to respect proper stack order 2019-01-23 23:09:24 +02:00
Michail Vourlakos
62033157f6 unblock View after AppLaucher shortcut trigger
--the Application Launcher triggering through global
shortcuts (codepath) was missing a release for
visibilitymanager in order to work correctly after
the applet trigerring.

BUG: 403471
2019-01-23 23:02:42 +02:00
Michail Vourlakos
fb78f49d8f dont colorize Applet Shortcut Badges 2019-01-23 22:55:43 +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
01a1ddcf9e IMPORTAT:fix splitters positioning 2019-01-23 20:23:48 +02:00
Michail Vourlakos
94a5118e54 update Latte plasmoid to new Communicator names 2019-01-22 18:23:26 +02:00
Michail Vourlakos
5416b1c0ef REFACTOR:move layout to its own folder 2019-01-22 18:17:55 +02:00
Michail Vourlakos
d04a3307d7 change names for two Communicator options
--follow qt naming for some Communicator options
2019-01-22 18:04:37 +02:00
Michail Vourlakos
3908b668a3 add two new Communicator options for applets
--activeIndicatorEnabled, applets can use it in order
to enable/disable the Latte Active Indicator for them
--parabolicEffectEnabled, applets can use it in order
to disable Parabolic Effect (zoom) for them
2019-01-22 17:49:36 +02:00
Michail Vourlakos
6fe73c40e1 IMPORTANT:improve splitter positioning on startup
--when there was only one applet in the Center under
Justify mode then during startup its positioning broke
as it was placed faulty at the far right

BUG: 403469
2019-01-21 20:17:35 +02:00
Michail Vourlakos
130bb32c8e move view config window for advanced mode
--there were cases for small screen resolutions
that because the view settings windows did not
change its height, it was not changing its placement
to the side of the screen
2019-01-20 20:36:35 +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
e2cf406ade faulty object name 2019-01-20 17:36:59 +02:00
Michail Vourlakos
ab633f64a7 update new features reference 2019-01-20 15:40:41 +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
eddb6d229f rename applet(container) to appletItem
--improve naming for main applet item
2019-01-20 14:08:26 +02:00
Michail Vourlakos
abeb42935b rename Applet parts accordingly 2019-01-20 13:58:24 +02:00
Michail Vourlakos
a01ac0d504 move Colorizer.Applet to better fit place 2019-01-20 11:37:57 +02:00
Michail Vourlakos
9d49063cc4 move applet active indicator out of colorizer
--the Active Applet Indicator must not be colorized
and as such is moved out of the Colorozing scope
2019-01-20 11:34:24 +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
990b8868cd guard m_parent caller at secconfigview
BUG: 403406
2019-01-19 22:00:27 +02:00
Michail Vourlakos
ad3b5abeaf enhance background solidness when touching window
--When the user has chosen a solid background when
there are windows touching the Latte panel then in
such case windows that are touching the panel not
just at the edge but at the at any point of the latte
panel are also considered as touching windows
--The "snapped" term that was used before in the
visibilitymanager was changed to "touching"
2019-01-19 18:55:19 +02:00