1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-04-01 22:50:07 +03:00

72 Commits

Author SHA1 Message Date
Michail Vourlakos
32215c6f43 fix #385,load font through QFontDatabase 2017-04-21 16:59:58 +03:00
Michail Vourlakos
237cf1db36 return correct screen geometry from corona
--signal triggering for screenGeometryChanged(id)
can not be added yet as it is not plasma 5.8
compatible
2017-04-04 22:23:21 +03:00
audoban
5756a28037 reorder members 2017-04-02 00:25:03 -05:00
Michail Vourlakos
6e7098458d fix,restore adding docks in alternative session 2017-03-26 13:05:25 +03:00
Michail Vourlakos
5fe32aa7eb 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
2017-03-23 13:54:50 +02:00
audoban
c23135dd48 fix assertion when id is -1 2017-03-22 00:16:27 -05:00
Michail Vourlakos
8a1c449396 fix #285,expanded to false for applets
--when changing session all the applets from
the previous session should hide their
expanded options
2017-03-20 20:40:27 +02:00
Michail Vourlakos
f12fc52fd1 fix #277,use normal dock window from tweaks
-- with this setting the user can disable
the BypassWindowManagerHint flag for specific
docks
2017-03-18 23:32:27 +02:00
Michail Vourlakos
30fb90ec01 move autostart code in globalSettings 2017-03-18 14:16:32 +02:00
Michail Vourlakos
d9a8428971 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
2017-03-18 13:21:17 +02:00
Michail Vourlakos
d0321f3baa fix #272,expose alternative session in menu 2017-03-18 01:53:44 +02:00
Michail Vourlakos
367faf6bfa restore availableScreenRect behavior
--when an id is sent that is not contained
at stored screens then the primary screen
geometry is used instead
2017-03-13 21:07:40 +02:00
audoban
b86b15a05a fix assertion if id is -1 2017-03-12 20:53:31 -05:00
audoban
e14b2ea5d4 restoring compatibility for plasma 5.8 2017-03-12 04:09:10 -05:00
audoban
5e81ed6227 fix assertion over debug message 2017-03-12 04:02:24 -05:00
audoban
7848c600cb fix #246, Incorrect/inconsistent behaviour when switching virtual desktops 2017-03-12 04:01:27 -05:00
audoban
62dc8b8a6e implicit conversion 2017-03-11 22:53:01 -05:00
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
2017-03-11 12:35:15 +02:00
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
2017-03-11 01:45:31 +02:00
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.
2017-03-11 01:33:34 +02:00
Michail Vourlakos
849301189a fix #238,disable/enable raise dock temporary 2017-03-08 21:04:55 +02:00
Michail Vourlakos
245f820718 fix #233,support autostart through tweaks page 2017-03-08 21:04:54 +02:00
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
2017-03-08 21:00:09 +02:00
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.
2017-03-04 15:29:56 +02:00
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
2017-03-03 17:23:37 +02:00
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.
2017-03-03 01:02:04 +02:00
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
2017-03-02 18:07:29 +02:00
Michail Vourlakos
56507fe77d set a timer for sync docks screens
--add debuging message
2017-03-01 20:53:27 +02:00
Michail Vourlakos
9ea9407eb1 fix right edge positioning
--do not load primary screen when the specific
edge is occupied in the primary screen
2017-03-01 20:39:09 +02:00
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
2017-03-01 20:16:09 +02:00
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
2017-03-01 18:50:22 +02:00
Michail Vourlakos
f830dd32a9 semantic improvements 2017-02-27 22:52:22 +02:00
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
2017-02-27 19:46:10 +02:00
Michail Vourlakos
2da927e0b2 support always on primary case
-- :) fantastic behavior from Latte...
2017-02-27 01:20:30 +02:00
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
2017-02-27 01:20:29 +02:00
Michail Vourlakos
455f794be7 restore add/remove dock buttons
--also use a single timer for screen sync
for dockview
2017-02-27 01:20:29 +02:00
Michail Vourlakos
74bc9bac85 improvements to add/remove docks on screen demand 2017-02-27 01:20:29 +02:00
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...
2017-02-27 01:20:28 +02:00
Michail Vourlakos
a6b8ecc4b8 add a screen pool for multi-screens 2017-02-27 01:18:27 +02:00
audoban
351817aacf update commandline options 2017-02-26 12:37:46 -05:00
audoban
a12ce7d3ab #199, AbstractWindowInterface is now a shared resource 2017-02-24 21:50:40 -05:00
Michail Vourlakos
2ad515bbef Revert "block dock hiding when alternatives are shown"
This reverts commit ddd1a57875da4257a2b72b966f1876927884e1ad.
2017-02-18 22:11:45 +02:00
Michail Vourlakos
ddd1a57875 block dock hiding when alternatives are shown 2017-02-18 22:03:21 +02:00
audoban
2780a12520 fix #48, Support Alternatives from the Context Menu 2017-02-14 23:59:52 -05:00
Michail Vourlakos
a2210ba68a fix #116, remove QueuedConnection 2017-02-13 22:30:27 +02:00
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
2017-02-12 15:58:39 +02:00
Michail Vourlakos
e93fa6b2c6 fix #116,add protections in multi-screen 2017-02-12 01:59:09 +02:00
audoban
ea2e6b6ff0 fix position when external shadows is enable 2017-02-11 17:46:16 +02:00
audoban
e9221f8719 avoid overlaping 2017-02-11 17:46:16 +02:00
audoban
67e2440aa3 fix narrow casts 2017-02-11 17:43:59 +02:00