1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-28 10:03:52 +03:00

4191 Commits

Author SHA1 Message Date
Michail Vourlakos
c9caa408ea update Layout preferred values for Tasks 2020-05-18 23:34:30 +03:00
Michail Vourlakos
cb368c504d drop old Tasks identification code paths 2020-05-18 20:02:30 +03:00
Michail Vourlakos
3cadc32fc4 improvements for Tasks applets usage 2020-05-18 19:17:11 +03:00
Michail Vourlakos
2fae4a87ba ContainmentInt is now resposible for all Tasks 2020-05-18 19:14:35 +03:00
Michail Vourlakos
99db4d54f2 support plasma tasks model for tracking 2020-05-18 19:04:02 +03:00
Michail Vourlakos
76781094af rename ExtInterface::model to LatteTasksModel 2020-05-18 18:45:12 +03:00
Michail Vourlakos
fe4704e355 block par.effect for applet popups 2020-05-18 16:06:46 +03:00
Michail Vourlakos
b264854a98 Dodge visibility mode now ignores edge touches
--The new implementation for snapping needed to remove
the touching view edge from touching algorithm. The
windows trakers now provide two separate values for each
touching.
----First value is for regular window touches for which
their window geometry intersects with view published
absoluteGeometry
----Second value is for windows that are touching
view edge without intersecting with view geometry
2020-05-17 11:42:09 +03:00
Michail Vourlakos
b4de1e3cad update Positioner::syncGeometry in specific case
--when a behaveAsPlasmaPanel is sliding-in and View
is in editMode, it is a good idea to calle
Positioner::syncGeometry() in order to validate
the View window geometry in edit mode. The problematic
case example was a right SideBar Panel that when
was hidden and the user was using Meta+A to
show its settings, the View did not change its
geometry properly in the end.
2020-05-16 23:19:21 +03:00
Michail Vourlakos
36687c1eb5 fix a Tasks pixelated icons case
--when parabolic zoomfactor===1 a rare case
was that some tasks were appearing pixelated.
By disabling the Tasks Icons mathimatical roundness
this looks fixed.
2020-05-16 22:38:43 +03:00
Michail Vourlakos
236dd2c3b9 update frameExtents for View::locationChanged 2020-05-16 21:51:16 +03:00
Michail Vourlakos
6f3367225d new Effects API for config windows subtract region 2020-05-16 21:37:50 +03:00
Michail Vourlakos
741eedfc3c improve Primary Config view syncGeometry
--fix also a crash when updateInlineProperties
was called
2020-05-16 19:31:40 +03:00
Michail Vourlakos
614bb7014f new Effects API for mask United/Subtracted regions
--View::Effects now provides in API in order for
elements to publish regions that need to be added
or removed from View::mask(). A good example for this
is View Config windows that must remove a rectangle
for their bottom edge in order for users to have
fully access to their action buttons at the bottom.
2020-05-16 19:17:35 +03:00
Michail Vourlakos
54ea58c215 remove deprecated Effects subtracted implementatio 2020-05-16 18:58:29 +03:00
Michail Vourlakos
46760a04de cycle properly config views with Meta+A 2020-05-16 17:06:19 +03:00
Michail Vourlakos
8bfc71fd3e remove magical (+/-1 px) from calculations
--implementation is much more concrete now and we
need to be 1px precise in order to provide good
snapping and dodge visibility modes correctly
--in upcoming commit the view is touched property
will mean without window is touching the view edge.
For view edges touching there will be a different
variable that can be used from containment and
applets.
2020-05-16 12:10:58 +03:00
Michail Vourlakos
d6fc66a7a3 user option for hiddenConfigWindowsAreDeleted
--when hidden configuration windows are deleted memory
consumption is improved and provides much lower values
--when hidden configuration windows are not deleted
memory consumption increases but their responsiveness
for hiding/showing is instantly
2020-05-16 10:02:23 +03:00
Michail Vourlakos
29b5c3e590 fix warnings 2020-05-15 20:57:34 +03:00
Michail Vourlakos
6ae1613f87 fix some Bindings loops for AppletItem
--a nice check for Binding is too check is
latteView is provided. If it is null, e.g.
during exit Bindings can be blocked.
2020-05-15 20:34:36 +03:00
Michail Vourlakos
79beef1fc6 reduce minimum applet length inConfigureApplets 2020-05-15 20:29:35 +03:00
Michail Vourlakos
14a6d73284 fix warnings 2020-05-15 20:21:24 +03:00
Michail Vourlakos
23f3c1f5c1 remove debug message 2020-05-15 19:59:01 +03:00
Michail Vourlakos
55c856d4f5 rename Applet property parabolicEffectIsSupported 2020-05-15 19:56:57 +03:00
Michail Vourlakos
707fc8bca9 improve AppletItem.layoutLength binding
--it is now lighter and is executed only
when it must be updated
2020-05-15 18:27:43 +03:00
Michail Vourlakos
1dcf799d42 a way to not delete hidden config windows 2020-05-15 13:06:53 +03:00
Michail Vourlakos
20994f9bdf fix HeaderSettings spacing 2020-05-15 10:34:39 +03:00
Michail Vourlakos
afb5217fe8 remove debug message 2020-05-14 23:42:30 +03:00
Michail Vourlakos
84003f3c35 protect latteBridge setting 2020-05-14 23:36:15 +03:00
Michail Vourlakos
55506fd20a automate AppletItems length calculations 2020-05-14 23:17:12 +03:00
Michail Vourlakos
9fcec2128a support min/max length and alignments beautifully
--applets that use auto fill calculations to gain their
length work really nice now for all alignments and values
very similar to plasma panels
2020-05-14 20:08:12 +03:00
Michail Vourlakos
7b1f2f2ef2 update AppletItem::Wrapper implementation
--new implementation is using length/thickness
semantics and not widths/heights. This way things
are much clearer and easier to extend
2020-05-14 18:04:10 +03:00
Michail Vourlakos
407cef9488 rename AppletItem property to maxAutoFillLength 2020-05-14 15:37:05 +03:00
Michail Vourlakos
e83dcfdc92 fix invisiblity of Separator applets in rare cases
--when the user was using applets separators with parabolic
effect there were cases that did not appear at all. This
is now fixed.
2020-05-14 15:31:08 +03:00
Michail Vourlakos
0c5fb4957e rename applet property to isAutoFillApplet 2020-05-14 15:25:59 +03:00
Michail Vourlakos
302140972c fixes for Layouter ability in Container 2020-05-14 10:57:23 +03:00
Michail Vourlakos
6be6450f18 fix binding loops for applets Indexer
--update fist/lastVisibleItem Index only after
the layout children match the models used count
2020-05-14 10:37:04 +03:00
Michail Vourlakos
2268d7ca12 more improvements for Layouter different alignments
--trying to find a workable layout case for all alignments
when they contain Fill(s) applets
2020-05-14 09:42:25 +03:00
Michail Vourlakos
1b19de8952 improve Layouter for Fill(s) in MainLayout 2020-05-14 02:40:35 +03:00
Michail Vourlakos
4fa11ab3d8 use maximum length for normal alignments and fills
--when Left/Center/Right alignments contain a fill
applet then they should use the entire max length
2020-05-14 02:03:36 +03:00
Michail Vourlakos
e21e6eba94 center fillApplets in MainLayout for Justify
--avoid for fillApplets of Main layout to overlap
with surrounding applets from side layouts
2020-05-14 01:10:57 +03:00
Michail Vourlakos
61ce906ef9 dont add margins for fitt's case in fill applets 2020-05-14 00:59:14 +03:00
Michail Vourlakos
5604d8cb3f inform Layouter for applets parent change inConfigure
--this way many glitches are avoided
2020-05-14 00:37:36 +03:00
Michail Vourlakos
8b6585284c improve visuals for placeholder
--dont add length edge margins through offset
for start/endlayouts, much cleaner and visual
pleasing to the eye. the user can always add
spacers if prefers to add padding.
2020-05-14 00:16:54 +03:00
Michail Vourlakos
f81e3cdc3a provide visual feedback when layouts overlap
--in configure applets mode when the layouts overlap
with main centered layout then visual feedback is provided to
the user in order to help him understand in which
layout each applet belongs
2020-05-13 21:41:20 +03:00
Michail Vourlakos
df9eda426f improve Justify splitters behavior inConfigure
--justify splitters now the offset themselves when
startLayout or endLayout are too big
2020-05-13 20:55:26 +03:00
Michail Vourlakos
3d6c7b3b23 reduce justify splitter maximum size 2020-05-13 19:45:33 +03:00
Michail Vourlakos
2ef0cdd944 introduce Layouter ability 2020-05-13 19:25:29 +03:00
Michail Vourlakos
2a91cb55c1 remove subtract extranormthick from headThickGap
--extra thickness that is required from indicators
must be ignored from HeadThicknessGap which is used
for nice snapping
2020-05-13 11:06:27 +03:00
Michail Vourlakos
3a347754ea fix one pixel glitch for parabolic effect
--finally after two years I found why there was a glitch
when the parabolic effect was hovering from Task into
an applet and vice versa. Tasks were rounding their
size before exposing it to container. Now this is fixed.
--Drag a task animation is now improved to be a little
more responsive and to inform also its mask requirements
to animations
2020-05-12 19:50:40 +03:00