Commit Graph

525 Commits (cf64323795b937868615bef1be8f53aa468f926e)

Author SHA1 Message Date
Michail Vourlakos 8794835f0b reenable a small animationstep in parabolic effect 8 years ago
Michail Vourlakos c8878792bb fix #532,dont allow to add a second Tasks plasmoid 8 years ago
Michail Vourlakos 0ce0feca0a fix #526,add toggleGrouping action 8 years ago
Michail Vourlakos 319f30d2cc fix showing debug window 8 years ago
Michail Vourlakos d4a5370ef2 use same design for all separators 8 years ago
Michail Vourlakos db78a5b622 fix #498,translate 0% margin to 0px margins 8 years ago
Michail Vourlakos c5dda73d5b fix #497, fix crash on startup
--this was crashing Latte on startup because
the WindowsModel was loaded too early when
the user had set "Show Background only for
maximized windows"
8 years ago
Michail Vourlakos e982540bff fix #490,support usesPlasmaTheme in our fake icons 8 years ago
Michail Vourlakos 162d84e31d fix #495,Disable panel shadow for maximized windows 8 years ago
Michail Vourlakos 424f0e0e1c dont allow forceTransparentPanel on !compositing 8 years ago
Michail Vourlakos 641d096d58 fix #490,improve identification algorithms
--this commits improves the identification algorithm
for kicker and simplemenu and their behavior also
concerning setting a static image or not
8 years ago
Michail Vourlakos cfca7fadd4 dont paint items when shadow is activated
--this way we gain a few cpu cycles because they
are not painted when the item is painted through
the Shadow qml item
8 years ago
Michail Vourlakos 05c2123708 go faster to directRender state
--improve more the parabolic animation and
fix an issue that was based on the time window
between smooth animation and directRender when
the mouse activates the parabolic effect in the
begin.
8 years ago
Michail Vourlakos aacd80df3d enable tooltips in various places 8 years ago
Michail Vourlakos 4eb0645474 fix #489,option for mouse wheel actions 8 years ago
Michail Vourlakos fe0e23b935 fix #490,support kicker and simplemenu applets
--we now support through our discovering mechanisms
a properly identification for kicker and simplemenu
applets. This way changing their icons work correctly
and of course the parabolic effect
8 years ago
Michail Vourlakos 8ae052ba79 correct update hidden applets registry on startup 8 years ago
Michail Vourlakos 51b600725d fix parabolic effect and Tasks thickness
--this fixes the Tasks plasmoid thickness and
improves a small breakage in the parabolic effect.
The Tasks thickness is going to maximum when there
is a hoveredInded in plasmoid or in containment.
--the previous fix, fixes also a small breakage in
the parabolic effect animation. The breakage was
appearing when going from
applet->applet separator->task and directRender is
enabled
8 years ago
Michail Vourlakos 19af87417e add disabled debug messages for parabolic signals
--these debug messages can be activated in the future
in order to identify in the future cases that the
parabolic effect doesnt work as it should
8 years ago
Michail Vourlakos 155e037d0f disable all spacers for all separators
--this makes the spacers to overlap with
each other
8 years ago
Michail Vourlakos d59a43a7aa simplify window model for maximized window
--simplify the messaging handling and also protect
the initialization of the model for the Repeater
8 years ago
Michail Vourlakos eb5b70d9a4 dont hide internal separator yet
--hide debug messages
--dont hide internal separato yet if there
are neighbour separators next to it because
it is not positioned always correctly yet
8 years ago
Michail Vourlakos ff53a53d75 fix all separators calculations/signals
--fixed all signals calculations for applets
through the parabolicManager in containment
8 years ago
Michail Vourlakos b160ad76a5 fix many separators around latte plasmoid 8 years ago
Michail Vourlakos f379877e55 improve more parabolic effect messaging 8 years ago
Michail Vourlakos fbf952f606 fix binding loops that broke separators experience 8 years ago
Michail Vourlakos b79b375715 access internal plasma separator from contextmenu
--all the functionality concerning the internal separator
is moved completely into the plasmoid. Now the add/remove
of the internal separator can be found through the Tasks
contextmenu as long as we are in editMode (that is showing
the configuration window)
8 years ago
Michail Vourlakos debea91ddc reduce messages for clearing parabolic effect 8 years ago
Michail Vourlakos 3a0ac83c46 fix #480,support properly separator widgets 8 years ago
Michail Vourlakos 0c69277912 correct center calculation based on hidden spacers 8 years ago
Michail Vourlakos 30988a8820 fixes for separators signaling 8 years ago
Michail Vourlakos 988448345f add margins to applet separators
--fix for indicating the separator on startup
--improvements in parabolic signaling
8 years ago
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
Michail Vourlakos d90e129f77 update translation strings
--update greek translation
8 years ago
Michail Vourlakos 307a5e30ea update translation strings 8 years ago
Michail Vourlakos fd24b39e0e visual improvements for Launchers Area 8 years ago
Michail Vourlakos cbd60d3509 fix #298,default add launchers in taskmanager
--the user can alter this behavior from the tweaks
page. So the user can add launchers as plasma applets
by disabling the relevant choice in the tweaks
page.
8 years ago
Michail Vourlakos 797c160ea6 fix #288,new improvements for additions
--adding a plasmoid in taskmanager does not appear
an add cross
--trying to add launchers outside the taskmanager
appears a message over the taskmanager indicating
the real Launchers Area
8 years ago
Michail Vourlakos 8fdec50114 fix #281,enable/disable auto decrease applets size
--the setting can be accessed through the tweaks page
8 years ago
Michail Vourlakos e57d525824 create globalsettings for corona
--first all the code concerning exposeAltSession
is moved in it and in the future also the autostart
and currentSession can follow. This will improve
both dockview and configview
8 years ago
Michail Vourlakos 7b060c22a5 fix #272,expose alternative session in menu 8 years ago
Michail Vourlakos c0eaeca09c add effectArea in DebugWindow
--export correctly the drawEffects variable
8 years ago
Michail Vourlakos b4334be011 disable effects if no panel is shown 8 years ago
Michail Vourlakos a4ee035c93 fix #270,enable blur for panel background
--the user can habe blur and background contrast
effects in all cases for the panel and can
also choose the behavior from Tweaks page
8 years ago
Michail Vourlakos 691b1339df fix #215, support a modifier action
--a modifier action in now supported.The user
can set the modifier,the click and the action
that will be executed
8 years ago
Michail Vourlakos fca86f0f20 fix #266,expose middle click actions of libtask 8 years ago
Michail Vourlakos 0518e27794 disable bouncing for zoom=1 and when dock hidden 8 years ago
Michail Vourlakos a299badc14 fixes for !compositing automatic icon size 8 years ago
Michail Vourlakos 0781b37b89 fix positioning for !compositing editing mode 8 years ago
Michail Vourlakos 91f5a24b43 fix calculations for !compositing vertical docks 8 years ago
Michail Vourlakos ba644239f7 improve hidden spacers size
--icon margin is not set by the user,
this is why the hidden spacers must update
their size according to the user choice,
do not create to much empty space at the
edges
8 years ago
Michail Vourlakos ea853ae62f fix #259,user can set distance between applets 8 years ago
Michail Vourlakos a4f50468d1 support scrolling for Debug Window 8 years ago
Michail Vourlakos f0a3e595a0 update panel alignment correctly
--when the dock was changing between form
factors the edge alignments must be tranlated
correctly. e.g. left and right must
become top and bottom accordingly
8 years ago
Michail Vourlakos e226eef4ec restore modes for !compositing
--support hiding modes when !compositing,
improve apperance/calculations a bit
for !compositing
8 years ago
Michail Vourlakos 15d663b4a4 give more attention to !compositing
--improved all the visual and calculations
for !compositing. During the road also some
fixes introduced for the masking calculations
as the PanelBox exposes more of its settings
publicle to root and that way to
VisibilityManager
8 years ago
Michail Vourlakos 9fc3f47b73 restore tooltips behavior for spesific cases
--locked applets, those that can be hovered,
and when zoomFactor==1
8 years ago
Michail Vourlakos c61c14e9be improve panel painting for disabled compositing 8 years ago
Johan Smith Agudelo Rodriguez 095dc50f1e fix restore connfig for raiseOnDesktop/ActivityChange 8 years ago
Michail Vourlakos 21eb071851 protect raise/hide animations from double calling 8 years ago
Michail Vourlakos b95a8ff307 consistent hovering for applets and tasks
--relevant to #250,creates consistency for
hovering tasks and applets. The only concerns
is around the springanimation introduced in
plasma 5.10 but this will be checked later
how it can be supported properly
8 years ago
Johan Smith Agudelo Rodriguez fb16fee66b fix #246, Incorrect/inconsistent behaviour when switching virtual desktops 8 years ago
Michail Vourlakos 2f0c565c1a fix #250,workaround hovering issue for applets
--algorithm that is searching for an IconItem
inside at the applet's code for 2 levels depth.
If it is found the this IconItem is used to
be activated and deactivated on entering and
exiting the applet.
8 years ago
Michail Vourlakos 25465e7c9e fix #248,option to shring thick margins to minimum 8 years ago
Michail Vourlakos 79010a6297 decouple thickness margins from iconMargin 8 years ago
Michail Vourlakos c29cc37cda improve alternative layout appearance
--use a purpleprint fot the editing mode
in order to distinguish it from the default
session
8 years ago
Michail Vourlakos 3c62884d92 fix #204,improve Latte clicking signaling
--fix the plasmatube behavior. The clicking
animation from Latte was preventing clicking
signals to be caught exactly as the plasma frameworks
were expecting them.
8 years ago
Michail Vourlakos 64711828cf prevent proportion icon size under 16px. 8 years ago
Michail Vourlakos 32f2ebc8e0 improve proportion icon size with automatic icon
--when dock is changing screens and dock is using
an automatic calculated icon size based on contents
the automatic icon size must be recalculated for the
new proportion icon size
8 years ago
Michail Vourlakos 909538369f fix #217,adaptive applet size based on screen
--the user instead of setting the size in pixels,
can set a per centage value which is calculated
based on the current screen height
8 years ago
Michail Vourlakos 70e3c2bb7a expose dockview local geometry to qml 8 years ago
Michail Vourlakos 0e5cf91a81 add proportion icon size
--this icon size is calculated based on the
screen's height
8 years ago
Michail Vourlakos b8ce37d4c3 fix #198,recreate windows when it is needed
--in order for a dock to be above KeepAbove
windows must contain flag BypassWindowManagerHint.
Unfortunately this flag breaks the experience with
AlwaysVisible state especially the struts and
snapping behavior. This patch recreates a
dockView when a mode is changed and an
update for the flags is needed.
--at the same time move the localGeometry to
dockView in order to trigger properly the
updateAbsGeometry when it is needed, on
window's geometry changes not only when there
is local geometry change
--when a dock is created through corona, the
addDock function reads the mode which is going
to be used and specifys this way the flags that
have to be set during docks creation
8 years ago
Michail Vourlakos 0360059d85 fix #226,add applets correctly in Fill mode 8 years ago
Michail Vourlakos de7a4cc922 updates for new percentage of panel background 8 years ago
Michail Vourlakos ead7892551 fix #194,the user can enable a solid background
--this is especial useful for plasma themes with big
transparency. Latte can not support blur and background
contrast kwin effects for panel backgrounds that are drawn
inside its qml side.
8 years ago
Michail Vourlakos 70c83d8b83 support blur/background contrast effects
--support these effects for docks that draw
their shadows externally with the window
server
8 years ago
Michail Vourlakos 5fc9f228b2 fix #191,use percentage to calculate panel size 8 years ago
Michail Vourlakos 55329356b4 fix dock geometry calculations
--the local dock geometry can not be bigger from
the window in which it refers. Also the local dock
geometry is calculated independently of mask
8 years ago
Michail Vourlakos 0b2bebfbd8 protect dock removal in some cases
--forbid removal of the last running dock with
tasks in it
--forbid removal of the last tasks plasmoid from
running docks
8 years ago
Michail Vourlakos 19a6053588 update shadow size propery
--this fixes also very edge situations
at new overlapping calculations
8 years ago
Michail Vourlakos b88170caaa support always on primary case
-- :) fantastic behavior from Latte...
8 years ago
Michail Vourlakos f46848e039 add screen information into debug window 8 years ago
Johan Smith Agudelo Rodriguez 1ba8a62e07 remove property debugFlags of DockView 8 years ago
Johan Smith Agudelo Rodriguez ef7caa72e2 #199, QQuickWindowSystem replacement of WindowSystem 8 years ago
Michail Vourlakos 8be298b9d6 fix applets centering with new rendering 8 years ago
Michail Vourlakos 53aec53093 fix #195, new direct rendering mechanism
--this a big fix for the painting mechanism.
Introduces a new direct rendering phase in
which no delays are happening on drawing.
This commit contains also the fixes in various
places in order for the new rendering to work
correctly
8 years ago
Michail Vourlakos 5aca9b340d fix #187,counter for actions blockHiding 8 years ago
Michail Vourlakos dd525c4d80 fix #185,changes for previews broke hover behavior 8 years ago
Michail Vourlakos 4c0a97348c disable debug messages, fix masking positioning 8 years ago
Michail Vourlakos 3745fbadf9 paint areas outside the maskArea 8 years ago
Michail Vourlakos 560accc9fe fix #177,protect containment clearZoom in previews 8 years ago
Michail Vourlakos 01b86128cb add BlockHiding flag in Debug Window 8 years ago
Michail Vourlakos dc1325f857 fix #174,account screen size for the debug window 8 years ago
Johan Smith Agudelo Rodriguez 1677e2a041 Improving readability of CMakeLists 8 years ago
Michail Vourlakos d3e7c04a24 add localGeometry and editMode in debug window 8 years ago
Michail Vourlakos f1e5814a2b improvements for debug window
--add new debug variable containsMouse,
show the values for <unknow> variable
cases
8 years ago
Michail Vourlakos f22a203d12 fix dock geometry update from VisibilityManager 8 years ago
Michail Vourlakos 5918a0eb43 remove deprecated code
--remove qml code showing dock on activity change
8 years ago
Michail Vourlakos e2d0f1c52a update local geometry only when it has changed 8 years ago
Michail Vourlakos 37ded88381 fixes for panel background metrics 8 years ago
Michail Vourlakos 821c15fa0c repair semantics 8 years ago
Johan Smith Agudelo Rodriguez 5b1d5b79bd fix #136, clean autoHidden 8 years ago
Michail Vourlakos f8e1a21391 delay zoom animation a bit to make it smoother 8 years ago
Michail Vourlakos 169b2b0345 update semantics
--dropped more old nowDock variables
--fixed brokken drag visual
8 years ago
Michail Vourlakos 1eea718254 remove debug message 8 years ago
Michail Vourlakos e840ec8f59 fix #127,saving layouts in justify normal state 8 years ago
Michail Vourlakos 3f0cf2ba1a clean up the code 8 years ago
Michail Vourlakos 15a56ff70e fixes in panel calculations and struts 8 years ago
Michail Vourlakos c095be6aa4 improve panel background calculations 8 years ago
Michail Vourlakos 7806e6bb1f fix #128, reimplement the panel draw
--this contains also a fix for updating the
struts
8 years ago
Michail Vourlakos 6dd4aa9982 fix, publish correct borders
--this fix publish the correct panel borders
that should be drawn according to alignment
and location. Improves also PanelBox heurestics
and should be also any shadows issues
8 years ago
Michail Vourlakos 6d0f8fe0f1 fix thickness positioning for layoutsContainer 8 years ago
Michail Vourlakos d64641505e fix sliding out with new orchestration 8 years ago
Michail Vourlakos 7dae6e6c3d fix #103,fixes in calculations and orchestration 8 years ago
Michail Vourlakos fb6baeeb71 update dock geometry in editing mode 8 years ago
Michail Vourlakos 412fe601c6 fix #125,fix calculations for dock geometry
--this should fix the struts issues with
Always Visible state
8 years ago
Michail Vourlakos d3f39bccb5 fix #119 ,improve animations heuristics
--this should fix also the case that only
applets are animating and need more length
from the mask
8 years ago
Michail Vourlakos 388b4ae281 add information for animations in Debug Window 8 years ago
Michail Vourlakos e81ab09601 external shadows fix 8 years ago
Michail Vourlakos cb1c04c896 do not reduce panel size on automatic icon size 8 years ago
Michail Vourlakos 45d00a2cea trigger externals shadows when panelsize>=iconsize 8 years ago
Michail Vourlakos 09629b774b support drawing panel shadows outside dock window
--this is set by default only in case of Always Visible,
zoom factor 1.0, Justify alignment and maximum panel
thickness
8 years ago
Michail Vourlakos eee73d1dd9 add isHidden flag in DebugWindow 8 years ago
Michail Vourlakos 41e79cf188 support debug flags from the runtime
--the user is able to set some additional
debug flags in --debug state by just executing
the application.

