1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-01-13 05:17:48 +03:00
Commit Graph

1677 Commits

Author SHA1 Message Date
Michail Vourlakos
7cfcd84511 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-07 23:52:16 +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
Michail Vourlakos
a9b4989236 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:33:43 +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
Yuri Chornoivan
dc14abf3d0 Fix minor EBN issues 2019-09-03 02:01:01 +03:00
Michail Vourlakos
82fae53926 update webpages and releases metadata 2019-09-03 01:59:19 +03:00
Michail Vourlakos
48ae720671 update webpages and releases metadata 2019-09-03 01:50:21 +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
Michail Vourlakos
42d94df47f introduce windowCanBeMaximized
--trying to avoid interacting with windows
that DO NOT allow it
2019-07-31 16:44:43 +03:00
Michail Vourlakos
59f1d72fa3 improve canBeDragged implementation
--follow libtaskmanager case to support this
2019-07-31 16:34:05 +03:00
l10n daemon script
e438e04511 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-07-31 08:57:25 +02:00
l10n daemon script
6cd1a9b7ae 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-07-31 05:07:46 +02:00
Michail Vourlakos
3afd0eb643 set minimum hide timer interval 50ms
--when hide timer is set below 50ms. there are
cases that does not let the view to be shown after
a containmouse trigerring. By setting a minimum
value for the timer to 50ms this is fixed.

BUG:410370
2019-07-30 18:03:02 +03:00
Michail Vourlakos
1000f62836 set minimum hide timer interval 50ms
--when hide timer is set below 50ms. there are
cases that does not let the view to be shown after
a containmouse trigerring. By setting a minimum
value for the timer to 50ms this is fixed.

