Commit Graph

1202 Commits (719c852c8c93df2c8e17a75ee3b1f96d79e1fd96)

Author SHA1 Message Date
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
Michail Vourlakos ec03baf6a1 fix #53
--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 #25 had broken
the behavior
8 years ago
Michail Vourlakos a74fe28c18 consider shadow size for currentThickness
--this solves an issue concerning configuration window
placement when changing locations
8 years ago
Johan Smith Agudelo Rodriguez 165f0bbdaf don't unlock blockHiding property when user is configuring 8 years ago
Michail Vourlakos f0f4abb1b3 fix blue board positioning on location change
--clean up also a bit the EditModeVisual concerning
the  plasmoid.location
8 years ago
Michail Vourlakos 7a62226707 fix #49, reparent dndSpacer onDrop signal 8 years ago
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
8 years ago
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
8 years ago
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
8 years ago
Michail Vourlakos e44a1a3a48 remove startup timers from containment 8 years ago
Michail Vourlakos 41d7ee6151 ui,do not allow hiding when containsMouse
--or blockHiding as second step protection
8 years ago
Michail Vourlakos 20455dc547 fix #31,theme shadows used in normal state masking 8 years ago
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
8 years ago
Michail Vourlakos 83e0a7564a fix #6
--override default contextmenu behavior
--clean up old code
8 years ago
Michail Vourlakos 33d5eab539 replace Double with Justify 8 years ago
Michail Vourlakos a758c5875f reduce code in AppletItem
--check more general if a plasmoid is one of the two
edges, start or end
8 years ago
Johan Smith Agudelo Rodriguez e9436d568c Dock shouldnt hide on userConfiguring state #32 8 years ago
Michail Vourlakos 63739ac77b support sticker for configuration window 8 years ago
Michail Vourlakos b4b90eac73 fix #30, fix hidden spacers behavior 8 years ago
Michail Vourlakos 95169441df disable dragging from plasmoid, fix #35 8 years ago
Michail Vourlakos 9878ee65d1 fix some hiding issues on userConfiguring state 8 years ago
Michail Vourlakos d0f4c80ab2 enable block hiding in some cases
--more specific on user configuring and
on dragging a task
8 years ago
Johan Smith Agudelo Rodriguez fe146aaa90 Missing file licences #34 8 years ago
Michail Vourlakos 8e4cd1ce88 add filters for plasmoid into configuration 8 years ago
Michail Vourlakos e54cbb7213 expose interaction values from plasmoid 8 years ago
Michail Vourlakos 3723a2fd08 support durationTime through the configuration 8 years ago
Michail Vourlakos bf4047d6f8 expose plasmoid configuration through dock config 8 years ago
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
8 years ago
Michail Vourlakos 4152535e51 expose dock settings into tasks plasmoid 8 years ago
Michail Vourlakos 935fb8c10d fix #22, expose timers through settings 8 years ago
Michail Vourlakos cd66ede669 hide default toolBox 8 years ago
Michail Vourlakos 285090d961 hide some debug messages 8 years ago
Michail Vourlakos 7cd1ae4ba7 improve mechanism for animations counting 8 years ago
Michail Vourlakos 39b8dfdd3e fix #28, fix hidden mask for Dodge modes 8 years ago
Michail Vourlakos 4a9a465650 add animation and shadow for edit mode visual 8 years ago
Michail Vourlakos 9c7eace973 fix #15, using only userConfiguring state
--in !immutable state all the zoom animations
are working just fine, only in userConfiguring
state the editmode is enabled
8 years ago
Michail Vourlakos deaeec59f2 drop obsolete code from old nowdock containment 8 years ago
Michail Vourlakos 4120229876 dropped plasmoid.configuration.panelVisibility
--in favor of dock.visibility.mode
8 years ago
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
8 years ago
Michail Vourlakos 4bc7a45474 restore previous functionality for QEvent:Leave 8 years ago
Michail Vourlakos 7af3b6e620 support DodgeActive
--add localDockGeometry to be used for the
intersect situation
8 years ago
Michail Vourlakos dfbfbd13c9 fix, some tasks didnt return to scale:1 after zoom 8 years ago
Michail Vourlakos f204cb3666 fix some blocking animation behavior from applets 8 years ago
Michail Vourlakos df08a92d0e support new visibilitymanager in ui
-- small fixes in visibilitymanager and removed
some whitespaces also
8 years ago
Michail Vourlakos df2e3a1529 added edit mode blueprint visual 8 years ago
Michail Vourlakos ba68acd129 improve configuration visual
--disabled also the visual debug mode
8 years ago
Michail Vourlakos 6dbaccd065 support change edge from configuration window 8 years ago
Michail Vourlakos cdfe0c02d9 fix #10, alignments are updated correctly 8 years ago
Michail Vourlakos 973c6c2536 restore Double Layout functionality 8 years ago
Michail Vourlakos 57db757ce2 fix #11, and some old glitches during dragging 8 years ago
Michail Vourlakos 270a007587 disable zoom on userconfiguring 8 years ago
Michail Vourlakos 2a9ee6d2d9 renamed nowdock plasmoid to latte one 8 years ago
Michail Vourlakos 0206484c01 change default to DodgeActive 8 years ago
Michail Vourlakos 62de24f183 cleanup dropped functionality 8 years ago
Michail Vourlakos d8086aec62 revert back to old way of exposing dockview to ui
-- fixes the engine() issue
8 years ago
Michail Vourlakos de36dc6644 small fixes in the ui 8 years ago
Michail Vourlakos 9ddb39a4d7 update ui to dock value 8 years ago
Michail Vourlakos 7a4e3dc724 drop the dock part from plugin uri
--instead of org.kde.latte.dock, we now
ise org.kde.latte
8 years ago
Michail Vourlakos 87cee32626 update configuration window for visibility states 8 years ago
Michail Vourlakos 9cb70e8320 update ui in new visibility states 8 years ago
Michail Vourlakos 433da2aed7 update shell to latte shell
--updated also the translations mechanism
for shell
8 years ago
Michail Vourlakos 3a08db5eb0 update to latte containment 8 years ago
Michail Vourlakos 79bbf20a62 update libnowdockplugin to liblattedockplugin 8 years ago
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
8 years ago