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

1819 Commits

Author SHA1 Message Date
Michail Vourlakos
e7e593c42b calculate properly custom radius padding 2021-05-03 04:08:34 +03:00
l10n daemon script
b9c2560a77 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"
2021-05-02 01:20:08 +00:00
Michail Vourlakos
866a4f462b viewsdialog:provide nice message for error #103 2021-05-01 13:32:17 +03:00
Michail Vourlakos
e9b90a1fc1 containment:position properly add plasmoid cross 2021-04-28 15:58:45 +03:00
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
2021-04-28 15:52:17 +03:00
Michail Vourlakos
945b8ba5ea expose margin values in pixels for the user
--margin values are in percentage, now the user
is able to hover over these values in order
to be informed how much they are calculated in
pixels
2021-04-24 15:06:37 +03:00
Michail Vourlakos
a718d8d58a support aboutToQuit application signal on exit
--add also shadows to tasks window thumbnails
2021-04-24 12:33:40 +03:00
Michail Vourlakos
66afcf684c fix thickMargin wrong reference 2021-04-18 13:52:19 +03:00
Michail Vourlakos
47aa383723 set maximum length for dndspacer 2021-04-15 19:24:24 +03:00
Michail Vourlakos
926593aa76 fix where dropped applets are added
--the new code is more consistent and calculates the
appropriate place to add an applet much better
based on the distance that dropped applet is
having with each layout.
2021-04-15 19:05:19 +03:00
Michail Vourlakos
8d0c26a2e1 provide Dark/Light Colors options
--this way a layout designer can force to its users
the desired color palette for each dock and panel.

BeCareful: designers should be very careful with this
because they take responsibility to disable latte auto-coloring
at per-applet basis in order for chromatic applets to NOT
be autocolored from latte because they already provide enough
contrast.

BUG:435714
2021-04-14 10:44:59 +03:00
Michail Vourlakos
d420a75b8a view nextLocation show properly after slidein
--show view completely after slide-in and after the
slide-in animation has completed trigger visibiliy
checks based on regular visibility criteria
2021-04-12 19:25:22 +03:00
Michail Vourlakos
64ffeaefc4 dont block hiding for sidebars 2021-04-12 12:43:51 +03:00
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
2021-04-12 12:24:22 +03:00
Michail Vourlakos
92f12b6f63 view:update move to layout
--update to new infrastructure that is able to
switch view location by combining multiple
changes at the same time
2021-04-12 09:10:48 +03:00
Michail Vourlakos
cc4f901cf1 viewsdialog:support updating screen 2021-04-12 00:17:59 +03:00
Michail Vourlakos
3ec142d3a2 drop deprecated screen edge relocation codepath 2021-04-11 18:26:56 +03:00
Michail Vourlakos
2e399fb225 dndspacer:show length animation 2021-04-09 18:37:48 +03:00
Michail Vourlakos
a153ed71f7 ignore MarginsAreaSeparators at PositionShortcuts 2021-03-10 13:12:12 +02:00
Michail Vourlakos
d6bf586ba7 fix crash from using Applet Alternatives option 2021-03-10 12:39:04 +02:00
Michail Vourlakos
e5f80a72a5 set 50% as maximum for background radius
--according to https://www.w3schools.com/howto/howto_css_rounded_images.asp
50% is considered the default maximum value for background
roundness.
2021-03-10 11:53:11 +02:00
Michail Vourlakos
bf016527b2 fix more centered Justify calculations 2021-03-09 21:11:44 +02:00
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
2021-03-09 20:59:42 +02:00
Michail Vourlakos
7b817893f0 fix #53,calculations for hidden input in LeftEdge 2021-03-08 21:46:37 +02:00
Michail Vourlakos
f6e8125804 fix background paddings based on custom Roundness
--when custom roundness is applied then background paddings
should always respect it independent of the plasma theme
default roundness

BUG:433887
2021-03-07 08:35:50 +02:00
Michail Vourlakos
b940d4df72 limit placeholder length to not be very big 2021-03-07 00:30:25 +02:00
Michail Vourlakos
069bbfc41a provide valid placeholderlength for autofill dragged 2021-03-07 00:25:11 +02:00
Michail Vourlakos
c8676170f9 fix offset changing for !compositing mode
--do not change offset faulty for !compositing mode
for all cases. In the past all Views in !compositing
mode they were working as behaveAsPlasmaPanels, this
is no more the case.

