Commit Graph

80 Commits (9a72f394ee7bc711e0628ed04379f02e3bfcaa93)

Author SHA1 Message Date
Michail Vourlakos f2ab6cbc9c block hiding when alternatives is shown 8 years ago
Michail Vourlakos c154eae4c7 fix #634,load the dockWin flag after copy 8 years ago
Michail Vourlakos 26516b8d8c check specific for Latte Tasks Plasmoid 8 years ago
Michail Vourlakos 262b3bd238 dont restore zoom when applet context menu shown 8 years ago
Johan Smith Agudelo Rodriguez 0e87cb8907 LayoutConfigDialog moved into LayoutManager class 8 years ago
Johan Smith Agudelo Rodriguez 0b4dc7ce3e Adding layouts config dialog 8 years ago
Michail Vourlakos b15e919bab remove all the session functionality
--the session functionality is not removed only from
globalsettings class which is just waiting to be removed
tottaly when its functionality moves to the new classes
8 years ago
Michail Vourlakos bc262d7b00 fix typo and trigger signal 8 years ago
Michail Vourlakos 9e74ce95a2 fix crash when changing to default session
--this was a rare crash when changing to default
session from the alternative one through the context
menu of the Tasks plasmoid there was a crash sometimes
8 years ago
Johan Smith Agudelo Rodriguez a6bcc53aad Cleaning up a bit before implementing always visible 8 years ago
Michail Vourlakos ce7bf51145 disable background effect when having transparency 8 years ago
Michail Vourlakos a05785e34b differentiate dockNo perScreen and total
--improve the signaling between the configuration window
and the dockview concerning freeEdges for current screens
and docks count. Now the docks counting is different
between screens and in general
8 years ago
Michail Vourlakos c8878792bb fix #532,dont allow to add a second Tasks plasmoid 8 years ago
Michail Vourlakos b0ebfdbe4f first approach to copy a dock 8 years ago
Michail Vourlakos 575ff06a66 support window placement in wayland!!! :) 8 years ago
Michail Vourlakos 9d213a6e83 support clicking event for all fakeIconItem area 8 years ago
Michail Vourlakos 7d3458d45c support behaveAsPlasmaPanel in the dockview 8 years ago
Michail Vourlakos bd9021a412 fix #432,signal update struts on dock screenchange 8 years ago
Michail Vourlakos 2ef64f4ab3 fix #411,deactivate applets when show previews 8 years ago
Michail Vourlakos df0da77083 fix #420,include spacers in applets geometry calcs
--this way the right click we always take into account
the visual appearance space that latte provides for it
and not the applets internal geometry. So now spacers
also are considered as applet area
8 years ago
Michail Vourlakos 31ee8ed4db fix #362,"Remove Tasks" option in Tweaks page
--the user no is able to remove the Latte plasmoid
from the Tweaks page
8 years ago
Johan Smith Agudelo Rodriguez adf82df246 fix #355, Request for new visibility policy: Windows Go Below 8 years ago
Michail Vourlakos 510974c3ff fix #356,expose offset in the dockview
--this patch updates borders correctly based
also on the offset variable
--fixes the calculations for offset and panel
background positioning
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 df760a909a move currentSession 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 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
Michail Vourlakos c61c14e9be improve panel painting for disabled compositing 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 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 70e3c2bb7a expose dockview local geometry to qml 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 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 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 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 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 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 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
Johan Smith Agudelo Rodriguez 1ba8a62e07 remove property debugFlags of DockView 8 years ago
Johan Smith Agudelo Rodriguez 0592ba3aaf avoid overlaping 8 years ago
Johan Smith Agudelo Rodriguez 8c820073f0 fix narrow casts 8 years ago