BUG:410370
2019-07-30 18:00:33 +03:00
Michail Vourlakos
18728015e3 fix configview.h reference
BUG:410371
2019-07-29 23:53:27 +03:00
Michail Vourlakos
cdf230944e fix configview.h reference
BUG:410371
FIXED-IN:0.9.1
2019-07-29 23:51:55 +03:00
Michail Vourlakos
fcee8d98cc x11 fixes for invalid windows
--when a window is stacked back to its parent window
for example the firefox case (dragging a tab to create
a new firefox window and redrag it afterwards to the
main window) the wm::windows array had inconsistent
window records.
--This is fixed and also any X11 transient changed signals
are not blocked for windowChanged signals
2019-07-23 12:08:58 +03:00
Michail Vourlakos
f64c7809ef x11 fixes for invalid windows
--when a window is stacked back to its parent window
for example the firefox case (dragging a tab to create
a new firefox window and redrag it afterwards to the
main window) the wm::windows array had inconsistent
window records.
--This is fixed and also any X11 transient changed signals
are not blocked for windowChanged signals
2019-07-23 12:05:21 +03:00
Michail Vourlakos
e41ed77ce6 add report error message for unknown screens 2019-07-23 11:21:11 +03:00
Michail Vourlakos
71e291ccec comment debug messages 2019-07-23 11:21:01 +03:00
Michail Vourlakos
8fe5f8f843 add report error message for unknown screens 2019-07-23 11:19:48 +03:00
Michail Vourlakos
73d9a7b28d comment debug messages 2019-07-23 11:01:30 +03:00
Michail Vourlakos
964f2282f2 consider main window also for dodge active
--if the main window is not active but is
touching the dock then the dock is not shown
for dodge active state
--fix the cleanup code in order to cleanup
windows that have a ghost wid ( 0 )
2019-07-23 00:17:46 +03:00
Michail Vourlakos
19afc6936b consider main window also for dodge active
--if the main window is not active but is
touching the dock then the dock is not shown
for dodge active state
--fix the cleanup code in order to cleanup
windows that have a ghost wid ( 0 )
2019-07-23 00:05:01 +03:00
Michail Vourlakos
e7cb61a5e9 fix Importer::standardPath behavior 2019-07-22 09:52:46 +03:00
Michail Vourlakos
cea1155685 fix Importer::standardPath behavior 2019-07-22 09:49:04 +03:00
Michail Vourlakos
b81684a1a9 embrace X-KDE-Wayland-Interfaces 2019-07-22 09:34:24 +03:00
Michail Vourlakos
5849105c45 embrace X-KDE-Wayland-Interfaces 2019-07-22 09:33:24 +03:00
l10n daemon script
4c7e800ce7 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-07-18 08:41:07 +02:00
l10n daemon script
f2c18392a0 GIT_SILENT made messages (after extraction) 2019-07-17 07:42:26 +02:00
l10n daemon script
2d8f2981be 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-07-17 05:26:24 +02:00
l10n daemon script
3f7d08aa4f GIT_SILENT made messages (after extraction) 2019-07-17 02:37:58 +02:00
Michail Vourlakos
b94f87f144 rename trackerwindows to windowstracker
-- in order to distinguish it from the neighbour
tracker classes
2019-07-16 20:58:48 +03:00
Michail Vourlakos
9c0ff5d2a8 fix drag sensitivity when KWin edges are used 2019-07-16 14:27:17 +03:00
Yuri Chornoivan
74f5d881bc Fix minor typo 2019-07-16 14:10:14 +03:00
Michail Vourlakos
9a10cd1e26 fix SharedLayout VisibilityManager::isCurrent state
--when KWin edges are used in a SharedLayout then the
all view Layout::isCurrent() function must be used
otherwise the layout is not identified properly as
current based on different layouts per activities
2019-07-16 14:08:47 +03:00
Michail Vourlakos
c94843c9e6 KWin issue #2,hiding windows when activies stopped
--in such case under x11, the winIds of the visible
Latte windows are changed and as such the windows
tracking mechanism becomes broken. The code introduced
tries to track the case the update the WM::ignoredWindows
properly
2019-07-16 14:08:47 +03:00
l10n daemon script
159861b556 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-07-16 08:54:51 +02:00
l10n daemon script
ab830e6d24 GIT_SILENT made messages (after extraction) 2019-07-16 07:34:22 +02:00
Michail Vourlakos
c5b1e9bbf5 x11:drop QWindow::setVisible() function
--this function creates irrelevant crashes even
under x11 environment... Dropped in favour of
show()/hide() functions that seem to not create
any issues
2019-07-15 19:39:21 +03:00
Michail Vourlakos
3a465782e1 wayland:improve latte windows id discovering 2019-07-15 19:15:53 +03:00
Michail Vourlakos
1ef328bd3a avoid wayland crashes from QWindow::setVisible 2019-07-15 15:48:36 +03:00
Michail Vourlakos
c85d24ac37 use WM:IgnoredWindows infrastructure for wayland
--improvements for IgnoredWindows infrastructure
all over the relevant classes
2019-07-15 14:53:40 +03:00
Michail Vourlakos
10939d410c Views Report Information for inactive layouts 2019-07-15 00:05:10 +03:00
Michail Vourlakos
8f50131088 copyView considers multiple systrays
--when copying a view and the view contains
muliple systrays in it this is NOW taken
into account and accomplished accordingly
2019-07-15 00:05:10 +03:00
Michail Vourlakos
3412b13148 present Views data for Active layout 2019-07-15 00:05:10 +03:00
Michail Vourlakos
b4e747c611 Merge branch 'v0.9' 2019-07-14 14:01:13 +03:00
Michail Vourlakos
7954a3ac39 improve Screens Report
--the new report identifies for all your layouts
when a screen has not been assigned any docks/panels.
That can help user to clean up the ScreensConnectors
if wants to
2019-07-14 13:59:02 +03:00
Michail Vourlakos
dcfcc1b442 show screens information through Settings menu 2019-07-13 17:08:00 +03:00
Michail Vourlakos
27736db317 update menu icons 2019-07-13 15:39:21 +03:00
Michail Vourlakos
714b41ec2f add new menu options and edit layout file action 2019-07-13 15:31:27 +03:00
Michail Vourlakos
79f392723e wm:support ignored windows
--x11 implementation is in place and wayland
case must be updated accordingly
2019-07-13 14:51:26 +03:00
l10n daemon script
2ce6f4cc64 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-07-13 05:06:20 +02:00
l10n daemon script
1f38b47a9b GIT_SILENT made messages (after extraction) 2019-07-13 02:33:38 +02:00
l10n daemon script
bc16b0f315 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-07-12 08:39:23 +02:00
l10n daemon script
c43fe45758 GIT_SILENT made messages (after extraction) 2019-07-12 07:25:16 +02:00
Michail Vourlakos
ef08dbff96 update to latest tasktools.cpp from plasma master 2019-07-11 13:40:04 +03:00
Michail Vourlakos
6c70e1fd81 disable debug messages for windows tracking 2019-07-11 12:51:39 +03:00
Michail Vourlakos
30f3145f95 Introduce Flat and 3D style for Badges
--the user can now choose to enable or NOT 3D
style for all badges through Latte Global Preferences
window. By default the Flat style is preferred

