1
0
mirror of https://github.com/KDE/latte-dock.git synced 2024-12-26 23:21:37 +03:00
Commit Graph

1535 Commits

Author SHA1 Message Date
Michail Vourlakos
c2a1c20d92 expose colorScheme to lastActiveWindow(s)
--applets can now use the color scheme from lastActiveWindow
objects in order to paint some of their elements
2019-10-26 17:03:54 +03:00
Michail Vourlakos
dc0a9a8f22 Import and Load layout runtime through dbus
--switchToLayout dbus interface is used in order to
switch at specific layout that it is already imported.
With this commit the same dbus interface can be used
in order to import and load afterwards any latte layout
file by sending its absolute filepath
2019-10-23 17:07:35 +03:00
Michail Vourlakos
a69f3013d8 search for Latte desktop file in more generic way
--there are distros that do not return /usr/share/applications
as their first global path for desktop files. It is better to not
just search for the "applications" path but rather the desktop
file also to make sure that we use the first one found.

BUG:412612
FIXED-IN:0.9.4
2019-10-05 17:43:10 +03:00
l10n daemon script
7554e8c409 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2019-10-02 05:24:26 +02:00
Michail Vourlakos
fac638c156 remove obsolete fontmetrics libraries 2019-09-29 17:06:48 +03:00
l10n daemon script
32078ac05a SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2019-09-24 05:08:03 +02:00
l10n daemon script
8e35545463 GIT_SILENT made messages (after extraction) 2019-09-24 02:29:30 +02:00
Michail Vourlakos
6641b30d8e update debug messages for wm::tracker 2019-09-16 23:13:30 +03:00
Michail Vourlakos
59712ee129 dont use topleft corner at ghost win hiding mask
--this way the top-left screen corner is always
available even when left or top views are auto-hidden
or dodged
2019-09-08 11:20:14 +03:00
Michail Vourlakos
cb9d978558 remove deprecated qApp::screenCountChanged
--use only screenAdded/Removed instead
2019-09-08 00:18:17 +03:00
Michail Vourlakos
c515cd0216 update QRegion deprecated code 2019-09-08 00:09:56 +03:00
Michail Vourlakos
1a49238d57 track kwinrc file only on changes
--instead of reading the kwin values all the time
when needed from user actions we now read them
only on startup and when the kwinrc file was
updated/changed

BUG:411657
FIXED-IN:0.9.3
2019-09-08 00:09:42 +03:00
Michail Vourlakos
eb3639914b update AllScreens track information during startup
--Whenever a view is updating its layout then the AllScreens
tracked information [per layout tracking] should be updated
also. Until now this was happening only during startup and there
was a case that if during startup a view was requesting tracking
and the second one did not, then tracking for the entire layout
for all screens it could be faulty disabled.

BUG:411670
FIXED-IN:0.9.3
2019-09-07 20:38:59 +03:00
Björn Feber
c264a0a9e3 [latte-dock] Use new activities icon
Summary:
Use the new icon added in D22155.
{F6948355}

Test Plan: Open the Latte layout settings.

Reviewers: #plasma, #vdg, mvourlakos, ndavis

Reviewed By: #vdg, mvourlakos, ndavis

Subscribers: #vdg, plasma-devel, #plasma

Tags: #plasma

Differential Revision: https://phabricator.kde.org/D22170
2019-09-07 08:01:18 +02:00
Michail Vourlakos
82fae53926 update webpages and releases metadata 2019-09-03 01:59:19 +03:00
Yuri Chornoivan
1aaef7aa2b Fix minor EBN issues 2019-09-02 20:07:53 +03:00
l10n daemon script
1c4f5906fd SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2019-09-01 04:54:07 +02:00
Michail Vourlakos
3faf5f6114 Merge branch 'v0.9' into merger 2019-08-31 09:59:26 +03:00
l10n daemon script
20a4610a85 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2019-08-31 08:45:35 +02:00
Michail Vourlakos
6281046629 autostart Latte earlier
--this way Latte is given the time to publish
its appmenu if available and normal applications
should follow afterwards

BUG:411341
FIXED-IN:0.9.2
2019-08-27 15:50:08 +03:00
Michail Vourlakos
0ea41820d0 autostart Latte earlier
--this way Latte is given the time to publish
its appmenu if available and normal applications
should follow afterwards

