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

1292 Commits

Author SHA1 Message Date
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
Michail Vourlakos
7663e86068 multiple fixes for different margins
--multiple fixes for margins all over the place. More
specific how they are calculated and when they are
used
2019-09-08 11:20:05 +03:00
Michail Vourlakos
d8a32fa18a load an indicator for the view background
--this way the plasma android-style click can be
triggered for empty areas
2019-09-08 11:19:56 +03:00
Michail Vourlakos
c3f9177ec9 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 05:14:06 +03:00
Michail Vourlakos
fb026b1cac multiple fixes for different margins
--multiple fixes for margins all over the place. More
specific how they are calculated and when they are
used
2019-09-08 04:48:03 +03:00
Michail Vourlakos
cb7dbf0db9 load an indicator for the view background
--this way the plasma android-style click can be
triggered for empty areas
2019-09-08 01:51:28 +03:00
Michail Vourlakos
cf5747646d update to version 0.9.2 2019-09-05 14:17:47 +03:00
Michail Vourlakos
82fae53926 update webpages and releases metadata 2019-09-03 01:59:19 +03:00
Michail Vourlakos
48ae720671 update webpages and releases metadata 2019-09-03 01:50:21 +03:00
l10n daemon script
1c4f5906fd 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-01 04:54:07 +02:00
Michail Vourlakos
3faf5f6114 Merge branch 'v0.9' into merger 2019-08-31 09:59:26 +03:00
l10n daemon script
20a4610a85 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-08-31 08:45:35 +02:00
Michail Vourlakos
a385f49aea dont draw outline for plasma popups
--when the user of course has chosen the plasma
experience for applets popups
2019-08-31 01:48:26 +03:00
Michail Vourlakos
7f83c04313 dont draw outline for plasma popups
--when the user of course has chosen the plasma
experience for applets popups
2019-08-31 01:47:03 +03:00
Michail Vourlakos
17621e0ffd check no panel shadows from windows states first 2019-08-30 15:47:37 +03:00
Michail Vourlakos
2df56afef2 check no panel shadows from windows states first 2019-08-30 15:46:21 +03:00
Michail Vourlakos
cef15c3adc forceSolidness higher priority from busy background 2019-08-30 15:22:30 +03:00
Michail Vourlakos
8d394f0445 forceSolidness higher priority from busy background 2019-08-30 15:21:14 +03:00
Michail Vourlakos
6c0b9a002f Merge branch 'v0.9' into master 2019-08-30 15:11:17 +03:00
Michail Vourlakos
5a2c59601c Indicators:different margins for applets
--indicators gained a way to set different margins
for applets if they want to
2019-08-30 15:05:54 +03:00
Michail Vourlakos
edfd111d9a use only exter.margins for separators
--separators are only usings the external margins
between items. In the past it was also consider
the indicators internal padding. This is not
needed and it was creating too big empty
spaces with no real reason.
2019-08-30 02:44:33 +03:00
Michail Vourlakos
768a6b4b2a indicators can now offset a bit icons
--through level.requested options each indicator
instance can request specific repositioning for
each icon. Very good example for this is the
Win7 style indicator
2019-08-30 02:23:50 +03:00
Michail Vourlakos
ec78b188b5 plasma theme colors for !accelerated graphics
--fix also how accelerated graphics are identified
by using GraphicsInfo api
2019-08-27 16:25:51 +03:00
Michail Vourlakos
2866b6a3aa plasma theme colors for !accelerated graphics
--fix also how accelerated graphics are identified
by using GraphicsInfo api
2019-08-27 16:24:44 +03:00
Michail Vourlakos
83d090c550 add accelerated graphics checks all over the place
--when qml uses software rendering checks should be
added in order to not hide the visual elements. This
is taking place now in a more concrete way and checked
also that tasks with badges or not are still shown

BUG:411037
FIXED-IN:0.9.2
2019-08-27 15:50:17 +03:00
Michail Vourlakos
724a59eb23 add accelerated graphics checks all over the place
--when qml uses software rendering checks should be
added in order to not hide the visual elements. This
is taking place now in a more concrete way and checked
also that tasks with badges or not are still shown