supported flags:
--with-window: provides a separate window
to show metrics from each separate dock
--graphics: visual indicator for the various
elements
--mask: additional debug messages concerning
mask calculations
8 years ago
Michail Vourlakos c3b72f6d80 more improvements in shadows and mask calculations 8 years ago
Michail Vourlakos 97441cfcea improve semantics for shadows 8 years ago
Michail Vourlakos b0679dc7ba fix restoring splitters on startup 8 years ago
Michail Vourlakos ffe3391d21 fix #92,improve more three layouts for Fill 8 years ago
Michail Vourlakos 2152729ac0 support three different layouts in Fill mode 8 years ago
Michail Vourlakos c8c14cbe80 more improvements for calculations
--various improvements for calculations for panel size,
shadows calculations, configuration window showing
metrics
8 years ago
Michail Vourlakos 0186c21a4e improve calculations for panel back and mask 8 years ago
Michail Vourlakos 6c8f7d3a37 update panel size based on automatic icon size 8 years ago
Michail Vourlakos ddecf63b0c fix issues with new maxLength 8 years ago
Michail Vourlakos ca97e6d486 disable more debug messages 8 years ago
Michail Vourlakos fa42c71a6a support maxLength through config win and container 8 years ago
Michail Vourlakos f398cf26c3 improve dock geometry 8 years ago
Michail Vourlakos fb0415905c improve calculating dock geometry 8 years ago
Michail Vourlakos 72baaa8809 fix #93,masking updated correctly on config win
--this can be tested by opening the configuration window
through the tasks. Even though a task is zoomed when
triggering the configuration window the animations
do not break afterwards
8 years ago
Michail Vourlakos 03eb69a618 simplify appletItems discovery for right click
--the containment becomes independent from dockView.
The appletItems which are needed in order to show
the context menu correctly are discovered from dockView
without any need of functionality from containment
8 years ago
Michail Vourlakos e770cabb4a remove shadow from AlwaysVisible struts 8 years ago
Michail Vourlakos e34e49273c improve publish tasks geometries
--this improves the way tasks geometries are
published for the windows. This improves the
experience for the minimize kwin effects. With the
old code there were many cases that the animation
was broken
8 years ago
Michail Vourlakos fe0414407c fix #74,hide settings button from plasmoid tooltip 8 years ago
Michail Vourlakos 2c0e536cf9 remove old applets config from active containments 8 years ago
Michail Vourlakos 2d2c7875e7 fix some qml warnings on dock removal 8 years ago
Michail Vourlakos 6aa17ad9ed fix #51, protect animations signaling
--when a task is removed too fast then some
animations were not informed that had ended.
So there was an addition animation signal but
no removal animation signal. This fix protects
this in two different cases
--the normal state also from now own uses only
the animations states and no the hovered task
indicator. This simplifies things a lot and probably
creates also a much robust experience.
8 years ago
Michail Vourlakos 2e34380bb3 only thickness animations are handled as normal 8 years ago
Michail Vourlakos e5630b5c18 add more debug messages for visibilitymanager 8 years ago
Michail Vourlakos c290aacc97 on zoom factor change reposition blue board 8 years ago
Michail Vourlakos 0d45ca3393 fix #66, many automatic size issues
--fix #51, a bug that by dropping a new applet
the normal state was blocked and couldnt return normal,
that could create an issue with masking
8 years ago
Michail Vourlakos 9a0b17fbc0 when dock content exceed maxLength update autosize 8 years ago