BUG:411341
FIXED-IN:0.9.2
2019-08-27 15:11:33 +03:00
Michail Vourlakos
8cf49b672c remove obsolete draggingStarted signals/slots
--draggingStarted signals/slots were used in order
to handle the active window dragging from empty areas.
The new approach ungrabs the mouse properly through
View relevant function and at the same time sends a
QEvent::Leave event to inform applets that the mouse
has left the view. This is enough in order to remove
any older draggingStarted workarounds and hacks.
2019-08-26 16:35:03 +03:00
Michail Vourlakos
057edb87f1 send QEvent::Leave for view when dragging started
--this way the applets in the view will be informed for
mouse exited the view window
2019-08-26 16:34:51 +03:00
Michail Vourlakos
153f5dab27 remove obsolete draggingStarted signals/slots
--draggingStarted signals/slots were used in order
to handle the active window dragging from empty areas.
The new approach ungrabs the mouse properly through
View relevant function and at the same time sends a
QEvent::Leave event to inform applets that the mouse
has left the view. This is enough in order to remove
any older draggingStarted workarounds and hacks.
2019-08-26 16:30:48 +03:00
Michail Vourlakos
0994405f69 send QEvent::Leave for view when dragging started
--this way the applets in the view will be informed for
mouse exited the view window
2019-08-26 00:59:21 +03:00
Yuri Chornoivan
15ab253efd Fix minor EBN issues 2019-08-22 11:26:41 +03:00
Yuri Chornoivan
e4670ac174 Fix project_license tag 2019-08-22 11:26:15 +03:00
Yuri Chornoivan
997fbdff76 Get rid of deprecated setHidden() 2019-08-22 11:26:05 +03:00
Yuri Chornoivan
e643109d0f Try to fix build with Clang (take 2) 2019-08-22 11:17:13 +03:00
Yuri Chornoivan
784dfd1bf9 Try to fix build with Clang 2019-08-22 11:17:04 +03:00
Yuri Chornoivan
3a60d6f3b2 Fix minor EBN issues 2019-08-18 19:59:09 +03:00
Yuri Chornoivan
b0f8be948c Fix project_license tag 2019-08-18 14:11:37 +03:00
Yuri Chornoivan
65f00bc446 Get rid of deprecated setHidden() 2019-08-18 14:02:25 +03:00
Yuri Chornoivan
f63ab9a872 Try to fix build with Clang (take 2) 2019-08-18 13:04:57 +03:00
Yuri Chornoivan
3f6d688dfe Try to fix build with Clang 2019-08-18 12:57:06 +03:00
l10n daemon script
1bec03ec8a SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2019-08-17 08:39:22 +02:00
l10n daemon script
e5a1324862 SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2019-08-17 05:02:10 +02:00
Jonathan Riddell
faf76f3ceb make latte dock a plasma addon 2019-08-12 11:25:11 +01:00
Michail Vourlakos
f7d968ff6d update struts when normalThickness value changes
--the issue was pretty obvious when the user was
using a top view with thickness < 24px. and a
bottom view always visible. In that case the top
view struts on startup did not decrease below
at 24px.

BUG:410707
2019-08-08 09:51:11 +03:00
Michail Vourlakos
bf66aa35a7 update struts when normalThickness value changes
--the issue was pretty obvious when the user was
using a top view with thickness < 24px. and a
bottom view always visible. In that case the top
view struts on startup did not decrease below
at 24px.

BUG:410707
2019-08-08 09:46:23 +03:00
l10n daemon script
bc164cdc38 GIT_SILENT made messages (after extraction) 2019-08-07 02:26:57 +02:00
Michail Vourlakos
b078765d5c improve smartness for Unity case layout
--when a vertical view is in busy state and is touching
also a horizontal view that is fully transparent in
SMART mode then the visual result is not that good.
In that case it is better to show the view background.
The horizontal view background in that case can provide
three different states:
a) if the panel style for popups is activated then the
horizontal view will follow the plasma original style
b) if NOT [a] and solid background for touching windows
is enabled then solid background will be offered
c) if NOT [a] and NOT [b] then the isBusy state
transparency will be offered
2019-08-03 08:58:24 +03:00
Michail Vourlakos
ab9fbc3727 support touching horizontal view and isbusy
--trying to increase smartness for horizontal
and vertical views. In multiple layouts environment
a view can exist in cases that one or more of
the sided views that is touching it is NOT
transparent, it would be nice for those
cases the top or bottom  view to LOSE also
its transparency in order to not look
inconsistent.
2019-08-03 08:58:13 +03:00
Michail Vourlakos
92a4fb054e improve smartness for Unity case layout
--when a vertical view is in busy state and is touching
also a horizontal view that is fully transparent in
SMART mode then the visual result is not that good.
In that case it is better to show the view background.
The horizontal view background in that case can provide
three different states:
a) if the panel style for popups is activated then the
horizontal view will follow the plasma original style
b) if NOT [a] and solid background for touching windows
is enabled then solid background will be offered
c) if NOT [a] and NOT [b] then the isBusy state
transparency will be offered
2019-08-03 08:47:45 +03:00
Michail Vourlakos
cad13372d6 support touching horizontal view and isbusy
--trying to increase smartness for horizontal
and vertical views. In multiple layouts environment
a view can exist in cases that one or more of
the sided views that is touching it is NOT
transparent, it would be nice for those
cases the top or bottom  view to LOSE also
its transparency in order to not look
inconsistent.
2019-08-01 18:29:46 +03:00
l10n daemon script
57d52a78bf SVN_SILENT made messages (.desktop file) - always resolve ours
In case of conflict in i18n, keep the version of the branch "ours"
To resolve a particular conflict, "git checkout --ours path/to/file.desktop"
2019-08-01 04:49:08 +02:00
Michail Vourlakos
3bf4458cf3 update wayland interfaces in desktop file 2019-08-01 02:33:41 +03:00
Michail Vourlakos
45456a5ab8 update wayland interfaces in desktop file 2019-08-01 02:31:54 +03:00
Michail Vourlakos
ff2b81a4f9 introduce windowCanBeMaximized
--trying to avoid interacting with windows
that DO NOT allow it
2019-07-31 16:46:01 +03:00
Michail Vourlakos
af44c57795 improve canBeDragged implementation
--follow libtaskmanager case to support this
2019-07-31 16:45:51 +03:00