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

2580 Commits

Author SHA1 Message Date
Michail Vourlakos
dfd115f380 Move Meta key option to new Actions section 2019-02-09 21:50:23 +02:00
Michail Vourlakos
e780184d0c update option for Plasma Background Roundness
--that option now supports also Automatic in order
for Latte background parts to use the Latte heuristics
in order to identify the proper roundness
2019-02-09 21:43:53 +02:00
Michail Vourlakos
6a235244b3 update translation string 2019-02-09 17:52:50 +02:00
Michail Vourlakos
5caee17eb0 update headers HIG in View settings 2019-02-09 17:49:12 +02:00
Michail Vourlakos
90164358f6 dont break colors for Latte popups 2019-02-09 17:01:42 +02:00
Michail Vourlakos
fd300ec9cf simplify colorize properties & active new options 2019-02-09 16:49:54 +02:00
Michail Vourlakos
730030c5fb remove deprecated old values 2019-02-09 16:03:09 +02:00
Michail Vourlakos
717c7f9612 enable new Colors options in the settings window 2019-02-09 15:43:12 +02:00
Michail Vourlakos
dba08b5e3d add missing characters 2019-02-09 15:20:43 +02:00
Michail Vourlakos
cdc610aed0 add option to force plasmabackground for popups 2019-02-09 15:13:56 +02:00
Michail Vourlakos
2cd581b6b3 merge DynamicBack(options) to Background 2019-02-09 09:41:32 +02:00
Michail Vourlakos
ed67690d07 new Colors options in View settings
--plus a new HIG proposal for subcategories of
buttons. The sub-category title is placed in the
center and opacity:0.4 is set for it.
2019-02-09 09:29:11 +02:00
Michail Vourlakos
7149cf5569 do not make previews show intrusive
BUG: 404099
2019-02-09 09:28:10 +02:00
Michail Vourlakos
5d3621b461 improve usability for ScreenHeight items option 2019-02-08 20:54:19 +02:00
Michail Vourlakos
cce8254e2d add new sub-category for view options
--adding a new HIG in order to demonstrate
subcategories in central options categories
2019-02-08 20:29:13 +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
031e19a8ab expose activeWindowScheme through windowTracker 2019-02-07 20:45:56 +02:00
Michail Vourlakos
9263b3e890 improvements for window tracker 2019-02-07 20:34:07 +02:00
Michail Vourlakos
1e65211277 DodgeAllWindows now uses WindowsTracker
--this way we use the same code for Dynamic
Background and DodgeAllWindows
2019-02-07 20:24:52 +02:00
Michail Vourlakos
9b9072d8f6 update qml code to follow windowTracker 2019-02-07 19:32:29 +02:00
Michail Vourlakos
78096b4181 refactor:move window functions to its own class
--all windows related functions present at visibility
manager are moved at their own class WindowsTracker
2019-02-07 19:15:25 +02:00
Michail Vourlakos
a7bfff0b96 reorganize a bit the DynamicBackground settings 2019-02-07 10:01:27 +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
499ae015c1 fix publishing launchersSignals in qml
--fix headers in order to work correctly
2019-02-06 08:52:33 +02:00
Michail Vourlakos
53b5904706 dont enforce background shadow for menu plasmoids
--dont enforce background shadow for global menu
plasmoids such as AWC, plasma appmenu, window appmenu

BUG: 403780
2019-02-03 21:44:53 +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
50dc45c61f fix headers references for classes 2019-02-03 01:48:37 +02:00
Michail Vourlakos
d53c2cbea3 fix indents / text appearance 2019-02-03 01:36:39 +02:00
Michail Vourlakos
668c2ff139 dont close view settings when Alternatives shown
--this way the user can also choose different Alternatives
without having false applets replacements or Latte failing

BUG: 403658
2019-02-03 01:31:52 +02:00
Michail Vourlakos
730d204a56 improve settings explanations 2019-02-03 00:59:08 +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
8e8b8e0c73 fix warnings 2019-02-02 20:40:18 +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
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
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
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