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

92 Commits

Author SHA1 Message Date
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
Yuri Chornoivan
15ab253efd Fix minor EBN issues 2019-08-22 11:26:41 +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
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
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
71e291ccec comment debug messages 2019-07-23 11:21:01 +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
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
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
Michail Vourlakos
3a465782e1 wayland:improve latte windows id discovering 2019-07-15 19:15:53 +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
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
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
5546a237a2 update struts propertly on wayland startup
BUG: 408977
2019-06-24 17:27:42 +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
df3118fc98 Revert "remove workaround for X11 struts !compositing gap"
This reverts commit 37b708ef52.
2019-06-15 15:43:23 +03:00
Michail Vourlakos
37b708ef52 remove workaround for X11 struts !compositing gap 2019-06-15 10:02:23 +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
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
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
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