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

1703 Commits

Author SHA1 Message Date
Michail Vourlakos
168502673b hide sinkareas when no needed 2020-12-30 13:02:50 +02:00
Michail Vourlakos
f63bc30274 remove workaround activating applet from neutral 2020-12-30 09:47:14 +02:00
Michail Vourlakos
c7fedca8b6 remove margins from SinkAreas 2020-12-30 09:30:29 +02:00
Michail Vourlakos
431ce6c6fa enable EventsSink with parabolic effect
--add also some comments/information about
EventsSink qml implementation
2020-12-29 21:43:11 +02:00
Michail Vourlakos
574135e084 Welcome the all new EventsSink infrastructure
--each applet has now its own Sunk events to handle,
and as such each applet can now have different paddings
and that does not create any issues or missing events
2020-12-29 21:18:21 +02:00
Michail Vourlakos
de6f2282e6 remove all padding events code
--in favour of EventsSink approach that will
probably solve all corner cases of view sunk
events
2020-12-29 19:36:58 +02:00
Michail Vourlakos
f652975c90 qml:load ParabolicArea(s) only when really needed 2020-12-29 00:03:55 +02:00
Michail Vourlakos
ba9233684e view:separate parabolic c++ code from view
--The parabolic effect c++ part of View now
leaves in its own class
2020-12-28 23:36:28 +02:00
Michail Vourlakos
5a9d84f383 fix, do not show alreadyshown tasks after hiding 2020-12-28 22:11:59 +02:00
Michail Vourlakos
a51f10b7e2 drop applets custom hovering animation 2020-12-28 16:44:54 +02:00
Michail Vourlakos
99531d4d19 drop totally any applet icon overlaying 2020-12-28 16:41:32 +02:00
Michail Vourlakos
b5ceb4d91a tasksparabolic:use view triggering values 2020-12-28 10:23:36 +02:00
Michail Vourlakos
259f04f7c9 view:forward ParabolicEnter from c++ 2020-12-28 10:11:11 +02:00
Michail Vourlakos
a1ec6de412 tasks:make parabolic effect fixes 2020-12-27 23:37:46 +02:00
Michail Vourlakos
d3eed82145 adjust tasks to new parabolic approach 2020-12-27 22:26:13 +02:00
Michail Vourlakos
751a4f6713 appletItem:provide its own Parabolic Area
--move the parabolic effect code in its own item
and thus making it a lot cleaner to maintain and
debug
2020-12-27 21:45:01 +02:00
Michail Vourlakos
ae9836ccba first iteration for new parabolic 2020-12-27 19:07:00 +02:00
Michail Vourlakos
2f0a226b0d dont draw layoutscontainer when hidden 2020-12-27 14:08:09 +02:00
Michail Vourlakos
2251b16338 wayland:enable new input event handling 2020-12-27 14:03:57 +02:00
Michail Vourlakos
bc5ba50147 refactor:plenty of fixes for masks/input events
--use only input events in order to identify the area
from which a window accepts input and also remove almost
every mask-qml code handling
--by reducing mask usage to minimum we fix also the
BLACKLINE bug under X11
2020-12-27 13:52:32 +02:00
Michail Vourlakos
ba94315ecb REFACTOR:input events and mask area
-- The new approach reduces mask area calls to
barely minimum. Input mask is used instead to
specify the area for which we accept input.
-- The new approach solves also the BLACKLINE issue
when hovering the view at startup. This is because
at all times the full window area is drawn.
2020-12-27 11:04:04 +02:00
Michail Vourlakos
bc9e39a6b2 use valid paddings for sinked events 2020-12-26 20:42:51 +02:00
Michail Vourlakos
f45c6eea87 remove edge applet special spacing 2020-12-26 19:46:58 +02:00
Michail Vourlakos
34f1eff125 remove separator length based on latte setting 2020-12-26 19:39:11 +02:00
Michail Vourlakos
1650518935 autofill applets use same length paddings/margins 2020-12-26 19:22:32 +02:00
Michail Vourlakos
7ef490932d add visual identifiers for paddings 2020-12-26 19:15:42 +02:00
Michail Vourlakos
7c3b994cbb sinked_events:do not send for needlength animations
--fix a case of parabolic effect breaking when mouse
was hovering empty areas on the sides of the dock
2020-12-26 00:42:56 +02:00
Michail Vourlakos
c123bc40e1 fix/adjust InternalViewSplitter placement
--for the new paddings approach
2020-12-25 20:30:06 +02:00
Michail Vourlakos
167a19b748 sinked events:respect Fitts Law 2020-12-25 19:08:21 +02:00
Michail Vourlakos
ae650bbcf7 disable some qml side events hacks
--with new padding approach we can be more certain
when the overlaied parabolic effect mousearea is
really needed
2020-12-25 14:07:43 +02:00
Michail Vourlakos
c7ff929e35 auto-lock applets in more generic way 2020-12-25 14:02:05 +02:00
Michail Vourlakos
654c35cfec add visual debug rectangle for applets 2020-12-25 13:47:23 +02:00
Michail Vourlakos
74d9065f1f change applets margins/paddings approach 2020-12-25 13:17:12 +02:00
Michail Vourlakos
96fd421e9f sinked events:various fixes
--disable sinked events when parabolic effect is
enabled. It needs to be rethought how this could work
properly with parabolic effect.
2020-12-25 01:14:11 +02:00
Michail Vourlakos
a74a6ee3ff remove hack to activate applets from floating area
--by using the new approach from plasmaviews that take
into account paddings, any hacks to activate applets through
other codepaths are not needed any more.
2020-12-24 19:36:52 +02:00
Michail Vourlakos
746f32050d adjust mouse events relevant to view paddings 2020-12-24 19:27:11 +02:00
Michail Vourlakos
0112df9c5d alter Abilities.Definitions, Abilities.Definition 2020-12-03 18:59:05 +02:00
Michail Vourlakos
fb9f2739a3 rename Abilities.Hosts to Abilities.Host 2020-12-03 18:51:29 +02:00
Michail Vourlakos
976ed15351 rename Ability.Container to Ability.Host 2020-12-03 18:36:30 +02:00
Michail Vourlakos
af2ff10c42 fix containment Debugger renaming
BUG:429846
2020-11-30 18:48:35 +02:00
Michail Vourlakos
0f06f00855 upgrade debug maskEnabled to Abilities 2020-11-29 23:44:43 +02:00
Michail Vourlakos
1431feae8c upgrade debugMode to Abilities 2020-11-29 23:33:42 +02:00
Michail Vourlakos
aef310bf36 upgrade debug spacers to Abilities 2020-11-29 23:28:31 +02:00
Michail Vourlakos
01969b86e2 upgrade debug flags to Abilities 2020-11-29 23:26:28 +02:00
Michail Vourlakos
7f00ff7af2 upgrade layouter debug flag to Abilities 2020-11-29 18:14:56 +02:00
Michail Vourlakos
1e985590b5 upgrade debug timers flag to Abilities 2020-11-29 18:12:13 +02:00
Michail Vourlakos
13a4b64118 upgrade overloadedIcons/Window debug flags Ability 2020-11-29 18:04:59 +02:00
Michail Vourlakos
169b7d6aae introduce Debug Ability 2020-11-29 17:54:16 +02:00
Michail Vourlakos
e15eed7a49 upgrade to thickness.normalForItems values 2020-11-29 11:19:30 +02:00
Michail Vourlakos
110e82b7d3 validate config handler positioning 2020-11-29 11:04:18 +02:00
Michail Vourlakos
24661fb91f plasmoid:fix latte style applets thickness 2020-11-29 01:19:15 +02:00
Michail Vourlakos
28fe374914 editMode:stop endless loop when hovering applets 2020-11-29 00:46:55 +02:00
Michail Vourlakos
88ea6e370e add isEnabled to parabolic Ability 2020-11-29 00:15:25 +02:00
Michail Vourlakos
0a35af87d9 upgrade thickness.normal to Abilities 2020-11-28 21:34:16 +02:00
Michail Vourlakos
f1c615fd0f upgrade thickness.maxNormalForItems to Abilities 2020-11-28 21:30:21 +02:00
Michail Vourlakos
4bdbd6c358 upgrade thickness.maxNormal to Abilities 2020-11-28 21:27:11 +02:00
Michail Vourlakos
33e0dab320 upgrade thickness.zoomed to abilities 2020-11-28 21:23:26 +02:00
Michail Vourlakos
0c5670c653 upgrade thickness.maxZoomed to abilities 2020-11-28 21:20:01 +02:00
Michail Vourlakos
f0092a9f6e drop thicknessMidOriginal 2020-11-28 21:13:57 +02:00
Michail Vourlakos
72aef4dbd7 upgrade thickness.hidden to abilities 2020-11-28 21:12:45 +02:00
Michail Vourlakos
fe42e93ddd publish thicknesses through abilities 2020-11-28 21:09:48 +02:00
Michail Vourlakos
cec7cc5950 upgrade extras thicknessed to abilities 2020-11-28 20:56:46 +02:00
Michail Vourlakos
60f8e3017f upgrade edit mode ruler margin to abilities 2020-11-28 20:14:10 +02:00
Michail Vourlakos
36150d802b upgrade extraFromIndicators to abilities 2020-11-28 20:00:54 +02:00
Michail Vourlakos
68af027cec upgrade extrasFromShadows to abilities 2020-11-28 19:56:52 +02:00
Michail Vourlakos
efcbff045e upgrade maxScreenEdge to abilities 2020-11-28 19:30:05 +02:00
Michail Vourlakos
72667f2f57 update mask value to abilities 2020-11-28 19:24:03 +02:00
Michail Vourlakos
9f1274bf70 remove deprecated property 2020-11-26 20:13:02 +02:00
l10n daemon script
ddcc2bbe6b SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2020-11-26 06:42:23 +01:00
Michail Vourlakos
b230812b0a respect applets screenEdgeMarginSupported
--provide proper thickness for applets that can support
properly Latte floating docks
2020-11-07 11:38:36 +02:00
Michail Vourlakos
589b5f009c applets:dont enable overlay hovering if not needed 2020-11-05 22:13:24 +02:00
Michail Vourlakos
ab57516dab drop ShadowedRectangle workaround
--new kde frameworks have solved the main issue
of very big shadows for very narrow background
thickness. On the contrary a secondary issue occurs
that in the previous case the shadows are masked
outcut for ShadowedRectangle implementation.
2020-11-05 21:40:16 +02:00
Michail Vourlakos
7638e65e23 relative on screen item size can now use all values
-the user can now set the relative on screen items size
with step 0.1 and the produced item size does not have
to be a multiplier or 8
2020-10-26 14:44:02 +02:00
Michail Vourlakos
cee7a73ad0 dont draw PlamaTheme::Svg when custom radius is set 2020-10-25 08:33:23 +02:00
Michail Vourlakos
00fca8cdb0 fix qml break for kf5 <= 5.68
BUG:426119
2020-09-10 18:35:58 +03:00
Michail Vourlakos
8381b42dc2 fixes for CustomBackground 2020-08-31 20:35:14 +03:00
Michail Vourlakos
14f43ce296 make verticalViewTouchingUnity is all color styles 2020-08-31 19:34:05 +03:00
Michail Vourlakos
5af3036613 fixes for identifying Unity vertical view showing
--more specific identifying properly when a vertical
view is shown and is touching a top or bottom view
that has requested to be fully trasparent when no
maximized window exists
2020-08-31 19:27:42 +03:00
Michail Vourlakos
0cfd578a2b update to 0.9.86 to clarify settings changes 2020-08-30 21:33:30 +03:00
Michail Vourlakos
237e561627 ignore background.headThickness for behaveAsPanels 2020-08-26 21:12:19 +03:00
Michail Vourlakos
148e3956b1 decouple background layer plasma shadows svg
--the multilayered background first layer is not
decoupled and is not the parent layer for all the
rest layer. This way we can really hide it without
influence the rest background layers.
2020-08-25 09:16:33 +03:00
Michail Vourlakos
305b0b9519 add custom radius length paddings for background 2020-08-22 22:06:54 +03:00
Michail Vourlakos
8298bf0e2c fix dock view geometry calculations
--when background custom radius and shadow
are applied the dock window geometry shouldnot
change if these values are not altered. This
is especially true when a dock is hiding
its screen edge margin when there is a maximized
window and the same time is hiding also its
background shadows. In such case in the past because
shadows were temporarily disabled the dock was constantly
changing its geometry
2020-08-22 21:01:13 +03:00
Michail Vourlakos
dae99ea8a2 provide fixedshadows for LayeredBackground 2020-08-22 18:15:01 +03:00
Michail Vourlakos
0aa5aaec64 fixes for hideThickScreenGap in Dock mode 2020-08-22 18:15:01 +03:00
Michail Vourlakos
ab1aa51fce fix for customDefShadowEnabled case 2020-08-22 18:15:01 +03:00
Michail Vourlakos
9e8192438c improvements for custom shadowed rectangle 2020-08-22 18:15:01 +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
b2f8f20482 background:fixes for customBackgroundShadow
--limit also the background custom shadow to never
exceed the minimum panel axis
2020-08-22 18:15:01 +03:00
Michail Vourlakos
89e94fce3b initial support background custom radius/shadow
--playing around with Kirigami.ShadowedRectangle in order
to provide a nice beautiful custom made panel background
that the user can chosen custom radius or shadow size.
Colors are going to be used totally based on current plasma
theme.
2020-08-22 18:15:01 +03:00
l10n daemon script
15c1f46ae5 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2020-08-21 06:15:43 +02:00
Michail Vourlakos
76ec713c9d update for thin tooltips and auto size behaviors
--make their behavior more understandable and predictable
based on dock and panel types
2020-08-06 02:54:15 +03:00
Michail Vourlakos
8ccc3660e9 block mustBeShown events when hideThickScreepGaps
--especially for Latte Panels that has used Positioner
midSlidingAnimation() to reposition the panel
2020-08-03 13:55:27 +03:00
Michail Vourlakos
37a682e5bc rename property to hideFloatingGapForMaximized
--this property hides any floating gap when there
are maximized windows
2020-08-03 13:24:29 +03:00
Michail Vourlakos
b92ece0f8e rename option for floatingInternalGapIsForced
--that option from Behavior page is now renamed and
also its behavior has been upgraded by enabling
three possible options:
   1. Disabled always
   2. Auto - which is enabled for Docks and disabled for Panels
   3. Enabled always