BUG:411037
FIXED-IN:0.9.2
2019-08-27 15:46:49 +03:00
Michail Vourlakos
e26c0ceb36 provide Progress information to indicators
--as a test case, the Plasma indicator now supports
the original plasma progress indicator of plasma
taskmanagers
2019-08-26 17:50:23 +03:00
Michail Vourlakos
551edf01fb provide Progress information to indicators
--as a test case, the Plasma indicator now supports
the original plasma progress indicator of plasma
taskmanagers
2019-08-26 17:38:57 +03:00
Michail Vourlakos
8cf49b672c remove obsolete draggingStarted signals/slots
--draggingStarted signals/slots were used in order
to handle the active window dragging from empty areas.
The new approach ungrabs the mouse properly through
View relevant function and at the same time sends a
QEvent::Leave event to inform applets that the mouse
has left the view. This is enough in order to remove
any older draggingStarted workarounds and hacks.
2019-08-26 16:35:03 +03:00
Michail Vourlakos
153f5dab27 remove obsolete draggingStarted signals/slots
--draggingStarted signals/slots were used in order
to handle the active window dragging from empty areas.
The new approach ungrabs the mouse properly through
View relevant function and at the same time sends a
QEvent::Leave event to inform applets that the mouse
has left the view. This is enough in order to remove
any older draggingStarted workarounds and hacks.
2019-08-26 16:30:48 +03:00
Yuri Chornoivan
15ab253efd Fix minor EBN issues 2019-08-22 11:26:41 +03:00
Michail Vourlakos
bc94001cc8 reverse scrolling for vds/activities switching
--Latte should use the same workflow paradigm for
switching vds and activities with the plasma pager
approach. This commit complies with this.

BUG:411086
FIXED-IN:0.9.2
2019-08-22 11:16:28 +03:00
Michail Vourlakos
3fb0206243 reverse scrolling for vds/activities switching
--Latte should use the same workflow paradigm for
switching vds and activities with the plasma pager
approach. This commit complies with this.

BUG:411086
FIXED-IN:0.9.2
2019-08-22 11:12:57 +03:00
Yuri Chornoivan
3a60d6f3b2 Fix minor EBN issues 2019-08-18 19:59:09 +03:00
Michail Vourlakos
38663c2534 dont hide icons/applets for software rendering
--when qml software rendering is enabled the ShaderEffects
do not work. Hiding sources in that case is hiding
from the user tasks and applets with no visual feedback.
Sources in that case should hide themeselves and give
the user the minimum which is the original drawn contents.

BUG:410920
FIXED-IN:0.9.2
2019-08-15 13:09:29 +03:00
Michail Vourlakos
f449e22943 dont hide icons/applets for software rendering
--when qml software rendering is enabled the ShaderEffects
do not work. Hiding sources in that case is hiding
from the user tasks and applets with no visual feedback.
Sources in that case should hide themeselves and give
the user the minimum which is the original drawn contents.

BUG:410920
FIXED-IN:0.9.2
2019-08-15 13:06:25 +03:00
Michail Vourlakos
549628ddd0 hacky flag to keep Latte behavior for zoom=1
--if some users want to keep the Latte specific behavior
when the zoom factor = 1 then it can just LOCK
these applets

BUG:410695
2019-08-08 16:44:42 +03:00
Michail Vourlakos
289429185b hacky flag to keep Latte behavior for zoom=1
--if some users want to keep the Latte specific behavior
when the zoom factor = 1 then it can just LOCK
these applets

