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
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
Michail Vourlakos
67a4a4ab14 remove deprecated options
--reversed, dotsOnActive and
threeColors that were related
to Latte indicator
2019-04-13 20:37:44 +03:00
Michail Vourlakos
2486e3bef4 impr.original plasma applet identification criteria 2019-04-13 19:13:48 +03:00
Michail Vourlakos
99ffe9d418 improvements for indicators 2019-04-13 17:05:29 +03:00
Michail Vourlakos
03f507b09c improve liveediting for maxLength changes
--the user can now get visual feedback also for
Justify mode changes that are influenced by
maxLength and offset changes
2019-04-13 15:16:36 +03:00
Michail Vourlakos
b4e55e4e87 fix applets indicator size
--also dont count internalMargins
for isSeparator and isSpacer applets
2019-04-13 09:49:08 +03:00
Michail Vourlakos
af65e8ab48 flexible Tasks page
--introduce android clicke animation for Plasma
style
2019-04-13 08:27:59 +03:00
Michail Vourlakos
d95d861b64 add new options to indicators interface
--providesHoveredAnimation, in order to disable
the Latte one
--providesClickedAnimation, in order to disable
the Latte one
--needsMouseEventCoordinates, in order to know
when the mouse pressed e.g. creating animations
like the android way
2019-04-13 00:46:31 +03:00
Michail Vourlakos
20a57f3c15 improve edge changing animation 2019-04-12 21:58:19 +03:00
Michail Vourlakos
30174bbb00 fix parabolic effect for vertical views 2019-04-12 14:40:30 +03:00
Michail Vourlakos
8fa495ce7e update tooltips for edit settingsOverlay 2019-04-12 14:40:30 +03:00
Michail Vourlakos
5665efd31f add a publishing state to simplify things
--this way the syncGeometries calculations are
reduced
2019-04-11 23:42:51 +03:00
Michail Vourlakos
db6a4e9d0d make struts and Always Visible lighter
--support them also in Live Editing
2019-04-11 22:24:45 +03:00
Michail Vourlakos
9d76dc7284 consistent metrics between different states 2019-04-11 21:38:07 +03:00
Michail Vourlakos
86c7e72abf add option to enable/disable active window dragging 2019-04-11 20:41:08 +03:00
Michail Vourlakos
243ece638c update editVisual transparency through emptyAreas 2019-04-11 20:20:56 +03:00
Michail Vourlakos
f7484eba47 update indexes after loading Justify alignment 2019-04-11 20:07:21 +03:00
Michail Vourlakos
7e9064eb5e track last active window properly at per view 2019-04-11 20:04:22 +03:00
Michail Vourlakos
a293e8c92a introduce EnvironmentActions area
--move the EnvironmentActions login exactly
below the Layouts layer and make its size to
follow always the appropriate size and placement
2019-04-11 19:34:57 +03:00
Michail Vourlakos
fccbb64808 move LayoutsContainer in its own folder 2019-04-11 17:09:50 +03:00
Michail Vourlakos
f497d4ae62 improve updateIndexes at Justify alignment changes
--fix how applets are identifying their index when the
user switches alignments from Justify to Another and
vice versa. More specific this patch helps in order to
not break the parabolic effect between alignment changes.
2019-04-10 23:08:49 +03:00
Michail Vourlakos
d5b294b88e improve vastly Justify Live Editing experience
--the entire Justify to Another alignment experience
has been improved a lot and made much smoother than
in the past
2019-04-10 21:55:40 +03:00
Michail Vourlakos
de56372bf9 fixes for Splitters and LiveEditing 2019-04-10 18:24:56 +03:00
Michail Vourlakos
71c2036096 improvements for LiveEditing and Justify case 2019-04-10 18:24:41 +03:00
Michail Vourlakos
05c45dad5e hide justify splitters for liveEditing mode 2019-04-10 18:24:41 +03:00
Michail Vourlakos
4048edc7f9 Option to set Settings size at per screen level
--the Latte Settings window tries its best in order
to provide a nice experience concerning its width/height
ratio and a width size that is best for its contents.
There are cases that this fails so the user in the
best to set it right. Latte now provides two shortcuts
Meta+Scroll, that changes the width scale ratio and
Ctrl+Scroll, that changes the height scale ratio when
settings are in Basic mode.
The previous shortcuts must be applied when the mouse
is over the empty areas in the Settings View window.
2019-04-09 21:01:50 +03:00
Michail Vourlakos
6290ec33cf update margins for Rearrange button 2019-04-09 21:01:50 +03:00
Michail Vourlakos
260307d16f improve identification of Rearrange applets button
this improvement was mentioned at: D20249
2019-04-06 13:54:48 +03:00
Michail Vourlakos
3e19e553f1 add IndicatorInfo to have a global reference 2019-04-04 22:49:49 +03:00
Michail Vourlakos
915bb1bd39 provide visual limits for margins/padding
--based on the current indicator there minimum
thickness and indicator padding can be altered.
Providing some visual feedback for the user to
understand these limits is a good practice.
2019-04-04 18:38:54 +03:00
Michail Vourlakos
6d84b6eea2 better way to identify applet plasma behavior
--there is a combinantion of settings that enables
plasma original applet behavior.
1. the applet is locked and is not using parabolic effect
2. the zoomfactor === 1 and the user has not activated
title tooltips
2019-04-04 17:23:17 +03:00
Michail Vourlakos
1503dbe247 take into account indicator minimum paddings 2019-04-04 16:38:00 +03:00
Michail Vourlakos
89e0eaa3ee dont animate clicking for locked applets 2019-04-04 14:29:41 +03:00
Michail Vourlakos
1210e708c9 support automatic roundness to !compositing 2019-04-03 22:24:21 +03:00
Michail Vourlakos
d9a2e4c948 make text translatable 2019-04-01 18:33:36 +03:00
Michail Vourlakos
834bb56194 provide panel transparency info to indicators 2019-04-01 17:16:40 +03:00
Tranter Madi
5fe27176fa Center align shortcut badges when iconSize < 48
Summary:
When iconSize is not big enough, center aligned shortcut badges look better than top-left aligned ones.

