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

1863 Commits

Author SHA1 Message Date
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
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
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
2020-05-12 17:08:09 +03:00
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
2020-05-12 14:45:31 +03:00
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.
2020-05-12 11:39:30 +03:00
Michail Vourlakos
da571bdc32 improve background computations for 100% 2020-05-12 10:45:52 +03:00
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
2020-05-12 10:08:03 +03:00
Michail Vourlakos
5b13bc421f improve background calculations a bit 2020-05-12 03:23:27 +03:00
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.
2020-05-11 23:04:44 +03:00
Michail Vourlakos
9d7aabf998 fix Outline for Justified Floating Views 2020-05-11 20:32:43 +03:00
Michail Vourlakos
c8164597bb fix LayeredBackground calculations 2020-05-11 20:00:39 +03:00
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
2020-05-11 19:47:30 +03:00
Michail Vourlakos
35bc8f3560 fix ConfigOverlay behavior/appearance 2020-05-11 18:45:53 +03:00
Michail Vourlakos
114828ad88 reduce GtkFrameExtents calls/triggers 2020-05-11 18:08:55 +03:00
Michail Vourlakos
3e17f718ee dont block hiding for #debugwindow#(s) 2020-05-11 17:44:30 +03:00
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.
2020-05-11 17:31:51 +03:00
Michail Vourlakos
cb56a34800 fix debug message in Colorizer.Manager 2020-05-11 10:47:19 +03:00
Michail Vourlakos
39cc767eed drop panelUserSetAlignment not used anymore 2020-05-11 10:45:25 +03:00
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
2020-05-11 10:30:08 +03:00
Michail Vourlakos
95462fe5e6 fix maxlength applied inConfigureApplets mode 2020-05-11 10:18:37 +03:00
Michail Vourlakos
75c14b504e main layout on top of start and end layouts 2020-05-11 10:01:01 +03:00
Michail Vourlakos
344a7b7f53 smoothen up glitches inConfigureApplets mode 2020-05-11 00:05:55 +03:00
Michail Vourlakos
2ebe0d0b63 fix glitch from hide screen edge gap in dock mode
--do not update view window geometry when there is
an automatic hide screen edge gap situation because
of maximized windows events
2020-05-10 23:38:17 +03:00
Michail Vourlakos
0d023dff37 expose backgroundThickness through Metrics
--this way Tasks scrolling shadows work ok again
and also they are decoupled from containment
2020-05-10 20:27:35 +03:00
Michail Vourlakos
f715c5bbd5 various fixes for backgroud/items offsets 2020-05-10 20:27:35 +03:00
Michail Vourlakos
dd4e4fb79d rename all Background.MultiLayer values
--much better and understandable names are now used
2020-05-10 20:27:35 +03:00
Michail Vourlakos
0539db1a09 rename more values of Background.MultiLayered 2020-05-10 20:27:35 +03:00
Michail Vourlakos
545249404e rename values in Background.MultiLayered 2020-05-10 20:27:35 +03:00
Michail Vourlakos
bc441af941 rename PanelBox to Background.MultiLayered
--much better name and also describes how Background
really works and draws its content
2020-05-10 20:27:35 +03:00
Michail Vourlakos
fe370bf885 improve all binding for containment
--use the Binding.when property in order to identify
when a binding is triggered or not
2020-05-10 20:27:35 +03:00
l10n daemon script
51a302de63 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-05-09 06:29:25 +02:00
Michail Vourlakos
f5db9ce63d fix Justify alignment applets placement inConfigure
--applets are now always take into account the splitters
placement and the splitters try to be always in the
center. This is much more predictable and understanble
from the user
2020-05-08 23:02:43 +03:00
Michail Vourlakos
6ae3c499f0 block calculations for applets changing parents 2020-05-08 22:31:35 +03:00
Michail Vourlakos
97a1c3fdb8 NEW Intuitive InConfigureApplets Mode
--I have managed to solve most of the issues that were
preventing a live demonstration of applets layout
during InConfigureApplets mode... Things are more
intuitive now are updated correctly between different
layout areas... enjoy...
2020-05-08 21:15:10 +03:00
Michail Vourlakos
7a451facb2 use inConfigureAppletsMode like a regular mode 2020-05-08 18:30:44 +03:00
Michail Vourlakos
e64921d2bf rename Indexer ability clients properties
--include also a fix for Tasks addingarea
2020-05-08 09:36:35 +03:00
Michail Vourlakos
28ec313bd2 track container fill calculations better
--container fill calculations are now tracked much
better when they are applied.
--as an improvement fill calculations are now taking place
at all edit mode states. So inConfigureApplets mode
the fill(s) applets do not throw out of screen
applets that are the layout edges
2020-05-07 22:36:20 +03:00
Michail Vourlakos
30aa8963cb fixes for Fitts Law applet margins 2020-05-07 19:59:33 +03:00
Michail Vourlakos
ef2592b183 add Indexer applet Ability
--works beautifully and nicely even in
multi-applets indexer supported environment
2020-05-07 16:19:05 +03:00
Michail Vourlakos
a9425409d0 improve Indexer Container/Bridge implementation 2020-05-07 14:34:47 +03:00
Michail Vourlakos
df4df914ca introduce Indexer ContainerAbility 2020-05-07 00:07:16 +03:00
Michail Vourlakos
a622485a47 fix warnings 2020-05-06 23:18:53 +03:00
Michail Vourlakos
a9c29916b0 improve catching signals for Container abilities 2020-05-06 20:48:56 +03:00
Michail Vourlakos
e8290aeb92 add debug row for applets maxInnerZoomFactor 2020-05-06 20:48:56 +03:00
Michail Vourlakos
87ffc22f6a remove AppletsRecords container ability
--use the all new much better infrastructure
to track applet abilities requirements
2020-05-06 20:48:56 +03:00
Michail Vourlakos
e3e4ee4c5a fantastico! full decoupled parabolic effect
--This is the first commit that demonstrates also
a beautiful and easy way to gain properties from
multiple applets that support specific activities
2020-05-06 20:48:56 +03:00
Michail Vourlakos
d26b189bfa split ContainerParabolicEffect, Private/Properties 2020-05-06 20:48:56 +03:00
Michail Vourlakos
62879df90e rename appletitem aliases properly 2020-05-06 20:48:56 +03:00
Michail Vourlakos
b1ce98e8a4 introduce PrabolicEffect Ability for applets 2020-05-06 20:48:56 +03:00
Michail Vourlakos
cfd79ae713 fixes for ParabolicEffect Ability 2020-05-06 20:48:56 +03:00
Michail Vourlakos
44c7faba65 move zoomFactor,maxZoomFactor to ContainerAbility
--use nicer names such as parabolic.factor.zoom
and parabolic.factor.maxZoom
2020-05-06 20:48:56 +03:00
Michail Vourlakos
f707cdab4f create ParabolicEffect Abitility
--such ability provides four different parts:
Defintion/Applet/Container/Bridge
2020-05-06 20:48:56 +03:00
Michail Vourlakos
0bb838d90e fix triggering for contextMenuIsShown
--it should not be triggered in every view press
event but only when there is or not a context
menu any more
2020-05-06 20:48:56 +03:00
Michail Vourlakos
a0e4f688e5 fix some previews issues 2020-05-06 20:48:56 +03:00
Michail Vourlakos
81abb0eb35 fix some parabolic effect glitches 2020-05-06 20:48:56 +03:00
Michail Vourlakos
7e1be6144a remove Parabolic::DirectRender timer functionality
--remove direct render timer which is not used any more.
2020-05-06 20:48:56 +03:00
Michail Vourlakos
140cc8cb73 smoothen up parabolic effect 2020-05-06 20:48:56 +03:00
Michail Vourlakos
c9b7866662 HoveredIndex:Drop plasmoid implementation
--parabolic effect does not need hovered index
any more in order to work properly
2020-05-06 20:48:56 +03:00
Michail Vourlakos
63500ed524 HoveredIndex:Drop for containment
--a new implementation is needed which is going
to be simpler and lighter. Removing the current
implementation, parabolic effect works just fine
without issues and feels more responsive.
2020-05-06 20:48:56 +03:00
Michail Vourlakos
7b521634a8 restore properly multi-tasks parabolic effect
--update parabolic effect clear zoom functionanlity in order
to clear zoom properly
2020-05-06 20:48:56 +03:00
Michail Vourlakos
9145634434 PARABOLIC:new parabolic effect implementation
--the new implementation relies on items in order to
forward scale signals properly to their neighbours. So
parabolic effect does not have to know separators and
hidden items any more. As it appears it is lighter
also and more responsive. This is a very important
milestone for the parabolic effect.
2020-05-06 20:48:56 +03:00
Michail Vourlakos
22f9bdd6a7 use Metrics Ability for screenEdgeMargin 2020-05-02 19:36:35 +03:00
Michail Vourlakos
4d1f5b2df0 deprecate root.screenEdgeMargin from containment 2020-05-02 15:57:21 +03:00
Michail Vourlakos
9be7822b98 upgrade to LatteApp.Interfaces containment access 2020-05-02 13:23:37 +03:00
Michail Vourlakos
6259c395de move lengthMargin(s) to Metrics ability 2020-05-01 16:03:41 +03:00
Michail Vourlakos
dae35a12bb rename thicknessMargins to thicknessEdges
--which is more accurate an Edge can be the calculated
distance of margin+border+padding like css is also
describing
2020-05-01 14:03:50 +03:00
Michail Vourlakos
c45e45138f rename Metrics padding.length 2020-05-01 13:50:54 +03:00
Michail Vourlakos
1c6fef6c12 move thickMargin(s) to Metrics Ability 2020-05-01 13:27:34 +03:00
Michail Vourlakos
583af39fba add metrics.margin.maxThickness 2020-05-01 12:49:06 +03:00
Michail Vourlakos
e0d2991790 move fractions to MetricsPrivate 2020-05-01 12:39:40 +03:00
Michail Vourlakos
ed3472b11f make Metrics.Fractions as private property 2020-05-01 12:19:29 +03:00
Michail Vourlakos
2727aa1616 add more metrics options for applets 2020-04-30 16:48:25 +03:00
Michail Vourlakos
3143bef896 rename metrics option to portionIconSize 2020-04-30 16:18:19 +03:00
Michail Vourlakos
90d9aefd0b add more metrics options for Ability 2020-04-30 16:11:57 +03:00
Michail Vourlakos
f227191f3f position properly background for all allignments
--do not take into account the background shadows for its
positioning for Left/Right/Top/Bottom alignments
2020-04-29 11:38:29 +03:00
Michail Vourlakos
e8c15905d6 position properly alignments for real panels
--provide calculations to position properly real
panels that use Left/Right/Top/Bottom alignments
2020-04-29 10:43:43 +03:00
Michail Vourlakos
441fbdf635 plenty of improvements to position Latte panels
--used a video demonstrating multiple panels at the
bottom edge with padding between them
--max/minLength and offset are changed to float values
--max/minLength and offset can now be adjusted with
Ctrl+Wheel over their label in Appearance tab page. Clicking
the previous mentioned label will round the values
--introduce an autoSizeEnabled value in order to block
auto size mechanism when it becomes annoying. Such issue
appears more often to Latte panels
--block MenuZ from Latte icon heuristics
2020-04-29 09:54:16 +03:00
Michail Vourlakos
00127f28c0 Tasks:introduce Tasks.Dialog
--this is just a subclass of PlasmaQuick::Dialog
that provides "containsMouse" property
2020-04-28 13:12:48 +03:00
Michail Vourlakos
97e7c428b7 rename Ability.Container to Metrics
--major change but improves readability a lot
2020-04-27 21:21:44 +03:00
Michail Vourlakos
dbd830aa48 remove applets spacers unneeded code 2020-04-27 18:04:23 +03:00
Michail Vourlakos
92a6319dac update applets windows tracking for AppletsRecords 2020-04-26 20:52:17 +03:00
Michail Vourlakos
e4a609f250 release Applets.latteBridge on destruction 2020-04-26 20:17:13 +03:00
Michail Vourlakos
3a7a8368fa provide a multiapplets innerZoomFactor structure
--introduce AppletsRecords in order to keep track
of their requirements that influence the containment
qml behavior
2020-04-26 20:07:04 +03:00
Michail Vourlakos
03de9bb09f replace maxZoomFactor with innerZoomFactor
--innerZoomFactor is a way for applets to
request specific zoom factor at some cases
for example during some of their animations
2020-04-26 19:20:33 +03:00
Michail Vourlakos
c9ec2bc957 rename minZoomFactor to animations.maxZoomFactor 2020-04-26 17:45:57 +03:00
Michail Vourlakos
69aaedac5f move Tasks local animations to local ability 2020-04-26 17:38:43 +03:00
Michail Vourlakos
ef1fc413c9 publich Containet ability components 2020-04-26 17:18:45 +03:00
Michail Vourlakos
7709e1514b simplify autosize container ability 2020-04-26 17:02:31 +03:00
Michail Vourlakos
04daf81ac5 provide apis through abilities import 2020-04-26 16:54:04 +03:00
Michail Vourlakos
368b4b8441 references improvements in container qml 2020-04-26 15:07:22 +03:00
Michail Vourlakos
c43dd6d003 update root references to Abilities 2020-04-26 14:39:17 +03:00
Michail Vourlakos
152a467878 refactor: Tasks applet support Animations ability 2020-04-26 14:31:40 +03:00
Michail Vourlakos
732c7821f1 support property AbilityDefinition.Animations
--use qml for this and it is much better than c++
2020-04-26 02:49:28 +03:00
Michail Vourlakos
529efe548a abilities animations definition working better 2020-04-25 22:28:50 +03:00
Michail Vourlakos
82f007e4bf provide an AbilityDefinition for Animations
--this way both containers and applets can use
the same infrastructure and properties
2020-04-25 21:19:09 +03:00
Michail Vourlakos
b1f5e169ee provide new abilities imports structure 2020-04-25 19:30:17 +03:00
Michail Vourlakos
33aaa85796 improve AutoSizer animations signaling 2020-04-25 18:11:49 +03:00
Michail Vourlakos
6a558df10b refactor:add Containment.AnimationsAbility
--change/update the animations api in order to
be understandable and easier to maintain/debug
2020-04-25 14:27:44 +03:00
Michail Vourlakos
deb9c244ff improve/support BackgroundTracker in app
--the new implementation is much improved and easy
to support. No workaround and direct use of the
libraries
2020-04-24 17:30:30 +03:00
Michail Vourlakos
790e0af406 add Containment.ThemeColorsGroup enum 2020-04-24 13:50:08 +03:00
Michail Vourlakos
1bc14b5d7a add Containment.ThemeColorsGroup 2020-04-24 13:40:55 +03:00
Michail Vourlakos
35d09789c9 add Containment.ShadowColorGroup qml enum 2020-04-24 13:31:49 +03:00
Michail Vourlakos
7ac648983f upgrade applet shadows variable for cotainment
--replace deprecated configuration.shadows with
configuration.appletShadowsEnabled
2020-04-24 13:22:55 +03:00
Michail Vourlakos
39fbf728d5 rename actions for LatteContainment.scrollActions 2020-04-24 12:47:04 +03:00
Michail Vourlakos
9c57f9db4b introduce AppTypes.MouseSensitivity 2020-04-24 10:08:13 +03:00
Michail Vourlakos
9919952239 bring back Settings::inAdvancedMode
--ViewSettings::complexityLevel is not needed
any more... View::Settings will keep only two
states, Basic and Advanced mode
2020-04-23 21:57:17 +03:00
Michail Vourlakos
a4e9b51b2b support LatteContaiment.ActiveWindowFilterGroup 2020-04-23 20:00:53 +03:00
Michail Vourlakos
13a9522a16 rename abilities imports to distiguish purpose
--an better plural naming was chosen in order for
for consumers to distiguish abilities purpose. Abilities
are designed to be use by multiple applets and
containers
2020-04-23 18:55:40 +03:00
Michail Vourlakos
ac99708315 MAJOR MAJOR:splitting types to their own component
--improve types and references and add types splitted
at better places. So now we have
 - LatteCore.Types that are global for all components
 - LatteTasks.Types that are private to tasks plasmoid
 - LatteContainment.Types that are private to latte