BUG: 409467
2019-07-10 18:34:26 +03:00
Michail Vourlakos
eb0c52c52b improve settings windows shown trigerring behavior
--when the user uses Meta+A to cycle between the Views
configuration windows then in such case when NO Config
window is shown the LAST ONE USED should be shown again.
IF a Config View is already shown then the NEXT should
be shown afterwards
2019-07-10 17:10:31 +03:00
Michail Vourlakos
dac692bec4 dont block updating hidden state for drag enter 2019-07-10 16:33:14 +03:00
Michail Vourlakos
8033db04d3 increase KWin Ghost window thickness
--this way the KWin Edges ghost window behaves
more accurate and more predictable
2019-07-10 16:24:38 +03:00
Michail Vourlakos
9e9003870b show view immediately for DragEnter
--when the user had activated KWin Edges and the
Show Timer was too high when the View delayed a
lot to show for DragEnter events
2019-07-10 16:23:06 +03:00
l10n daemon script
b5c954bf99 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-07-06 05:10:44 +02:00
l10n daemon script
971e67f6b3 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-07-01 04:51:34 +02:00
Michail Vourlakos
5546a237a2 update struts propertly on wayland startup
BUG: 408977
2019-06-24 17:27:42 +03:00
Michail Vourlakos
110416c143 improve sharedlayouts record when selected 2019-06-23 19:56:23 +03:00
Michail Vourlakos
ba6460e919 update indicators runtime
--fixes to signals in ViewParts in order to avoid
crashes. Currently the recreateView approach is used
in order to reload indicators runtime dynamically.
The "View::setSource" approach does not reload the
indicators properly
2019-06-20 17:42:49 +03:00
Michail Vourlakos
85e49d41bf improve view recreation code 2019-06-20 11:21:12 +03:00
Michail Vourlakos
caefba4576 recreate views when indicators update 2019-06-20 10:57:59 +03:00
Michail Vourlakos
a9310a3de3 disable KWin edges for ByPassWMHint
--KWin edges do not support trigerring
above fullscreen windows
2019-06-20 10:25:18 +03:00
Michail Vourlakos
396efadb5a track screens count changes for View Settings 2019-06-17 21:20:46 +03:00
Michail Vourlakos
eef791100d show to user warning for Colors KWin Script presence 2019-06-17 17:11:27 +03:00
Michail Vourlakos
88ba9f4b75 track KWin Colors Script presence in system 2019-06-17 16:47:10 +03:00
Michail Vourlakos
a5ce2f97c6 support Importer::standardPathsFor 2019-06-17 16:29:05 +03:00
Michail Vourlakos
a7abf5d309 update background svg file when plasmatheme changes 2019-06-16 17:44:02 +03:00
Michail Vourlakos
0e96168742 update backgroundContrastEffect mid values
--the previous approach was disabling the background
contrast effect at all times except when the background
opacity was 100%, the new approach considers the background
opacity value and provide mid values to be applied.
That means that 0% background opacity disables the background
constrast visual effect, 100% applies the background contrast
visual effect at its maximum values and in between the mid
values for background contrast effect are applied
2019-06-16 15:31:37 +03:00
Michail Vourlakos
b71baccc14 fix screenForContainment in MulitpleShared mode 2019-06-15 21:38:07 +03:00
Michail Vourlakos
a311f45a62 fix istouchingview of windows tracking
--is touching view functions did not identify
when a windows was touching the absolutegeometry
<thickness> boundary and at the same time
overlapping the view <length> area. A case
that was breaking the experience was the
Plasma "AddWidgets" dialog
2019-06-15 16:44:15 +03:00
Michail Vourlakos
91a9e7c0c5 improvements for effects area and painting 2019-06-15 16:12:15 +03:00
Michail Vourlakos
3c5c59e149 Revert "consider mask thickness for struts"
This reverts commit a4764024db.
2019-06-15 15:43:32 +03:00
Michail Vourlakos
df3118fc98 Revert "remove workaround for X11 struts !compositing gap"
This reverts commit 37b708ef52.
2019-06-15 15:43:23 +03:00
Michail Vourlakos
359b120360 Revert "remove workaround for struts gap"
This reverts commit 137cd36547.
2019-06-15 15:43:12 +03:00
Michail Vourlakos
137cd36547 remove workaround for struts gap
--consider always the maskThickness when
settings struts in order to avoid gaps
at all cases
2019-06-15 10:55:38 +03:00
Michail Vourlakos
37b708ef52 remove workaround for X11 struts !compositing gap 2019-06-15 10:02:23 +03:00
Michail Vourlakos
a4764024db consider mask thickness for struts 2019-06-15 09:59:08 +03:00
Michail Vourlakos
4535ee03c2 REAL maxOpacity from plasma panel backgrounds
--Plasma::ExtendedTheme class now provides maximum
opacity provided by panel backgrounds
2019-06-14 16:21:46 +03:00
Michail Vourlakos
1d5bce41d4 improve roundness algorithm
--during searching the plasma theme roundness,
opacity values for pixels > 200 are considered
to be in panel background part. This fixes also
the Oxygen theme case and provides a better roundness
value now
2019-06-12 23:02:45 +03:00
Michail Vourlakos
734c08ffda improve plasma theme roundness discovery 2019-06-12 22:26:59 +03:00
Michail Vourlakos
1051372e04 expose to qml builtin activity/vds switching
--tested that this fixes also the Latte crash
on exit as PagerModel is not used any more in
Latte internal code
2019-06-10 17:49:21 +03:00
Michail Vourlakos
d312598f60 provide builtin Activity,VDs switching
--this way we will avoid also the crash
on wayland produced by the deprecated
PagerModel
2019-06-10 17:30:25 +03:00
Michail Vourlakos
c16251f743 add buffer size for LastActiveWindow 2019-06-09 13:06:06 +03:00
Michail Vourlakos
35752bbc2f proceed with implementation of LastActiveWindow 2019-06-09 12:47:10 +03:00
Michail Vourlakos
29bbba1730 improve View::currentScreenWindowsTracking 2019-06-09 02:51:00 +03:00
Michail Vourlakos
ef3db56ce7 fix Tracker::AllScreens init signaling on startup 2019-06-09 02:33:01 +03:00
Michail Vourlakos
353f7119cc move Tracker::Enabled to View::WindowsTracker
--previously it was found in the consumers of
View::WindowsTracker (CurrentScreenTracker and
AllWindowsTracker)
2019-06-08 18:11:02 +03:00
Michail Vourlakos
4cc4bfd6de REFACTOR WindowsTracker to provide more information
--View::WindowsTracker now provides all the time
information about CurrentScreen and AllScreens!
This way all consumers (Latte::Containment, Applets etc.)
can choose whatever suits them best.
2019-06-08 17:36:14 +03:00
Michail Vourlakos
7deef41015 move View::WindowsTracker to own directory 2019-06-08 16:20:43 +03:00
Michail Vourlakos
607dbac4cf update WindowsTracker to track AllScreens windows
--by using a Layouts perspective in order to accomplish
that
2019-06-08 16:08:35 +03:00
Michail Vourlakos
0aa5c520dc add Layouts Tracking in WindowsTracking 2019-06-08 15:25:45 +03:00
Michail Vourlakos
e57ff695ed ignore LastActiveWindow tracking for !enabled 2019-06-08 14:19:45 +03:00
Michail Vourlakos
7decc54ddf introduce TrackedLayoutInfo 2019-06-08 14:16:27 +03:00
Michail Vourlakos
2b316aa728 improve trackedinfo(s) 2019-06-08 13:43:50 +03:00
Michail Vourlakos
96c081e076 remove View from TrackedGeneralInfo 2019-06-08 11:12:25 +03:00
Michail Vourlakos
6d1ac0bfe2 remove deprecated references 2019-06-08 10:50:42 +03:00
Michail Vourlakos
c2bfda46d3 make WindowsTracking activity filtering accurate 2019-06-08 01:38:27 +03:00
Michail Vourlakos
1b5de7d859 remove irrelevant windows from Track::History
--last active windows that were minimized OR
changed screen must be removed from last active
window history
2019-06-08 01:03:03 +03:00
Michail Vourlakos
59a4d63ca6 improve activities and desktops WM filtering 2019-06-08 00:31:30 +03:00
Michail Vourlakos
c7eb97a879 update WindowInfo to contain desktops/activities 2019-06-07 23:45:42 +03:00
Michail Vourlakos
79ae6a6de4 initial support History for LastActiveWindow 2019-06-07 18:07:19 +03:00
Michail Vourlakos
4ae9b1b91c update LastActiveWindow with signals 2019-06-04 23:08:05 +03:00
Michail Vourlakos
c0e3004717 add LastActiveWindow debug records
--in DebugWindow
2019-06-04 20:08:30 +03:00
Michail Vourlakos
a0226e1de9 split trackedinfo to general and view 2019-06-04 19:49:43 +03:00
Michail Vourlakos
c9ab9a1dbe dont equalize WindowInfo icon and appName
--icon and appName are constly functions and
should be called only when are really needed
2019-06-04 19:17:41 +03:00
Michail Vourlakos
e5673a9cfa fix type for DodgeMaximized 2019-06-03 19:20:06 +03:00
Michail Vourlakos
3f3560aab5 update dodgeAllWindows on startup properly 2019-06-03 19:16:48 +03:00
Michail Vourlakos
2c33ad52b6 support file paths for Indicator::Resource::svgs 2019-06-03 19:09:08 +03:00
Michail Vourlakos
149812080f move View/Indicator in its own directory 2019-06-03 18:36:45 +03:00
Michail Vourlakos
f75605d78d introduce Resources for Indicators 2019-06-03 18:31:42 +03:00
Michail Vourlakos
51c11071dd support toggle onAllDesktops for LastActiveWindow 2019-06-02 01:57:03 +03:00
Michail Vourlakos
af609ca53f X11:track more LastActiveWindow properties
--track windowChanged properties for KeepAbove
and isOnAllDesktops flags under X11
2019-06-02 01:33:34 +03:00
Michail Vourlakos
f3eacf169e add actions for LastActiveWindow 2019-06-02 01:16:44 +03:00
Michail Vourlakos
6898623bd6 identify PlasmaDesktop on startup under X11
--this was only an issue during startup but
add the same time is a good place to add a check
for plasma desktop
2019-06-01 11:04:23 +03:00
Michail Vourlakos
342d4a1a00 move window funcionality to lastactivewindow 2019-06-01 10:55:03 +03:00
Michail Vourlakos
a03655f176 new heuristic to identify plasma desktop window 2019-06-01 03:49:57 +03:00
Michail Vourlakos
54f1e3576e ignore Desktops under X11 2019-06-01 02:57:47 +03:00
Michail Vourlakos
d44809eb25 enable drag dialog-child windows of skiptaskbar 2019-06-01 02:48:07 +03:00
Michail Vourlakos
c45aa3f56c make xwindowinterface checks lighter
--use the windowsTracker in order to check
a window validity. No need to check again
and again in the window type is valid
2019-06-01 02:43:30 +03:00
Michail Vourlakos
8a8eb632b7 accept Gtk2+ dialogs for tracking
--Gtk2+ dialogs under X11 appear as
type Splash and PopUp at the same time.
This is a messy situation let's live
with this
2019-06-01 02:33:44 +03:00
Michail Vourlakos
3cbc4a5daf support AppName for WindowInformation
--use plasma libtaskmanager code and way
in order to obtain properly the AppName and
the Icon for its window
2019-06-01 01:20:54 +03:00
Michail Vourlakos
d45ebf9a34 add application name to WindowInformation 2019-05-31 20:50:08 +03:00
Michail Vourlakos
53d24fe2c6 forward LastActiveWindow to QML 2019-05-31 19:12:34 +03:00
Michail Vourlakos
e07cee3862 support icon for LastActiveWindow 2019-05-31 17:59:52 +03:00
Michail Vourlakos
25c96d0d3a support isOnAllDesktops for LastActiveWindow 2019-05-31 17:44:04 +03:00
Michail Vourlakos
eea213a5c0 add isOnAllDesktops to WindowInformation 2019-05-31 17:36:47 +03:00
Michail Vourlakos
2d2f7b172d add more properties at LastActiveWindow 2019-05-31 17:31:29 +03:00
Michail Vourlakos
dbed45b2c7 introduce TrackedInfo and LastActiveWindow 2019-05-31 16:58:42 +03:00
Michail Vourlakos
99ec9cb2fd move WM:Trackers in its own directory 2019-05-31 14:52:16 +03:00
Michail Vourlakos
2a6620853b fix crash when updating Indicators packages 2019-05-28 19:02:04 +03:00
Michail Vourlakos
b6520b1cd8 Improve WindowTracker CPU usage
--add a Timer in order to not sent too many
batch signals for windowChanged with no reason
and send only one at the end of the Timer::trigger
2019-05-27 20:09:48 +03:00
Michail Vourlakos
97332cc8cf introduce Display and Icon for WindowInfoWrap 2019-05-27 19:26:28 +03:00
Michail Vourlakos
b251ea7b8e protect visibility destructor
--this protects a crash when closing Latte
immediately after startup
2019-05-27 10:57:16 +03:00
Michail Vourlakos
a8a19bb550 support VirtualDesktops for kwayland>=5.52
--This of course needs Plasma>=5.15

