Commit Graph

4330 Commits (6de05c92e876e74186911e88508282a9a81d238e)
 

Author SHA1 Message Date
Michail Vourlakos 6f3367225d new Effects API for config windows subtract region 5 years ago
Michail Vourlakos 741eedfc3c improve Primary Config view syncGeometry
--fix also a crash when updateInlineProperties
was called
5 years ago
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.
5 years ago
Michail Vourlakos 54ea58c215 remove deprecated Effects subtracted implementatio 5 years ago
Michail Vourlakos 46760a04de cycle properly config views with Meta+A 5 years ago
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.
5 years ago
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
5 years ago
Michail Vourlakos 29b5c3e590 fix warnings 5 years ago
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.
5 years ago
Michail Vourlakos 79beef1fc6 reduce minimum applet length inConfigureApplets 5 years ago
Michail Vourlakos 14a6d73284 fix warnings 5 years ago
Michail Vourlakos 23f3c1f5c1 remove debug message 5 years ago
Michail Vourlakos 55c856d4f5 rename Applet property parabolicEffectIsSupported 5 years ago
Michail Vourlakos 707fc8bca9 improve AppletItem.layoutLength binding
--it is now lighter and is executed only
when it must be updated
5 years ago
Michail Vourlakos 1dcf799d42 a way to not delete hidden config windows 5 years ago
Michail Vourlakos 20994f9bdf fix HeaderSettings spacing 5 years ago
Michail Vourlakos afb5217fe8 remove debug message 5 years ago
Michail Vourlakos 84003f3c35 protect latteBridge setting 5 years ago
Michail Vourlakos 55506fd20a automate AppletItems length calculations 5 years ago
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
5 years ago
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
5 years ago
Michail Vourlakos 407cef9488 rename AppletItem property to maxAutoFillLength 5 years ago
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.
5 years ago
Michail Vourlakos 0c5fb4957e rename applet property to isAutoFillApplet 5 years ago
Michail Vourlakos 302140972c fixes for Layouter ability in Container 5 years ago
Michail Vourlakos 6be6450f18 fix binding loops for applets Indexer
--update fist/lastVisibleItem Index only after
the layout children match the models used count
5 years ago
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
5 years ago
Michail Vourlakos 1b19de8952 improve Layouter for Fill(s) in MainLayout 5 years ago
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
5 years ago
Michail Vourlakos e21e6eba94 center fillApplets in MainLayout for Justify
--avoid for fillApplets of Main layout to overlap
with surrounding applets from side layouts
5 years ago
Michail Vourlakos 61ce906ef9 dont add margins for fitt's case in fill applets 5 years ago
Michail Vourlakos 5604d8cb3f inform Layouter for applets parent change inConfigure
--this way many glitches are avoided
5 years ago
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.
5 years ago
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
5 years ago
Michail Vourlakos df9eda426f improve Justify splitters behavior inConfigure
--justify splitters now the offset themselves when
startLayout or endLayout are too big
5 years ago
Michail Vourlakos 3d6c7b3b23 reduce justify splitter maximum size 5 years ago
Michail Vourlakos 2ef0cdd944 introduce Layouter ability 5 years ago
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
5 years ago
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
5 years ago
Michail Vourlakos 66f8cce6d9 introduce Layouter Debug mode
--really handy and beautiful in order to confirm the
calculations that are valid. Already a bug was found
for ParabolicEffect. There is 1px difference between
hovering Tasks and Applets
5 years ago
Michail Vourlakos afb4279e09 fix View::Settings::updateEffects() area
--update effects area should be consistent with
settings dialog backgroud. Currently that has
changed to more apporpriate "dialogs/background"
5 years ago
Michail Vourlakos 3ad89c10a4 fix crash from indicator config ui creation 5 years ago
Michail Vourlakos c173a0dbdf align Tasks Previews exactly on item's head edge 5 years ago
Michail Vourlakos ec949948b6 fix View recraetion and frameExtents freezes
--View recreation path was broken from new implementation
for Latte::Interfaces that pass objects to containment
interface. This is now fixed and Interfaces::View object is updated
and broadcasted correctly when changed
--when GtkFrameExtents are zeroed for behaveAsPlasmaPanels
then it is better to recreate the view to avoid freezes and
hidings of the view because of compositor strange behavior
5 years ago
Michail Vourlakos 677caab132 introduce a background.minThickness
--plasma themes because of their svg nature can
have a minimum padding under which they are not
drawn correctly. In such cases background shadows
overlap and background internal drawing overlaps
in the center. That property protects from
such case by introducing a minimum background
thickness at all cases. Good example of the issue
is observed in behaveAsPlasmaPanel(s) that are
floating and have very good round corners.
5 years ago
Michail Vourlakos da571bdc32 improve background computations for 100% 5 years ago
Michail Vourlakos b6183c526c update frameExtents at View::forcedWorkaroundShown 5 years ago
Michail Vourlakos 8525e076f8 Tasks,dont mask out zoomed items too soon
--AppletItem::clip was introduced  in order to
avoid circumstances that applets exceed their limits
and as such still events from surrounding applets.
Because of that change applets should now apply
their layout properties as valid all the time
5 years ago
Michail Vourlakos 5b13bc421f improve background calculations a bit 5 years ago
Michail Vourlakos a91f6a8a8e make Effects updateEffect(),GtkFrameExtents aware 5 years ago