BUG:410695
2019-08-08 16:37:44 +03:00
Michail Vourlakos
9c3ca1f122 update to v0.9.85
--full development version to distinguish it
for the stable branch v0.9.x
2019-08-04 14:59:27 +03:00
Michail Vourlakos
6cc09eae4b update to v0.9.1 2019-08-04 14:54:45 +03:00
Michail Vourlakos
f414c62a55 initialy support only one case for busyVerticals 2019-08-03 08:58:37 +03:00
Michail Vourlakos
b078765d5c improve smartness for Unity case layout
--when a vertical view is in busy state and is touching
also a horizontal view that is fully transparent in
SMART mode then the visual result is not that good.
In that case it is better to show the view background.
The horizontal view background in that case can provide
three different states:
a) if the panel style for popups is activated then the
horizontal view will follow the plasma original style
b) if NOT [a] and solid background for touching windows
is enabled then solid background will be offered
c) if NOT [a] and NOT [b] then the isBusy state
transparency will be offered
2019-08-03 08:58:24 +03:00
Michail Vourlakos
ab9fbc3727 support touching horizontal view and isbusy
--trying to increase smartness for horizontal
and vertical views. In multiple layouts environment
a view can exist in cases that one or more of
the sided views that is touching it is NOT
transparent, it would be nice for those
cases the top or bottom  view to LOSE also
its transparency in order to not look
inconsistent.
2019-08-03 08:58:13 +03:00
Michail Vourlakos
8058778a93 initialy support only one case for busyVerticals 2019-08-03 08:55:31 +03:00
Michail Vourlakos
92a4fb054e improve smartness for Unity case layout
--when a vertical view is in busy state and is touching
also a horizontal view that is fully transparent in
SMART mode then the visual result is not that good.
In that case it is better to show the view background.
The horizontal view background in that case can provide
three different states:
a) if the panel style for popups is activated then the
horizontal view will follow the plasma original style
b) if NOT [a] and solid background for touching windows
is enabled then solid background will be offered
c) if NOT [a] and NOT [b] then the isBusy state
transparency will be offered
2019-08-03 08:47:45 +03:00
Michail Vourlakos
cad13372d6 support touching horizontal view and isbusy
--trying to increase smartness for horizontal
and vertical views. In multiple layouts environment
a view can exist in cases that one or more of
the sided views that is touching it is NOT
transparent, it would be nice for those
cases the top or bottom  view to LOSE also
its transparency in order to not look
inconsistent.
2019-08-01 18:29:46 +03:00
Michail Vourlakos
ed83d1d13c improve more the isBusy background case
--the new implementation supports and always darkish
case when the isBusy background is drawn. So now
we have the following possibilities:
a)panel transparency<35 means BEST contrast with
underlying desktop background
b)panel transparency>=35 AND <70 means a DARKISH
background
c)panel transparency>=70 the user chosen plasma
theme
2019-07-31 16:10:38 +03:00
Michail Vourlakos
e684924d7c improve more the isBusy background case
--the new implementation supports and always darkish
case when the isBusy background is drawn. So now
we have the following possibilities:
a)panel transparency<35 means BEST contrast with
underlying desktop background
b)panel transparency>=35 AND <70 means a DARKISH
background
c)panel transparency>=70 the user chosen plasma
theme
2019-07-31 16:09:47 +03:00
l10n daemon script
e438e04511 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-07-31 08:57:25 +02:00
l10n daemon script
6cd1a9b7ae 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-07-31 05:07:46 +02:00
Michail Vourlakos
6f51a1b770 fix published absolute geometry in !compositing
--absolute geometry is the published area that the
dock/panel occupies when it is shown. So it should
not change when the dock becomes hidden. This patch
fixes the case for the !compositing environment.
2019-07-30 17:09:22 +03:00
Michail Vourlakos
bab3e9126e fix published absolute geometry in !compositing
--absolute geometry is the published area that the
dock/panel occupies when it is shown. So it should
not change when the dock becomes hidden. This patch
fixes the case for the !compositing environment.
2019-07-30 17:07:20 +03:00
Michail Vourlakos
3c9c36f0f2 update absolute geometry in !compositing slide-in 2019-07-30 16:49:36 +03:00
Michail Vourlakos
7644e67b35 update absolute geometry in !compositing slide-in 2019-07-30 16:47:39 +03:00
Michail Vourlakos
c3b132b5c9 fix "Disabled KWin edges" for !compositing
BUG:410370
2019-07-30 16:31:15 +03:00
Michail Vourlakos
4501cb6eec fix "Disabled KWin edges" for !compositing
BUG:410370
2019-07-30 16:29:42 +03:00
Michail Vourlakos
86d092f850 forward pressed/released to underneath applets
--there were cases that these signals were not sent
to underneath applets

BUG:410350
2019-07-29 16:00:49 +03:00
Michail Vourlakos
7521d8beb8 forward pressed/released to underneath applets
--there were cases that these signals were not sent
to underneath applets