BUG:433887
2021-03-06 22:32:04 +02:00
Tranter Madi
a1af4f6831 Delay floating gap hiding until mouse leaves 2021-03-06 15:51:19 +00:00
Michail Vourlakos
1f79546b39 fix indicators applet specific margin 2021-03-06 13:58:47 +02:00
Michail Vourlakos
83bdbced35 remove no needed variable 2021-03-06 13:35:18 +02:00
Michail Vourlakos
1805e11131 disable some debug messages 2021-03-06 13:32:21 +02:00
Michail Vourlakos
3185a70b9a more functionality for FastLayoutManager
--provide addAppletItem function
--provide reorderSplitters in Start and End
layouts when an applet is added in them and
the splitters are moving in faulty position
2021-03-06 13:20:32 +02:00
Michail Vourlakos
62efa97e61 plenty of fixes for FastLayoutManager
--remove also the deprecated javascript LayoutManager
2021-03-06 12:44:08 +02:00
Michail Vourlakos
f9d400fa4a provide fastLayoutManager save options 2021-03-06 11:52:48 +02:00
Michail Vourlakos
a5b19284b0 provide restoreOptions and userBlocksColoring 2021-03-06 11:46:43 +02:00
Michail Vourlakos
5c29dcc1e0 fastLayoutManager add lockedZoomApplets property 2021-03-06 11:32:26 +02:00
Michail Vourlakos
98e89d6e39 drop lastSpacer and fix addsplitters 2021-03-06 11:26:54 +02:00
Michail Vourlakos
177f8f9b39 add FastLayoutManager.addJustifySplittersInMain 2021-03-06 11:01:14 +02:00
Michail Vourlakos
d8240528ee provide fastLayoutManager.destroyJustifySplitter() 2021-03-06 10:28:28 +02:00
Michail Vourlakos
302439706e improve layout manager updateindexes 2021-03-06 10:18:33 +02:00
Michail Vourlakos
e36c8557d0 fixes for applets order during startup
--when an applet is not loaded properly is removed
from its registered order
--when an applet is loaded properly but is not found
in the registered order is at in the end of the stack
2021-03-05 12:55:41 +02:00
Michail Vourlakos
b6112c2ab8 provide FastLayoutManager save() function 2021-03-05 12:55:41 +02:00
Michail Vourlakos
f61846c6ae expose dndSpacer to fastLayoutManager 2021-03-05 12:55:41 +02:00
Michail Vourlakos
c67a877556 fix Floating Gap SideBar case not accepting input
BUG:433820
2021-03-05 11:31:44 +02:00
Michail Vourlakos
393db028b7 provide access below screen margin for Docks
--using hidden VisibilityManager::floatingGapWindow
implementation in order to provide full access for
the area which is below the screen margin when the
user has disabled user interaction for that area

BUG:433820
2021-03-04 19:18:42 +02:00
Michail Vourlakos
c25f9f7b54 remove some lastSpacer deprecated code 2021-03-04 11:24:49 +02:00
Michail Vourlakos
c4099d4886 restructure appletItem creation 2021-03-04 11:18:00 +02:00
Michail Vourlakos
db48a726bd remove deprecated code 2021-03-04 11:13:37 +02:00
Michail Vourlakos
f44e7a1256 improve code names and style
--remove also deprecated code
2021-03-04 11:07:11 +02:00
Michail Vourlakos
2d812552b1 provide fastLayoutManager.joinLayoutsToMainLayout 2021-03-04 10:50:20 +02:00
Michail Vourlakos
c3e6f3c04f remove deprecated layoutmanager apis 2021-03-04 10:37:10 +02:00
Michail Vourlakos
07d9d63338 new distinct MarginsAreaSeparator visual 2021-03-04 00:37:29 +02:00
Michail Vourlakos
5295dc9ae9 fixes for FastLayoutManager.insertAtCoordinates
--consider start and end layouts only when the alignment
is set to Justify
2021-03-04 00:06:27 +02:00
Michail Vourlakos
15cf2b2b5f replace more functions with fastLayoutManager 2021-03-03 20:49:38 +02:00
Michail Vourlakos
d61d074f97 improve moving around an applet
--fast layout manager takes resposibility
for reparent procedures during moving an applet
at different position
2021-03-03 20:28:46 +02:00
Michail Vourlakos
f1732be8c3 provide insertAtCoordinates at fastLayoutManager 2021-03-03 20:17:58 +02:00
Michail Vourlakos
90410426bd block autosize for Justify inConfigureAppletsMode 2021-03-02 19:37:39 +02:00
Michail Vourlakos
f6df7a7df1 introduc fast layout manager for containment 2021-03-02 19:33:24 +02:00
Michail Vourlakos
db99677f8c update FillApplets for dragged items on the view 2021-03-01 19:37:30 +02:00
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.
2021-03-01 01:48:52 +02:00
Michail Vourlakos
ac8a88d700 improve AddItem visual
--make it Square with small roundness in order to
fit better at all cases
2021-03-01 01:17:12 +02:00
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
2021-03-01 01:04:07 +02:00
Michail Vourlakos
37721a2628 dont force margins for AutoFill applets
--this way the Tasks scrolling is not triggered
when no needed