BUG: 406037

Test Plan:
- When iconSize < 48: shortcut badges are center aligned
- When iconSize >= 48: they are top-left aligned

For example, with iconSize = 32:
Before:
{F6736365}
After:
{F6736366}

Reviewers: #latte_dock, mvourlakos

Reviewed By: mvourlakos

Subscribers: mvourlakos, plasma-devel

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D20128
2019-03-31 13:37:45 +07:00
Michail Vourlakos
d4b2589d0c expose isPressed state to indicators 2019-03-31 02:10:57 +02:00
Michail Vourlakos
6569160195 improve icon colors for applets
--provide a background and glow color for those
applets that do not provide an icon to render
2019-03-29 22:48:36 +02:00
Michail Vourlakos
69bbb82841 improve icons colors names 2019-03-29 02:18:10 +02:00
Michail Vourlakos
262dfa6b09 Indicators protocol change attributes to level
--introduce a new class called level which contains
all the needed information concerning indicator level
and at the same time the bridge that provides information
for the specific indicator states
2019-03-27 21:03:17 +02:00
Michail Vourlakos
10ee2d9ab8 fixes for reversed state of config window 2019-03-27 21:03:17 +02:00
Michail Vourlakos
614ec3ea48 move shortcut badges at top left corner
--this way the elements are observed better and
the user is able to both watch out the items and
the shortcut that activates them
2019-03-27 21:03:16 +02:00
Michail Vourlakos
71d3979f0c separate liveEditingMode and inConfigureApplets
--try to improve experience for liveEditingMode and
inConfigureApplets. LiveEditingMode should be as much
as nearer to the standard experience and inConfigureApplets
state should provide nice coloring
2019-03-24 20:23:03 +02:00
Michail Vourlakos
7c59929b28 fixes for shadows calculations 2019-03-24 20:11:12 +02:00
Michail Vourlakos
28ef36a774 simplify indicators names 2019-03-24 18:44:27 +02:00
Michail Vourlakos
9a464226bd improve loading for indigator config ui
--in order for all indicators infrastructure to
load the plugin correctly the configuration and
the component elements of ViewPart::Indicator
must be loaded first correctly and afterwards
the relevant Indicators to follow
2019-03-24 14:54:46 +02:00
Michail Vourlakos
0b90411b1d IMPORTANT: All new Indicators architecture
--this huge commit contains all the changes needed
in order for Latte to load Indicators dynamically
from their own packages
2019-03-24 12:17:29 +02:00
Michail Vourlakos
ef0ec2831b apply Smart coloring also for locked editMode 2019-03-20 17:14:10 +02:00
Michail Vourlakos
14417a69f1 improve outline color calculations 2019-03-18 23:45:17 +02:00
Michail Vourlakos
ca80a7932f introduce LatteComponents to be consumed globally
--this is needed in order for indicators plugins in
the future to provide the same UI elements with the
rest of LatteView Settings windows
2019-03-18 19:35:53 +02:00
Michail Vourlakos
28d197484e fix warnings 2019-03-17 16:14:19 +02:00
Michail Vourlakos
b89ef0e50b fix warnings fron new indicators architecture 2019-03-17 16:00:52 +02:00
Michail Vourlakos
8be388b893 improve vastly the indicators arch independence 2019-03-17 15:05:11 +02:00
Michail Vourlakos
4318404c9c fix warnings and improvements for Indicators 2019-03-17 14:34:44 +02:00
Michail Vourlakos
0d568c81d5 update indicators architecture to be independent
--first steps in order to support completely independent
indicators that can be downloaded/installed/used online
2019-03-17 13:49:26 +02:00
Michail Vourlakos
4460e3ed16 increase contrast for light outline 2019-03-17 09:47:54 +02:00
Michail Vourlakos
e30ee3abba enable Blur for isBusy backgrounds 2019-03-17 02:29:15 +02:00
Michail Vourlakos
9afafcc7c2 disable panel shadows only when active maximized 2019-03-17 02:23:35 +02:00
Michail Vourlakos
067c0df044 draw panel shadows when isBusy after 40% opacity 2019-03-17 02:09:57 +02:00
Michail Vourlakos
10fbf41081 enable hover effect for Plasma Style 2019-03-17 01:23:53 +02:00
Michail Vourlakos
14e7eb1899 ui and interaction improvements 2019-03-17 01:04:42 +02:00
Michail Vourlakos
33c584cc08 Mouse wheel action for empty areas
--User can now choose for the panel empty areas
a sroll wheel behavior:
-Scroll Desktops
-Scroll Activities
-Scroll Tasks

