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
6 years ago
Michail Vourlakos
42d94df47f
introduce windowCanBeMaximized
...
--trying to avoid interacting with windows
that DO NOT allow it
6 years ago
Michail Vourlakos
59f1d72fa3
improve canBeDragged implementation
...
--follow libtaskmanager case to support this
6 years ago
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
6 years ago
Michail Vourlakos
71e291ccec
comment debug messages
6 years ago
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 )
6 years ago
Michail Vourlakos
b94f87f144
rename trackerwindows to windowstracker
...
-- in order to distinguish it from the neighbour
tracker classes
6 years ago
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
6 years ago
Michail Vourlakos
3a465782e1
wayland:improve latte windows id discovering
6 years ago
Michail Vourlakos
c85d24ac37
use WM:IgnoredWindows infrastructure for wayland
...
--improvements for IgnoredWindows infrastructure
all over the relevant classes
6 years ago
Michail Vourlakos
79f392723e
wm:support ignored windows
...
--x11 implementation is in place and wayland
case must be updated accordingly
6 years ago
Michail Vourlakos
ef08dbff96
update to latest tasktools.cpp from plasma master
6 years ago
Michail Vourlakos
6c70e1fd81
disable debug messages for windows tracking
6 years ago
Michail Vourlakos
5546a237a2
update struts propertly on wayland startup
...
BUG: 408977
6 years ago
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
6 years ago
Michail Vourlakos
91a9e7c0c5
improvements for effects area and painting
6 years ago
Michail Vourlakos
df3118fc98
Revert "remove workaround for X11 struts !compositing gap"
...
This reverts commit 37b708ef52
.
6 years ago
Michail Vourlakos
37b708ef52
remove workaround for X11 struts !compositing gap
6 years ago
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
6 years ago
Michail Vourlakos
d312598f60
provide builtin Activity,VDs switching
...
--this way we will avoid also the crash
on wayland produced by the deprecated
PagerModel
6 years ago
Michail Vourlakos
c16251f743
add buffer size for LastActiveWindow
6 years ago
Michail Vourlakos
35752bbc2f
proceed with implementation of LastActiveWindow
6 years ago
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.
6 years ago
Michail Vourlakos
607dbac4cf
update WindowsTracker to track AllScreens windows
...
--by using a Layouts perspective in order to accomplish
that
6 years ago
Michail Vourlakos
0aa5c520dc
add Layouts Tracking in WindowsTracking
6 years ago
Michail Vourlakos
e57ff695ed
ignore LastActiveWindow tracking for !enabled
6 years ago
Michail Vourlakos
7decc54ddf
introduce TrackedLayoutInfo
6 years ago
Michail Vourlakos
2b316aa728
improve trackedinfo(s)
6 years ago
Michail Vourlakos
96c081e076
remove View from TrackedGeneralInfo
6 years ago
Michail Vourlakos
6d1ac0bfe2
remove deprecated references
6 years ago
Michail Vourlakos
c2bfda46d3
make WindowsTracking activity filtering accurate
6 years ago
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
6 years ago
Michail Vourlakos
59a4d63ca6
improve activities and desktops WM filtering
6 years ago
Michail Vourlakos
c7eb97a879
update WindowInfo to contain desktops/activities
6 years ago
Michail Vourlakos
79ae6a6de4
initial support History for LastActiveWindow
6 years ago
Michail Vourlakos
4ae9b1b91c
update LastActiveWindow with signals
6 years ago
Michail Vourlakos
c0e3004717
add LastActiveWindow debug records
...
--in DebugWindow
6 years ago
Michail Vourlakos
a0226e1de9
split trackedinfo to general and view
6 years ago
Michail Vourlakos
c9ab9a1dbe
dont equalize WindowInfo icon and appName
...
--icon and appName are constly functions and
should be called only when are really needed
6 years ago
Michail Vourlakos
51c11071dd
support toggle onAllDesktops for LastActiveWindow
6 years ago
Michail Vourlakos
af609ca53f
X11:track more LastActiveWindow properties
...
--track windowChanged properties for KeepAbove
and isOnAllDesktops flags under X11
6 years ago
Michail Vourlakos
f3eacf169e
add actions for LastActiveWindow
6 years ago
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
6 years ago
Michail Vourlakos
342d4a1a00
move window funcionality to lastactivewindow
6 years ago
Michail Vourlakos
a03655f176
new heuristic to identify plasma desktop window
6 years ago
Michail Vourlakos
54f1e3576e
ignore Desktops under X11
6 years ago
Michail Vourlakos
d44809eb25
enable drag dialog-child windows of skiptaskbar
6 years ago
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
6 years ago
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
6 years ago
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
6 years ago