Commit Graph

317 Commits (c204ad0ce8c9f0e3c15c3c0eb8d098478478dc13)

Author SHA1 Message Date
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
Michail Vourlakos 068cfa3fe8 fix #171,allow only one instance for Latte app 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
audoban 4c0054cc30 Improving readability of CMakeLists 8 years ago
audoban 2780a12520 fix #48, Support Alternatives from the Context Menu 8 years ago
audoban 37ef27e470 added alternativeshelper class from plasma 8 years ago
audoban 70d884ba4e fix #164, Dodge Active is broken for windows on all desktops 8 years ago
Michail Vourlakos a2210ba68a fix #116, remove QueuedConnection 8 years ago
Michail Vourlakos 620f7ca317 fix #116, endless showing loop at startup
--in a multi-screen environment that
 primary screen is not set to 0 it was
 created an endless showing loop at
 startup (catch-up race) between
 screen:0 and primaryScreen
8 years ago
Michail Vourlakos 4b40f3ab88 protect crashes from containment() in dockview 8 years ago
audoban 05ee731d4b fix #139, Un-hide Latte at desktop and activity changes 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
audoban 3ca6a7d096 fix #133, dodge active window when switching desktop 8 years ago
audoban 2e3595779f fix #141, dodge decoration 8 years ago
audoban d7298ff58c fix #136, load visibility with a timer in startup 8 years ago
audoban 425f16e97f fix #136, clean autoHidden 8 years ago
Michail Vourlakos f9fe1206a5 fix #155,fix availableScreenRect of latte corona
--this is based on the plasma implementation
8 years ago
Michail Vourlakos be69cbe597 fix #42,latte icon shown correctly in ksysguard
--shell metadata file was missing the icon, this
fixes also the configuration window icon
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
audoban 498adb921a update requirements for devel packages 8 years ago
audoban 0c7c65106b added website to about dialog 8 years ago
audoban 1184bf4422 initWindow() has not been defined 8 years ago
audoban 2106155e18 add shadows to config window 8 years ago
audoban c7bad29032 cleaning CMakeLists.txt 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
audoban 86fa812662 Indent too long lines 8 years ago
audoban b311de494f Update credits 8 years ago
audoban e71376d45a sync po files 8 years ago
audoban 79fc7af29c italian translation moved to po/ 8 years ago
JenaPlinsky de6ef52cc6 Create it.po 8 years ago
Michail Vourlakos 25f4de2f5c more improvements for calculations
--various improvements for calculations for panel size,
shadows calculations, configuration window showing
metrics
8 years ago
Michail Vourlakos 2f5404ce9c update app description in about dialog 8 years ago
Michail Vourlakos 68e1eef27b remove maxLength from dockview 8 years ago
audoban b397576ed9 Merge branch 'master' into about-dialog 8 years ago
audoban 68d2fcf475 #98, added about dialog 8 years ago
Michail Vourlakos bf25c9c5c8 update translations strings 8 years ago
Michail Vourlakos 26d5d519de fix occusional crash from right click triggering 8 years ago
Michail Vourlakos bd54e3e8aa fix #94,--debug must be set for debugging messages 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
audoban c22d7ae1c2 removed NET::WM2WindowClass property 8 years ago
audoban d2c8ddf426 fix #80, Dock do not dodge Spotify 8 years ago
Michail Vourlakos 43434926c1 fix #75, improve loadLayout on startup
--loadLayout is called only once and when
the activities service is in ready state
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 0e7d8a18e0 remove old applets config from active containments 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
audoban 24dd5cd379 master merged on audoban2 8 years ago
Michail Vourlakos 15114d5d9d fix #84,closing Latte cleans config file
--when Latte is closing removes all entries for
containments that are obsolete
8 years ago
audoban 122ca92fe9 Free resources for dockview 8 years ago
audoban 7daf0d9169 rename Latte's configuration files #81 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 1ccd04914c update greek translation
--removed also a no needed string
8 years ago
Michail Vourlakos 8ac0aaa25f fix #54,dock is shown when applet needs attention 8 years ago
audoban e96765de8d permit always update dockRect variable 8 years ago
audoban 7aabde051e dont update struts when the user is configuring #25 8 years ago
audoban 578da84a3c timer unnecessary 8 years ago
Michail Vourlakos 568be3cfd5 restore previous behavior
--fixed local dock geometry updating in editing
mode. Now in runtime the struts are updating
correctly
8 years ago
Michail Vourlakos 21bf96e0e9 disable update struts on userConfiguring state 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 d1ac8c77eb code formatted 8 years ago
audoban a2ce61c888 reduced number of calls to syncGeometry 8 years ago
audoban 8330467c2a update dockconfig view 8 years ago
audoban 2f262c4fb2 update geometry just when is necessary 8 years ago
audoban b144cd1f0b improve auto sync geometry, and cleaning code unused 8 years ago
audoban 118a046d3b reorder members 8 years ago
audoban f9d8049c64 set on all activities #52 8 years ago
Michail Vourlakos a46e0a19c5 fix #25, set dock's geometry correctly 8 years ago
Michail Vourlakos f378d6c0db set show/hide timers default values 8 years ago
Michail Vourlakos 1d350ee6c0 move iconitem from app to plugin 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 a7d1a04d0d restore the init functionality 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
audoban 34f9bcf636 resync geometry for avoids that config ui covers the dock #38 8 years ago
audoban 4ab37d33ed fixed missing window icon #42 8 years ago
Michail Vourlakos c899ac9023 fix #13,corona should load layout a bit later
--corona should load its layout after the activities
consumer is ready. Otherwise all the functionality
concerning activities may not work correctly on its
first initialization
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 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
Michail Vourlakos e8794f989c remove no needed containment actions 8 years ago
audoban 7e44d81a0f Less debug information. 8 years ago
audoban 448f0b83fd Dock shouldnt hide on userConfiguring state #32 8 years ago
audoban 75a915083c Info debugging generates useless backtrace 8 years ago
Michail Vourlakos 3dacc2fda9 support sticker for configuration window 8 years ago
audoban 0de6a070b0 Drag events managed from VisibilityManager #37 #21 8 years ago
audoban c02c12de1a dons't build, pluginmetadata is deprecated 8 years ago
audoban 2045f1d622 Fixed show and hide timers. #33 8 years ago
Michail Vourlakos 8d389fcad2 fix some hiding issues on userConfiguring state 8 years ago
audoban 9a0cfcca13 Respect to the original authors 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 53cb0f2522 added blockHiding property on visibilitymanager 8 years ago