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

2171 Commits

Author SHA1 Message Date
Michail Vourlakos
5e50147848 fixes for dock settings window
--do not alter maxlength and offset incorrectly
when cycling between different views with different
relevant settings
2020-08-31 18:37:49 +03:00
Michail Vourlakos
7c542e6246 update layouts activities when activity is removed 2020-08-31 10:43:37 +03:00
Michail Vourlakos
a02056b4c8 ignore activities that are not currently present 2020-08-31 01:37:13 +03:00
Michail Vourlakos
0563b2d21b add command line version option 2020-08-30 21:35:56 +03:00
Michail Vourlakos
e4714d748f dont load freeactivities layouts if no frees 2020-08-30 21:31:13 +03:00
Michail Vourlakos
8448f36ed9 check layout valid activities 2020-08-30 21:28:22 +03:00
Michail Vourlakos
567e3ab78f initmultiple:update activities for specific layout 2020-08-30 20:38:39 +03:00
Michail Vourlakos
a83d26a35b multiple:make switch funtion work properly
--when the user requests a specific layout in Multiple
Layout mode the new approach is the following. If
the layout has assigned activities this is respected
but if its activities are empty that layout is assigned
only on the current activity and any other layouts assigned
explicitly to that activity are released
2020-08-30 20:32:13 +03:00
Michail Vourlakos
5101a1314e fix switch button for single layout mode 2020-08-30 17:14:20 +03:00
Michail Vourlakos
9428027aff provide universalsettings upgrade path for v0.10 2020-08-30 14:57:31 +03:00
Michail Vourlakos
eb627dd070 multiple mode:animate properly layouts unloading 2020-08-30 14:34:56 +03:00
Michail Vourlakos
41c2e2b033 refactor:improve Synchronizer:swithToLayout
--the new approach is much clearer and easy to
read that the deprecated one
2020-08-30 14:04:04 +03:00
Michail Vourlakos
95486a1296 syncing on settings startup is needed no more 2020-08-29 23:46:41 +03:00
Michail Vourlakos
d8f1f7e4b9 refactor:settings layouts controller
--the controller does not need to host its own
CentralLayouts any more. It retrieves original
data for Synchronizer, updates layouts accordingly
and sends back to Synchronizer all the updated
layouts data
2020-08-29 23:37:52 +03:00
Michail Vourlakos
d5e83280d2 refactor:simplify layout data access 2020-08-29 20:42:15 +03:00
Michail Vourlakos
dfbf83b4a1 activities menu:provide CurrentActivity option 2020-08-29 15:45:07 +03:00
Michail Vourlakos
13708ddf4a support singleModeLayoutName property in settings
--single mode has now its own unique property to hold
the layout to be used in single mode
2020-08-28 19:03:23 +03:00
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
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
8553a2e511 discover plasma theme shadow size and color 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
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