2020-08-03 13:10:46 +03:00
Michail Vourlakos
3ce1eb06bd justify:move dropped applets in correct position 2020-08-03 00:47:25 +03:00
Michail Vourlakos
0bcc45e633 use KWin slideouts when switching layouts 2020-08-03 00:29:59 +03:00
Michail Vourlakos
61e77063ac do not deny hiding inRelocationHiding 2020-08-03 00:12:32 +03:00
Michail Vourlakos
a3989d1c2a improve semantic for inRelocationHiding view phase 2020-08-03 00:09:36 +03:00
Michail Vourlakos
b808fa2559 reduce minimum hide timer interval to zero 2020-08-02 03:23:00 +03:00
Michail Vourlakos
95cd703333 slideout real floating panels on startup if needed
--after view startup real floating panels that are hiding
their thickness because of maximized windows must reposition
themeselves in order to have a valid visual state
2020-08-02 03:01:44 +03:00
Michail Vourlakos
aa3dd59cbf Behavior tab separate visibility modes to groups
--each visibility mode is now hosted in each one
group in order to expose much better how the
user can access them.
2020-08-01 18:26:14 +03:00
Michail Vourlakos
abc0cbc389 remove slot from deprecated signal 2020-07-29 12:08:50 +03:00
Michail Vourlakos
d7b56b9316 containment:use static dragoverlay
--do not create/destroy it, its time we get
into rearrange widgets mode
2020-07-29 12:08:50 +03:00
l10n daemon script
5832978fbf SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2020-07-29 06:05:36 +02:00
Michail Vourlakos
a3250cf7ca fixed for View::inEditMode flags
--inEditMode is now updated directly from
containment()->inUserConfiguring()
--add again hiding blockers when View gets
into edit mode. That was lost during last commits
because it was part of Visual qml code that
has been moved to another window.
2020-07-29 01:20:45 +03:00
Michail Vourlakos
3b3388d673 rename SideBar to SidebarOnDemand
--improve semantics all over the place now
that we provide two different sidebar
visibility modes
2020-07-29 00:02:50 +03:00
Martijn Vogelaar
2e4f7da4c2 Introduction and implementation of the SidebarAutohide
as discussed in #19.
2020-07-28 15:49:55 +00:00
l10n daemon script
8b6ae2439a SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2020-07-28 06:12:20 +02:00
Michail Vourlakos
998ff199c7 fix calculation of applets visibleIndex()
--show properly shortcut badges for all applets

