1
0
mirror of https://github.com/KDE/latte-dock.git synced 2024-12-24 17:33:50 +03:00
Commit Graph

4520 Commits

Author SHA1 Message Date
Michail Vourlakos
bc87d53e83 updates for layouts model single mode 2020-08-28 17:58:39 +03:00
Michail Vourlakos
7393ac02eb drop currentLayoutName as signal from synchronizer 2020-08-28 17:58:39 +03:00
Michail Vourlakos
a9774ff13f update Switch button in Layouts table 2020-08-28 17:58:39 +03:00
Michail Vourlakos
f31c698330 expose sortByColumn for layouts mode 2020-08-28 17:58:39 +03:00
Michail Vourlakos
4d7e1dca83 update layouts table to support new approach 2020-08-28 17:58:39 +03:00
Michail Vourlakos
419886b2ea identify dock changing layout in same visible area 2020-08-28 17:58:39 +03:00
Michail Vourlakos
0ee31eead6 update kwin disabled borders infrastructure 2020-08-28 17:58:39 +03:00
Michail Vourlakos
c7d163fdb6 plenty of fixes for multiple layouts 2020-08-28 17:58:39 +03:00
Michail Vourlakos
588349e91c update text for Layout Read-Only 2020-08-28 17:58:39 +03:00
Michail Vourlakos
527f865eda fix last config view tracking for multiple layouts 2020-08-28 17:58:39 +03:00
Michail Vourlakos
6dec2e378e remove deprecated applet code 2020-08-28 17:58:39 +03:00
Michail Vourlakos
42dedca86f fixes for multiple layouts new approach 2020-08-28 17:58:39 +03:00
Michail Vourlakos
3689cc406d retrieve available screen space through activityid 2020-08-28 17:58:39 +03:00
Michail Vourlakos
9026f931fd fixes for corona available areas calcs 2020-08-28 17:58:39 +03:00
Michail Vourlakos
951668fff9 single informative window for activating layouts 2020-08-28 17:58:39 +03:00
Michail Vourlakos
2e120f9446 make Multiple mode work correctly 2020-08-28 17:58:39 +03:00
Michail Vourlakos
caf9bf7b78 REFACTOR:Drop Shared Layouts infrastructure
--Move in a simpler layouts approach.
--Single Layout mode loads ONLY ONE Layout for ALL Activities
--Multiple Layouts mode loads any combination of Layouts based
on the following settings:
  -- OnAllActivities
  -- ForFreeActivities
  -- SpecificActivities
