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

116 Commits

Author SHA1 Message Date
Michail Vourlakos
9f16814780 remove deprecated globalsettings 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
02ec39fda2 fix a crash, add dockviews deletion in unload
--during changing layouts there were cases that Latte
would crash because between deleting containment and
triggering the event to delete the dockview, there was
a race condition. The dockview wasnt deleted and as
a consequence the libtaskmanager or kwindowsystem were
forwarding events to them
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
14e61b3a59 update currentLayout,create Alternative if !exists 2017-07-24 20:01:11 +03:00
Michail Vourlakos
0889d2224d cleanup unload() corona function 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
091295126d support loading for the new architecture 2017-07-24 20:01:11 +03:00
Michail Vourlakos
db08a09bbf Importer importes the containments correctly 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
67d1f1d4f9 fix #565,full dynamic reload the layout
--the new layout is loaded without closing
Latte and with properly loading globalSettings
and screen from the layout file. The layout
new files are updated when Latte is closing
2017-06-30 11:41:17 +03:00
Michail Vourlakos
b417ae52c3 support dynamic layouts loading 2017-06-30 11:41:17 +03:00
Michail Vourlakos
c72f7f4531 fix #573,improve the primary docks behavior
--users reported that when activating an external screen
as primary and at the same time disabling the original
screen e.g. the laptop one, latte wasnt showing docks at
all. This could also occur on startup. This commit
fixes this and improves more the multi-screen code in
various corner cases
2017-06-30 11:39:21 +03:00
Johan Smith Agudelo Rodriguez
1e8fc4a739 Wait for ContainmentView destruction 2017-06-23 19:23:45 -05:00
Johan Smith Agudelo Rodriguez
ae3c856346 keeping compatibility with gcc 4.8 2017-06-23 16:27:58 -05:00
Michail Vourlakos
0bd90b8fd2 improve recreate dock implementation
--the new implementation possibly fixes two crashes
that could occur occasionaly. First it is ensured
that the new dock in created after the old one has been
removed. We also use directly the containment instead
of using a reference for it which could create a crash
in some cases. One more fix, setting dock visible to false
had no reason as long as it is going to be deleted either
way.
2017-06-23 10:54:35 +03:00
Michail Vourlakos
69c28eff7a fix #537,reenable show() on dock creation
--this code has been checked to not break both
wayland with plasma 5.10 and x11
2017-06-23 02:19:00 +03:00
Michail Vourlakos
5e1d851888 delay the recreation of a dock
--when recreating a dock it might be a good idea
to delay a bit in order to give to the config
window the time to delete itself
2017-06-23 01:21:33 +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
111d59e1c5 fix crash with qt5.9 and wayland
--the show() function of a wayland surface shouldnt
be called before the surface is created. In other case
in qt 5.9 creates a crash
2017-06-20 23:13:38 +03: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
cf86fddeec fix #537,properly set copy location in multi-scr 2017-06-20 18:20:48 +03:00
Michail Vourlakos
9ccf9978be update docksCount on screen changes 2017-06-12 00:52:17 +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
97b3c4f854 update algorithms for docksCount,freeEdges
--the new algorithms are using QScreen* values
from dockviews instead of the containment screen()
which can not be trusted at the first minutes
of a dock creation
2017-06-11 23:55:34 +03:00
Michail Vourlakos
973cc935fc always set explicit screen on copy method 2017-06-11 23:31:45 +03:00
Michail Vourlakos
5eb63a3cbc move new copied dock to explicit screen
--if the new copied dock is on a multi-screen
environment the algorithm adds it in the first
available alternative screen that has the same
edge free
2017-06-06 19:01:02 +03:00
Michail Vourlakos
2078cb1cb2 support copyDock correctly from corona
--the code copies the containment configuration
and also if there is a systray in it
2017-06-06 19:01:02 +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
4381384d20 add deleteLater instead of delete for dockView 2017-05-27 19:31:36 +03:00
Michail Vourlakos
7d3458d45c support behaveAsPlasmaPanel in the dockview 2017-05-07 15:06:29 +03:00
Michail Vourlakos
a8c6e2f342 disable debug message for dbus calls 2017-05-01 09:20:15 +03:00
Michail Vourlakos
883750267a add external config file and support presets
--this patch adds an external config file in
order to store the user layouts. Adds also in
the globalSettings the layouts mechanism
--todo: the confirmation dialog is not working
correctly for some reason. It doesnt return
the accept value and on the exec() function
is crashing
2017-04-23 22:34:29 +03:00
Michail Vourlakos
26d5ba4a64 fix #415,disable ByPass flag by default 2017-04-22 12:37:11 +03:00
Michail Vourlakos
738dc50fff Merge branch 'v0.6' into master 2017-04-21 17:01:52 +03:00
Michail Vourlakos
597c457b9b fix #385,load font through QFontDatabase 2017-04-21 16:59:58 +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
adf82df246 fix #355, Request for new visibility policy: Windows Go Below 2017-04-09 13:42:39 -05:00
Michail Vourlakos
7173d12625 return correct screen geometry from corona
--signal triggering for screenGeometryChanged(id)
can not be added yet as it is not plasma 5.8
compatible
2017-04-04 22:23:21 +03:00
Johan Smith Agudelo Rodriguez
ab3acd35d9 reorder members 2017-04-02 00:25:03 -05:00
Michail Vourlakos
2af10514ed fix,restore adding docks in alternative session 2017-03-26 13:05:25 +03:00
Michail Vourlakos
9529fe8a3c fix adding dock at the bottom when shouldnt
--if the user was adding docks too fast then
some of them were added at the bottom because
that was conflicting with the session
implementation. The fix fixes the situation
and preserves the alternative session functionality
2017-03-23 13:54:50 +02:00
Johan Smith Agudelo Rodriguez
80f2199774 fix assertion when id is -1 2017-03-22 00:16:27 -05:00