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

181 Commits

Author SHA1 Message Date
Michail Vourlakos
f74b3a4da0 REFACTOR:drop DockView term,in favour of LatteView 2018-12-06 12:51:15 +02:00
Michail Vourlakos
39368a41de REFACTOR:rename DockView to Latte::View
--move all classes related to Latte::View
from dock/ folder to view/ folder
2018-12-06 12:15:58 +02:00
Michail Vourlakos
2099b8ed36 add headers comments for all c++ files 2018-12-02 02:05:52 +02:00
Michail Vourlakos
deefa6f32e REFACTOR:move wm related classes to wm folder 2018-12-02 01:29:18 +02:00
Michail Vourlakos
d8f748b512 REFACTOR:move setting* to relevant folder 2018-12-02 01:21:34 +02:00
Michail Vourlakos
3de7993b8d refactor:move shadow to Effects
-rename also to shadow to innerShadow for
better naming. This shadow is used when the
shadow is drawn inside the window from qml
side, such examples are the dock case and the
editVisual case
2018-12-01 00:52:05 +02:00
Michail Vourlakos
8294bd892c support plasmoid.screenGeometry properly
BUG: 401333
2018-11-23 16:57:33 +02:00
Michail Vourlakos
3553415c59 load roundness theme info properly 2018-10-27 00:59:36 +03:00
Michail Vourlakos
92ce3f15c1 introduce plasma theme extended
--this is going to be a class that will
provide all the extended info of a plasma
theme such as roundness, dark/light color
schemes
2018-10-26 23:40:10 +03:00
Michail Vourlakos
f6b4aa55cf support background painting based on window scheme
--support painting based on the active window scheme.
Added a schemecolors class for this and updated
abstractwindowinterface to provide tracking for windows
color schemes.
2018-10-23 20:42:12 +03:00
Yuri Chornoivan
7323068f36 Fix minor EBN issues 2018-08-30 08:47:53 +03:00
Michail Vourlakos
a85555f52c FIX creating and copying docks
--there were cases that during creating
or copying docks the applets ids were
created inconsistent by creating applets
with ids already reserved. This patch
fixes this by using the applet ids found
in the layout file and not the one loaded
in memory.
2018-07-11 20:39:42 +03:00
Michail Vourlakos
6efeaa7d51 update code to new astyle conditions 2018-07-03 22:15:45 +03:00
Michail Vourlakos
745b9ea075 dont apply too early blur effect
dont delay the corona destruction under wayland
because that creates a crash with kwin effects

BUG: 392890
2018-04-09 11:38:01 +03:00
Michail Vourlakos
dd617d43c8 track primary screen change from qt
--this way we make sure that we track the
primary screen change for wayland also
2018-04-01 15:17:12 +03:00
Michail Vourlakos
83bad3374e expose screen Tracker interval value
--different hardware can have different delays
in order to inform for screen changes. The tracker
(an internal timer that is) informs Latte after
a specific interval in order to track these changes
and respond accordingly.
2018-04-01 15:04:52 +03:00
Michail Vourlakos
51e4477499 disable MultipleLayouts for wayland
--KWin in wayland doesnt support yet Activities
and Virtual Desktops. In order to protect the user
we disable the MultipleLayouts
2018-03-31 11:28:22 +03:00
Michail Vourlakos
616b8139ff use recreateDock directly
--recreateDock is used when the visibility mode
changes and as such the window must be recreated
in order to work correctly. Any remaining code
found for such function in corona and layoutManager
is removed.
2018-03-28 14:30:50 +03:00
Michail Vourlakos
eb3feb4a4e fix #934,change quit button to close button
--exhausted to discuss this so often so in the
end it may be my perspective wrong. Quit button
in dock settings window changed to Close button
and the Quit option moved to menu bar of the
general Latte settings window with shortcut
Ctrl+Q
2018-03-26 20:55:09 +03:00
Michail Vourlakos
cb88d134f4 fix #889,dont crash on applcation exit
--the wayland interface couldnt orchestrate correctly
with the corona and the application exit. The whole
architecture changed and the window manager now is
provided by corona and corona is also responsible to
keep only one instance of it and close on exit.
2018-03-01 23:53:28 +02:00
Michail Vourlakos
b4b68e5bb1 add wayland debug messages 2018-03-01 01:31:17 +02:00
Michail Vourlakos
0a1488b643 update wayland code based on plasma 2018-03-01 00:52:05 +02:00
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