containment
2020-04-23 18:46:24 +03:00
Michail Vourlakos
3bee600a98 introduce AppletAbilities as qml library
--introduce AppletAbilities qml library which is going
to be available to all applets to use it freely. In the stage
all components will be qml-only but in the future when
any of the components have been stabilized for their
apis then many of them could gain c++ implementation
2020-04-20 13:42:19 +03:00
Michail Vourlakos
810dd5a1b4 publish Abilities qml library
--add AppletRequirements in Abilities
qml library
2020-04-20 12:41:20 +03:00
Michail Vourlakos
6833a9b5cb expose an object for AppletRequirements 2020-04-20 12:19:11 +03:00
Michail Vourlakos
214447b12f make AutoItemSizer an Ability called AutoSize 2020-04-20 11:45:02 +03:00
Michail Vourlakos
505f63b3ad update plasmoid Containment to Container 2020-04-20 11:45:02 +03:00
Michail Vourlakos
a72c30f763 replace containmentAb name with container 2020-04-20 11:45:02 +03:00
l10n daemon script
d0bf13aa72 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-04-20 05:38:30 +02:00
Michail Vourlakos
42c44c20da Abilities:Move Tasks iconSizes to ContainmentAb 2020-04-18 19:53:39 +03:00
Michail Vourlakos
0db7b29a2d Abilities:move iconSize to containmentAbility 2020-04-18 19:24:21 +03:00
Michail Vourlakos
b69af88ebc refactor:move irrelevant WindowSystem properties
--irrelevant WindowSystem properties are now moved
to LatteCore.Environment that fit better semantically
2020-04-18 13:55:06 +03:00
Michail Vourlakos
5073939335 REFACTOR:split up and refactor liblatte2 and types
--use a more logical organization for types. LibLatte2
is split to become LatteCore library and Latte types
are now moved to application level. The Latte Types will
be split even more... Tasks-Only related types will
become Latte.Tasks types