BUG:410350
FIXED-IN:0.9.1
2019-07-29 15:58:44 +03:00
Michail Vourlakos
6bc9949f9c update to version v0.9.0
--new major stable branch for v0.9.x
2019-07-28 18:01:51 +03:00
Michail Vourlakos
750f05dc3b beta release v0.8.97 (for upcoming v0.9)
--first beta release to give to the public
2019-07-17 09:42:44 +03:00
l10n daemon script
2d8f2981be 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-07-17 05:26:24 +02:00
l10n daemon script
159861b556 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-07-16 08:54:51 +02:00
l10n daemon script
2ce6f4cc64 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-07-13 05:06:20 +02:00
Michail Vourlakos
30c5a00835 release BothAxis animation on applet destruction
--this was noticed when the user was removing an applet
through the context menu and at the same time this
applet was zoomed. With this patch the parabolic effect
behavior returns to normal
2019-07-12 23:59:09 +03:00
Michail Vourlakos
7fe42921a8 fix reference for ignoreRegularFileDragging 2019-07-12 23:10:25 +03:00
Michail Vourlakos
444daec3a7 Merge branch 'master' into fix_v0.9 2019-07-12 14:30:53 +03:00
Michail Vourlakos
e578a1bee4 improvements for communicator API 2019-07-12 14:28:28 +03:00
l10n daemon script
bc16b0f315 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-07-12 08:39:23 +02:00
Michail Vourlakos
0cd1d702bb block view hiding when suddenly contains mouse 2019-07-11 12:41:10 +03:00
Michail Vourlakos
6c89317cbc update to beta version 0.8.96 2019-07-11 12:31:34 +03:00
Michail Vourlakos
30f3145f95 Introduce Flat and 3D style for Badges
--the user can now choose to enable or NOT 3D
style for all badges through Latte Global Preferences
window. By default the Flat style is preferred

BUG: 409467
2019-07-10 18:34:26 +03:00
Michail Vourlakos
804d3d4d73 ignore regular files/links dragging in Normal mode 2019-07-10 16:52:17 +03:00
Michail Vourlakos
d7a6e76679 update considering par.effect disabled
--reconsider/fixes applets axis blocking for parabolic
effect when unblock it also when applets are updating
their properties. This takes place only when
applets zoom factor === 1 (in normal mode) otherwise
the parabolic effect may broke
2019-06-27 16:47:49 +03:00
Michail Vourlakos
39f7f3bb0e add maxZoomFactor in Applets::Communicator 2019-06-27 14:56:16 +03:00
Michail Vourlakos
08f3855292 add Communicator::lengthMarginsEnabled for applets
--applets can now inform Latte if they want length
margins or not
2019-06-27 14:52:14 +03:00
Michail Vourlakos
03569f660d fix effects area for behaveAsPlasmaPanel
--in case the maxLength is below 100%
2019-06-24 16:39:10 +03:00
Michail Vourlakos
67e9bd610f fix typo for Communicator windowstracking 2019-06-24 16:04:10 +03:00
Michail Vourlakos
1f1188bfc8 improve painting between different backgrounds
BUG: 409062
2019-06-23 19:26:00 +03:00
Michail Vourlakos
9a7788ab58 improve Communicator::version
--provide also a way for applets to identify
versions and make versions through
bridge.actions.version function
2019-06-21 17:58:36 +03:00
Michail Vourlakos
5265822fb1 update communicator windowsTrackingEnabled 2019-06-21 17:39:50 +03:00
Michail Vourlakos
df9394ddd6 option for prominent color of Notification Badges
--The user from Tasks,Badges can choose a more prominent
color for notification badges (usually reddish). In case
the user has not enabled that option(default) then the plasma
theme highlight color is used which is also the default
option of Latte v0.8

BUG: 408955
2019-06-21 12:47:32 +03:00
Michail Vourlakos
9c0e3f2992 do not trigger mask from invalid drags
--DragDropArea in containment should not activate
mask update (animationsNeedLength) if the dragging
is not valid for that DragDropArea. A good example
for this is when the user drags Tasks, in such case
the DragEnter signal is ignored and the DragLeave
may not reach to containment. In such case the
animationsNeedLength signal should NOT be sent

