Commit Graph

174 Commits (7b210a9970360c3cde833e8b76f9231b4db5ae29)

Author SHA1 Message Date
Michail Vourlakos 8c26f50fa4 contextmenu:fix broken binder 3 years ago
Michail Vourlakos 90e4ea28c4 introduce ContextMenuLayerQuickItem
--use plasma approach in order to show context menus
for applets by introducing a new QuickItem that will
be responsible for this at the bottom of applets and
containment layers
3 years ago
Michail Vourlakos 59b422448b fix #100,introduce parabolic edge spacers for main
--new introduced external spacers of main layout are
used from parabolic effect in order to keep the contents
of main layout in balance. That produces a much better
visual result for the user because when the user hovers
an item, that item is zoomed and the mouse is still
present at first hovered position.
3 years ago
Michail Vourlakos d841e1e443 provide Default option for Background opacity
--the user can now move the background opacity slider
to the farest left side and is such case it will get
the plasma theme default opacity. This is the same
way that background radius and shadows size can return
to default settings

BUG:443366
3 years ago
Michail Vourlakos 40b4851dac introduce thickness margin influence option 3 years ago
Michail Vourlakos 4d1fbfd584 simplify how dock window thickness is calculated
--provide a minimum window thickness for docks at 384px.
and afterwards use maxiconsize, maxmargin etc calculations
in order to use greater window thicknesses
3 years ago
Michail Vourlakos 8a2e2581ef head thickness margin take into account background 3 years ago
Michail Vourlakos 097ceed7d2 split thickness margins to tail and head
--make head thickness margin and tail thickness
margin totally independent
--ability item: reanchor it based on the screen edge
like applets are already doing
--adjust tasks animations in order to take into
account the anchoring
--parabolic effect adjust calculations to use
new thickness margins
3 years ago
Michail Vourlakos 60095bba3b fix #96,FEATURE:AllScreens and AllSecondaryScreens
--This is a HUGE FEATURE and so important for multi-screens
users. It is introduced as one single commit because it
reimplements plenty of infrastructure changes and it will
be easier to identify newly introduced bugs.
--Users can now choose for their docks and panels to belong
at various screen groups. The first two screen groups introduced
are AllScreens and AllSecondayScreens. In the future it might
be possible to provide CustomScreensGroup that the user will
be able to define specific screens in which a dock or panel
should be always present.
--Current solution specifies an Original dock or panel and clones/copies
itself automatically to other screens. So docks and panels in other screens
are just real docks and panels that reference themselves to original
docks and panels.
--Clones are destroyed during layout startup and are automaticaly
recreated. It is suggested to export your layouts through the
official Layouts Editor in order to share them because in that case
clones are not included in the new generated layout file. If in any
case you do not this and you share your layout with any previous
versions then your clones will just appear as separate docks and
panels that belong to specific screens.
--Automatic syncing was introduced in order to keep up-to-date
the configuration of Original docks and panels with their referenced
Clones.
--Automatic syncing currently works for all docks and panels settings,
for all normal applets configurations and for all subcontaiments
configuration such as systrays.
--Automatic syncing does not work for applets inside subcontainments
such as Group Plasmoid. In such case it is suggested to configure
your applets inside your Group Plasmoid in the original dock or panel
and afterwards to trigger a recreation for the relevant clones
--Manual recreation of clones is easily possible by just choosing
the dock or panel to be OnPrimary or OnSpecificScreen and rechoosing
afterwards the AllScreensGroup or AllSecondaryScreensGroup
3 years ago
Michail Vourlakos b1c3594367 provide ParabolicEffect spread option
--this way the user can choose to use a much
greater parabolic effect that will influence five
or seven of its neighbours instead of just three.
The new option can be found at Latte Global Preferences.
3 years ago
Michail Vourlakos 4de51de221 dragging:respect placeholder in length fill calcs
--reduce glitches when dragging applets around and there
are also fillLength applets in Justify alignment
3 years ago
Michail Vourlakos c2b20852ea recreateview:fix launchers group assignment
--after recreating a view, launchers group is now
assigned again correctly. As it appears the problem
was that Host.MyView ability was sending an isReady
signal that was not accurate enough.
3 years ago
Michail Vourlakos 11a8c3fee7 fix binding loop when moving int.splitters 3 years ago
Michail Vourlakos 321a50627d plenty of fixes when dragging/moving applets 3 years ago
Michail Vourlakos eb6ae017fe ignore maxlength=0 for fill lenght applets
--fix mediacontroller_plus applet scenario
by ignoring maximum width = 0 that qt is
already doing for Layouts that fill length.

BUG:445869
3 years ago
Michail Vourlakos e642087e31 Indicators API:Extend animations capabilities
extend indicator.level.requested signals with:
  --taskLauncherActivated
  --taskGroupWindowAdded
  --taskGroupWindowRemoved

extend indicator.level.requested properties with:
  --isIndicatorTaskLauncherAnimationRunning