BUG:420210
2020-04-18 13:39:45 +03:00
Michail Vourlakos
5fdcef81af TASKS:Migrate to multiple Tasks architecture
--First steps in order to support mulitple Tasks
applets in the same dock and panel.
--Step1: migrate values from Containment to Task
applet.
--Step2: deprecate Task applet options that are
found in containment
--Step3: provide multiple dynamic Tasks tabs in
settings
2020-04-18 13:39:41 +03:00
Michail Vourlakos
0da74fb3ce Tasks:track multiple Tasks applets
--create an infrastructure in order to be able
to adjust and configure multiple Tasks plasmoids
2020-04-18 13:39:41 +03:00
Michail Vourlakos
7f4ff70950 upgrader:Alignment instead of PanelPosition
--ContainmentQuickItem is now using alignment
in its configuration
2020-04-16 11:54:56 +03:00
Michail Vourlakos
11afc1db6d improve default values for floating views 2020-04-15 18:34:31 +03:00
Michail Vourlakos
36aae05bc8 position correctly applets thin title tooltips
--consider also the screenEdgeMargin
2020-04-15 15:06:06 +03:00
Michail Vourlakos
aebbff4dfd improve applets badges location 2020-04-11 18:23:39 +03:00
Michail Vourlakos
25d061bb8f introduce Environment in Latte library
--as first value provide the separator length
that needs to be applied for all separators
2020-04-11 15:32:07 +03:00
Michail Vourlakos
8b41314b2f enable scrolling activation only for expandable
--systrays/internal containments are blocked from
this
2020-04-10 12:31:31 +03:00
Michail Vourlakos
0046c904d1 View:Move expanded applets code to View::Interface 2020-04-08 15:22:38 +03:00
Michail Vourlakos
fa65462dea move View::deactivateApplets to extendedInterface 2020-04-08 14:39:12 +03:00
Michail Vourlakos
c333e11cdb update applets expanded tracking on every startup
--even when the views is recreated
2020-04-05 21:06:13 +03:00
Michail Vourlakos
0625ad1423 fix edit visual style in !compositing 2020-04-05 19:39:41 +03:00
Michail Vourlakos
ef41f17ef3 fix minimumLength for !compositing 2020-04-05 19:26:02 +03:00
Michail Vourlakos
6034073dd0 fix floating editMode for !compositing case 2020-04-05 19:05:50 +03:00
Michail Vourlakos
f63a467b1e improvements for applet isExpanded tracking 2020-04-05 18:04:10 +03:00
Michail Vourlakos
1adcbdb863 improve identify applets expanded state 2020-04-05 17:01:10 +03:00
Michail Vourlakos
aa3aba50d9 make blockHiding multiple state
--blockHiding now tracks down which event has
requested it and it can work flawlessly with
multiple events