BUG: 408926
2019-06-20 10:07:01 +03:00
Michail Vourlakos
64589345ff update fills applets in LiveEditingMode 2019-06-17 17:37:52 +03:00
Michail Vourlakos
b7cf5dbb62 avoid glitch from panel shadow 2019-06-16 16:39:32 +03:00
Michail Vourlakos
2396ffbe19 rethink isBusy state panel shadow
--panel shadows in ISBUSY state are applied
when BLUR is enabled and backgroundopacity>0 OR
BLUR is NOT enabled and backgroundopacity>20
2019-06-16 15:59:56 +03:00
Michail Vourlakos
1b0de4f312 improve calculations for view mask and shadows
--improve how applet shadows are considered in order
to increase or decrease the view mask based on how
big or not are the applets shadows
2019-06-15 20:17:40 +03:00
Michail Vourlakos
91a9e7c0c5 improvements for effects area and painting 2019-06-15 16:12:15 +03:00
Michail Vourlakos
8a281bc3e8 update panel shadows for isBusy state 2019-06-15 14:43:50 +03:00
Michail Vourlakos
fd9025f632 adjust panel transparency according to theme level
--Latte now identifies what is the maximum transparency
provided by a plasma theme and uses that information
in order to provide full solidness if needed by the
Background Opacity option (meaning 100% should be totally
solid)
2019-06-14 16:56:23 +03:00
Michail Vourlakos
ffd0bef611 blacklist plasma notifications in heuristics
--plasma notification applet has become more complex
lets blacklist it in order to provide the real
plasma experience and see how it goes

BUG: 408566
2019-06-12 23:31:54 +03:00
Michail Vourlakos
98587d11d4 make Latte panel background painting more important
--I reversed the logic meaning that the Latte panel
background painting in more important than the Plasma
original SVG painting. That way the animations between
panels painting become smoother with no glitches

BUG: 408552
2019-06-11 17:26:35 +03:00
Michail Vourlakos
1051372e04 expose to qml builtin activity/vds switching
--tested that this fixes also the Latte crash
on exit as PagerModel is not used any more in
Latte internal code
2019-06-10 17:49:21 +03:00
Michail Vourlakos
0b6c07a1e5 support Active Window Filtering
--Latte can now use the new multi-screen
Last Active Window infrastructur to choose
which Active Window is preferred, only from
current screen OR from all screens
2019-06-09 14:41:23 +03:00
Michail Vourlakos
35752bbc2f proceed with implementation of LastActiveWindow 2019-06-09 12:47:10 +03:00
Michail Vourlakos
e25da5a668 update Containment Windows Tracking with screens
--new screens implementation for Latte screen
tracking
2019-06-09 02:08:47 +03:00
Michail Vourlakos
96c081e076 remove View from TrackedGeneralInfo 2019-06-08 11:12:25 +03:00
Michail Vourlakos
3f88341bcb restore Fitt's Law for edge Applets
--when the Latte View is in Justify mode
and and an applet is touching the screen edge
then for that applet any margins from the
Screen edge should be removed. That way
the Fitt's Law is obeyed. What is going to
happen for the margins of these applets with
their neighbour applets will be considered
in the future.

