Commit Graph

355 Commits (19af87417e8554193e23367fd789b839ed9c0bff)

Author SHA1 Message Date
Michail Vourlakos 761f088ea6 fix #331,set onAllDesktops early in the process
--the delay during creating dockview and setting
its dock window flags from visibilitymanager creates
a situation that the window manager temporary creates
a normal window with no special flags for the docks
8 years ago
Michail Vourlakos 2af10514ed fix,restore adding docks in alternative session 8 years ago
Johan Smith Agudelo Rodriguez f04519b967 fix #330, visibility mode and options 8 years ago
Johan Smith Agudelo Rodriguez b32eb28b88 fix wrong name 8 years ago
Johan Smith Agudelo Rodriguez 78d30ea508 DodgeMaximized receives some of love
DodgeMaximized now also dodges windows with a size greater than or equal to the screen
8 years ago
Johan Smith Agudelo Rodriguez b407efb557 various fixes to WindowInfoWrap 8 years ago
Johan Smith Agudelo Rodriguez e6374da532 added support for windows with shade state and improving WindowInfoWrap 8 years ago
Johan Smith Agudelo Rodriguez 90b7d00d6e fix #316, Exporting settings - Adding a dot in the filename 8 years ago
Johan Smith Agudelo Rodriguez 76a2065d91 unused dependence 8 years ago
Michail Vourlakos 9529fe8a3c fix adding dock at the bottom when shouldnt
--if the user was adding docks too fast then
some of them were added at the bottom because
that was conflicting with the session
implementation. The fix fixes the situation
and preserves the alternative session functionality
8 years ago
Johan Smith Agudelo Rodriguez f794d5c60c fix #308, Always visible option does not work for side-set dock on unusual multi screen setup 8 years ago
Michail Vourlakos 9258871e44 update strings
--update greek translation
8 years ago
Michail Vourlakos 307a5e30ea update translation strings 8 years ago
Johan Smith Agudelo Rodriguez 2c472843f7 fix id event 8 years ago
Johan Smith Agudelo Rodriguez acfca18184 update CMakeLists.txt 8 years ago
Johan Smith Agudelo Rodriguez 78a441ed96 notications for the operations of import/export 8 years ago
Johan Smith Agudelo Rodriguez fba31fc9f6 feature #205, backup and restore 8 years ago
Johan Smith Agudelo Rodriguez 9a4be16fe4 new dependences: KArchive and KNotifications 8 years ago
Johan Smith Agudelo Rodriguez 664bedb839 unused member 8 years ago
Johan Smith Agudelo Rodriguez 80f2199774 fix assertion when id is -1 8 years ago
Michail Vourlakos 241999579b fix #292,workaround for KF5.32 empty mask
--in KF5.32 FrameSvg returns many times a mask
that is an empty QRegion(). this patch makes
sure that at least our rectangular metrics
for masks and effectsarea are used instead.
Of course this means that themes with rounded
corners dont look as they should in !compositing
state
8 years ago
Michail Vourlakos 610e0d6a74 fix #285,expanded to false for applets
--when changing session all the applets from
the previous session should hide their
expanded options
8 years ago
Michail Vourlakos d8410ff235 fix #277,use normal dock window from tweaks
-- with this setting the user can disable
the BypassWindowManagerHint flag for specific
docks
8 years ago
Michail Vourlakos f371ea2a45 fix #275,top dock gains priority for AlwaysVisible
--the other docks must be also AlwaysVisible in order
for the top dock to be above them...
8 years ago
Michail Vourlakos df760a909a move currentSession code in globalSettings 8 years ago
Michail Vourlakos bb7235879b move autostart code in globalSettings 8 years ago
Michail Vourlakos e57d525824 create globalsettings for corona
--first all the code concerning exposeAltSession
is moved in it and in the future also the autostart
and currentSession can follow. This will improve
both dockview and configview
8 years ago
Michail Vourlakos 7b060c22a5 fix #272,expose alternative session in menu 8 years ago
Michail Vourlakos c0eaeca09c add effectArea in DebugWindow
--export correctly the drawEffects variable
8 years ago
Michail Vourlakos a4ee035c93 fix #270,enable blur for panel background
--the user can habe blur and background contrast
effects in all cases for the panel and can
also choose the behavior from Tweaks page
8 years ago
Johan Smith Agudelo Rodriguez ecbd2c99bc fix #256, Dodging/Layering Issues 8 years ago
Johan Smith Agudelo Rodriguez b6d31316a9 fix move constructor 8 years ago
Johan Smith Agudelo Rodriguez 7657fb036f avoid copies of winfowrap 8 years ago
Michail Vourlakos 3542a3e66c restore availableScreenRect behavior
--when an id is sent that is not contained
at stored screens then the primary screen
geometry is used instead
8 years ago
Michail Vourlakos fa2da5ceb1 fix #257,crash alternative session & !compositing 8 years ago
Johan Smith Agudelo Rodriguez 784710e6d2 include unused 8 years ago
Johan Smith Agudelo Rodriguez 26756143f1 fix assertion if id is -1 8 years ago
Johan Smith Agudelo Rodriguez f6a73d4b69 fix crash deleting visibilityManager 8 years ago
Johan Smith Agudelo Rodriguez 5226b6adce code formatted 8 years ago
Johan Smith Agudelo Rodriguez ac18a88e60 Merged branch master into master 8 years ago
Johan Smith Agudelo Rodriguez 0375e15d0a close config window before close latte 8 years ago
Michail Vourlakos c61c14e9be improve panel painting for disabled compositing 8 years ago
Johan Smith Agudelo Rodriguez af8f844bc6 Only visibilityManager can call mustBeHide/Shown 8 years ago
Johan Smith Agudelo Rodriguez a014eadd40 avoid hide the dock when blockHiding is active 8 years ago
Johan Smith Agudelo Rodriguez 095dc50f1e fix restore connfig for raiseOnDesktop/ActivityChange 8 years ago
Michail Vourlakos 1618a7bd5d temporary raise timer double to hide timer
--it is also bound between values 1800 and 3000
8 years ago
Johan Smith Agudelo Rodriguez a00c584f37 update hidden state when change the activity 8 years ago
Johan Smith Agudelo Rodriguez 2b5974ef43 restoring compatibility for plasma 5.8 8 years ago
Johan Smith Agudelo Rodriguez da800a11a8 fix assertion over debug message 8 years ago
Johan Smith Agudelo Rodriguez fb16fee66b fix #246, Incorrect/inconsistent behaviour when switching virtual desktops 8 years ago
Johan Smith Agudelo Rodriguez e26f316e67 implicit conversion 8 years ago
Michail Vourlakos 059a778765 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 97e57550bf 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 c29cc37cda 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 4ea4a903fd 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 45e95788ed 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 38f9d0d7e0 fix #224,add option to add spacers applets 8 years ago
Michail Vourlakos 32f2ebc8e0 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 70e3c2bb7a expose dockview local geometry to qml 8 years ago
Michail Vourlakos 13325ca022 fix #238,disable/enable raise dock temporary 8 years ago
Michail Vourlakos 1a04ff968d fix #233,support autostart through tweaks page 8 years ago
Michail Vourlakos b8ce37d4c3 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 417f0012bd disable debug message for shadows 8 years ago
Michail Vourlakos 329ba8b6ff 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 f3dbd30ec1 signals to update free area
--more specific when the normalThickness or
shadow size are changed
8 years ago
Michail Vourlakos b2b4517ba8 fix crash from quit of configuration window 8 years ago
Michail Vourlakos ead7892551 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 70c83d8b83 support blur/background contrast effects
--support these effects for docks that draw
their shadows externally with the window
server
8 years ago
Michail Vourlakos 2a8bd25e0e 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 0b2bebfbd8 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 0f7df07ef1 remove no return error 8 years ago
Michail Vourlakos 6010638094 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 d2e8dd7881 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 c510c74cc5 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 fbf8cd3802 disable debug messages 8 years ago
Michail Vourlakos 81dfa36cef set a timer for sync docks screens
--add debuging message
8 years ago
Michail Vourlakos 2e54a90eef fix right edge positioning
--do not load primary screen when the specific
edge is occupied in the primary screen
8 years ago
Michail Vourlakos 5421b976fa 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 74770a9f37 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 07d68dd636 fix typo for LeftEdge
--this was breaking the AlwaysVisible experience
for Left docks
8 years ago
Michail Vourlakos 5962cbc9bb stop timer on exit 8 years ago
Michail Vourlakos 6214318e09 change primary dock screen when relevant edge freed 8 years ago
Michail Vourlakos 38e3446db9 do not allow a primary dock overlap an explicit 8 years ago
Michail Vourlakos 52c8673aad semantic improvements 8 years ago
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 de30d48f72 remove configuration window on hiding 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
Johan Smith Agudelo Rodriguez 2f419e6eab fix restore config 8 years ago
Michail Vourlakos b88170caaa support always on primary case
-- :) fantastic behavior from Latte...
8 years ago
Michail Vourlakos 3b3c6a0f47 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 03fc80439a 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 14b72f49e6 restore add/remove dock buttons
--also use a single timer for screen sync
for dockview
8 years ago
Michail Vourlakos 8aa5021645 update screens in config window in each show event 8 years ago
Michail Vourlakos f791f0b209 fix config window positioning in multi-screens 8 years ago
Michail Vourlakos f46848e039 add screen information into debug window 8 years ago