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

1464 Commits

Author SHA1 Message Date
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