BUG:419034
2020-04-05 14:59:26 +03:00
Michail Vourlakos
ded6ef04e5 fix fake background blur for shared layouts 2020-04-04 21:18:34 +03:00
l10n daemon script
6dac4e4065 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-03-26 06:12:03 +01:00
Michail Vourlakos
72fdf4563b improve AbstractLayout background infrastructure
--the new infrastructure can remember settings between
CustomBackgroundStyle and ColorStyle in order to
help the user to not have to reassign values
when changing backgrounds, between predefined
colors style and custom one.
2020-03-25 01:30:30 +02:00
Michail Vourlakos
1c88a97c55 app animations independent of plasma durations
--plasma durations can mess up the Latte animations
experience a lot. We now use our own set animations
durations which are independent of what the user
chose for plasma animations speed.

BUG:418883
2020-03-24 12:46:29 +02:00
Michail Vourlakos
4ad3880579 update PLASMAPANEL geometry immediate after hiding
--behaveAsPlasmaPanel can now slide in/out as real windows
but after they hide there is a chance that their geometry
should be updated. This patch makes sure that this will
happen exactly before the BEHAVEASPLASMAPANEL starts
sliding-in.
2020-03-19 22:12:59 +02:00
Michail Vourlakos
25677a01b5 block screen gap animations on startup 2020-03-19 19:05:40 +02:00
Michail Vourlakos
87f6330816 slide in/out nicely when hideThickScreenGap
--when the user has chosen to hide the screen gap
when there is a maximized window in the screen and
at the same time the View behaves as plasma panel,
it now slides in/out nicely
2020-03-19 15:32:36 +02:00
Michail Vourlakos
e0c04a9c6f import:dont update view:local_geometry when hidden
--if this does not apply then local geometry are not valid
when views become hidden
2020-03-19 12:09:17 +02:00
Michail Vourlakos
86ddc74cbb fix EnvironmentActions anchors
--EnvironmentActions follow mainLayout alignment
and anchor style at all cases
2020-03-08 13:28:58 +02:00
Michail Vourlakos
b3c3dab514 improve plasma folder behavior in SideBars 2020-03-08 12:18:53 +02:00
Michail Vourlakos
ecd39b4098 introduce minimum length option
--found also some fixes for mask calculations
in right or bottom alignment
2020-03-08 12:03:30 +02:00
Michail Vourlakos
1d8fe4541c Important:fix localGeometry calculations
--and add also new visual debug mode for
localGeometry calculations
2020-03-08 10:27:16 +02:00
Michail Vourlakos
ef3a59e836 behaveAsPlasmaPanel for NOCOMPOSITING environment
--all views in NOCOMPOSITING environment should behave
as Plasma Panels in order to interact much better with
windows
2020-03-06 19:20:45 +02:00
Michail Vourlakos
ab83bc5b2e fixes for BLUR in live editMode
--add also missing signal in Effects to updateEffects
when enabledBorders are changed
2020-03-05 22:11:06 +02:00
Michail Vourlakos
5cc6ce5484 fix NOCOMPOSITING mode mask calculations
FIXED-IN:0.9.10
BUG:418456
2020-03-05 20:57:18 +02:00
Michail Vourlakos
5efa757146 fix Justify Splitter appearance at all cases
--introduce also some max/min values for applets
size for inConfigureAppletsMode state
2020-03-02 17:28:35 +02:00
Michail Vourlakos
8f98ccb5e8 improve Justify Splitters in SideBars
--improve Justify Splitters experience for vertical
Docks/Panels and SidePanels
2020-03-02 17:11:37 +02:00
Michail Vourlakos
47f79db2ec improve show/hide functions of visibilitymanager
--test the new code both for x11 and wayland and check
out that it does not create crashes or any other new
bugs
2020-03-02 09:39:57 +02:00
Yuri Chornoivan
50f249afc7 Fix minor typo: top -> bottom 2020-03-02 08:49:37 +02:00
Michail Vourlakos
90df4f4f61 support new visibility mode for SideBars
--SideBar views are shown/hide ONLY WHEN the
user has requested to DO SHOW from external
applets, shortcuts and scripts
2020-03-01 18:20:23 +02:00
Michail Vourlakos
9d30eb6257 support stick options for vertical views
--the user can now choose for vertical views to
stick their edges at the top or bottom screen edge
and ignore any top or bottom views accordingly. These
options are available in the Transparent Settings
area for vertical views and in advanced settings
mode.
2020-03-01 10:35:45 +02:00
Michail Vourlakos
de1604bb71 improve bouncing animation speed for plasma 5.18 2020-02-26 18:21:55 +02:00
Michail Vourlakos
bac31e450e plasma5.18:update animations speed 2020-02-13 18:49:24 +02:00
Michail Vourlakos
6635f9fa8f mask fixes for some floating cases 2020-01-31 18:21:35 +02:00
Michail Vourlakos
8e614468bc imrove applets scroll wheel activation
--the new implementation works at all cases even
when the ParabolicEffect MouseArea is not really
enabled (e.g. real panels)
2020-01-31 18:00:17 +02:00
Michail Vourlakos
8ab5779bcb compute blur area correctly on startup
--improve calculations for Effects area during startup
and at the same time when the dock is totally hidden
so it should not paint any effects area at all.

