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

63 Commits

Author SHA1 Message Date
Michail Vourlakos
eefbc5e9ec fix #636,new approach for Layout,Global launchers
--changed the design totally and use only signals
between plasmoid in order to update their models. This
way the launcherList from their tasksmodel should be
updated only on the initialization phase of the Latte
plasmoid. Afterwards signaling between them takes
place, in order to inform each other for adding,
removing launchers, moving them and assigning them
to activities
2017-07-31 03:53:39 +03:00
Michail Vourlakos
7d4344637c fix #635,never add primary dock over an explicit
--the addDock code now checks if at the primary screen
in the specific edge there is already assigned an explicit
dock. In that case it doesnt add that primary dock
2017-07-30 13:08:08 +03:00
Michail Vourlakos
a1fac1a29c remove deprecated code 2017-07-28 17:12:21 +03:00
Michail Vourlakos
cc94677817 remove deprecated code 2017-07-26 17:47:32 +03:00
Michail Vourlakos
68a5223b47 fix #616,use unique ids for applets and containme 2017-07-25 00:01:41 +03:00
Michail Vourlakos
9f16814780 remove deprecated globalsettings 2017-07-24 20:01:11 +03:00
Michail Vourlakos
9195dafbc9 support renaming of active layout 2017-07-24 20:01:11 +03:00
Michail Vourlakos
747fe2fd02 expose a QMultiComboBox for activities in layouts 2017-07-24 20:01:11 +03:00
Michail Vourlakos
5b10280500 expose activities properties through corona 2017-07-24 20:01:11 +03:00
Michail Vourlakos
f2de335d35 move functionality to new architecture
--add functionality for layoutManager
--add widgets action and alternative layout action to
layoutManager
--remove more functionality that belongs to globalSettings
2017-07-24 20:01:11 +03:00
Michail Vourlakos
f30c9056b3 support Alternative switching for new architecture 2017-07-24 20:01:11 +03:00
Michail Vourlakos
b15e919bab remove all the session functionality
--the session functionality is not removed only from
globalsettings class which is just waiting to be removed
tottaly when its functionality moves to the new classes
2017-07-24 20:01:11 +03:00
Michail Vourlakos
1a9ea88bc8 add LayoutSettings class and expose classes 2017-07-24 20:01:11 +03:00
Michail Vourlakos
06ddef8506 cnew architectures classes,add missing licenses 2017-07-24 20:01:11 +03:00
Michail Vourlakos
720a5e5123 update main layout config files 2s after loading
--we update the main layout config files 2secs after
the main layout loading
2017-06-30 11:41:17 +03:00
Michail Vourlakos
b417ae52c3 support dynamic layouts loading 2017-06-30 11:41:17 +03:00
Johan Smith Agudelo Rodriguez
a6bcc53aad Cleaning up a bit before implementing always visible 2017-06-20 16:59:11 -05:00
Michail Vourlakos
ab045b2e9d fix #537,add copied dock properly in explicit scr
--the copy dock function now works properly in a
multi-screen environment
2017-06-20 20:15:12 +03:00
Michail Vourlakos
a05785e34b differentiate dockNo perScreen and total
--improve the signaling between the configuration window
and the dockview concerning freeEdges for current screens
and docks count. Now the docks counting is different
between screens and in general
2017-06-12 00:40:45 +03:00
Michail Vourlakos
b0ebfdbe4f first approach to copy a dock 2017-06-06 19:01:02 +03:00
Michail Vourlakos
575ff06a66 support window placement in wayland!!! :) 2017-06-04 11:54:13 +03:00
Michail Vourlakos
4de9ea1e7e add globalshortcuts class to improve semantics
--the globalshortcuts class contains all the relevant
code and includes also some functions that were used
from corona to trigger changes into the Latte Tasks
plasmoid
2017-06-04 01:58:03 +03:00
Michail Vourlakos
4f030849f0 expose through dbus updateBadge for dock items
--apps can sent through dbus and identificator
e.g. "kmail" and a value for unread mails e.g.2
Latte afterwards will update that specific badger
2017-04-21 16:34:19 +03:00
Michail Vourlakos
b034e748bb fix #365,support shortcuts to activate tasks
--this patch supports activation through shortcuts
--Meta+number, activates the relevant task, for
groups by default it activates the next available
window in the group
--Meta+Ctrl+number, create a new instance for that task
or launcher
--the user should know that must first enable these
shortcuts at plasma global shortcuts configuration
window
2017-04-21 16:13:22 +03:00
Johan Smith Agudelo Rodriguez
664bedb839 unused member 2017-03-22 00:16:27 -05:00
Michail Vourlakos
bb7235879b move autostart code in globalSettings 2017-03-18 14:16:32 +02:00
Michail Vourlakos
e57d525824 create globalsettings for corona
--first all the code concerning exposeAltSession
is moved in it and in the future also the autostart
and currentSession can follow. This will improve
both dockview and configview
2017-03-18 13:21:17 +02:00
Michail Vourlakos
7b060c22a5 fix #272,expose alternative session in menu 2017-03-18 01:53:44 +02:00
Johan Smith Agudelo Rodriguez
fb16fee66b fix #246, Incorrect/inconsistent behaviour when switching virtual desktops 2017-03-12 04:01:27 -05:00
Michail Vourlakos
97e57550bf fix #102,show apps menu with Super key
--this needs from the user side to add
in the .config/kwinrc

