Commit Graph

83 Commits (9ea9407eb1220c762cd6c75131f22cd20b764513)

Author SHA1 Message Date
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 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 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 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
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
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
audoban fcabf6ffcd remove property debugFlags of DockView 8 years ago
audoban 351817aacf update commandline options 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 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