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

5282 Commits

Author SHA1 Message Date
Michail Vourlakos
5d1bf42709 fix fillcalculations at Layouter.TwoSteps codepath
--in Layouter two steps codepath at the end ALL fill
applets at Start/End layouts should adjust their size
in order to not overlap with fill applets in Main layout.
These calculations were broken because they were not
applied properly.
2021-03-01 01:48:52 +02:00
Michail Vourlakos
ac8a88d700 improve AddItem visual
--make it Square with small roundness in order to
fit better at all cases
2021-03-01 01:17:12 +02:00
Michail Vourlakos
b0cfb738bb provide all available space to fillApplets
--in case there is a fill applet then give it all
remaining free space at all cases

BUG:433754
2021-03-01 01:04:07 +02:00
Michail Vourlakos
37721a2628 dont force margins for AutoFill applets
--this way the Tasks scrolling is not triggered
when no needed

BUG:433754
2021-02-28 23:12:10 +02:00
Michail Vourlakos
56b142eca0 same way everywhere to expose containmentActions
--tasks applet is now using a generic way to show
Latte containmentActions for its context menu and
this can be easily reused by any other applet that
creates its own ContextMenu
2021-02-28 21:06:38 +02:00
Michail Vourlakos
d51f2d99a3 context menus add more sections
--move elements around in order for the user to find
them at the same positions for all cases independent
if the user triggers context menu from applets or
empty containment areas
2021-02-28 18:26:55 +02:00
Michail Vourlakos
995f61f08b improve plasmoid context menu sections 2021-02-28 18:06:51 +02:00
Michail Vourlakos
5fa77e05eb contextmenu:add export as template 2021-02-28 17:40:53 +02:00
Michail Vourlakos
965644ce2c add duplicate view in context menu 2021-02-28 17:27:04 +02:00
Michail Vourlakos
c159753c4f whitelist margins separator for exported templates 2021-02-28 14:58:07 +02:00
Michail Vourlakos
b49d5eb084 layouts window:store column widths properly 2021-02-28 14:49:11 +02:00
Michail Vourlakos
f39e46fd68 hide settings window InMenu for inMultipleMode
--inMultipleMode only Plasma Activities Explorer can
enable/disable layouts
2021-02-28 14:11:32 +02:00
Michail Vourlakos
41fe38c19d contextmenu:improve how layout shown inmultiple 2021-02-28 14:05:38 +02:00
Michail Vourlakos
b1de2a3905 contextmenu:hide inactive layouts at MultipleMode 2021-02-28 13:47:45 +02:00
Michail Vourlakos
be2ec0a7af parent layouts in context menu properly
--there is a chance that this fixes also a memory leak
2021-02-28 13:37:02 +02:00
Michail Vourlakos
87ae24dae1 add myView.action() to reach view actions
-this way things are more clear how the actions
are applied and reordered
2021-02-28 13:16:40 +02:00
Michail Vourlakos
a44c5fa821 provide remove dock action in context menu 2021-02-28 11:56:09 +02:00
Michail Vourlakos
b31792cd7b fix primaryconfig maximum height
--the new approach uses canvas geometry and
computes properly the maximum available screen
height in order for Primary Dock Settings window
to use screen height effectively
2021-02-27 20:00:00 +02:00
Michail Vourlakos
996b1aaf9b update dock actions menu text 2021-02-27 19:29:14 +02:00
Michail Vourlakos
a57e2c37fe make view actions menu to act as Menu shower/hider 2021-02-27 19:24:27 +02:00
Michail Vourlakos
f6e7a64800 expose all View Templates in actions menu 2021-02-27 18:48:55 +02:00
Michail Vourlakos
1efd4450f2 add Default and Empty Panel view templates 2021-02-27 18:40:32 +02:00
Michail Vourlakos
373b8c5b56 do not break user view template file on first use 2021-02-27 18:34:06 +02:00
Michail Vourlakos
2b59a085e4 clear more options for exported templates 2021-02-27 18:07:47 +02:00
Michail Vourlakos
bb0b5cbd26 clear layoutId when exporting view template 2021-02-27 17:29:32 +02:00
Michail Vourlakos
19b1a8c67d margins separator visual for inConfigure 2021-02-27 14:37:23 +02:00
Michail Vourlakos
f3fd4a051e draw MarginsSeparator visual paddings 2021-02-27 14:12:30 +02:00
Michail Vourlakos
d12d92ac68 Ability.BasicItem respect MarginsArea size 2021-02-27 13:57:38 +02:00
Michail Vourlakos
219c1b5e05 do not draw indicatorPaddings for PlasmaAutoFill 2021-02-27 13:18:58 +02:00
Michail Vourlakos
1e99b97def draw MarginsAreaSeparator visual paddings 2021-02-27 13:00:47 +02:00
Michail Vourlakos
2e70abb41a preserve applets length inMarginsArea
--inMarginsArea the applet length is still
calculated by metrics.iconSize
2021-02-27 12:51:12 +02:00
Michail Vourlakos
992f98389d dont roundToIconSize only for parabolic effect 2021-02-27 12:18:35 +02:00
Michail Vourlakos
a72931fc41 identif Applet.ConstraintHints properly 2021-02-27 11:49:50 +02:00
Michail Vourlakos
aaf562a207 not CanFillArea applets behabe as MarginsSeparators 2021-02-27 11:22:59 +02:00
Michail Vourlakos
69f466fd2f fix parabolic effect for MarginsAreaSeparators 2021-02-27 10:38:25 +02:00
Michail Vourlakos
87f42e4817 proper margins for CanFillThickness applets 2021-02-27 10:25:54 +02:00
Michail Vourlakos
35e9880ce7 provide AppletItem.canFillScreenEdge 2021-02-27 10:14:05 +02:00
Michail Vourlakos
c3e8c5c8af expose Indexer.inMarginsArea through AbilityBridge 2021-02-27 10:01:04 +02:00
Michail Vourlakos
a5ceb16e39 provide proper Metrics values for MarginsArea 2021-02-27 09:57:05 +02:00
Michail Vourlakos
1fa48b00eb provide Metrics.MarginsArea 2021-02-27 09:11:37 +02:00
Michail Vourlakos
a67656c2f2 fixes and update elements margins for inMarginsArea 2021-02-26 19:11:18 +02:00
Michail Vourlakos
9abc937fa6 update applet margins for inMarginsArea 2021-02-26 18:58:49 +02:00
Michail Vourlakos
9929d1fa8e identify when applets are inside margins area 2021-02-26 17:36:17 +02:00
Michail Vourlakos
fc34150d73 Indexer track marginsAreaSeparators 2021-02-26 17:23:16 +02:00
Michail Vourlakos
53231392ba position properly primary config win on first call
--sometimes when the primary config window is first called
it was wrongly positioned at most bottom-left screen corner
2021-02-26 17:12:59 +02:00
Michail Vourlakos
9e487b613b identify applet isMarginAreaSeparator 2021-02-26 17:04:49 +02:00
Michail Vourlakos
674b6ea754 plasma theme extended:separator area margins
--discover and expose plasma theme margins for
separator areas
2021-02-26 16:49:42 +02:00
Michail Vourlakos
7f9f418b75 do not reanchor simple windows in real removal
BUG:433359
2021-02-25 17:17:01 +02:00
Michail Vourlakos
89eae6e667 fix tasks model breakage during activity change
based on bug: #433359
2021-02-25 17:02:30 +02:00
Michail Vourlakos
ddb7dfdf5e use bool for floatingInternalGapIsForced
--do not use CheckBox three states in order
to make things simpler for the user
2021-02-21 12:26:16 +02:00