1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-03-19 06:50:12 +03:00

1811 Commits

Author SHA1 Message Date
Michail Vourlakos
c37a959ae2 reduce warnings 2017-05-19 00:33:55 +03:00
Michail Vourlakos
7b15f4b895 add more calls for reconsiderMaximized for windows 2017-05-19 00:23:19 +03:00
Michail Vourlakos
77f542a9f3 fix #470,crash the tasksmodel of maximized logic
--fixes in various typos introduced from the new
designs
2017-05-18 23:02:20 +03:00
Michail Vourlakos
d3387922d3 split logic for AppletItem in containment 2017-05-18 20:34:48 +03:00
Michail Vourlakos
3d8c8179e2 refactor layouts in containment
--simplify and organize a bit more the main.qml
in containment and move logic into LayoutsContainer
2017-05-18 20:04:57 +03:00
Michail Vourlakos
b922b2c7e3 improve criteria for backOnlyOnMaximized case
--animate show/hiding background including its
internal shadows
2017-05-18 15:09:22 +03:00
Michail Vourlakos
49d8b145d2 fixes for showBackOnlyOnMaximized design
--improve applets shadows, now the shadows used
are using the backgroundColor when a transparent
panel is forced
--identify better when shadows should be drawn
2017-05-18 01:33:32 +03:00
Michail Vourlakos
9d55a65bf5 fix #469,support show background on maximized only
-- the user can choose this behavior from the Tweaks page,
the panel background in shown only when there is maximized
window and it is fully transparent otherwise
2017-05-18 00:38:33 +03:00
Michail Vourlakos
69ce4b4e02 fix hovering effect for applets with zoom==1 2017-05-17 10:51:37 +03:00
Michail Vourlakos
9d213a6e83 support clicking event for all fakeIconItem area 2017-05-16 23:08:13 +03:00
Michail Vourlakos
17db2a8a5d fix #83,support fake iconitem and container
--there are plasma widgets that break the Latte
experience concerning the parabolic effect. We fix
this by providing above them our own Latte solution
and by hiding the applets appearance. At the same
time we make sure that a folder widget is not increasing
its size above 96px. for which its appearance goes to
FullRepresentation
2017-05-16 19:37:09 +03:00
Michail Vourlakos
33aa55271d correct sizes for folderview applets 2017-05-16 01:41:40 +03:00
Michail Vourlakos
dae061e64d fix #58, hack the Plasma iconitems applets
--applets such as folder view and icon where
breaking the animation for icon size < 64px.
This commit uses the heuristic algorithm from
AppletItem in order to discover such plasmoids
and afterwards it fakes a Latte.IconItem over
the PlasmaCore.IconItem
2017-05-16 01:19:12 +03:00
Michail Vourlakos
7c07385c10 fix #453,substitute absolute build path references
--fixes the kdesrc-build installation
2017-05-10 18:03:31 +03:00
Michail Vourlakos
e0f7b9b220 fix #449,add "cycle through tasks" action
--added the new cycle through tasks behavior to
tasks actions
2017-05-09 17:55:50 +03:00
Michail Vourlakos
721001ecc4 fix grow/shrink of behaveAsPlasmaPanel dock behave 2017-05-07 19:24:08 +03:00
Michail Vourlakos
7d3458d45c support behaveAsPlasmaPanel in the dockview 2017-05-07 15:06:29 +03:00
Michail Vourlakos
9e969d22dc create behaveAsPlasmaPanel for containment
--replace drawShadowsExternal with behaveAsPlasmaPanel
2017-05-07 14:49:07 +03:00
Michail Vourlakos
e68a9e78e1 remove more trebbling from parabolic effect
--disable all Math.round(...) from parabolic
effect calculations because this was enough in order
to miss just one pixel that was able to create
a small trebbling
2017-05-06 18:09:49 +03:00
Michail Vourlakos
5c6a3a9d23 fix clearzoom when hover,no hoveredcapable applets 2017-05-06 14:13:13 +03:00
Michail Vourlakos
3cfcc909c5 set direct render animation time to 0 2017-05-06 12:25:59 +03:00
Michail Vourlakos
f3581a750b Revert back two last commits
--the expose of directRenderAnimationTime broke
the parabolic effect experience so I am reverting them
back
2017-05-06 12:18:59 +03:00
Michail Vourlakos
d15b84319c fix directRenderAnimationTime
--use a small duration of 20ms for the
directRenderAnimationTime in order to add a bit
more smoothness in the parabolic animation
when directRender is activated
2017-05-06 11:52:52 +03:00
Michail Vourlakos
46106a5bd1 expose directRenderAnimationTime 2017-05-06 11:39:45 +03:00
Michail Vourlakos
c1bff5a1a9 port directRender code to new signaling 2017-05-06 11:23:47 +03:00
Michail Vourlakos
7482182e24 set global direct render animation time 2017-05-06 11:15:55 +03:00
Michail Vourlakos
6fb56f90b1 fix #431,support again the internal separator
--support again the internal separator based on
the new signaling for the parabolic effect
2017-05-06 01:19:45 +03:00
Michail Vourlakos
6fac93171f clear zoom for latte applet from far applets 2017-05-04 21:52:48 +03:00
Michail Vourlakos
00ce7931dc hide preview on clearZoom 2017-05-04 21:12:18 +03:00
Michail Vourlakos
adba5b6f2a simplify parabolic signalling
--this finally creates a very concrete parabolic
animation experience
2017-05-04 20:40:44 +03:00
Michail Vourlakos
fd4af3f0f1 port plasmoid into new arch for parabolic effect 2017-05-04 20:11:46 +03:00
Michail Vourlakos
9b77117870 port container into new parabolic architecture
--drop the checkListHovered that was using an
heuristic algorithm to discover if the mouse is
still inside the window. In its place use
the dock.visibility.containsMouse
--use one single globalDirectRender flag from
containment in order for all dock elements to
investigate if they should use directRendering-
painting or play animations instead
2017-05-04 19:19:50 +03:00
Michail Vourlakos
4ee9370012 remove no needed code 2017-05-04 18:44:16 +03:00
Michail Vourlakos
2e72ed0a5b fix #442,clearZoom of latteApplet after fast hover 2017-05-03 23:54:38 +03:00
Michail Vourlakos
987cfba048 improve clearing parabolic effect calculations
--adding the internal separator made the things a little
more complicated. This commit improves the clearing
calculations in order to not conflict the messages
with each other and trying to restore all applets
and tasks that are not considered for the parabolic
effect.
2017-05-03 19:14:30 +03:00
Michail Vourlakos
df9edc5754 fix #441,expose add widgets action in context menu 2017-05-03 00:18:47 +03:00
Michail Vourlakos
8810626422 dont calculate parabolic effect in some cases
--this is when there are no animations or when
the zoomFactor=1
2017-05-02 21:29:18 +03:00
Michail Vourlakos
c489300819 fix #435,better calculations for Tasks borders 2017-05-01 19:29:23 +03:00
Michail Vourlakos
ab0576b687 new calculations for drawing shadows external
--fix an issue of leaving  some pixels transparent
between the external shadow and the panel background
when using the external shadows feature
2017-05-01 19:03:40 +03:00
Michail Vourlakos
593070beb8 fix #421,improve lockButton visibility states 2017-05-01 11:01:02 +03:00
Michail Vourlakos
fc6c4222e1 support configuration of audio indicator 2017-04-30 19:15:04 +03:00
Michail Vourlakos
ec68562174 support correct calculations from applets/separ.
--the applets now take into account the tasks
internal separator in order to provide beautiful
smooth parabolic animation when the internal separator
is at some of the Tasks edges
2017-04-28 21:39:40 +03:00
Michail Vourlakos
574f2aedcb correct signaling for internal separator case 2017-04-28 21:39:39 +03:00
Michail Vourlakos
92f214d552 support removing internal tasks separator 2017-04-28 21:39:39 +03:00
Michail Vourlakos
5cb418f978 fix #421, fix #424, fix wrong typo 2017-04-23 10:29:53 +03:00
Michail Vourlakos
c15bf2ccd6 improve systray positioning and alignment 2017-04-23 03:36:24 +03:00
Michail Vourlakos
261283b631 make animation times usable again
--durationTime that was used for the animations
was an integer. This was created extremely fast
animations for x1 and extremely slow animations
for x3. This fix changes that by setting the
durationTime in the qml side to real type. And
by that we are setting the following pragramatic
speeds which create a very good experience.
  x1 = 1.65
  x2 = 2
  x3 = 2.35
the above can be updated a bit based on the user
feedback and experience
2017-04-23 02:44:39 +03:00
Michail Vourlakos
2c6fdab568 make all shadows option default
--move also the shadows choice to advanced
group
2017-04-23 02:44:39 +03:00
Michail Vourlakos
32eff5c167 add advance option in configuration window 2017-04-23 02:44:38 +03:00
Michail Vourlakos
2ef64f4ab3 fix #411,deactivate applets when show previews 2017-04-23 02:43:24 +03:00