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
0b6c07a1e5
support Active Window Filtering
...
--Latte can now use the new multi-screen
Last Active Window infrastructur to choose
which Active Window is preferred, only from
current screen OR from all screens
2019-06-09 14:41:23 +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
e25da5a668
update Containment Windows Tracking with screens
...
--new screens implementation for Latte screen
tracking
2019-06-09 02:08:47 +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
3f88341bcb
restore Fitt's Law for edge Applets
...
--when the Latte View is in Justify mode
and and an applet is touching the screen edge
then for that applet any margins from the
Screen edge should be removed. That way
the Fitt's Law is obeyed. What is going to
happen for the margins of these applets with
their neighbour applets will be considered
in the future.
BUG: 408412
2019-06-07 18:19:44 +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
c05204ab7b
enable windows tracking for draggingActiveWindow
...
BUG: 408266
2019-06-04 19:25:11 +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
a191a1ce2a
fix typo
2019-06-03 22:17:08 +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
33962fa1fc
expose some animations properties to Indicators
...
--animations enabled and durationTime exposed to
Indicators
2019-06-03 17:19:58 +03:00
Michail Vourlakos
1d055f5e19
try to adjust BadgeText text alignment
...
--following a Plasma related commit in order to
center-align Text properly. There is no big
difference actually.
2019-06-03 15:34:24 +03:00
Michail Vourlakos
3c97bd222e
track how many applets need windowsTracking
2019-06-02 14:45:53 +03:00
Michail Vourlakos
62b8aa6987
improve animationSenting fro DragDropArea
2019-06-02 02:06:18 +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