BUG: 398106
2019-05-26 00:58:42 +03:00
Michail Vourlakos
61e9e629c5 rename some global shortcuts texts
--protect also the Layout::lastConfigViewFor,
dont sent a view that is no longer available
2019-05-25 18:05:24 +03:00
Michail Vourlakos
96b86f4c49 remember lastConfigViewFor for shared layouts 2019-05-25 17:49:02 +03:00
Michail Vourlakos
7cd3b6201d remember the last created ConfigView per layout 2019-05-25 17:40:29 +03:00
Michail Vourlakos
beb0100644 fix some applets animations flickerring
--especially when the user drags something over
the Latte::View and afterwards drops it
2019-05-25 14:46:19 +03:00
Michail Vourlakos
f822ece27a keep onPrimary flag when copying views 2019-05-25 09:32:50 +03:00
l10n daemon script
131ae2622d 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-05-21 06:00:09 +02:00
l10n daemon script
fc78cae03f 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-05-19 05:33:09 +02:00
Michail Vourlakos
86e645c720 position properly dropped applets and urls in view 2019-05-17 21:49:31 +03:00
Michail Vourlakos
1ef4de0da8 VASTLY IMPROVE dragging experience
--when dragging a new applet over the view
the responsiveness is now improved vastly
--the new architecture uses two different
DragAndDropAreas. One which is the old one
and is used when dragged launchers, urls and
separators. The second is used only when
applets are dragged into the view
--the visuals for adding launchers/applets have
been improved and a circular visual is preferred
now instead
2019-05-17 21:28:39 +03:00
Michail Vourlakos
3789f3c178 improve adding applets through dragging responsive
--fix all events identifications from DragMove and
DragExit etc. in containment::qml part and all drags
flags are calculated only at DragEnter! This fixes
the DragMove signaling and all DragMove signals are
sent correctly.
It needs to be fixed also for Tasks plasmoid because
every time the mouse hovers the Tasks Plasmoid then
the DragMove signals are NOT SENT as they should.
2019-05-16 23:20:51 +03:00
Michail Vourlakos
ffced101e1 apply visibilitymanager::struts when are needed 2019-05-14 17:56:22 +03:00
Michail Vourlakos
f63a0ad658 update/improve hack part of screenghostwindow
--related to KWin faulty behavior for visibility
2019-05-14 17:40:44 +03:00
Michail Vourlakos
ebeabb1033 increase View::timers kwin hack 2019-05-14 17:12:36 +03:00
Michail Vourlakos
11f70edbac fill SharedLayouts circles in LayoutsEditor 2019-05-12 18:08:11 +03:00
Michail Vourlakos
f89b110a36 drop Meta+E that is used from Dolphin 2019-05-12 17:36:15 +03:00
Michail Vourlakos
3a3823add3 Assign/Remove properly Shares from INACTIVE Centrals 2019-05-12 14:30:22 +03:00
Michail Vourlakos
133c301b65 register SchemeColors as qml metatype 2019-05-12 13:57:45 +03:00
Michail Vourlakos
568716e9d3 add SharedLayouts ending circle in LayoutsEditor 2019-05-12 13:46:32 +03:00
Michail Vourlakos
2d89e60030 fix layoutViewType for Shared Layouts 2019-05-12 13:24:00 +03:00
Michail Vourlakos
ebaf81ddd8 remove deprecated code from AbstractWindowInterfa 2019-05-12 02:35:28 +03:00
Michail Vourlakos
48d3728005 REFACTOR:Introduce SchemesTracker for WM 2019-05-12 02:17:22 +03:00
Michail Vourlakos
4e80801523 syncLatteViews when Central is assigned to Shared 2019-05-12 01:41:09 +03:00
Michail Vourlakos
e13793df38 identify screen id at startup for primary screens 2019-05-12 01:36:00 +03:00