Commit Graph

661 Commits (59f66233f2a1a88709ba353fa10aaa2de69ddd18)

Author SHA1 Message Date
Michail Vourlakos c29cc37cda improve alternative layout appearance
--use a purpleprint fot the editing mode
in order to distinguish it from the default
session
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.
Michail Vourlakos 64711828cf prevent proportion icon size under 16px.
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
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
Michail Vourlakos 70e3c2bb7a expose dockview local geometry to qml
Michail Vourlakos 0e5cf91a81 add proportion icon size
--this icon size is calculated based on the
screen's height
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
Michail Vourlakos 0360059d85 fix #226,add applets correctly in Fill mode
Michail Vourlakos de7a4cc922 updates for new percentage of panel background
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.
Michail Vourlakos 70c83d8b83 support blur/background contrast effects
--support these effects for docks that draw
their shadows externally with the window
server
Michail Vourlakos 5fc9f228b2 fix #191,use percentage to calculate panel size
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
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
Michail Vourlakos 19a6053588 update shadow size propery
--this fixes also very edge situations
at new overlapping calculations
Michail Vourlakos b88170caaa support always on primary case
-- :) fantastic behavior from Latte...
Michail Vourlakos f46848e039 add screen information into debug window
Johan Smith Agudelo Rodriguez 1ba8a62e07 remove property debugFlags of DockView
Johan Smith Agudelo Rodriguez ef7caa72e2 , QQuickWindowSystem replacement of WindowSystem
Michail Vourlakos 8be298b9d6 fix applets centering with new rendering
Michail Vourlakos 53aec53093 fix , 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
Michail Vourlakos 5aca9b340d fix #187,counter for actions blockHiding
Michail Vourlakos dd525c4d80 fix #185,changes for previews broke hover behavior
Michail Vourlakos 4c0a97348c disable debug messages, fix masking positioning
Michail Vourlakos 3745fbadf9 paint areas outside the maskArea
Michail Vourlakos 560accc9fe fix #177,protect containment clearZoom in previews
Michail Vourlakos 01b86128cb add BlockHiding flag in Debug Window
Michail Vourlakos dc1325f857 fix #174,account screen size for the debug window
Johan Smith Agudelo Rodriguez 1677e2a041 Improving readability of CMakeLists
Michail Vourlakos d3e7c04a24 add localGeometry and editMode in debug window
Michail Vourlakos f1e5814a2b improvements for debug window
--add new debug variable containsMouse,
show the values for <unknow> variable
cases
Michail Vourlakos f22a203d12 fix dock geometry update from VisibilityManager
Michail Vourlakos 5918a0eb43 remove deprecated code
--remove qml code showing dock on activity change
Michail Vourlakos e2d0f1c52a update local geometry only when it has changed
Michail Vourlakos 37ded88381 fixes for panel background metrics
Michail Vourlakos 821c15fa0c repair semantics
Johan Smith Agudelo Rodriguez 5b1d5b79bd fix , clean autoHidden
Michail Vourlakos f8e1a21391 delay zoom animation a bit to make it smoother
Michail Vourlakos 169b2b0345 update semantics
--dropped more old nowDock variables
--fixed brokken drag visual
Michail Vourlakos 1eea718254 remove debug message
Michail Vourlakos e840ec8f59 fix #127,saving layouts in justify normal state
Michail Vourlakos 3f0cf2ba1a clean up the code
Michail Vourlakos 15a56ff70e fixes in panel calculations and struts
Michail Vourlakos c095be6aa4 improve panel background calculations
Michail Vourlakos 7806e6bb1f fix , reimplement the panel draw
--this contains also a fix for updating the
struts
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
Michail Vourlakos 6d0f8fe0f1 fix thickness positioning for layoutsContainer
Michail Vourlakos d64641505e fix sliding out with new orchestration
Michail Vourlakos 7dae6e6c3d fix #103,fixes in calculations and orchestration
Michail Vourlakos fb6baeeb71 update dock geometry in editing mode
Michail Vourlakos 412fe601c6 fix #125,fix calculations for dock geometry
--this should fix the struts issues with
Always Visible state
Michail Vourlakos d3f39bccb5 fix ,improve animations heuristics
--this should fix also the case that only
applets are animating and need more length
from the mask
Michail Vourlakos 388b4ae281 add information for animations in Debug Window
Michail Vourlakos e81ab09601 external shadows fix
Michail Vourlakos cb1c04c896 do not reduce panel size on automatic icon size
Michail Vourlakos 45d00a2cea trigger externals shadows when panelsize>=iconsize
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
Michail Vourlakos eee73d1dd9 add isHidden flag in DebugWindow
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
Michail Vourlakos c3b72f6d80 more improvements in shadows and mask calculations
Michail Vourlakos 97441cfcea improve semantics for shadows
Michail Vourlakos b0679dc7ba fix restoring splitters on startup
Michail Vourlakos ffe3391d21 fix #92,improve more three layouts for Fill
Michail Vourlakos 2152729ac0 support three different layouts in Fill mode
Michail Vourlakos c8c14cbe80 more improvements for calculations
--various improvements for calculations for panel size,
shadows calculations, configuration window showing
metrics
Michail Vourlakos 0186c21a4e improve calculations for panel back and mask
Michail Vourlakos 6c8f7d3a37 update panel size based on automatic icon size
Michail Vourlakos ddecf63b0c fix issues with new maxLength
Michail Vourlakos ca97e6d486 disable more debug messages
Michail Vourlakos fa42c71a6a support maxLength through config win and container
Michail Vourlakos f398cf26c3 improve dock geometry
Michail Vourlakos fb0415905c improve calculating dock geometry
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
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
Michail Vourlakos e770cabb4a remove shadow from AlwaysVisible struts
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
Michail Vourlakos fe0414407c fix #74,hide settings button from plasmoid tooltip
Michail Vourlakos 2c0e536cf9 remove old applets config from active containments
Michail Vourlakos 2d2c7875e7 fix some qml warnings on dock removal
Michail Vourlakos 6aa17ad9ed fix , 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.
Michail Vourlakos 2e34380bb3 only thickness animations are handled as normal
Michail Vourlakos e5630b5c18 add more debug messages for visibilitymanager
Michail Vourlakos c290aacc97 on zoom factor change reposition blue board
Michail Vourlakos 0d45ca3393 fix , many automatic size issues
--fix , a bug that by dropping a new applet
the normal state was blocked and couldnt return normal,
that could create an issue with masking
Michail Vourlakos 9a0b17fbc0 when dock content exceed maxLength update autosize
Michail Vourlakos 58f2019997 support automatic icon size in editing mode
Michail Vourlakos f182bffdc2 fix blueboard placement in automatic icon size
Michail Vourlakos 29ae2899c9 fix , stop bouncing animation in hidden state
Michail Vourlakos 9b9363b734 consider also the slide out timer for masking
Michail Vourlakos bb65360f41 in isHidden state make mask thickness to lowest
Michail Vourlakos 20ded94e4c update mask when dropping a new applet
Michail Vourlakos 504be3e91e do not update dock geometry inHidden state
Michail Vourlakos 674daca50f disable debugging state,messages
Michail Vourlakos 66bbf22ba6 drop appletsAnimations in favour of needBothAxis
Michail Vourlakos cc1f42824c fix , 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
Michail Vourlakos 1597ba5841 update blue board position onIconSizeChanged
Michail Vourlakos abf84a1d1e restore previous behavior
--fixed local dock geometry updating in editing
mode. Now in runtime the struts are updating
correctly
Michail Vourlakos ec03baf6a1 fix
--update isHidden flag in the start except the end of
slide out animation
--fix also the right click behavior concerning the
AutoHide, latest commits concerning  had broken
the behavior
Michail Vourlakos a74fe28c18 consider shadow size for currentThickness
--this solves an issue concerning configuration window
placement when changing locations
Johan Smith Agudelo Rodriguez 165f0bbdaf don't unlock blockHiding property when user is configuring
Michail Vourlakos f0f4abb1b3 fix blue board positioning on location change
--clean up also a bit the EditModeVisual concerning
the  plasmoid.location
Michail Vourlakos 7a62226707 fix , reparent dndSpacer onDrop signal
Michail Vourlakos 4eb143714a fix a crash with right click
--when an applet was first added through
drag n' drop if afterwards a right click
event occured then a crash happened... This
fixes this and also properly removing the
AppletQuickItem from dockview. So this fixes
two crashes concerning the right click event
Michail Vourlakos 8ef2560688 clean plasmoid zoom in spesific cases
--fixes a small issue when hovering applets too
fast sometimes the tasks inside the plasmoid
didnt catch up to restore their zoom
Michail Vourlakos 14e1ca01ab basic support for no compositingActive
--this commit supports disabled compositing
but enabled for the dock a pseudo-AlwaysVisible
state in such case occurs. All hiding signals
are ignored
Michail Vourlakos e44a1a3a48 remove startup timers from containment
Michail Vourlakos 41d7ee6151 ui,do not allow hiding when containsMouse
--or blockHiding as second step protection
Michail Vourlakos 20455dc547 fix #31,theme shadows used in normal state masking
Michail Vourlakos 600884dded fix tasks dragging and menu showing in AutoHide
--restore the signaling that the ui needed from the
tasks plasmoid to not hide the dock during dragging
and contextmenu showing
Michail Vourlakos 83e0a7564a fix
--override default contextmenu behavior
--clean up old code
Michail Vourlakos 33d5eab539 replace Double with Justify
Michail Vourlakos a758c5875f reduce code in AppletItem
--check more general if a plasmoid is one of the two
edges, start or end
Johan Smith Agudelo Rodriguez e9436d568c Dock shouldnt hide on userConfiguring state
Michail Vourlakos 63739ac77b support sticker for configuration window
Michail Vourlakos b4b90eac73 fix , fix hidden spacers behavior
Michail Vourlakos 95169441df disable dragging from plasmoid, fix
Michail Vourlakos 9878ee65d1 fix some hiding issues on userConfiguring state
Michail Vourlakos d0f4c80ab2 enable block hiding in some cases
--more specific on user configuring and
on dragging a task
Johan Smith Agudelo Rodriguez fe146aaa90 Missing file licences
Michail Vourlakos 8e4cd1ce88 add filters for plasmoid into configuration
Michail Vourlakos e54cbb7213 expose interaction values from plasmoid
Michail Vourlakos 3723a2fd08 support durationTime through the configuration
Michail Vourlakos bf4047d6f8 expose plasmoid configuration through dock config
Michail Vourlakos db3f0c4f1c expose dock settings in plasmoid context menu
--block from the ui the hide signal when userConfiguring,
this is until the visibilitymanager is updated
Michail Vourlakos 4152535e51 expose dock settings into tasks plasmoid
Michail Vourlakos 935fb8c10d fix , expose timers through settings
Michail Vourlakos cd66ede669 hide default toolBox
Michail Vourlakos 285090d961 hide some debug messages
Michail Vourlakos 7cd1ae4ba7 improve mechanism for animations counting
Michail Vourlakos 39b8dfdd3e fix , fix hidden mask for Dodge modes
Michail Vourlakos 4a9a465650 add animation and shadow for edit mode visual
Michail Vourlakos 9c7eace973 fix , using only userConfiguring state
--in !immutable state all the zoom animations
are working just fine, only in userConfiguring
state the editmode is enabled
Michail Vourlakos deaeec59f2 drop obsolete code from old nowdock containment
Michail Vourlakos 4120229876 dropped plasmoid.configuration.panelVisibility
--in favor of dock.visibility.mode
Michail Vourlakos b3391e9e34 reduce maskArea calls and dockGeometry changes
--fix also an issue of changing normal state
continuously during various animations that
need only length space
Michail Vourlakos 4bc7a45474 restore previous functionality for QEvent:Leave
Michail Vourlakos 7af3b6e620 support DodgeActive
--add localDockGeometry to be used for the
intersect situation
Michail Vourlakos dfbfbd13c9 fix, some tasks didnt return to scale:1 after zoom
Michail Vourlakos f204cb3666 fix some blocking animation behavior from applets
Michail Vourlakos df08a92d0e support new visibilitymanager in ui
-- small fixes in visibilitymanager and removed
some whitespaces also
Michail Vourlakos df2e3a1529 added edit mode blueprint visual
Michail Vourlakos ba68acd129 improve configuration visual
--disabled also the visual debug mode
Michail Vourlakos 6dbaccd065 support change edge from configuration window
Michail Vourlakos cdfe0c02d9 fix , alignments are updated correctly
Michail Vourlakos 973c6c2536 restore Double Layout functionality
Michail Vourlakos 57db757ce2 fix , and some old glitches during dragging
Michail Vourlakos 270a007587 disable zoom on userconfiguring
Michail Vourlakos 2a9ee6d2d9 renamed nowdock plasmoid to latte one
Michail Vourlakos 0206484c01 change default to DodgeActive
Michail Vourlakos 62de24f183 cleanup dropped functionality
Michail Vourlakos d8086aec62 revert back to old way of exposing dockview to ui
-- fixes the engine() issue
Michail Vourlakos de36dc6644 small fixes in the ui
Michail Vourlakos 9ddb39a4d7 update ui to dock value
Michail Vourlakos 7a4e3dc724 drop the dock part from plugin uri
--instead of org.kde.latte.dock, we now
ise org.kde.latte
Michail Vourlakos 87cee32626 update configuration window for visibility states
Michail Vourlakos 9cb70e8320 update ui in new visibility states
Michail Vourlakos 433da2aed7 update shell to latte shell
--updated also the translations mechanism
for shell
Michail Vourlakos 3a08db5eb0 update to latte containment
Michail Vourlakos 79bbf20a62 update libnowdockplugin to liblattedockplugin
Michail Vourlakos f9ec1fa5b3 initial commit for Latte !!!
-initial commit based on the latest Now Dock
from the corona branch and beautiful techniques
and designs from the Candil Dock