BUG:416928
FIXED-IN:0.9.9
2020-01-30 22:02:53 +02:00
Michail Vourlakos
b5233ddfe0 option for tasks to scroll and minimize them
--a new Wheel action is introduced to Tasks and
the user can now choose to disable wheel actions
only for tasks OR cycle through grouped tasks OR
upwards cycles trhough grouped tasks and downwards
minimizes them.

BUG:416096
2020-01-28 21:33:47 +02:00
Michail Vourlakos
210057af21 take into account roundness for pseudo-blur
--in editing mode the panel background blur takes
into account inside the qml window, it is used
as a demonstration for the user. This patch
takes into account the blurred area roundness
in order to not blur faulty areas that are not
going to be blurred in the end.
2020-01-25 12:36:20 +02:00
Michail Vourlakos
58fcd834d7 fix draging responsiveness for active window 2020-01-19 20:05:07 +02:00
Michail Vourlakos
2a7a009046 dont drag active window with mid click 2020-01-19 19:54:59 +02:00
l10n daemon script
3593ed48c6 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-01-19 05:31:57 +01:00
Michail Vourlakos
88cd15af63 add a mouse wheel delayer for EmtpyAreas
--add a mouse wheel delayer like in other Latte
MouseArea(s) in order to limit the actions
executed through mouse wheel in one second.
The user can now execute five actions at maximum
in one second.
2020-01-18 20:29:31 +02:00
Michail Vourlakos
dabc7bfe88 option to toggle windows minimized state
--mouse wheel can now be used from panel empty areas
in order to minimize windows or cycle between them.
The action is called ScrollToggleMinimed. When that
option is used the user can also use Ctrl+ScrollUp
in order to maximize a window or Ctrl+ScrollDown
to restore it
2020-01-18 20:29:31 +02:00
Michail Vourlakos
77b66e85e0 option to close active window with mid click
--an option to close active window with middle
click from empty areas
2020-01-18 20:29:31 +02:00
Michail Vourlakos
5288aa6e38 protect floating views appearance
--floating views is a strange situation for which
plasma theme do not have any way to be protected for
their drawing (there is a chance that shadows and content
overlap). Latte in order to protect from that situation
now uses the auto-discovered plasma theme roundness to be used
in order to calculate the minimum thicknes for panel
background.
2020-01-17 17:50:23 +02:00
Michail Vourlakos
154038c245 consider edge margin for applets shorcut badges 2020-01-16 18:50:52 +02:00
Michail Vourlakos
4809703e9f remove common global indicators options
--enabledForApplets and lengthPadding for indicators
has now moved to indicators responsibility to handle
--as a consequence usesPlasmaStyle has been removed
from indicators API. The corner cases that indicators
conflict with plasma theme applets should be handled
differently and in a different way
2020-01-13 21:53:49 +02:00
Michail Vourlakos
7d0d8f74f7 fix applets edge margins calculations
--different applets situations request different
margins for indicators and margins between them
in order to draw them properly. This fix takes
into account when edge margins are disabled from
wrapper and in that case the edge margins for these
are calculated bettter.
2020-01-13 21:53:26 +02:00
Michail Vourlakos
63971f4429 enable normal Latte Tasks removal action
--requesting from users a different way to remove
the Latte Tasks plasmoid if they want to is not
a good hig. Reenabling the classic ways to remove
Latte Tasks. The user can now use the applet tooltip
to remove it or by right clicking it in Latte
edit mode. Because of this the Tasks->Recycling
button is not needed any more.

