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

159 Commits

Author SHA1 Message Date
Michail Vourlakos
7050d7ba1f fix #886 use svg for settings Latte trademark
--remove the Plasma Label that was used to set
the Latte trademark based on Tangerine font that
was distributed from app source code
--remove the Tangarine font from source code
2018-02-27 23:58:47 +02:00
Michail Vourlakos
1e57260c5f asynchronous calls for quiting application
--this gives the time for docks to close and also
to not create any rare crashes because qml settings
window calls this code path from its Quit button.
2018-02-24 10:54:35 +02:00
Michail Vourlakos
e07f6e207e expose contextMenu data through dbus 2018-02-06 23:39:45 +02:00
Michail Vourlakos
028f2c5fe8 add dbus functionality
--show config window through dbus
--change layout through dbus
2018-02-06 23:14:44 +02:00
Michail Vourlakos
5660e0ec9c preparing layouts menu in containmentactions 2018-02-03 22:19:35 +02:00
Michail Vourlakos
474c7a3970 slide-out docks on closing 2018-02-03 15:44:37 +02:00
Michail Vourlakos
acb77c6cd4 update header files and move files around 2018-02-03 11:37:09 +02:00
Michail Vourlakos
c436d4f201 move docksCount from corona to layout 2018-01-31 20:45:55 +02:00
Michail Vourlakos
c95169ff67 remove freeEdge(s) from corona
--use only the layout versions
2018-01-31 20:38:22 +02:00
Michail Vourlakos
d501f05ade remove deprecated noOfDocks of corona 2018-01-31 20:28:42 +02:00
Michail Vourlakos
f7f7d3da6c move explicitDockOccupyEdge to layout 2018-01-31 20:26:38 +02:00
Michail Vourlakos
6a1c8173e2 remove noDocksWithTasks from corona 2018-01-31 20:17:50 +02:00
Michail Vourlakos
7808eebc2a support toggle memoryUsage from command line
--On startup the user can choose between single/multiple
modes from command line
2018-01-31 15:27:58 +02:00
Michail Vourlakos
1ab273753e add menu/about in Latte Settings window 2018-01-26 19:50:28 +02:00
Michail Vourlakos
94914ee578 warning message for broken MultipleLayouts startup
--if the app crashed and the user trys to reopen Latte
then the Containments must first return to their Original
Layouts. This code provides that and informs also the user
during the startup.
2018-01-15 14:09:41 +02:00
Michail Vourlakos
3cf6d8ef9d multiple fixes for Multiple Layouts 2018-01-14 23:58:48 +02:00
Michail Vourlakos
132410d848 MultipleLayouts availableScreenRegion
--it is used to position correctly the separate dock/panels
in different activities
2018-01-14 23:58:48 +02:00
Michail Vourlakos
4280c14acd many improvements for MultipleLayouts case 2018-01-14 23:58:48 +02:00
Michail Vourlakos
bc91aefd89 add more MultipleLayouts code
--move code from dockCorona to layoutManager
--add more code related to MultipleLayouts
2018-01-14 23:58:48 +02:00
Michail Vourlakos
e3a3cb5a52 re-use copyDock code to make it more generic
--fix crash from containments deletion when closing corona
--reuse copyDock code in order to prepare it for
loading multiple layouts at the same time
2018-01-14 23:58:48 +02:00
Michail Vourlakos
f617a9178e support multiple active layouts in layoutmanager 2018-01-14 23:58:48 +02:00
Michail Vourlakos
f81433be8b try to link containments to layouts 2018-01-14 23:58:48 +02:00
Michail Vourlakos
dd8c8271b6 IMPORTANT: move logic from corona to layout
--refactoring code for #808...
Latte gets prepared for multiple layouts running
at the same time.
2018-01-08 19:23:53 +02:00
Michail Vourlakos
a01b7f100b move copyDock from corona to Layout 2018-01-07 19:59:18 +02:00
Michail Vourlakos
ef48a70bd9 improve semantics 2018-01-07 16:32:16 +02:00
Michail Vourlakos
2a911d34b8 improve semantics for availableScreenRect
--improve the function to calculate the availableScreenRect
of a specific screen. Now the function accepts two arguments
specifing which visibility modes and locations(edges) are
going to be taken into account to calculate the
availableScreenRect.
2018-01-04 18:20:04 +02:00
Michail Vourlakos
d86fdfd2ff fix #810,support smart/dynamic background
the dynamic background feature is enhanced and
becomes smarter. It understands snapped windows, windows
that touch the panel edge etc. The criteria in
order for the background to become solid are:
   - any active window that is touching the panel
edge (that includes krunner)
   - any inactive window that is snapped and touches
the panel edge (concerning its geometry: quarter-snapped or half-snapped)
   - maximized windows
   - an inactive window but keepAbove is touching
the panel edge (this catches also the yakuake case)
   - panel popups
2018-01-02 11:49:38 +02:00
Michail Vourlakos
9f16ef5d4e load specific layout on startup from command line 2017-12-17 18:34:50 +02:00
Michail Vourlakos
0615dcf084 add --default-layout option for command line
--this option enables the user to load the default
layout from start.
2017-12-17 17:42:49 +02:00
Michail Vourlakos
3679c1c0cf load the default layout when cant find previous
--load the default layout when cant find the previous
layout for some reason. This means that something went
really wrong actually and the previous stored layout
doesnt exist anymore, at least with the same name
ised.
2017-12-17 17:01:30 +02:00
Michail Vourlakos
91ff26882e fix #784,ignore top/bottom auto-hide panels
--a bottom or top auto-hide panel is not considered
in the calculations for the availableScreenRegion
2017-12-05 20:56:58 +02:00
Michail Vourlakos
2e3139239e fix clang warnings
--improve readability of the build process when
using clang by fixing small things to not show
some warnings
2017-10-21 10:21:40 +03:00
Yuri Chornoivan
fd1ae873c4 Fix minor typos 2017-09-09 12:00:16 +03:00
Michail Vourlakos
9a72f394ee fix crash,when alternatives shown + change layouts 2017-08-09 04:52:42 +03:00
Michail Vourlakos
f2ab6cbc9c block hiding when alternatives is shown 2017-08-09 03:33:03 +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
db0d084ed2 include all tasks plasmoids in heurestics
--during startup Latte checks if a tasks plasmoid
is going to be present (because of multi-screen settings).
Now these checks are also considering the case of
plasma taskmanagers
2017-07-28 17:27:15 +03:00
Michail Vourlakos
a1fac1a29c remove deprecated code 2017-07-28 17:12:21 +03:00
Michail Vourlakos
7b8bb2fc73 fix copy dock method loading part
-- copy dock method wasnt using correctly the signals
and the methods from containments during first loading
the new copied containments. That could create crashes
if the user was trying to remove a copied dock directly
after used the copy method
2017-07-27 16:35:32 +03:00
Michail Vourlakos
cc94677817 remove deprecated code 2017-07-26 17:47:32 +03:00
Michail Vourlakos
3f90c61d53 include plasma taskmanagers in startup identify
--Latte when loading a layout tries to identify if based
on the docks settings there will be at least one dock
containing a tasks plasmoid. This code was extended in order
to identify also the plasma taskmanagers. One more improvement
is that this code now is executed also when dynamically
changing layouts
2017-07-26 01:41:16 +03:00
Michail Vourlakos
68a5223b47 fix #616,use unique ids for applets and containme 2017-07-25 00:01:41 +03:00
Michail Vourlakos
ecf67a2a9d dynamic changing to layouts based on activities 2017-07-24 20:01:11 +03:00
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