BUG:424512
2020-07-22 01:36:04 +03:00
Michail Vourlakos
e92f168abe show vertical systrays propertly
--do not enforce hidden applets for preferredLengths
that equal zero
2020-07-21 21:43:15 +03:00
Michail Vourlakos
3c0060ba1d update panel background paddings calculations
--Plasma::FrameSvgItem margins are not consintent
in order to provide helpful hints how plasma theme
panel-background svg is drawn properly. The new
approach calculates paddings based on top,left,bottom,right
svg elements and in that way a consistent a properly
background.minimumThickness is discovered.
2020-07-21 17:18:49 +03:00
Michail Vourlakos
d1b9610614 accept AllCorners for a floating case
--AllCorners can make sense when a floating view
uses Justify alignment and 100% maximum length
2020-07-20 20:01:33 +03:00
Michail Vourlakos
2336272e1a update backgroundMinThickness only in normal state
--this way we avoid changing background thickness during
auto hiding screen gaps when there are maximized windows
2020-07-20 19:53:22 +03:00
Michail Vourlakos
5e78a0a3c7 provide all background corners option
--provide an option to force showing of all background
corners
2020-07-20 19:20:33 +03:00
Michail Vourlakos
af37c31f36 support theme length paddings
--update layouter, background and layoutscontainer
in order to take into account the background length
paddings
2020-07-20 15:16:03 +03:00
Michail Vourlakos
52eb0acfef dont hide external shadows during location change 2020-07-19 17:19:56 +03:00
Michail Vourlakos
6de05c92e8 support XCP::SHAPE for Views
--views can now specify their input area under X11 and
give valuable space to underlying windows
2020-07-19 15:04:46 +03:00
Michail Vourlakos
79d95371d7 fix #9,panel/dock buttons
--fix panel/dock mode buttons from configuration
windows.
2020-07-18 18:57:55 +03:00
Michail Vourlakos
e4437b7f66 abilities:introduce UserRequests 2020-07-18 17:39:34 +03:00
Michail Vourlakos
f5cc1f8f81 abilities:provide animations.requirements
--applets animations ability can now be used to
provide a zoomFactor that is needed from their
animations
2020-07-18 16:47:56 +03:00
Michail Vourlakos
02e1e87d59 smoothen anim for hide length screen gaps 2020-07-17 17:03:14 +03:00
Michail Vourlakos
0b8fa321bc dont crash when panels change location 2020-07-16 09:44:44 +03:00
Michail Vourlakos
ea7940dffe hide length screen gaps after slide in 2020-07-15 18:53:24 +03:00
Michail Vourlakos
19eb9f9ff5 fix edge margin adjustment 2020-07-12 15:02:54 +03:00
Michail Vourlakos
673882f966 provide live editing for !compositing 2020-07-11 11:02:40 +03:00
Michail Vourlakos
dd79d5a0ed provide colors Tools trough LatteCore 2020-07-10 21:09:54 +03:00
Michail Vourlakos
a51eb8578e support most of CanvasConfigView functionality
--move the relevant qml files from containment into
shell configuration files
2020-07-10 21:09:54 +03:00
Michail Vourlakos
fec2f447d5 drop editMode workarounds in containment 2020-07-10 21:09:54 +03:00
Michail Vourlakos
083dec89ba disable editmode trigerring for View window 2020-07-10 21:09:54 +03:00
Michail Vourlakos
bf2c7ebbd9 expose Colorizer to itw own View c++ class 2020-07-07 18:33:41 +03:00
Michail Vourlakos
7fd56aebfb compute editThickness in View c++ level 2020-07-07 18:20:47 +03:00
Michail Vourlakos
548afca400 create applets drag overlay only once 2020-07-03 14:24:43 +03:00
l10n daemon script
16ccd123dd SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2020-06-25 05:50:13 +02:00
l10n daemon script
300b8025f1 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2020-06-24 05:57:37 +02:00
l10n daemon script
d953d7bf98 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2020-06-18 05:45:10 +02:00
l10n daemon script
c5072f98de SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2020-06-17 14:12:38 +02:00
Michail Vourlakos
a88281251a debug:add centered offset for justify mode
--for layouter debuger
2020-06-13 01:04:13 +03:00
Michail Vourlakos
b3c1a07e2a offset centered applets in justify mode
--in justify mode the centered applets are now
offseted when overlapped from side layouts
in order to always present to the user all applets
and at the same time improve accesibility. That
approach takes into account how plasma panels
in 5.19 behave when the user has added auto-centered
plasma spacers.
2020-06-13 00:45:47 +03:00
Michail Vourlakos
6af99fcbad AboveFullscreen breaks Frame_Extents
--Can above Fullscreen windows under x11 ignore
GTK_FRAME_EXTENTS totally. Long story short
such docks can not have beautiful snapping from
kwin and as such the blur area should ignore the
headThicknessGap

