Commit Graph

34 Commits (411017c0f687fd10beb5f01e716eb22e0583d332)

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
5 years ago
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
5 years ago
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.
5 years ago
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
5 years ago
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
6 years ago
Michail Vourlakos 61e9e629c5 rename some global shortcuts texts
--protect also the Layout::lastConfigViewFor,
dont sent a view that is no longer available
6 years ago
Michail Vourlakos 7cd3b6201d remember the last created ConfigView per layout 6 years ago
Michail Vourlakos f89b110a36 drop Meta+E that is used from Dolphin 6 years ago
Michail Vourlakos a661fbb032 refactor:drop LAYOUTSMANAGER apis moved to SYNCHER 6 years ago
Michail Vourlakos a27ff3ec48 REFACTOR:Update LayoutManager to Layouts::Manager
--create "layouts" own directory in order to host
all LAYOUTS management/control code and classes
6 years ago
Michail Vourlakos 29157f4636 refactor:rename managedLayout to layout/viewLayout 6 years ago
Michail Vourlakos 1f14405e63 REFACTOR: rename Active TO -> CENTRALLAYOUT 6 years ago
Michail Vourlakos bdca8f58e8 simplify GenericLayout::latteViews call 6 years ago
Michail Vourlakos fb4508c6a7 simplify CMakeLists 6 years ago
Michail Vourlakos 7d0905e379 refactor: rename Layout to ActiveLayout
--first steps to abstract the Layout code in
different classes
6 years ago
Michail Vourlakos c735792c30 REFACTOR:replace all "foreach" statements 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 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
6 years ago
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
6 years ago
Michail Vourlakos 0be2048d16 improve code style 6 years ago
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
6 years ago
Michail Vourlakos c1bcd5c5ca improvements for global shortcuts based on position
BUG: 403880
6 years ago
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
6 years ago
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.
6 years ago
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
6 years ago
Michail Vourlakos 9cd851faea show only one Meta badge
--more fixes for globalshortcuts
6 years ago
Michail Vourlakos 66b2e4bd9c fixes and improvements for globalshortcuts 6 years ago
Michail Vourlakos 7740649c85 show all views that contain shortcuts 6 years ago
Michail Vourlakos 43acc40ac3 improve names in global shortcuts 6 years ago
Michail Vourlakos fef791d8e1 improve names for globalshortcuts qml calls 6 years ago
Michail Vourlakos aa2b607fb8 refactor:improve naming in globalshortcuts 6 years ago
Michail Vourlakos 898ab9f9e0 improve hideViewsSlot for globalshortcuts 6 years ago
Michail Vourlakos aae2ecc78b refactor:update names in globalshortcuts
--use Latte View as a reference instead of the
deprecated Latte Dock
6 years ago
Michail Vourlakos 608275cc6b refactor:move modifiers code at its own class 6 years ago