1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-30 21:47:55 +03:00

35 Commits

Author SHA1 Message Date
Michail Vourlakos
0bab344682 fixes for multi-screen behavior
--fix wrong placement at multi-screen environment
during startup. freeEdges function was not sufficient for
reconsiderScreen() because there was a chance to
exclude edges that even though they were available
it returned fault results. Such case is when
a view request available edges for specific screen
and the edge of that specific view is also exluded
because that view has not finished its movement
to the new assigned screen.

--fix re-adding an explicit dock when its screen
is activated. A check was missing in order to
confirm that a primary dock is occuping that
edge but we must check also that the primary
screen is the same with the explicit one.

--add/improve debug messages
2018-10-12 19:04:17 +03:00
Michail Vourlakos
64a40429a4 option/define who will be used at global shortcuts
--add an option in Tweaks page in order for the user
to define which dock/panel will have the highest priority
for global shortcuts activation. This option can be
used is per layout basis. Each layout can have its own
high priority dock/panel for Latte unified shortcuts.

BUG: 398914
2018-09-22 20:21:57 +03:00
Yuri Chornoivan
7323068f36 Fix minor EBN issues 2018-08-30 08:47:53 +03:00
Michail Vourlakos
285a2f8764 ignore systrays at multi-screen considerations
--if a dock/panel was containing a systray there
was a chance that the systray was messing the
calculations for adding/removing docks based on
the screen and edges changes
2018-08-24 01:27:14 +03:00
Michail Vourlakos
30c90d2a41 More predictable copy function for multi-screen
--Improve the series of events in order for CopyDock
to work better in multi-screen environments. Copy Dock
should create the same dock in the same free edge at
different explicit screen when that edge is already
occupied in the origin screen

BUG: 397081
FIXED-IN: 0.8.1
2018-08-02 13:26:07 +03:00
Michail Vourlakos
03b469eff5 IMPORTANT: Update multi-screen codepage!!!
--after v0.8 release many issues with multi-architecture
were identified. An alternative approach was needed
in order for Latte to get a more user-predictable state.
In new approach:
--onPrimary docks have always higher value
and should be shown, this is also like how plasma is
moving its panels.
--explicit docks are removed if their edge in their screen
is occupied by an onPrimary dock
--be stupid smart in order to check if docks contain
tasks and try to not remove them based on screen-changes
is removed! Over-Complicated code that doesnt help
in maintainability...

one of the issues was reported at following bug report...

BUG: 396806
2018-07-24 22:25:19 +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
92a7239550 fix #1001,disable maximized borders per layout
--give the user an option in layout file in order
to enable/disable borders for maximized windows.
the option is called "disableBordersForMaximizedWindows"
and must be put in LayoutSettings section
2018-04-25 00:11:50 +03:00
Michail Vourlakos
1e2b996a9e support lock/unlock in layout
--identify if a layout is locked and
support lock/unlock for that layout
2018-04-15 00:43:54 +03:00
Michail Vourlakos
b8321fb829 fix #905,smart colorize transparent panels
--enhanche the dynamic background feature and
in ordre to improve contrast with the underlying
background Latte now calculates the luminosity of the area
underneath the panel and based on that chooses the
best color to create contrast. The colors are chosen
only between textColor and backgroundColor.
2018-03-07 17:54:53 +02:00
Michail Vourlakos
41117e9290 add background and textColor to layout
-- auto-adjust the textShadow for Ruler based on
the textColor luminosity
2018-02-16 17:46:49 +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
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
5e2d786729 add freeEdges in layout 2018-01-31 18:45:15 +02:00
Michail Vourlakos
8aad360916 add lastUsedActivity in the layout file
--lastUsedActivity is also used when we are opening
an assigned0-activities layout in order to choose in which
activity to swith on starting.
2018-01-30 14:33:00 +02:00
Michail Vourlakos
67ce3441a4 MultipleLayouts:launchers signals made layout aware 2018-01-21 20:17:58 +02:00
Michail Vourlakos
be0f9dc0ba remember the last used activity per layout 2018-01-21 13:52:33 +02:00
Michail Vourlakos
b5ccba44b1 Move Dock from Layout to Layout
-- In the configuration window at the "New Dock"
ComboBox were added options in order for a dock
to move to another running Layout.
2018-01-21 11:59:46 +02:00
Michail Vourlakos
7e2fc0f895 check active layouts also for broken state 2018-01-17 23:32:50 +02:00
Michail Vourlakos
308d99e215 MultipleLayouts:Rename layout name runtime
--In MultipleLayouts we dont need to close the
active layout to rename it. We can do it without
need to close it and reopen that layout.
2018-01-15 23:04:03 +02:00
Michail Vourlakos
3cf6d8ef9d multiple fixes for Multiple Layouts 2018-01-14 23:58:48 +02:00
Michail Vourlakos
667a451499 Multiple Layouts:Fixes for storage synchronization
--fix also a crash when removing a dock
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
7d4989e983 add code for MultipleLayouts and Activities
--prepare dockViews and rest classes in order to
be able to change between different Activities in
a MultipleLayouts environment.
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
4ac3efd0b5 add filePtr for layout 2018-01-14 23:58:48 +02:00
Michail Vourlakos
274c6a653d add managedLayout to dockView
--this way a dock can belong to specific Layout
and this could be changed runtime in a multi-layout
runtime environment
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
92127577d1 improve semantics for layout class 2018-01-07 19:33:18 +02:00