[ModifierOnlyShortcuts]
Meta=org.kde.lattedock,/Latte,org.kde.LatteDock,activateLauncherMenu
2017-03-11 12:35:15 +02:00
Michail Vourlakos
45e95788ed fix #152,add On The Road session
--the user is able to change into another
session/profile called "On The Road" for
which can set up its docks and applets
differently according to its needs. For
example hide its name, status, place
living etc.
2017-03-11 01:33:34 +02:00
Michail Vourlakos
13325ca022 fix #238,disable/enable raise dock temporary 2017-03-08 21:04:55 +02:00
Michail Vourlakos
1a04ff968d fix #233,support autostart through tweaks page 2017-03-08 21:04:54 +02:00
Michail Vourlakos
b8ce37d4c3 fix #198,recreate windows when it is needed
--in order for a dock to be above KeepAbove
windows must contain flag BypassWindowManagerHint.
Unfortunately this flag breaks the experience with
AlwaysVisible state especially the struts and
snapping behavior. This patch recreates a
dockView when a mode is changed and an
update for the flags is needed.
--at the same time move the localGeometry to
dockView in order to trigger properly the
updateAbsGeometry when it is needed, on
window's geometry changes not only when there
is local geometry change
--when a dock is created through corona, the
addDock function reads the mode which is going
to be used and specifys this way the flags that
have to be set during docks creation
2017-03-08 21:00:09 +02:00
Michail Vourlakos
0b2bebfbd8 protect dock removal in some cases
--forbid removal of the last running dock with
tasks in it
--forbid removal of the last tasks plasmoid from
running docks
2017-03-03 17:23:37 +02:00
Michail Vourlakos
c510c74cc5 fix #214, comment new multi-screen behavior
--refer to last 6-7 commits that contain this new
multi-screen behavior
--the new multi-screen behavior becomes more intelligent.
Latte trys to never let you without a dock containing
tasks plasmoid. It trys to do that intelligently not
depending on how many docks you have registered and if
they are set to explicit or primary ones
2017-03-02 18:07:29 +02:00
Michail Vourlakos
81dfa36cef set a timer for sync docks screens
--add debuging message
2017-03-01 20:53:27 +02:00
Michail Vourlakos
74770a9f37 dock containing tasks is protected in multi-screen
--the last dock containing tasks can not be removed
automatic by Latte based on screens heuristics
--on startup Latte checks if a dock containing tasks
will be loaded based on screens associated. If it
doesnt it loads the first dock containing tasks and
puts it on primary screen and setting also its flag
to onPrimary
--on the configuration window when a dock changes from
explicit to primary screen by latte automation the
record of the previous screen is shown correctly
2017-03-01 18:50:22 +02:00
Michail Vourlakos
52c8673aad semantic improvements 2017-02-27 22:52:22 +02:00
Michail Vourlakos
18f57f51fd block screen change when edge is occupied
--unfortunately this contains also white spaces
fixes. Sorry for this but by implementing multi-screen
the laptop wasnt correctly configured for
astyle and whitespaces
2017-02-27 19:46:10 +02:00
Michail Vourlakos
9259a28cde improvements to add/remove docks on screen demand 2017-02-27 01:20:29 +02:00
Michail Vourlakos
d4da25e2e6 add a screen pool for multi-screens 2017-02-27 01:18:27 +02:00
Johan Smith Agudelo Rodriguez
fbf5808667 update commandline options 2017-02-26 12:37:46 -05:00
Michail Vourlakos
55f88360c2 Revert "block dock hiding when alternatives are shown"
This reverts commit ddd1a57875.
2017-02-18 22:11:45 +02:00
Michail Vourlakos
a430d85119 block dock hiding when alternatives are shown 2017-02-18 22:03:21 +02:00
Johan Smith Agudelo Rodriguez
0d325f827f fix #48, Support Alternatives from the Context Menu 2017-02-14 23:59:52 -05:00
Johan Smith Agudelo Rodriguez
8c820073f0 fix narrow casts 2017-02-11 17:43:59 +02:00
Michail Vourlakos
41e79cf188 support debug flags from the runtime
--the user is able to set some additional
debug flags in --debug state by just executing
the application.

supported flags:
--with-window: provides a separate window
to show metrics from each separate dock
--graphics: visual indicator for the various
elements
--mask: additional debug messages concerning
mask calculations
2017-02-01 21:19:50 +02:00
Johan Smith Agudelo Rodriguez
2e8fe37fd2 #98, added about dialog 2017-01-29 00:16:28 -05:00
Michail Vourlakos
13fa35c99a fix #75, improve loadLayout on startup
--loadLayout is called only once and when
the activities service is in ready state
2017-01-24 21:09:16 +02:00