BUG: 408412
2019-06-07 18:19:44 +03:00
Michail Vourlakos
c0e3004717 add LastActiveWindow debug records
--in DebugWindow
2019-06-04 20:08:30 +03:00
Michail Vourlakos
c05204ab7b enable windows tracking for draggingActiveWindow
BUG: 408266
2019-06-04 19:25:11 +03:00
Michail Vourlakos
a191a1ce2a fix typo 2019-06-03 22:17:08 +03:00
Michail Vourlakos
f75605d78d introduce Resources for Indicators 2019-06-03 18:31:42 +03:00
Michail Vourlakos
33962fa1fc expose some animations properties to Indicators
--animations enabled and durationTime exposed to
Indicators
2019-06-03 17:19:58 +03:00
Michail Vourlakos
3c97bd222e track how many applets need windowsTracking 2019-06-02 14:45:53 +03:00
Michail Vourlakos
62b8aa6987 improve animationSenting fro DragDropArea 2019-06-02 02:06:18 +03:00
Michail Vourlakos
f3eacf169e add actions for LastActiveWindow 2019-06-02 01:16:44 +03:00
Michail Vourlakos
342d4a1a00 move window funcionality to lastactivewindow 2019-06-01 10:55:03 +03:00
Michail Vourlakos
53d24fe2c6 forward LastActiveWindow to QML 2019-05-31 19:12:34 +03:00
Michail Vourlakos
583b79314c improve tooltips identifier and checkCanBeHovered 2019-05-28 18:45:08 +03:00
Michail Vourlakos
50ddf87d4d improve margins for ruler only under editMode
--this way the mask under Normal mode is more
accurate
2019-05-28 17:49:59 +03:00
Michail Vourlakos
9f50a49ce1 restore margins for applets at screen edges 2019-05-28 17:22:27 +03:00
Michail Vourlakos
e119bd9a7a hide TasksArea message when not hovering Tasks
--this is applied when the user has chosen to add
launchers as applets also that it is NOT a DEFAULT
behavior. In such case when the dragging is out of
Tasks plasmoid it becomes hidden.
2019-05-26 17:25:20 +03:00
Michail Vourlakos
cda688c2a5 refactor:move AddingVisuals to LatteComponents 2019-05-26 17:17:15 +03:00
Michail Vourlakos
be90ca6269 improve TasksArea Visual for containment 2019-05-25 15:42:41 +03:00
Michail Vourlakos
d283e61b5d improve DragDrop behavior/responsiveness 2019-05-25 15:15:19 +03:00
Michail Vourlakos
beb0100644 fix some applets animations flickerring
--especially when the user drags something over
the Latte::View and afterwards drops it
2019-05-25 14:46:19 +03:00
Michail Vourlakos
58f99c0c55 simplify tooltips texts in ConfigOverlay 2019-05-25 11:14:38 +03:00
Michail Vourlakos
4d8933b8bb TitleTooltips at second role compare to Plasma
--TitleTooltips produced by Latte are thinner but they
can create issues comparing with user expectations and
how Plasma applets original work. This fix takes the
Plasma original behavior as granted and for now on
TitleTooltips from Latte will be applied ONLY WHEN:
----The parabolic effect is enabled, zoomFactor>0% AND
the applet in question is NOT LOCKED, meaning that its
Parabolic Effect is active
2019-05-25 11:10:57 +03:00
Michail Vourlakos
74772cd7a9 introduce SCROLLING options for Tasks
--the user can now adjust the Scrolling options
for its Tasks when the items overflow. The following
are provided:
Scrolling: ENABLE/DISABLE
--Manual Scrolling: DISABLE/PARALLEL/HORIZONTALANDVERTICAL
--Auto Scrolling: ENABLE/DISABLE

BUG: 407779
2019-05-24 18:28:35 +03:00
Michail Vourlakos
4dd93f3ba8 animate dragging applets only on ViewParallelAxis 2019-05-22 20:59:55 +03:00
Michail Vourlakos
2aff2da949 identify drag enter in containment differently 2019-05-22 20:49:31 +03:00
Michail Vourlakos
b237f6efa3 improve a bit the dragging Timer 2019-05-22 20:31:00 +03:00
Michail Vourlakos
7ffe7d436d introduce plasmoid:TasksExtendedManager
--All the Tasks WORKSAROUNDS for libtaskmanager
limitation in one place
2019-05-22 13:44:13 +03:00
Michail Vourlakos
cfc9143632 respect Add launchers only in Tasks area 2019-05-17 21:55:24 +03:00
Michail Vourlakos
86e645c720 position properly dropped applets and urls in view 2019-05-17 21:49:31 +03:00
Michail Vourlakos
1ef4de0da8 VASTLY IMPROVE dragging experience
--when dragging a new applet over the view
the responsiveness is now improved vastly
--the new architecture uses two different
DragAndDropAreas. One which is the old one
and is used when dragged launchers, urls and
separators. The second is used only when
applets are dragged into the view
--the visuals for adding launchers/applets have
been improved and a circular visual is preferred
now instead
2019-05-17 21:28:39 +03:00
Michail Vourlakos
8ccdd2e719 improve Tasks adding launchers responsiveness 2019-05-16 23:58:27 +03:00
Michail Vourlakos
3789f3c178 improve adding applets through dragging responsive
--fix all events identifications from DragMove and
DragExit etc. in containment::qml part and all drags
flags are calculated only at DragEnter! This fixes
the DragMove signaling and all DragMove signals are
sent correctly.
It needs to be fixed also for Tasks plasmoid because
every time the mouse hovers the Tasks Plasmoid then
the DragMove signals are NOT SENT as they should.
2019-05-16 23:20:51 +03:00
Michail Vourlakos
927c518a6d track applets mouse click events differently
--the applets mouse click events are now tracked
for View::MouseSignals tracking mechanism. This
way no MouseArea is used overlaied over the applets
for the mouse click events. In that way the applets
are using their own built-in functionality for mouse
click events and at the same time for Latte is tracking
only the neutral areas for this meaning the applets external
margins in order to obey Fitt's Law

