Commit Graph

51 Commits (4b0e558da5e4ceb1fb05c319deb5dc7ce1818bed)

Author SHA1 Message Date
Michail Vourlakos 7644f9fabe improve panel painting for disabled compositing 8 years ago
Michail Vourlakos 9fc1bfd2d2 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 3eeb1fe794 fix #152,add On The Road session
--the user is able to change into another
session/profile called "On The Road" for
which can set up its docks and applets
differently according to its needs. For
example hide its name, status, place
living etc.
8 years ago
Michail Vourlakos 403eeb0c4d expose dockview local geometry to qml 8 years ago
Michail Vourlakos e19b20dc22 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 86d0f3dae6 fix #126, improve behavior for auto positioning
--support also an edge case where a top and left dock
overlap each other but there is also a free space in them.
This case hasnt been taken into account into the previous
implementation
8 years ago
Michail Vourlakos 93715727d0 support blur/background contrast effects
--support these effects for docks that draw
their shadows externally with the window
server
8 years ago
Michail Vourlakos 7a58b80820 compute availableScreenRect only once
--this commit reduces into half the calculations
needed from the vertical docks in order to position
themselves based on horizontal docks. More specific
it makes the QRegion calculations only once for
each dock instead of two times
8 years ago
Michail Vourlakos 2de56fc76c 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 b260939470 support overlap dock cases by using free space
--this commit uses free region from corona instead
of free rectangle in order to calculate size and
positioning for the docks. This way is possible to
be positioned more intelligently.
8 years ago
Michail Vourlakos f4ac1436f4 dock containing tasks is protected in multi-screen
--the last dock containing tasks can not be removed
automatic by Latte based on screens heuristics
--on startup Latte checks if a dock containing tasks
will be loaded based on screens associated. If it
doesnt it loads the first dock containing tasks and
puts it on primary screen and setting also its flag
to onPrimary
--on the configuration window when a dock changes from
explicit to primary screen by latte automation the
record of the previous screen is shown correctly
8 years ago
Michail Vourlakos 1140108963 block screen change when edge is occupied
--unfortunately this contains also white spaces
fixes. Sorry for this but by implementing multi-screen
the laptop wasnt correctly configured for
astyle and whitespaces
8 years ago
Michail Vourlakos dc14c8e2d2 fix #12,multi-screen support
--this commit is just a small clean up that
acts as a reference for all the previous
10-12 commits that provide the new anticipated
multi-screen support. With multi-screen support
the user can set for its docks either to be always
on the primary screen or an explicit one... The
docks are loaded and removed automatically on
screen changes
8 years ago
Michail Vourlakos 2da927e0b2 support always on primary case
-- :) fantastic behavior from Latte...
8 years ago
Michail Vourlakos 455f794be7 restore add/remove dock buttons
--also use a single timer for screen sync
for dockview
8 years ago
Michail Vourlakos 587c476e67 add screen information into debug window 8 years ago
Michail Vourlakos 74bc9bac85 improvements to add/remove docks on screen demand 8 years ago
Michail Vourlakos ea6149bc08 add basic multi screen support
--the user can change the dock's screen
from the configuration window... Optimizations
must be made of course in the future...
8 years ago
audoban fcabf6ffcd remove property debugFlags of DockView 8 years ago
audoban e9221f8719 avoid overlaping 8 years ago
audoban 67e2440aa3 fix narrow casts 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
audoban 1184bf4422 initWindow() has not been defined 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 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 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 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
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 a2ce61c888 reduced number of calls to syncGeometry 8 years ago
audoban 118a046d3b reorder members 8 years ago
Michail Vourlakos a46e0a19c5 fix #25, set dock's geometry correctly 8 years ago
Michail Vourlakos 36ba1e7e86 remove no needed functionality from dockview 8 years ago
Michail Vourlakos 18b8b5ca30 remove unneeded code 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 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 06b8461c05 fix #6
--override default contextmenu behavior
--clean up old code
8 years ago
audoban ad2758cfeb Missing file licences #34 8 years ago
Michail Vourlakos ebad51d780 hide Tasks config if plasmoid not present 8 years ago
Michail Vourlakos c5bb3fa230 expose dock settings into tasks plasmoid 8 years ago
audoban 47f1362c1b project has been cleaned 8 years ago