BUG:415274
2020-01-11 18:33:54 +02:00
Michail Vourlakos
34d6c2cd78 identify highest priority application launcher
--provide a new way to identify which application
launcher has the highest priority in order to be
triggered. When an application launcher applet
has a global shortcut assigned to it then that
application launcher applet has the highest
priority in order to be triggered through
"Super" global key.
2020-01-10 17:58:34 +02:00
Michail Vourlakos
87f86ebc75 trying to support masking for floating 2020-01-07 17:54:48 +02:00
Michail Vourlakos
a9d4f91c05 add inSlideAnimation flag for ViewPart::Positioner
--it can be used in order to enable/disable some codepaths
2020-01-03 21:18:01 +02:00
Michail Vourlakos
aa00d6348b disable zoom labels in settings for !animatons 2020-01-03 21:18:01 +02:00
Michail Vourlakos
813b40e9ca fix glitch from editMode to real floating 2020-01-03 21:18:01 +02:00
Michail Vourlakos
783906d244 dont autoposition Layouts for inLocationAnimation
--block default-autopositioning for Layouts when the user
is changing location for the View. This way we are
trying to avoid issues concerning animations and glitches
during that animation.
2020-01-03 21:18:01 +02:00
Michail Vourlakos
1dc154f932 track inLocationAnimation of View:Positioner 2020-01-03 21:18:01 +02:00
Michail Vourlakos
10ce95597c slide out layouts when changing location 2020-01-03 21:18:01 +02:00
Michail Vourlakos
4034ccfaf9 blockHiding in editMode based on edit animations
--it is safer to block/unblock view hiding based on
edit mode animations. This way any view hiding mechanisms
are applied only after the containment editMode has
really applied.
2020-01-03 21:18:01 +02:00
Michail Vourlakos
dba2f3bc8b hide external shadows when real panel hidden 2020-01-03 21:18:01 +02:00
Michail Vourlakos
103de33c92 trying to implement real panels sliding in/ou 2020-01-03 21:18:01 +02:00
Michail Vourlakos
07a1065320 animate dynamic screen edge margin behavior
--when the view is NOT behavingAsPlasmaPanel then for
those cases we can animate the screenEdgeMargin
shrinking/expanding
2019-12-31 19:47:53 +02:00
Michail Vourlakos
80ed729fcf [qt5.14] - restore editVisual to normal
--when the view settings window is closed then the
View must return to normal mode and disable
the editMode. In qt 5.14 default states that have a "when"
property do not play well

BUG:412940
2019-12-30 19:13:10 +02:00
Michail Vourlakos
5d65909adb fix binding loop from hideLengthScreenGap 2019-12-29 14:16:24 +02:00
Michail Vourlakos
79705e9753 option to disable creenEdgeMargin for maximized
--improved settings for Floating windows in Behavior
tab and add a new option to hide ALL screen gaps meaning
both length screen and thickness screen gap when there
is a maximized window in the screen

BUG:415630
2019-12-29 14:09:37 +02:00
Michail Vourlakos
074d9efee1 use all floating screen gaps for Fitt's Law 2019-12-29 12:28:18 +02:00
Michail Vourlakos
4cf929ea81 support containsMouse behavior for WindowsCanCover 2019-12-27 13:38:22 +02:00
Michail Vourlakos
d9e18794c8 simplify keepabove/below calling
--start a bit to work with "Windows Always Cover"
visibility mode
2019-12-26 21:10:11 +02:00
Michail Vourlakos
f9779d5284 introduce two new windows visibilities in options
--add options for visibility modes:
   - Windows Can Cover
   - Windows Always Cover
