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

34 Commits

Author SHA1 Message Date
Tranter Madi
fe5dbf9f2b Improve context menu
Summary:
- Add `Configure Latte Global Settings...` because it's too hidden in Layout > Configure and does not relate to the Layout menu.
- Insert a new `Separator` to separate between Global settings and View settings (see screenshot)
- Rename `Panel/Dock Settings` to `Edit Panel/Dock` (Verb + Noun)
- Rename `Layout > Configure...` to `Layout > Manage Layouts` (Verb + Noun)

Menu Items Order:

   a.  -separator-
   b. Layouts->
   c. Configure Application...
   e.  -separator-
   f. Add Widgets...
   g. Edit Dock...
   h.  -separator- [only for Tasks plasmoid]
   i.  Close... [only for Tasks plasmoid]

BUG: 415584

Test Plan:
Before:
{F7844554}

After:
a. context menu of applets
{F7845184}
b. context menu of a task that hasn't/has one window shown
{F7844944}
{F7845185}
c. context menu of Latte Tasks plasmoid when used on the desktop
{F7845186}
{F7845187}

Reviewers: #latte_dock, #vdg, mvourlakos

Reviewed By: #latte_dock, mvourlakos

Subscribers: ngraham, ndavis, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D26238
2019-12-27 23:41:23 +07:00
Michail Vourlakos
d31d7afb9d dont wait for dock to show for activate shortcuts
--when the application launcher is not a popup then
we do not have to wait for the dock show we can execute
the activation code immediately
--when Latte activates an entry can now understand
if a popup is going to be shown in order to delay
the execution. If a popup is NOT going to show either
for a latte task or an applet then the code is executed
immediately

BUG:415417
FIXED-IN:0.9.6
2019-12-21 23:37:52 +02:00
Michail Vourlakos
111254e509 refactor:move qml handling from globalshortcuts
--all the qml handling code from globalshortcuts is
now moved to Latte::View::ContaimentInterface. This
way the code is cleaner and can be expanded easier.
2019-12-21 23:37:41 +02:00
Michail Vourlakos
1a49238d57 track kwinrc file only on changes
--instead of reading the kwin values all the time
when needed from user actions we now read them
only on startup and when the kwinrc file was
updated/changed

BUG:411657
FIXED-IN:0.9.3
2019-09-08 00:09:42 +03:00
Michail Vourlakos
eb0c52c52b improve settings windows shown trigerring behavior
--when the user uses Meta+A to cycle between the Views
configuration windows then in such case when NO Config
window is shown the LAST ONE USED should be shown again.
IF a Config View is already shown then the NEXT should
be shown afterwards
2019-07-10 17:10:31 +03:00
Michail Vourlakos
61e9e629c5 rename some global shortcuts texts
--protect also the Layout::lastConfigViewFor,
dont sent a view that is no longer available
2019-05-25 18:05:24 +03:00
Michail Vourlakos
7cd3b6201d remember the last created ConfigView per layout 2019-05-25 17:40:29 +03:00
Michail Vourlakos
f89b110a36 drop Meta+E that is used from Dolphin 2019-05-12 17:36:15 +03:00
Michail Vourlakos
a661fbb032 refactor:drop LAYOUTSMANAGER apis moved to SYNCHER 2019-05-11 09:51:47 +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
1f14405e63 REFACTOR: rename Active TO -> CENTRALLAYOUT 2019-05-08 21:48:34 +03:00
Michail Vourlakos
bdca8f58e8 simplify GenericLayout::latteViews call 2019-04-09 21:01:50 +03:00
Michail Vourlakos
fb4508c6a7 simplify CMakeLists 2019-04-06 22:04:21 +03:00
Michail Vourlakos
7d0905e379 refactor: rename Layout to ActiveLayout
--first steps to abstract the Layout code in
different classes
2019-04-06 13:55:17 +03:00
Michail Vourlakos
c735792c30 REFACTOR:replace all "foreach" statements 2019-04-05 17:17:10 +03: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
20b76a182c add/enable option for MetaPressAndHold action
--user can now enable/disable the Meta pressAndHold
behavior that shows shortcuts badges. The new option
is located at Latte preferences.

BUG: 403840
2019-02-10 02:39:09 +02:00
Michail Vourlakos
5db22022c1 refactor:cleanup globalshortcuts
--move out from globalshortcuts functions that were
related to latte views functions such as sorting,
highest priority etc. All these were moved to their
appropriate places in layout manager or layout classes
2019-02-07 09:38:01 +02:00
Michail Vourlakos
0be2048d16 improve code style 2019-02-06 18:22:31 +02:00
Tranter Madi
fede9feb2d improvements for global shortcuts
Summary: BUG: 403880

Reviewers: mvourlakos

Reviewed By: mvourlakos

Subscribers: plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D18717
2019-02-06 18:17:32 +02:00
Michail Vourlakos
c1bcd5c5ca improvements for global shortcuts based on position
BUG: 403880
2019-02-03 18:50:08 +02:00
Michail Vourlakos
cf93b7516d improve global shortcuts options
--the user can disable "global shortcuts based
on position" by disabling the global shortcuts
for the first two latte items
--improve texts readability

BUG: 403880
2019-02-03 09:55:01 +02:00
Michail Vourlakos
69b49d42dd the user must enable shortcuts based on position
--the option is now present to Behavior page in order
for the user to enable global shortcuts based on position.
2019-02-03 00:32:00 +02:00
Michail Vourlakos
b15bd24218 refactor:move shortcutsEngine to its own class
--in that way all environment related shortcuts
management (e.g. plasma related shortcuts) is moved
in its own class
2019-02-03 00:10:07 +02:00
Michail Vourlakos
9cd851faea show only one Meta badge
--more fixes for globalshortcuts
2019-02-02 20:37:34 +02:00
Michail Vourlakos
66b2e4bd9c fixes and improvements for globalshortcuts 2019-02-02 20:19:20 +02:00
Michail Vourlakos
7740649c85 show all views that contain shortcuts 2019-02-02 19:30:56 +02:00
Michail Vourlakos
43acc40ac3 improve names in global shortcuts 2019-02-02 18:46:48 +02:00
Michail Vourlakos
fef791d8e1 improve names for globalshortcuts qml calls 2019-02-02 18:34:40 +02:00
Michail Vourlakos
aa2b607fb8 refactor:improve naming in globalshortcuts 2019-02-02 18:16:17 +02:00
Michail Vourlakos
898ab9f9e0 improve hideViewsSlot for globalshortcuts 2019-02-02 18:06:16 +02:00
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