Commit Graph

1379 Commits (8bfc71fd3e175fdaeba9d135b8f586f3d91ae46e)

Author SHA1 Message Date
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 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 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 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 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 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 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 e83f7e551e redraw panel shadows after !visible workarounds
--use a single slot when View triggers its workarounds
for the kwin issue that kwin hides panels when an activity
stops. In such case the view shadows are also redrawn.
5 years ago
Michail Vourlakos 9d7aabf998 fix Outline for Justified Floating Views 5 years ago
Michail Vourlakos c8164597bb fix LayeredBackground calculations 5 years ago
Michail Vourlakos 93c6bbe9bd fix published screenEdgeMargin for panels
--in older version screenEdgeMargin == -1 was meant
that the screenEdgeMargin was disabled but this does not
need to be passed to View any more because variable
screenEdgeMarginDisabled is now passed directly
5 years ago
Michail Vourlakos 35bc8f3560 fix ConfigOverlay behavior/appearance 5 years ago
Michail Vourlakos 114828ad88 reduce GtkFrameExtents calls/triggers 5 years ago
Michail Vourlakos 3e17f718ee dont block hiding for #debugwindow#(s) 5 years ago
Michail Vourlakos 8b32be15b9 support GtkFrameExtents under X11
--this way to dock windows can now snap beautifully
with windows around them, very beautiful behavior!
That was pretty annoying in the past.
5 years ago
Michail Vourlakos cb56a34800 fix debug message in Colorizer.Manager 5 years ago
Michail Vourlakos 39cc767eed drop panelUserSetAlignment not used anymore 5 years ago
Michail Vourlakos 57fd073e3f improve Blur responsiveness
--Blur area is not updated instantly any more
and does not make too many unnecesary calls.
A timer was added to orchestrate this in order
for the Effects area to be updated at maximum
20times/sec.
--Dont animate the view container at all cases, that
creates a much smoother experience for the user in
editing mode
5 years ago
Michail Vourlakos 95462fe5e6 fix maxlength applied inConfigureApplets mode 5 years ago
Michail Vourlakos 75c14b504e main layout on top of start and end layouts 5 years ago
Michail Vourlakos 344a7b7f53 smoothen up glitches inConfigureApplets mode 5 years ago