Commit Graph

59 Commits (af61ec8b36bce5237cbbbe81e86295c8839bf593)

Author SHA1 Message Date
Michail Vourlakos a6fee025c1 improve when dock can hide itself
--when an applet becomes activated then the dock
shouldnt hide itself until the applet to become
inactive
8 years ago
Michail Vourlakos a2210ba68a fix #116, remove QueuedConnection 8 years ago
Michail Vourlakos 4b40f3ab88 protect crashes from containment() in dockview 8 years ago
Michail Vourlakos e93fa6b2c6 fix #116,add protections in multi-screen 8 years ago
audoban ea2e6b6ff0 fix position when external shadows is enable 8 years ago
audoban e9221f8719 avoid overlaping 8 years ago
audoban 67e2440aa3 fix narrow casts 8 years ago
Michail Vourlakos 954638c7f7 fix #154,crash on screenGeometry change
--strange thing is that the code producing
this was very weird. From the user's backtrace
syntax: if(!screen())
and more specific at updateEnabledBorders() of
dockview was creating the crash.
replacing it with syntax:
if (!this->screen())
fixes the issue
8 years ago
Michail Vourlakos aafffb421f 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 c87acab814 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 7ada723a28 prevent dockview crashes because screen in not set 8 years ago
Michail Vourlakos da989d3d85 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 68e1eef27b remove maxLength from dockview 8 years ago
Michail Vourlakos 26d5d519de fix occusional crash from right click triggering 8 years ago
Michail Vourlakos d12cb8190f disable more debug messages 8 years ago
Michail Vourlakos f91f9f26ce 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 06ef3a0cb8 fix #96, fix right click for systray 8 years ago
Michail Vourlakos a4ad58a1e8 small fixes with new right click menu
--this fixes right click in zoom factor area
for latte plasmoid and right click in containment
areas that dont have an applet
8 years ago
Michail Vourlakos 43460b67bf improve systray and make it part latte experience
--improve right click behavior for systray and make it
behave according to latte experience
8 years ago
Michail Vourlakos a90c7012f1 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 56226b3dc5 update locations when dock changes location
--updates the available locations in the configuration
window when any dock updates its location
8 years ago
Michail Vourlakos 6a2dc9a797 fix some qml warnings on dock removal 8 years ago
audoban 5ab037a22a fix #85, removing Dock crashes Latte 8 years ago
audoban 280a6b4891 code cleaned 8 years ago
Michail Vourlakos 33249a917b fix two serious crashes from config window
--first is inside the freeEdges function call
on destruction
--the second is also in the app's destruction
because of the call to a destructed containment
through m_containment. This variable was deleted
8 years ago
audoban 39402be134 disconnect all the signals in the destruction 8 years ago
audoban 756f4fdbe3 avoid white spaces with astyle 8 years ago
audoban 9450a884c3 clean up code #79 8 years ago
Michail Vourlakos 3d135c280a fix #76, add waiting dock views
--add m_waitingDockViews which are waiting
for removal confirmation. Using destroyedChanged
signal from containments in order to support
the behavior
--improve freeEdges code based on
the docksCount implementation
8 years ago
Michail Vourlakos 8ac0aaa25f fix #54,dock is shown when applet needs attention 8 years ago
audoban 578da84a3c timer unnecessary 8 years ago
Michail Vourlakos ec35e5ea58 fix two crashes
-- one private slot was missing, right clicking
was creating a crash because of this sometimes
-- removing a second or third created dock was
causing a crash because visibilitymanager wasnt
removed in sync and correctly from the dockview
8 years ago
Michail Vourlakos 80df887507 consider shadow size for currentThickness
--this solves an issue concerning configuration window
placement when changing locations
8 years ago
audoban c03e1a8ca1 unnecessary sync 8 years ago
audoban 93f7777acd better debug info 8 years ago
audoban a2ce61c888 reduced number of calls to syncGeometry 8 years ago
audoban b144cd1f0b improve auto sync geometry, and cleaning code unused 8 years ago
Michail Vourlakos a46e0a19c5 fix #25, set dock's geometry correctly 8 years ago
Michail Vourlakos 23d0f7e8d9 restore layouts in main config window
--the latest fix for the configuration window placement
does not need to drop the clean implementation with
layouts
8 years ago
Michail Vourlakos 992c9db3cd fix correct placement of config window in startup 8 years ago
Michail Vourlakos 12f3edd2e1 fix #50, update config window location
--fix also some crashes concerning the existence
of multiple config windows from different docks.
8 years ago
Michail Vourlakos bcee3d1a9b fix #24, probably fixed
--opening configuration window all the time and
I havent found a case that this is not shown yet
8 years ago
Michail Vourlakos 36ba1e7e86 remove no needed functionality from dockview 8 years ago
Michail Vourlakos 2b5c43a541 fix #41, a crash when a dock was removed
--removing connections on xwindowinterface destructor
--removing connections on dockview destructor
--remove xwindowinterface that was created from
visibilitymanager in its destructor
8 years ago
Michail Vourlakos c46c722bad remove visibilitymanager on dockview destruction 8 years ago
Michail Vourlakos 8fdd94bc28 improve configuration window
--expose quit action
--hide remove action when only one dock exists
--udpate edges when a new dock is added
--connect the destroyed event of containment in order
to remove also the dockview
--remove correctly the dockviews in the application
exit
8 years ago
Michail Vourlakos 783654d07e restore compatibility with KF 5.26 8 years ago
Michail Vourlakos de90ff3392 add a separator for latte config entry 8 years ago
Michail Vourlakos 5f5a05a66e improve menu behavior and appearance 8 years ago
Michail Vourlakos 06b8461c05 fix #6
--override default contextmenu behavior
--clean up old code
8 years ago