Commit Graph

213 Commits (32eff5c167f31f3f65b47b83827000b7306c43f7)

Author SHA1 Message Date
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
Michail Vourlakos 58f2019997 support automatic icon size in editing mode 8 years ago
Michail Vourlakos f182bffdc2 fix blueboard placement in automatic icon size 8 years ago
Michail Vourlakos 29ae2899c9 fix #65, stop bouncing animation in hidden state 8 years ago
Michail Vourlakos 9b9363b734 consider also the slide out timer for masking 8 years ago
Michail Vourlakos bb65360f41 in isHidden state make mask thickness to lowest 8 years ago
Michail Vourlakos 20ded94e4c update mask when dropping a new applet 8 years ago
Michail Vourlakos 504be3e91e do not update dock geometry inHidden state 8 years ago
Michail Vourlakos 674daca50f disable debugging state,messages 8 years ago
Michail Vourlakos 66bbf22ba6 drop appletsAnimations in favour of needBothAxis 8 years ago
Michail Vourlakos cc1f42824c fix #51, drop automaticAnimationLength flag
--the infrastructure is in place in order to not
need the automaticAnimationLength flag. From this
commit masking based totally only on animations
flags and on hovering indexes
8 years ago
Michail Vourlakos 1597ba5841 update blue board position onIconSizeChanged 8 years ago
Michail Vourlakos abf84a1d1e restore previous behavior
--fixed local dock geometry updating in editing
mode. Now in runtime the struts are updating
correctly
8 years ago