extend indicator info with:
  --providesInAttentionAnimation
  --providesTaskLauncherAnimation
  --providesGroupedWindowAddedAnimation
  --providesGroupedWindowRemovedAnimation

adjust Latte Tasks in order to support properly
animations implemented through indicators.
3 years ago
Michail Vourlakos c86878f6c7 [indicators api] - new background corner margin
--introducing in Indicators API a new option to
specify the indicator preference for the distance
between the indicator and panel background roundness.
By altering the option the indicator can get into
the panel background roundness.

BUG:442675
3 years ago
Alexander Lohnau 505379ed04 Use spdx syntax for all files 4 years ago
Michail Vourlakos 76549a9f99 shortcuts:wait for view to fully shown properly
--the new approach is not using timers but actual
events from View in order to identify when the
view is fully shown and when their popup is actual
visible. This way popup showing and view slide-in
is always synchronized properly

BUG:425078
4 years ago
Michail Vourlakos c0e768c73c move external bindings in their own file 4 years ago
Michail Vourlakos f5fb12e8da position latte panels pop ups really nice
--expose appletsLayoutGeometry through Latte::View
dynamic properties and allog LattQuick::Dialogs to
use it in order to be positioned nicely
4 years ago
Michail Vourlakos b235e6cc96 update view alignment to new architecture
--view alignment can now be updated either by
editdock window or through views dialog in
settings window
4 years ago
Michail Vourlakos a153ed71f7 ignore MarginsAreaSeparators at PositionShortcuts 4 years ago
Michail Vourlakos bf016527b2 fix more centered Justify calculations 4 years ago
Michail Vourlakos 4132982486 layouter:fix Justify mode centered items size
--fix case of icons-only plasma taskmanager in order to
provide a way to center it. The user can add icon-only
taskmanager in center of Justify mode and add also
two latte expanding spacers around it in order center it.

BUG:434198
4 years ago
Michail Vourlakos 1f79546b39 fix indicators applet specific margin 4 years ago
Michail Vourlakos c3e6f3c04f remove deprecated layoutmanager apis 4 years ago
Michail Vourlakos 15cf2b2b5f replace more functions with fastLayoutManager 4 years ago
Michail Vourlakos 90410426bd block autosize for Justify inConfigureAppletsMode 4 years ago
Michail Vourlakos db99677f8c update FillApplets for dragged items on the view 4 years ago
Michail Vourlakos 5d1bf42709 fix fillcalculations at Layouter.TwoSteps codepath
--in Layouter two steps codepath at the end ALL fill
applets at Start/End layouts should adjust their size
in order to not overlap with fill applets in Main layout.
These calculations were broken because they were not
applied properly.
4 years ago
Michail Vourlakos b0cfb738bb provide all available space to fillApplets
--in case there is a fill applet then give it all
remaining free space at all cases

BUG:433754
4 years ago
Michail Vourlakos d51f2d99a3 context menus add more sections
--move elements around in order for the user to find
them at the same positions for all cases independent
if the user triggers context menu from applets or
empty containment areas
4 years ago
Michail Vourlakos a5ceb16e39 provide proper Metrics values for MarginsArea 4 years ago
Michail Vourlakos 9abc937fa6 update applet margins for inMarginsArea 4 years ago
Michail Vourlakos fc34150d73 Indexer track marginsAreaSeparators 4 years ago
Michail Vourlakos 95f86bed8f accept only odd numbers for iconSize and zoom 4 years ago
Michail Vourlakos bb998ea90c do not cache tasks animations
--at the same time the maximum parabolic zoom factor
is always calculated based on the fact to provide
maximum icon size that is an integer value
4 years ago
Michail Vourlakos a24f6b85c2 drop totally shrinkThickMargins option
--the new per applet margins make that property
no relevant anymore
4 years ago
Michail Vourlakos 7af60c802d provide isHidingBlocked through MyView Ability 4 years ago
Michail Vourlakos 59df189948 remove all deprecated thin tooltips implementation 4 years ago
Michail Vourlakos 04ce943603 expose ThinTooltip Ability to applets and host 4 years ago
Michail Vourlakos 1b64cfed14 fix binding loop in Metrics Ability
--fix calculations also for Metrics.thickness.zoomedForItems
4 years ago
Michail Vourlakos ec4ed5ec08 expose badgesIn3DStyle through MyView Ability 4 years ago
Michail Vourlakos dfe439fead provide background opacity through MyView Ability 4 years ago
Michail Vourlakos f1ed85b481 fix items shadow opacity calcs through abilities 4 years ago
Michail Vourlakos 98d863de86 improvements for IndicatorLevel activation 4 years ago
Michail Vourlakos 173a3cf16b plasmoid:access screenGeometry from MyView Ability 4 years ago
Michail Vourlakos f09a6e0026 expose items shadow through MyView Ability 4 years ago
Michail Vourlakos 962db78bb9 containment:expose and use AbilityHost.Indicators 4 years ago