2019-12-26 12:37:52 +02:00
Michail Vourlakos
4bffa9736a improvements to settings layout
--fix also some left of warnings from
screen edge margin
2019-12-26 10:54:25 +02:00
Michail Vourlakos
6f7eebeec2 choose behavior for floating screen gap
--when the user has enabled dragging/moving active
window from floatings screen gap then that space
can not be used to activate applets. It is rather
used to drag/move/restore last active window.
2019-12-26 10:12:09 +02:00
Michail Vourlakos
c8bd9553c8 update EnvironmentActions for screenEdgeMargin 2019-12-25 21:55:23 +02:00
Michail Vourlakos
6a17a3e67b only left click for applets neutral areas activate 2019-12-25 21:44:39 +02:00
Michail Vourlakos
6a95af5f8c option,always apply Fitt's Law for floating mode
-The use can specify to always apply Fitt's Law when
in floating mode
2019-12-25 11:10:12 +02:00
Michail Vourlakos
32f02c871e consider also thickMarginsEnabled for screenEdge
--if thickness margins are disabled then it must not
be applied any screen edge margin
2019-12-25 10:47:46 +02:00
Michail Vourlakos
1c7eec05e3 send only screenEdgeMargin to applets/indicators
--screenEdgeMarginEnabled value is not really needed
to applets and indicators. Only the margin value
applied is of importance in order to place themselves
properly.
2019-12-25 00:01:12 +02:00
Michail Vourlakos
06fdd0d703 make screenEdgeMargin aware some elements
--update some containment elements and make
them screenEdgeMargin aware in order to be
positioned properly
2019-12-24 23:55:53 +02:00
Michail Vourlakos
896afcc068 support screen edge margin for behaveAsPlasmaPanel 2019-12-24 20:35:48 +02:00
Michail Vourlakos
a40ff9cf5b update CustomBackground to more border styles
--use screenEdgeMargin in order to support more border
styles for custom background component that paints
the underneath panel background for smart coloring.
2019-12-24 19:35:42 +02:00
Michail Vourlakos
8ee4b83461 update applets to screen edge margin awareness
--applets can now use the screen edge margin value
in order to follow Fitt's Law for floating docks/panels
if they want to. Latte takes case all applets of
course but in case an applet would like also to
to use also the space between the gap of the view
and the screen edge, it can so.
2019-12-24 17:10:37 +02:00
Michail Vourlakos
8194ee94bc inform applets/indicators for screen edge margin
--fix geometries publishing, update margins calculations
2019-12-24 15:54:06 +02:00
Michail Vourlakos
0ebef42513 add screenEdgeMargin and update border accordingly 2019-12-24 12:35:28 +02:00
Michail Vourlakos
d31d7afb9d dont wait for dock to show for activate shortcuts
--when the application launcher is not a popup then
we do not have to wait for the dock show we can execute
the activation code immediately
--when Latte activates an entry can now understand
if a popup is going to be shown in order to delay
the execution. If a popup is NOT going to show either
for a latte task or an applet then the code is executed
immediately

BUG:415417
FIXED-IN:0.9.6
2019-12-21 23:37:52 +02:00
Michail Vourlakos
5fff947091 improve panel background is shown identification 2019-12-20 16:00:22 +02:00
Michail Vourlakos
9dd798477e improve criteria for side panels dyamic touching
--Latte panels when they touch each other are informing
each other in order to provide consistent appearance. For
example the Unity mode where a top panel and a left panel
exist at the same time. In such case if the left panel is
INBUSY background state then the top panel is informed and
because inBusy state also. This way the top border of left dock
background does not look out of place. ON THE OTHER hand if
the left dock is hidden because the use has chosen auto-hide
visibility mode or any of the dodge(s) choices then the top
panel does not have to stay in isBusy state. The patch fixes
this by applying this behavior only when the left dock is shown
e.g. the mouse has entered the dock or the dodge mode is not
activated

BUG:415347
FIXED-IN:0.9.6
2019-12-20 15:14:23 +02:00
Michail Vourlakos
08be166ae3 increase grow/shrink distance limits
--automatic icon sizer is using a prediction
algorithm in order to decide to grow or not the
items size. There is a chance that the prediction
calculations are executed too early and as
such grow/shrink limits it is better to not
be to near to each other. That approach should
make the AutomaticItemSizer implementation a little
more robust.
2019-12-11 09:41:51 +02:00
Michail Vourlakos
abd333ea63 fix debug window texts 2019-12-06 12:00:27 +02:00
Michail Vourlakos
484741558e add comments 2019-12-02 16:12:14 +02:00
Michail Vourlakos
2493971f03 improve atScreenEdge code 2019-12-02 16:09:31 +02:00
Michail Vourlakos
747d4870a0 introduce AutomaticItemSizer and add protector
--the automatic item sizer algorithm now is present
in its own class/responsibility area. As a new
improvement/fix the new implementation provides also
a protector/tracker that when the current prediction
to grow has already be applied two steps back in
history then the growing is not applied. This way
endless loops with growings and shrinks are blocked.

BUG:414180
FIXED-IN:0.9.5
2019-12-01 19:20:40 +02:00
Michail Vourlakos
2577c33b7d improvements for margins/paddings
--fix also how firstVisibleIndex is tracked for
AppletContainer(s)
2019-11-24 21:29:56 +02:00
Michail Vourlakos
5c5084f7bb improve some semantics in AppletItem 2019-11-24 21:29:47 +02:00
Adrien Brunelat
a21f46d85f
[414174] - Panel background transition color bug
Summary:
Added animation on background color change.
Removed test for background color that is not needed any more.