2020-08-28 17:58:39 +03:00
Michail Vourlakos
63bfc444c4 provide allactivities and free activities ids 2020-08-28 17:58:39 +03:00
Michail Vourlakos
fe34392e1f fix #24, typo 2020-08-28 17:57:36 +03:00
Michail Vourlakos
237e561627 ignore background.headThickness for behaveAsPanels 2020-08-26 21:12:19 +03:00
Michail Vourlakos
148e3956b1 decouple background layer plasma shadows svg
--the multilayered background first layer is not
decoupled and is not the parent layer for all the
rest layer. This way we can really hide it without
influence the rest background layers.
2020-08-25 09:16:33 +03:00
Michail Vourlakos
0d941d05f2 background radius,shadows only in advanced settings 2020-08-24 19:46:40 +03:00
Michail Vourlakos
305b0b9519 add custom radius length paddings for background 2020-08-22 22:06:54 +03:00
Michail Vourlakos
8298bf0e2c fix dock view geometry calculations
--when background custom radius and shadow
are applied the dock window geometry shouldnot
change if these values are not altered. This
is especially true when a dock is hiding
its screen edge margin when there is a maximized
window and the same time is hiding also its
background shadows. In such case in the past because
shadows were temporarily disabled the dock was constantly
changing its geometry
2020-08-22 21:01:13 +03:00
Michail Vourlakos
dae99ea8a2 provide fixedshadows for LayeredBackground 2020-08-22 18:15:01 +03:00
Michail Vourlakos
0aa5aaec64 fixes for hideThickScreenGap in Dock mode 2020-08-22 18:15:01 +03:00
Michail Vourlakos
ab1aa51fce fix for customDefShadowEnabled case 2020-08-22 18:15:01 +03:00
Michail Vourlakos
5e770bfd5e Appearance,enable colors script information 2020-08-22 18:15:01 +03:00
Michail Vourlakos
9e8192438c improvements for custom shadowed rectangle 2020-08-22 18:15:01 +03:00
Michail Vourlakos
8553a2e511 discover plasma theme shadow size and color 2020-08-22 18:15:01 +03:00
Michail Vourlakos
77828307b0 Require Kirigami2 dependency
--this way we make sure that kirigami2 is installed
and afterwards we can easily check kde frameworks version
which needs to be >= 5.69 in order to support
ShadowedRectangle
2020-08-22 18:15:01 +03:00
Michail Vourlakos
1142950f69 provide effect/masks regions for custom backgrounds
--PlasmaExtended::Theme produces QRegions based on corners
radius that can be consumed afterwards from Effects calculations
in order to provide correct QRegions for custom backgrounds
produced from custom background radius option
2020-08-22 18:15:01 +03:00
Michail Vourlakos
bd16a0da69 provide self-calculated theme corners mask 2020-08-22 18:15:01 +03:00
Michail Vourlakos
2b5d19cfa3 combine Colors options in Appearance page
--combine all colors options into comboboxes and
at the same time enhance their icons and tooltips
functionality
2020-08-22 18:15:01 +03:00
Michail Vourlakos
b2f8f20482 background:fixes for customBackgroundShadow
--limit also the background custom shadow to never
exceed the minimum panel axis
2020-08-22 18:15:01 +03:00
Michail Vourlakos
89e94fce3b initial support background custom radius/shadow
--playing around with Kirigami.ShadowedRectangle in order
to provide a nice beautiful custom made panel background
that the user can chosen custom radius or shadow size.
Colors are going to be used totally based on current plasma
theme.
2020-08-22 18:15:01 +03:00
l10n daemon script
15c1f46ae5 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2020-08-21 06:15:43 +02:00
Michail Vourlakos
0e0e8fe5be provide two different export actions for layouts
--Export For Backup, exports a layout with its entire
configuration for ALL applets
--Export As Template, exports a layout after the user
has chosen which applets should keep their settings
and personal data. By default Latte Tasks plasmoid
is going to propose to keep its data because no
personal data are kept in it
2020-08-20 20:33:35 +03:00
Michail Vourlakos
fd47976c1a provide margins for drop down menu buttons 2020-08-20 20:05:17 +03:00
Michail Vourlakos
343c1e632a provide consistent slots naming
--onSomethingChanged syntax is preferred for all
slots that are triggered from somethingChanged signals
--doThis syntax is preferred for generic slots that
are triggered from various different codepaths
2020-08-20 19:58:45 +03:00
Michail Vourlakos
dd46c79475 storage:expose applet plugins information 2020-08-20 17:28:29 +03:00
Michail Vourlakos
a36b49de77 data:extend generictable functionality
--provide different insert methods in order
to insert elements based on name or id sorting
criteria
2020-08-20 16:31:16 +03:00
Michail Vourlakos
7a3d68ed61 sort layouts based on their names
--when layouts are presented to the user it is preferred
to be perfectly sorted based on their names
2020-08-19 20:17:41 +03:00
Michail Vourlakos
8b836da44e genericlayout:improve semantics for id references 2020-08-19 17:36:25 +03:00
Michail Vourlakos
3de29ece9b drop subContaiment functions from genericlayout
--responsibility is now at Layouts::Storage singleton
class
2020-08-19 17:10:00 +03:00
Michail Vourlakos
ac2a4cffc6 support different subcontainments types
--create an abstract implementation for subcontainments
such as systrays and group applet in order to use
the same infrastructure for all storage operations
such as Multiple Layouts loading, copying views,
providing important information etc.

BUG:418642
2020-08-19 16:59:07 +03:00
Michail Vourlakos
46292bf7e5 layouts::storage,provide subcontainment identities
--a generic way to identify subcontainments such as
systrays, group applets etc...
2020-08-19 15:14:46 +03:00
Michail Vourlakos
ab2f416176 layouts::storage,functions for subcontainments 2020-08-19 15:01:45 +03:00
Michail Vourlakos
d4bed3881b drop layout::storage totally
--use only the all new layouts::storage
singleton class for all layout storage
operations
2020-08-18 03:13:05 +03:00
Michail Vourlakos
d3c1f4d1a8 layouts::storage,move copyView() function 2020-08-18 02:56:33 +03:00