BUG: 406215
2019-05-16 22:27:09 +03:00
Michail Vourlakos
93528d3164 fixes for clearing parabolic effect zoom
--case 1: first left applet neighbour of Tasks was not
clearing its zoom if the mouse was entering too fast
the Tasks applet from the applet direction
--case 2: first task in Tasks was not clearing its zoom
when the applet triggering the clear zoom effect was too
far from the Tasks

BUG: 401294
2019-05-16 17:44:25 +03:00
Michail Vourlakos
be25a3b145 improve debug graphics mode visuals 2019-05-14 22:20:32 +03:00
Michail Vourlakos
844dc8096c fix startup warnings 2019-05-12 17:07:24 +03:00
Michail Vourlakos
eb96b52866 disable hover/clicked animations for applets
--in order to show built-in hover/clicked animations
for applets, the applets must be Squared/with no
Plasma behavior and the chosen Indicator to not
provide hover or click animation
2019-05-12 03:07:46 +03:00
Michail Vourlakos
ae4578433c dont track windows for AutoHide mode
--add initialization of values for views
tracking hints when enabled becomes false
--add some debug messages to be used when
we want to test out things
2019-05-12 00:52:56 +03:00
Michail Vourlakos
a6b8fbcaff consider view::hidden state after slide-out 2019-05-11 09:08:18 +03:00
Michail Vourlakos
a27ff3ec48 REFACTOR:Update LayoutManager to Layouts::Manager
--create "layouts" own directory in order to host
all LAYOUTS management/control code and classes
2019-05-09 17:12:57 +03:00
Michail Vourlakos
29157f4636 refactor:rename managedLayout to layout/viewLayout 2019-05-09 00:13:17 +03:00
Michail Vourlakos
6f47b7c4c8 rename Rectangled TO Square for Indicators 2019-05-08 21:48:35 +03:00
l10n daemon script
e8d79632bd 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-05-08 05:41:19 +02:00
Michail Vourlakos
9e9990e2df increase criteria for applets size parab.effect
--the criteria in order to track when an applet can
be zoomed or not have increased. The limit is now
specified from (iconSize+thickMargins) for applets
2019-05-02 10:10:54 +03:00
Michail Vourlakos
4092a98654 dont show hidden applets in liveEditMode 2019-05-02 10:01:06 +03:00
Michail Vourlakos
ac6454892e fix type for vertical indicators 2019-05-02 01:10:19 +03:00
Michail Vourlakos
98fd21131e Revert "fixes for applets margins/indicators"
This reverts commit 99ff8c198e.
2019-05-02 01:04:55 +03:00
Michail Vourlakos
c38e3016de update hidden state after slide-in
BUG: 406415
2019-05-02 00:10:29 +03:00
Michail Vourlakos
fc9b683faf restore main layout anchoring animation 2019-05-01 23:48:03 +03:00
Michail Vourlakos
99ff8c198e fixes for applets margins/indicators 2019-05-01 20:39:12 +03:00
Michail Vourlakos
d1fc95d934 dont follow Fitt's Law when not at the scredge 2019-05-01 20:15:37 +03:00
Michail Vourlakos
5fbdf19b78 fixes for edit mode 2019-05-01 17:39:52 +03:00
Michail Vourlakos
13cb58d54a improve badges borders colors 2019-04-23 19:00:53 +03:00
Michail Vourlakos
a2566d1414 move dodgeAllWindows to windowtracker 2019-04-23 10:55:27 +03:00
Michail Vourlakos
95e141346e update applets container
--fix separators, spacers corner cases behavior
--dont apply hidden spacers for separators and
spacers
--remove the plasma panel spacer reference which
is deprecated and not used any more
2019-04-22 12:36:46 +03:00
Michail Vourlakos
77f7d27c83 enable lock button for systray 2019-04-22 00:10:52 +03:00
Michail Vourlakos
d8c294aada compute better scrolling area thickness 2019-04-21 16:27:49 +03:00
Michail Vourlakos
f572970a95 add option for Tasks scrolling 2019-04-21 16:27:49 +03:00
Michail Vourlakos
4b92a87c41 update fill(s) applets appropriately
--more specific when maxLength is changed
in editMode and !inconfigureAppletsMode
2019-04-21 16:27:49 +03:00
Michail Vourlakos
6710be3ae5 update plasmoid to support scrolling 2019-04-21 16:27:48 +03:00
l10n daemon script
32904be361 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-04-20 05:58:30 +02:00
Michail Vourlakos
f33b61d6cf simplify original applet behavior enablement
--restores tooltips for systray when the Latte
tooltips are not enabled