BUG:414174
FIXED-IN:0.9.5

Reviewers: mvourlakos

Reviewed By: mvourlakos

Subscribers: ognarb, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D25392
2019-11-19 17:47:31 +01:00
Michail Vourlakos
bfd72413d9 show a smaller indicator for atScreenEdge applets
--this is a temporary fix in order to provide a
visually pleasant result until the final fix for
Fitt's law is applied.
2019-11-17 09:25:26 +02:00
Michail Vourlakos
5aac422a65 Fitt's Law improvements for applets
--each applets layout can not identify properly
which applet is the first/last visible from its
contents. This way we can now identify properly
at all cases which applets should remove their
margins in order to follow Fitt's Law at screen
edges. For example when a windows buttons applet
is found at the screen edge and suddently it
hides itself then the next visible applet should
be considered at screen edge and such should remove
its margins in order to touch the screen edge.
2019-11-17 09:25:16 +02:00
Michail Vourlakos
453ac890ab remove exceptions for systray and indicators
--remove the layout exception for the plasma systray
and behave for this just all the rest applets
--fix indicators for applets in order to consider
properly the indicators padding and applets margins.
In other words the Latte indicators for applets should
not take up all the length provided but ONLY the
applet length + indicators padding (without at any
case the applet length margins)

BUG:414104
FIXED-IN:0.9.5
2019-11-14 21:20:39 +02:00
Michail Vourlakos
63ed290593 improve option "Hide Background when not needed"
--when option "Hide Background when not needed" is
used on its own activates or not the forceTransparentPanel
code path. So when that option is enabled and any
window is touching the Latte::View then the force
transparency codepath should be disabled. In such
case the user background settings are applied.

BUG:414071
FIXED-IN:0.9.5
2019-11-13 13:51:08 +02:00
l10n daemon script
a3e747188f 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"
2019-11-04 05:13:17 +01:00
Michail Vourlakos
702b53493b Merge branch 'v0.9' into fix 2019-11-03 09:58:32 +02:00
Michail Vourlakos
0a78fc01b8 update to version 0.9.4 2019-10-27 15:15:16 +02:00
Michail Vourlakos
c2a1c20d92 expose colorScheme to lastActiveWindow(s)
--applets can now use the color scheme from lastActiveWindow
objects in order to paint some of their elements
2019-10-26 17:03:54 +03:00
Michail Vourlakos
6a7c959e6a expose colorScheme to lastActiveWindow(s)
--applets can now use the color scheme from lastActiveWindow
objects in order to paint some of their elements
2019-10-26 17:02:47 +03:00
Michail Vourlakos
27aea9b4f6 update to version 0.9.3 2019-09-29 17:05:28 +03:00
l10n daemon script
32078ac05a 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"
2019-09-24 05:08:03 +02:00
l10n daemon script
71f9e6b85a 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"
2019-09-15 08:34:59 +02:00
Michail Vourlakos
b9d82fe0f1 improvements for automatic icon size code path
--this patch add two fixes concerning automatic
icon size when contents exceed the view maximum
length.
--A) when the function is called then it also
called one more time after 1sec to confirm that
the icon size found is valid. In the past that
approach was creating an endless loop that should
not be triggered any more
--B) the grow limit was made to be equal with
the shrink limit trying to be more predictive from
the user when the items will grow or shrink. In
the future we must take care of this if the items
grow or shrink endlessly

BUG:411860
FIXED-IN:0.9.3
2019-09-13 21:43:42 +03:00
Michail Vourlakos
182831a808 improvements for automatic icon size code path
--this patch add two fixes concerning automatic
icon size when contents exceed the view maximum
length.
--A) when the function is called then it also
called one more time after 1sec to confirm that
the icon size found is valid. In the past that
approach was creating an endless loop that should
not be triggered any more
--B) the grow limit was made to be equal with
the shrink limit trying to be more predictive from
the user when the items will grow or shrink. In
the future we must take care of this if the items
grow or shrink endlessly

BUG:411860
FIXED-IN:0.9.3
2019-09-13 21:38:16 +03:00
Michail Vourlakos
eb564fdc7d use automatic icon size for behaveAsPlasmaPanel
--this way the panel can be shrinked because it
exceeds screen boundaries even when view is used
as a plasma panel
2019-09-12 20:33:41 +03:00
Michail Vourlakos
7d42891833 use automatic icon size for behaveAsPlasmaPanel
--this way the panel can be shrinked because it
exceeds screen boundaries even when view is used
as a plasma panel
2019-09-12 20:23:08 +03:00
Michail Vourlakos
ac11a3a2d7 do not overlay applets when icon found !visible
--many applets are changing layouts and during that
process the main icon becomes invisile, in that case
the latte overlaied icon should also been disabled and
let applet paint itself accordingly

FIXED-IN:0.9.3
2019-09-11 21:59:31 +03:00
Michail Vourlakos
2414a918bb do not overlay applets when icon found !visible
--many applets are changing layouts and during that
process the main icon becomes invisile, in that case
the latte overlaied icon should also been disabled and
let applet paint itself accordingly

FIXED-IN:0.9.3
2019-09-11 21:58:43 +03:00
Michail Vourlakos
f64f5107bb remove margins,!canbehovered applets in screen edges
--when an applet can not be hovered meaning to use
the parabolic effect and that applet is at the far
screen edge then margins can be disabled for this applet
in order to look exactly touching the screen edge
and at the same feel right following Fitt's Law
2019-09-08 11:20:23 +03:00