BUG: 404266
2019-03-17 00:49:51 +02:00
Michail Vourlakos
aaee132951 add outline width option in Preferences 2019-03-16 20:40:51 +02:00
Michail Vourlakos
f3f6dccf65 support Outline option for compositing mode
--works much better than I was expecting and at the
same time it simplifies the PanelBox code a lot
2019-03-16 19:41:04 +02:00
Michail Vourlakos
3666ab42db position CustomBackground border correctly 2019-03-16 17:12:25 +02:00
Michail Vourlakos
661f3cad1b update panel backgrounds implementation
--there is now an always shown underlying layer that
provides full solidness for 100% panel transparency
--Colorizer.CustomBackground was updated in order to
support Borders drawing
2019-03-16 16:17:52 +02:00
Michail Vourlakos
c85ec4c07a new architecture for Indicators
--indicators now support both Back/Front
layers. Back layer is the usual layer
behind the current Item and the Front layer is
a layer above the current Item (overlay)
--update Unity to follow new architecture
2019-03-15 00:04:02 +02:00
Michail Vourlakos
104ee8581f add more information for indicators consumption
--currentIconSize/maxIconSize/windowsCount/
windowsMinimizedCount
2019-03-14 16:37:23 +02:00
Michail Vourlakos
f50be9bc9d update Panel/Dock type detection 2019-03-14 14:43:18 +02:00
Michail Vourlakos
9d710297e1 catch up edit Visual animation to changes 2019-03-12 20:57:31 +02:00
Michail Vourlakos
8f4fafa2db fix warning 2019-03-12 20:40:42 +02:00
Michail Vourlakos
d8f8737d05 add tooltip for editing background
--the user is informed about scroll wheel
and more specific that can alter the
edit background opacity
2019-03-12 20:22:05 +02:00
Michail Vourlakos
f06e3415de restore mask calculaltions for noCompositingEdit 2019-03-12 18:32:46 +02:00
Michail Vourlakos
9a4a515a68 improve identification of inConfigureApplets mode 2019-03-12 18:25:12 +02:00
Michail Vourlakos
b00598949d activate/disable independent animations 2019-03-11 19:50:11 +02:00
Michail Vourlakos
25b636465a split animations and make par.effect independent 2019-03-11 19:22:01 +02:00
Michail Vourlakos
01e60370b0 consider shadows for updating needed mask
--avoiding circumstances that the shadows are broken
because the mask is too small
2019-03-11 16:51:38 +02:00
Michail Vourlakos
7902bf8ce5 remove panel external margin 2019-03-11 16:32:40 +02:00
Michail Vourlakos
83d2ead0a0 support increase/decreaseLength for latte separator 2019-03-11 15:39:28 +02:00
Michail Vourlakos
8b46ecc92a support new Latte separator properly 2019-03-11 15:17:22 +02:00
Michail Vourlakos
37ea714fb3 fix applet positioning when dragged in editMode 2019-03-11 09:44:31 +02:00
Michail Vourlakos
218e8254a2 improve placement for SettingsOverlay tooltip
--place the SettingsOverlay tooltip under editMode
smarter in order to not break the parabolic
effect experience
2019-03-09 23:37:40 +02:00
Michail Vourlakos
a2876a3b72 make edit mode popup plasma friendly 2019-03-09 22:18:27 +02:00
Michail Vourlakos
d1340486bb improve margins options placement in settings 2019-03-09 21:57:14 +02:00
Michail Vourlakos
faf38820d5 fix Blur Demonstration under editMode 2019-03-09 20:12:02 +02:00
Michail Vourlakos
f1a34ce437 add hacks in config windows for inner shadow 2019-03-09 19:35:37 +02:00
Michail Vourlakos
e1c964ea34 move external shadow under liblatte2 2019-03-09 18:59:59 +02:00
Michail Vourlakos
0816e2b8aa fix top masking during editMode
--improve also identifying when subtracting
edit mode mask is needed
2019-03-09 18:37:49 +02:00
Michail Vourlakos
c21d355f9a fix calculations for maxThickness 2019-03-09 15:42:30 +02:00
Michail Vourlakos
94415e24b4 improve config windows calculated geometries 2019-03-09 12:23:51 +02:00
Michail Vourlakos
6276d604dc restore edit shadow size
--now that masking is used in order to subtract
mask areas that overlap with underlying config
windows, the edit shadow can be as big as we
need with no problems
2019-03-08 23:46:31 +02:00
Michail Vourlakos
736d068a44 improve masking for config windows
--now config windows are masked properly in order to
accessible to all of their areas. By design the config
windows are trying to be below the main view, this is
why masking is needed in order to work properly and not
having areas that can not be clicked/accessed because
of the top Latte View
2019-03-08 23:43:08 +02:00
Michail Vourlakos
05afe9e8d3 show title tooltips in liveEditMode 2019-03-08 18:42:45 +02:00
Michail Vourlakos
d45d28b1cc use single tooltip for all settingsOverlay options 2019-03-08 15:17:35 +02:00
Michail Vourlakos
e922b73bca reduce a bit the edit external shadow 2019-03-07 17:39:30 +02:00
Michail Vourlakos
5935718dfb center Rearrange button 2019-03-07 17:15:11 +02:00
Michail Vourlakos
63039826fd improve Rearrange Button in LiveEditing 2019-03-07 17:00:54 +02:00
Michail Vourlakos
542174f296 make edit visual totally dynamic
--meaning that edit Visual can contain more
elements than just the usual ones and as such
we can now add a "Rearrangement" option to make
things easier to switch between live/static editing
2019-03-06 20:19:17 +02:00
Michail Vourlakos
527cddb72d update Ruler and EditVisual
--improve and restructure all editMode in order
for Ruler and EditMode to be ready to accept more
direct available settings in settings overlay
section.
2019-03-06 18:33:55 +02:00
Michail Vourlakos
8a4f669ecf fix hovered masking for editMode when zoomed
--in the past applets could not be hovered when
in editmode
2019-03-05 14:34:42 +02:00