Commit Graph

179 Commits (2b63ff710b88073833f83c0920984b0350089e7d)

Author SHA1 Message Date
Michail Vourlakos 2385e593d2 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 18f57f51fd 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 0bef60838a disable flag ByPassWindowManagerHint 8 years ago
Michail Vourlakos 5f5cfbad35 fix #208,crash on exit through quit button 8 years ago
Michail Vourlakos 17d2626443 fix whitespaces 8 years ago
Johan Smith Agudelo Rodriguez d2b5487abd fix #198, flag ByPassWindowManagerHint 8 years ago
Michail Vourlakos c72e62a5d0 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 b88170caaa support always on primary case
-- :) fantastic behavior from Latte...
8 years ago
Michail Vourlakos 14b72f49e6 restore add/remove dock buttons
--also use a single timer for screen sync
for dockview
8 years ago
Michail Vourlakos f46848e039 add screen information into debug window 8 years ago
Michail Vourlakos 9259a28cde improvements to add/remove docks on screen demand 8 years ago
Michail Vourlakos 8a7bb2942c 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 c468353407 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
Johan Smith Agudelo Rodriguez 1ba8a62e07 remove property debugFlags of DockView 8 years ago
Johan Smith Agudelo Rodriguez fbf5808667 update commandline options 8 years ago
Johan Smith Agudelo Rodriguez 75d4b71216 #199, AbstractWindowInterface is now a shared resource 8 years ago
Michail Vourlakos 0a50e76bf6 disable debug messages 8 years ago
Michail Vourlakos a38dd1d91e disable debug message 8 years ago
Michail Vourlakos 4c0a97348c disable debug messages, fix masking positioning 8 years ago
Michail Vourlakos b7c42a5365 mouse events debug messages 8 years ago
Michail Vourlakos 81b36dc91e 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 827bde86d4 fix #116, remove QueuedConnection 8 years ago
Michail Vourlakos 4579fcff46 protect crashes from containment() in dockview 8 years ago
Michail Vourlakos 3ab252339c fix #116,add protections in multi-screen 8 years ago
Johan Smith Agudelo Rodriguez 988ffdae35 fix position when external shadows is enable 8 years ago
Johan Smith Agudelo Rodriguez 0592ba3aaf avoid overlaping 8 years ago
Johan Smith Agudelo Rodriguez 8c820073f0 fix narrow casts 8 years ago
Michail Vourlakos b717a714f5 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 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 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 f9a2226457 prevent dockview crashes because screen in not set 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 84de2ad1e4 remove maxLength from dockview 8 years ago
Michail Vourlakos 9c3e8f891c fix occusional crash from right click triggering 8 years ago
Michail Vourlakos ca97e6d486 disable more debug messages 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 5a390e95b3 fix #96, fix right click for systray 8 years ago
Michail Vourlakos 254ad13536 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 585cb154b7 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 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 fd40ef7f4d 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 2d2c7875e7 fix some qml warnings on dock removal 8 years ago
Johan Smith Agudelo Rodriguez 72bd7a0af8 fix #85, removing Dock crashes Latte 8 years ago
Johan Smith Agudelo Rodriguez 05163c2911 code cleaned 8 years ago
Michail Vourlakos af74c952ef 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
Johan Smith Agudelo Rodriguez 6da8142351 disconnect all the signals in the destruction 8 years ago
Johan Smith Agudelo Rodriguez c42250d9bb avoid white spaces with astyle 8 years ago
Johan Smith Agudelo Rodriguez 2307efd4c4 clean up code #79 8 years ago
Michail Vourlakos 0f658a1e54 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 d641ec0b33 fix #54,dock is shown when applet needs attention 8 years ago
Johan Smith Agudelo Rodriguez 4ea00588e9 timer unnecessary 8 years ago
Michail Vourlakos 25f901cdee 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 a74fe28c18 consider shadow size for currentThickness
--this solves an issue concerning configuration window
placement when changing locations
8 years ago
Johan Smith Agudelo Rodriguez f844f91ac2 unnecessary sync 8 years ago
Johan Smith Agudelo Rodriguez 5d59cfb01c better debug info 8 years ago
Johan Smith Agudelo Rodriguez dd7009e96e reduced number of calls to syncGeometry 8 years ago
Johan Smith Agudelo Rodriguez 2cb031ee50 improve auto sync geometry, and cleaning code unused 8 years ago
Michail Vourlakos c831f3f8c6 fix #25, set dock's geometry correctly 8 years ago
Michail Vourlakos dd091b6569 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 1ffa4e9ab4 fix correct placement of config window in startup 8 years ago
Michail Vourlakos fba9d62ee2 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 8fa6225cdb 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 a857b18271 remove no needed functionality from dockview 8 years ago
Michail Vourlakos 9ea5959cb6 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 377a3d4420 remove visibilitymanager on dockview destruction 8 years ago
Michail Vourlakos cb0ed85dc2 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 ba4837d47b restore compatibility with KF 5.26 8 years ago
Michail Vourlakos daa6e1b7bc add a separator for latte config entry 8 years ago
Michail Vourlakos f4201a8a71 improve menu behavior and appearance 8 years ago
Michail Vourlakos 83e0a7564a fix #6
--override default contextmenu behavior
--clean up old code
8 years ago
Michail Vourlakos 9259ee3bc3 remove no needed containment actions 8 years ago
Johan Smith Agudelo Rodriguez 47c715f6a7 dons't build, pluginmetadata is deprecated 8 years ago
Michail Vourlakos 9878ee65d1 fix some hiding issues on userConfiguring state 8 years ago
Johan Smith Agudelo Rodriguez fe146aaa90 Missing file licences #34 8 years ago
Michail Vourlakos f90c4deff2 hide Tasks config if plasmoid not present 8 years ago
Michail Vourlakos 4152535e51 expose dock settings into tasks plasmoid 8 years ago
Johan Smith Agudelo Rodriguez f49ab516a4 project has been cleaned 8 years ago
Johan Smith Agudelo Rodriguez 84eacf3cbf code formatted 8 years ago
Johan Smith Agudelo Rodriguez 7fc5aa55f6 files and class renamed 8 years ago