BUG:422313
2020-06-02 22:21:36 +03:00
Michail Vourlakos
7672202b4c decrease Blur area update interval
--was changed to 60Hz from 20Hz and also
the first call is immediately draw and then
the timer in triggered in order to block all
other calls. Hopefully this will be enough
for smooth moving blurring areas.

BUG:422209
2020-05-29 16:45:03 +03:00
Michail Vourlakos
92b983ceff fix EnvironmentActions loading
--when the user was enabling/disabling EnvironmentActions
the area occupied was not reassigned properly after
its loading.
2020-05-29 16:34:25 +03:00
Michail Vourlakos
2ba90621f7 fixes for Applets Indicators sizing
--indicators should take into account the current applet width
in order to take up more space that it is needed
2020-05-27 12:49:52 +03:00
Michail Vourlakos
2ea8d389ec dont block length margins for EdgeSquare applets 2020-05-27 12:22:09 +03:00
Michail Vourlakos
edb943db6b fixes for spacers and positioning of behaveAsPanel
--fix positioning for Right/Bottom alignments when
View behavesAsPlasmaPanel
2020-05-25 21:31:01 +03:00
Michail Vourlakos
dde2b0b10e do not apply Plasma popups coloring if not enabled 2020-05-24 10:29:22 +03:00
Michail Vourlakos
e98ce9e0c8 fix warning and task shortcuts bouncing 2020-05-23 19:29:52 +03:00
Michail Vourlakos
271089ef33 more improvements for Tasks applet 2020-05-23 14:22:11 +03:00
Michail Vourlakos
aba7aeab80 small fixes here and there 2020-05-23 01:58:17 +03:00
Michail Vourlakos
d04c19dacf dont enable add launchers in Tasks area
--when there are multiple Latte Tasks applets
2020-05-23 01:49:25 +03:00
Michail Vourlakos
f3df399f55 update some parabolic effect functions 2020-05-23 01:38:09 +03:00
Michail Vourlakos
2343933408 remove Container ParabolicManager
--this is not needed any more from the container.
All its functionality is provided from various
Container Abilities.
2020-05-22 21:35:06 +03:00
Michail Vourlakos
05bc900a6d fix multiTasks global shortcuts on position
--multi Tasks now work properly with global
shortcuts on position even when only one of them
is stealing them for its own use.
2020-05-22 21:23:14 +03:00
Michail Vourlakos
5be106565c PositionShortcuts choose which Tasks will be used
--Tasks have an option in order for one of them to steal
the Global On Position shortcuts and not be applied for
any other applets in the same dock
2020-05-22 21:01:17 +03:00
Michail Vourlakos
7176febb09 move badges tags in PositionShortcuts ability 2020-05-22 19:23:08 +03:00
Michail Vourlakos
fa4ffbf521 use PositionShortuts Ability for activate/new 2020-05-22 19:11:10 +03:00
Michail Vourlakos
dc78257962 improvement for Container::OnPositionShortcuts
--bind On Position Shortcuts Container ability
with View::ExtendedContainmentInterface implementation
2020-05-22 14:09:29 +03:00
Michail Vourlakos
f32937ca6d first commit for multi on position shortcuts 2020-05-20 19:07:40 +03:00
Michail Vourlakos
3c73bff0ac use Indexer Ability for shortcut badges 2020-05-19 23:37:43 +03:00
Michail Vourlakos
949b2a4c3b AutoFill applets must never exceed maxgivenspace
BUG:421786
2020-05-19 21:09:34 +03:00
Michail Vourlakos
fae249560e dont block parabolic effect for expanded applets 2020-05-19 19:29:55 +03:00
Michail Vourlakos
78dce5d5e6 save start/end layouts per applet options
BUG:421770
2020-05-19 15:21:21 +03:00
Michail Vourlakos
737f680853 fix more binding loops for AppletItem 2020-05-19 11:01:55 +03:00
Michail Vourlakos
12d6302fc3 fix binding loops and warnings 2020-05-19 10:52:45 +03:00
Michail Vourlakos
5ea28513c2 respect applets thickness properties 2020-05-19 00:58:25 +03:00
Michail Vourlakos
bac3502f2c fix bindingloop from Applet.lengthAppletFullMargin 2020-05-19 00:09:04 +03:00
Michail Vourlakos
419b2bfb6d fix binding loop for Applet::layoutThickness 2020-05-18 23:52:22 +03:00
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
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
54ea58c215 remove deprecated Effects subtracted implementatio 2020-05-16 18:58:29 +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
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
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
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