BUG:433754
2021-02-28 23:12:10 +02:00
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
2021-02-28 18:26:55 +02:00
Michail Vourlakos
19b1a8c67d margins separator visual for inConfigure 2021-02-27 14:37:23 +02:00
Michail Vourlakos
f3fd4a051e draw MarginsSeparator visual paddings 2021-02-27 14:12:30 +02:00
Michail Vourlakos
d12d92ac68 Ability.BasicItem respect MarginsArea size 2021-02-27 13:57:38 +02:00
Michail Vourlakos
219c1b5e05 do not draw indicatorPaddings for PlasmaAutoFill 2021-02-27 13:18:58 +02:00
Michail Vourlakos
1e99b97def draw MarginsAreaSeparator visual paddings 2021-02-27 13:00:47 +02:00
Michail Vourlakos
2e70abb41a preserve applets length inMarginsArea
--inMarginsArea the applet length is still
calculated by metrics.iconSize
2021-02-27 12:51:12 +02:00
Michail Vourlakos
992f98389d dont roundToIconSize only for parabolic effect 2021-02-27 12:18:35 +02:00
Michail Vourlakos
a72931fc41 identif Applet.ConstraintHints properly 2021-02-27 11:49:50 +02:00
Michail Vourlakos
aaf562a207 not CanFillArea applets behabe as MarginsSeparators 2021-02-27 11:22:59 +02:00
Michail Vourlakos
69f466fd2f fix parabolic effect for MarginsAreaSeparators 2021-02-27 10:38:25 +02:00
Michail Vourlakos
87f42e4817 proper margins for CanFillThickness applets 2021-02-27 10:25:54 +02:00
Michail Vourlakos
35e9880ce7 provide AppletItem.canFillScreenEdge 2021-02-27 10:14:05 +02:00
Michail Vourlakos
c3e8c5c8af expose Indexer.inMarginsArea through AbilityBridge 2021-02-27 10:01:04 +02:00
Michail Vourlakos
a5ceb16e39 provide proper Metrics values for MarginsArea 2021-02-27 09:57:05 +02:00
Michail Vourlakos
a67656c2f2 fixes and update elements margins for inMarginsArea 2021-02-26 19:11:18 +02:00
Michail Vourlakos
9abc937fa6 update applet margins for inMarginsArea 2021-02-26 18:58:49 +02:00
Michail Vourlakos
9929d1fa8e identify when applets are inside margins area 2021-02-26 17:36:17 +02:00
Michail Vourlakos
fc34150d73 Indexer track marginsAreaSeparators 2021-02-26 17:23:16 +02:00
Michail Vourlakos
9e487b613b identify applet isMarginAreaSeparator 2021-02-26 17:04:49 +02:00
Michail Vourlakos
ddb7dfdf5e use bool for floatingInternalGapIsForced
--do not use CheckBox three states in order
to make things simpler for the user
2021-02-21 12:26:16 +02:00
Michail Vourlakos
6550112525 hidden applets pass on parabolieffect messages 2021-02-14 17:13:06 +02:00
Michail Vourlakos
64c42dba7d improve ParabolicAreas center calculations
--this also fixes the bouncing animation in Tasks
applet when the user applies parabolic zoom on it
2021-02-09 18:43:34 +02:00
Michail Vourlakos
297b3a7d5b Revert "fixes for applets thin tooltips"
This reverts commit 4fc85ba8c5.
2021-02-06 13:13:07 +02:00
Michail Vourlakos
f2dbafa5ef use Plasma.Hightlight for appelts visual indicator 2021-02-06 12:53:52 +02:00
Michail Vourlakos
4fc85ba8c5 fixes for applets thin tooltips 2021-02-06 12:45:12 +02:00
Michail Vourlakos
1d7e939356 isGraphicsSystemAccelerated at Environment Ability 2021-02-04 18:21:12 +02:00
Michail Vourlakos
518b6b3b7d discover icon for plasma notes applet
--this is needed in order to track background and
glow color for notes applet
2021-02-03 20:56:07 +02:00
Michail Vourlakos
95f86bed8f accept only odd numbers for iconSize and zoom 2021-02-03 19:31:19 +02:00
Michail Vourlakos
e7bd122fab improvements for applet items
--never overlay icons any more for applets
--applet shadows are now below the applet
--applet icon colors are discovered through
LatteCore.IconItem
2021-02-03 19:20:13 +02:00
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
2021-02-03 18:04:35 +02:00
Michail Vourlakos
a24f6b85c2 drop totally shrinkThickMargins option
--the new per applet margins make that property
no relevant anymore
2021-02-02 18:57:20 +02:00
Michail Vourlakos
d8fe0e90d5 drop plasmoidName variable from containment 2021-02-01 17:37:35 +02:00
Michail Vourlakos
32a5282517 not show lock button for IndexerIsSupported applets 2021-02-01 17:24:28 +02:00
Michail Vourlakos
d90f195069 do not colorize for IndexerSupported applets 2021-02-01 17:20:37 +02:00
Michail Vourlakos
7af60c802d provide isHidingBlocked through MyView Ability 2021-01-31 23:05:54 +02:00