Commit Graph

317 Commits (c204ad0ce8c9f0e3c15c3c0eb8d098478478dc13)

Author SHA1 Message Date
audoban bb34dbf1e4 code formatted 8 years ago
audoban 2be1acda70 Merged branch master into master 8 years ago
audoban 3dda944291 close config window before close latte 8 years ago
Michail Vourlakos 7644f9fabe improve panel painting for disabled compositing 8 years ago
audoban f01e6356a0 Only visibilityManager can call mustBeHide/Shown 8 years ago
audoban e439391138 avoid hide the dock when blockHiding is active 8 years ago
audoban 1b7d3f0f00 fix restore connfig for raiseOnDesktop/ActivityChange 8 years ago
Michail Vourlakos de1fd0f465 temporary raise timer double to hide timer
--it is also bound between values 1800 and 3000
8 years ago
audoban c5a2a5b152 update hidden state when change the activity 8 years ago
audoban e14b2ea5d4 restoring compatibility for plasma 5.8 8 years ago
audoban 5e81ed6227 fix assertion over debug message 8 years ago
audoban 7848c600cb fix #246, Incorrect/inconsistent behaviour when switching virtual desktops 8 years ago
audoban 62dc8b8a6e implicit conversion 8 years ago
Michail Vourlakos ea754f37a6 fix #235,set icon for docks differently
--for some reason the icon name returned from
the metadata of corona is empty.This gets
the windowIcon set for the application.
8 years ago
Michail Vourlakos b56cbc4084 fix #102,show apps menu with Super key
--this needs from the user side to add
in the .config/kwinrc

[ModifierOnlyShortcuts]
Meta=org.kde.lattedock,/Latte,org.kde.LatteDock,activateLauncherMenu
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 11a24ff34c fix #152,support an alternative session
-- On The Road was renamed at Alternative
Session and more improvements to the code
were added
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 3d95225349 fix #224,add option to add spacers applets 8 years ago
Michail Vourlakos 5de5b11e38 improve proportion icon size with automatic icon
--when dock is changing screens and dock is using
an automatic calculated icon size based on contents
the automatic icon size must be recalculated for the
new proportion icon size
8 years ago
Michail Vourlakos 403eeb0c4d expose dockview local geometry to qml 8 years ago
Michail Vourlakos 849301189a fix #238,disable/enable raise dock temporary 8 years ago
Michail Vourlakos 245f820718 fix #233,support autostart through tweaks page 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 21a7938d2b disable debug message for shadows 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 b14c50ad07 signals to update free area
--more specific when the normalThickness or
shadow size are changed
8 years ago
Michail Vourlakos 19569365ac fix crash from quit of configuration window 8 years ago
Michail Vourlakos 0e8691878c fix #194,the user can enable a solid background
--this is especial useful for plasma themes with big
transparency. Latte can not support blur and background
contrast kwin effects for panel backgrounds that are drawn
inside its qml side.
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 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
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