Commit Graph

343 Commits (0b344be641bd33aee9f1c78b9b29cb248217b841)

Author SHA1 Message Date
Michail Vourlakos a0bff8f9f0 first part to support properly separators
--support properly applet separators. This is the
first part, in the future the margins for them
should be updated correctly and the edge cases,
for example when the applet separator is next to
tasks plasmoid
8 years ago
Michail Vourlakos 544f34ad2a expose available applet ids
--find applet ids that arent separators or
hidden
8 years ago
Michail Vourlakos d4b785daf3 inform parabolicManager for separators and hidden
--the parabolicManager is informed about the applet
ids for hidden applets and separators. This way the
manager can process the signals for parabolic effect
much better and correctly
8 years ago
Michail Vourlakos fa9b313c92 use more the ParabolicManagers
-- add even better clearZooms based on
signaling from ParabolicManagers
8 years ago
Michail Vourlakos 9cdd9d839b fix splitters path for Justify mode 8 years ago
Michail Vourlakos 528a857b47 apply a proper clearing zoom for applets
--this is finally used properly through the
ParabolicManagers new architecture. Any old
problems concerning applets that didnt clearing
their zoom should be fixed totally now!!
8 years ago
Michail Vourlakos a16ed0e9ef add clearing functions for parabolic managers 8 years ago
Michail Vourlakos 6fa6f70e41 add ParabolicManager for containment
--all messages concerning parabolic effect are calculated
and send through the ParabolicManager. This will help
a lot in maintainance and in many cases in the future
such as, separators, hidden applets and clearing zoom
properly
8 years ago
Michail Vourlakos 569644073f fix #481,improve fake applets indication
--improve fake applets indication on startup
8 years ago
Michail Vourlakos d99c679382 fix wrong showing of ActiveIndicators
--the ActiveIndicators were showing on startup
in some applets that they shouldnt
8 years ago
Michail Vourlakos 2862ca2442 fix a thick margins in applets 8 years ago
Michail Vourlakos afc1a8e318 add AppletIdentifier for discovering applets icons
-use the old code and add it in AppletIdentifier in order
to discover applets that provide IconItems and substitute
their panel behavior with Latte experience
8 years ago
Michail Vourlakos 31be277e17 include userswitcher in applet heuristic algorithm 8 years ago
Michail Vourlakos 0a771531e1 fix #480,support new internal separator architect
--the internal separator codebase has been simplified
a lot and uses a new approach that provides a smoother
parabolic effect. This is part1 concerning improve separators,
in part2 applets separator will to try to be improved
8 years ago
Michail Vourlakos 5537db0760 fix #466,support kickoff applet in heuristic alg. 8 years ago
Michail Vourlakos ebc70d12b2 fix #182,improve automatic shring/grow
--@AndydeCleyre contribution, the automatic growing/
shrinking for applets now uses always the maximum
length as a limit for the calculations
8 years ago
Michail Vourlakos dcda53d08e go the applets clearZoom criteria to the edges
--the clearZoom criteria for the applets have set
to the minimum possible considering also the internal
tasks separator case
8 years ago
Michail Vourlakos e9a3bf9265 improve check of clear zoom 8 years ago
Michail Vourlakos 57fd657a68 fix #464,clear zoom for applets far of par.effect 8 years ago
Michail Vourlakos 3e809b8ea9 expose fake icon to all applets that are found
--this should be tested with a lot of attention,
in case we fall onto applets cases that Latte
breaks their functionality
8 years ago
Michail Vourlakos 0c3f8e47ad remove old typo 8 years ago
Michail Vourlakos 9335acaa33 speed down an animation 8 years ago
Michail Vourlakos f68b376ede animate active applet indicators 8 years ago
Michail Vourlakos 1c76e29b3f fix #472,support latte applet active indicators
--expose the functionality through the configuration
window. The user can choose no latte type internal
active applets indicators, only show to latte internal
applets and show at all applets
8 years ago
Michail Vourlakos 8d0b64cd6d support applets activate line 8 years ago
Michail Vourlakos 831c5457e5 support in-house active indicator for applets 8 years ago
Michail Vourlakos 6631516913 consider needsFill applets as !canBeHovered 8 years ago
Michail Vourlakos 28b777dd15 fix warning check 8 years ago
Michail Vourlakos 84e390c312 reduce warnings 8 years ago
Michail Vourlakos 1094a6db02 update string 8 years ago
Michail Vourlakos d3711258f1 add forceTransparentPanel in DebugWindow 8 years ago
Michail Vourlakos 9b4bde2958 reduce warnings 8 years ago
Michail Vourlakos c37a959ae2 reduce warnings 8 years ago
Michail Vourlakos 7b15f4b895 add more calls for reconsiderMaximized for windows 8 years ago
Michail Vourlakos 77f542a9f3 fix #470,crash the tasksmodel of maximized logic
--fixes in various typos introduced from the new
designs
8 years ago
Michail Vourlakos d3387922d3 split logic for AppletItem in containment 8 years ago
Michail Vourlakos 3d8c8179e2 refactor layouts in containment
--simplify and organize a bit more the main.qml
in containment and move logic into LayoutsContainer
8 years ago
Michail Vourlakos b922b2c7e3 improve criteria for backOnlyOnMaximized case
--animate show/hiding background including its
internal shadows
8 years ago
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
8 years ago
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
8 years ago
Michail Vourlakos 69ce4b4e02 fix hovering effect for applets with zoom==1 8 years ago
Michail Vourlakos 9d213a6e83 support clicking event for all fakeIconItem area 8 years ago
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
8 years ago
Michail Vourlakos 33aa55271d correct sizes for folderview applets 8 years ago
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
8 years ago
Michail Vourlakos 7c07385c10 fix #453,substitute absolute build path references
--fixes the kdesrc-build installation
8 years ago
Michail Vourlakos e0f7b9b220 fix #449,add "cycle through tasks" action
--added the new cycle through tasks behavior to
tasks actions
8 years ago
Michail Vourlakos 721001ecc4 fix grow/shrink of behaveAsPlasmaPanel dock behave 8 years ago
Michail Vourlakos 7d3458d45c support behaveAsPlasmaPanel in the dockview 8 years ago
Michail Vourlakos 9e969d22dc create behaveAsPlasmaPanel for containment
--replace drawShadowsExternal with behaveAsPlasmaPanel
8 years ago
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
8 years ago
Michail Vourlakos 5c6a3a9d23 fix clearzoom when hover,no hoveredcapable applets 8 years ago
Michail Vourlakos 3cfcc909c5 set direct render animation time to 0 8 years ago
Michail Vourlakos f3581a750b Revert back two last commits
--the expose of directRenderAnimationTime broke
the parabolic effect experience so I am reverting them
back
8 years ago
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
8 years ago
Michail Vourlakos 46106a5bd1 expose directRenderAnimationTime 8 years ago
Michail Vourlakos c1bff5a1a9 port directRender code to new signaling 8 years ago
Michail Vourlakos 7482182e24 set global direct render animation time 8 years ago
Michail Vourlakos 6fb56f90b1 fix #431,support again the internal separator
--support again the internal separator based on
the new signaling for the parabolic effect
8 years ago
Michail Vourlakos 6fac93171f clear zoom for latte applet from far applets 8 years ago
Michail Vourlakos 00ce7931dc hide preview on clearZoom 8 years ago
Michail Vourlakos adba5b6f2a simplify parabolic signalling
--this finally creates a very concrete parabolic
animation experience
8 years ago
Michail Vourlakos fd4af3f0f1 port plasmoid into new arch for parabolic effect 8 years ago
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
8 years ago
Michail Vourlakos 4ee9370012 remove no needed code 8 years ago
Michail Vourlakos 2e72ed0a5b fix #442,clearZoom of latteApplet after fast hover 8 years ago
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.
8 years ago
Michail Vourlakos df9edc5754 fix #441,expose add widgets action in context menu 8 years ago
Michail Vourlakos 8810626422 dont calculate parabolic effect in some cases
--this is when there are no animations or when
the zoomFactor=1
8 years ago
Michail Vourlakos c489300819 fix #435,better calculations for Tasks borders 8 years ago
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
8 years ago
Michail Vourlakos 593070beb8 fix #421,improve lockButton visibility states 8 years ago
Michail Vourlakos fc6c4222e1 support configuration of audio indicator 8 years ago
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
8 years ago
Michail Vourlakos 574f2aedcb correct signaling for internal separator case 8 years ago
Michail Vourlakos 92f214d552 support removing internal tasks separator 8 years ago
Michail Vourlakos 5cb418f978 fix #421, fix #424, fix wrong typo 8 years ago
Michail Vourlakos c15bf2ccd6 improve systray positioning and alignment 8 years ago
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
8 years ago
Michail Vourlakos 2c6fdab568 make all shadows option default
--move also the shadows choice to advanced
group
8 years ago
Michail Vourlakos 32eff5c167 add advance option in configuration window 8 years ago
Michail Vourlakos 2ef64f4ab3 fix #411,deactivate applets when show previews 8 years ago
Michail Vourlakos df0da77083 fix #420,include spacers in applets geometry calcs
--this way the right click we always take into account
the visual appearance space that latte provides for it
and not the applets internal geometry. So now spacers
also are considered as applet area
8 years ago
Michail Vourlakos df0d017eb6 more signals to trigger computing of effectsArea
--fixes some cases that in fill mode the effectsArea
is not calculated correctly and the blur effects
were positioned out of place
8 years ago
Michail Vourlakos a211ff6605 fix #398,reduce to minimum length margins
--more specific reduce to minimum length
margins for Fill mode in 100% maximum
length
8 years ago
Michail Vourlakos 25cbe57aa6 fix #392,support panel transparency and shadows
--the user can set the panel transparency and
enable/disable the panel shadows
8 years ago
Michail Vourlakos 4948a94227 support lower values for the icon margin
--the default is changed to 15%
8 years ago
Michail Vourlakos 6f410af31a support external shadows for WindowsGoBelow 8 years ago
Michail Vourlakos b48c74ed08 fix spacers,broke from fillWidth new behavior 8 years ago
Michail Vourlakos 510974c3ff fix #356,expose offset in the dockview
--this patch updates borders correctly based
also on the offset variable
--fixes the calculations for offset and panel
background positioning
8 years ago
Michail Vourlakos 3125e6b742 fix #356,add offset option for the dock
-this patch provides the offset variable for
our qml side... The offset feature is not complete
the following are missing:
-expose offset at the dockview
-use offset in !compositing state
-update borders by taking into account the offset also
-update the automatic-positioning to take into account
the offset also
8 years ago
Michail Vourlakos ccd498d884 improve applets layout on formFactor changes
--based on a strande behavior when changing form
factors and not appearing correctly I found the
reason why this is happening... this fixes the
audoban separator wrong latte behavior and for
the widget also concerning of course when the
dock changes form factor
--this fix inlude also a fix of a binding loop
for the heading of launchers inside the AppletItem
8 years ago
Michail Vourlakos 8d195354b0 fix #371,support applets with fillWidth/Height
--support applets that activate fillWidth/Height
8 years ago
Michail Vourlakos 73074382e3 move the lock button from drag area to tooltip
--improve the lock button appearance by moving it from
the drag area into the tooltip
8 years ago
Michail Vourlakos a6b767d65a fix #351,use correct screenGeometry at task filter
--this fixes screen filtering for tasks but we
should investigate further in the future how
to support correct plasmoid.screenGeometry
8 years ago
Michail Vourlakos 1b9abfea84 fix #334,block dropping internal launchers on dock 8 years ago
Michail Vourlakos fadd4f73c7 fix visual on drop a plasmoid
--this was broken from the new behavior
concerning launchers and their checks
8 years ago
Michail Vourlakos 6a75d0c26e update metadata files 8 years ago
Johan Smith Agudelo Rodriguez 04f2331518 update desktop files 8 years ago
Michail Vourlakos 9258871e44 update strings
--update greek translation
8 years ago