BUG: 405591
2019-04-17 22:01:17 +03:00
Michail Vourlakos
9ce7ba35bb simplify mouse signals from Latte::Views 2019-04-17 20:17:28 +03:00
Michail Vourlakos
8a99a9249b improvements for !compositing mode
--fixed struts gap for !compositing mode in order
to handle the strange kwin behavior. Kwin under
!compositing removes 1px. from the struts specified
by windows
--plenty of fixes concerning automatic coloring
under !compositing mode
2019-04-17 09:39:54 +03:00
Michail Vourlakos
43a007c39b fix coloring in !compositing && inConfigureApplets
--when the panel trasparency was set under 40% the
coloring was broken in some layouts
2019-04-17 09:06:48 +03:00
Michail Vourlakos
d3ab078070 improve panelSpacing for !compositing 2019-04-17 08:57:44 +03:00
Michail Vourlakos
499c4eb1d1 update !compositing panelbackground used until now
--following plasma approach and use always
even for !compositing mode the widgets/panel-background
svg file. This way when Latte and Plasma panels are
combined there is uniformity between them.

BUG: 406597
2019-04-16 23:55:39 +03:00
Michail Vourlakos
7a11670e33 introduce AppletsContainer for LayoutsContainer 2019-04-16 23:55:39 +03:00
Michail Vourlakos
4fe515fb8e fixe !compositing behaveAsPanel sizes calculations
--this patch positions correctly behaveAsPanel view
types in !compositing mode concerning and taking into
account maxLength and offset
--the patch introduces also an AppletsContainer to
substitute all three layouts of LayoutsContainer
2019-04-16 23:55:38 +03:00
Michail Vourlakos
6505e8797f send mouse signals from View to containment
--this is side-way path for mouse events and
more specific the mouse pressed, released
events to be sent from parent window to its
qml containment part. This way it is possible
to keep the original plasma applet behavior
such as original plasma tooltips and provide
Latte specific functionality such as animated
clicks from indicators.

NOTE: An investigation - testing took place in
order to check if this approach could be also used
for mouseMove events to be used for applets parabolic
effect. The result was that this was not possible because
there were too many signals and too much calculations
too identify for which applet the signal belonged to.
The parabolic effect was not fluid in that case and
could not catch up.
2019-04-15 22:00:22 +03:00
Michail Vourlakos
bcbc822541 animate editBackground for disabledAnimations
--fix warnings
2019-04-15 21:13:16 +03:00
Michail Vourlakos
da3a60357a disable par.effect when animations are disabled 2019-04-15 21:13:16 +03:00
Michail Vourlakos
21825369bb small adjustements
--save applets layout when the user chooses a
different alignment
--dont animate offset if the edit background is
not shown in full thickness
2019-04-15 21:13:16 +03:00
Michail Vourlakos
105655310a improve edit mode sliding in animation 2019-04-14 09:40:48 +03:00
Michail Vourlakos
2963a1fc2f apply all colors from applyTheme
--infrastructure is now ready to expose to
applets the full color paletter and not
make compromises by choosing only from
original plasma theme for some of the
exposed colors
--dont reverse colors for selection group.
It creates a much nicer effect from user point
of view to keep the highlighting colors the
same for both the normal and reversed plasma
themes.
2019-04-14 00:37:16 +03:00
Michail Vourlakos
1d1f881032 identify original plasma applet behavior better 2019-04-14 00:18:31 +03:00
Michail Vourlakos
ecb7bd8e35 simplify code 2019-04-13 23:53:14 +03:00