Commit Graph

235 Commits (6e2b99b1f2b2ff87704fcda7eac260caa3ebd01d)

Author SHA1 Message Date
Michail Vourlakos 7c582de1f2 remove no return error 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 82b8e8fa72 fix #218,reenable garbage collect and trim cache
--the clear component cache was disabled because on
exit it creates crashes when 2 and more docks are
running
8 years ago
Michail Vourlakos ec173c2f6b fix #214, comment new multi-screen behavior
--refer to last 6-7 commits that contain this new
multi-screen behavior
--the new multi-screen behavior becomes more intelligent.
Latte trys to never let you without a dock containing
tasks plasmoid. It trys to do that intelligently not
depending on how many docks you have registered and if
they are set to explicit or primary ones
8 years ago
Michail Vourlakos 6376b964ed disable debug messages 8 years ago
Michail Vourlakos 56507fe77d set a timer for sync docks screens
--add debuging message
8 years ago
Michail Vourlakos 9ea9407eb1 fix right edge positioning
--do not load primary screen when the specific
edge is occupied in the primary screen
8 years ago
Michail Vourlakos 94504032c7 remove on primary docks on special cases
--primary docks are removed when their edge is
occupied in the new primary screen and their
current screen is destroyed. Also they are added
when the screen edge is available
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 b3ef5e307f fix typo for LeftEdge
--this was breaking the AlwaysVisible experience
for Left docks
8 years ago
Michail Vourlakos 6e36df193e stop timer on exit 8 years ago
Michail Vourlakos 56fa7ac937 change primary dock screen when relevant edge freed 8 years ago
Michail Vourlakos c88320566e do not allow a primary dock overlap an explicit 8 years ago
Michail Vourlakos f830dd32a9 semantic improvements 8 years ago
Michail Vourlakos eea03ab0c7 fix screen choosing from configuration window
--the check for the screen if it has the specific
edge free added some small bugs
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 82ace8ccec disable flag ByPassWindowManagerHint 8 years ago
Michail Vourlakos f6bfb7926f remove configuration window on hiding 8 years ago
Michail Vourlakos 1bac4f6899 fix #208,crash on exit through quit button 8 years ago
Michail Vourlakos 6842ab1692 fix whitespaces 8 years ago
audoban b66f12d32a fix #198, flag ByPassWindowManagerHint 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
audoban 66eeb5114c fix restore config 8 years ago
Michail Vourlakos 2da927e0b2 support always on primary case
-- :) fantastic behavior from Latte...
8 years ago
Michail Vourlakos 5f77ef3b41 drop dock primary screen behavior from plasma
--this cleans the plasma behavior for the
primary screen that was creating a mess.
The dock "on primary" state can now be implemented
through Latte without breaking things
8 years ago
Michail Vourlakos a2f2d3b8c7 fixes for plasma behavior and screens ids
--there are cases that screens instead of returning
correct screen names the return names like
"0:0". These are totally ignored in order to not
break the screen ids database
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 55f04b2515 update screens in config window in each show event 8 years ago
Michail Vourlakos 206faf579b fix config window positioning in multi-screens 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
Michail Vourlakos cea1cc7e9e fix #116, update screen in screengeometry changes
--when the screengeometry was called the dockview screen
hadnt changed to primaryscreen, that had as a
consequence the dock to go to the primary screen
but because that was out of the boundaries of
its own screen to return again to first place
8 years ago
Michail Vourlakos a6b8ecc4b8 add a screen pool for multi-screens 8 years ago
audoban d555eacb13 punctuation marks. 8 years ago
audoban fcabf6ffcd remove property debugFlags of DockView 8 years ago
audoban 69d91b60d5 unused function 8 years ago
audoban 351817aacf update commandline options 8 years ago
audoban 7728fdb495 fix memory leak 8 years ago
audoban a12ce7d3ab #199, AbstractWindowInterface is now a shared resource 8 years ago
Michail Vourlakos e0913f8f88 disable debug messages 8 years ago
Michail Vourlakos 063f1151eb disable debug message 8 years ago
Michail Vourlakos 5a9bf31d36 disable debug messages, fix masking positioning 8 years ago
Michail Vourlakos 5f4eefb302 mouse events debug messages 8 years ago
Michail Vourlakos 2ad515bbef Revert "block dock hiding when alternatives are shown"
This reverts commit ddd1a57875.
8 years ago
Michail Vourlakos ddd1a57875 block dock hiding when alternatives are shown 8 years ago
Michail Vourlakos b72176af35 remove no needed app/latte-dock.desktop 8 years ago
audoban 011de0d4b2 various fixes, and added metainfo to latte-dock.desktop.template 8 years ago
Michail Vourlakos a34adf5990 fix #171,use lock file instead of QSharedMemory
-- this way the lock is per user and crashing Latte
allows us to rerun it properly
8 years ago
Michail Vourlakos 0692521fd4 fix #172, disable hidpi scaling
--fix for hidpi screens based on plasma
official code
8 years ago