Commit Graph

3269 Commits (1b0de4f312157d2eca3374e5c36c4e0a590cd59b)
 

Author SHA1 Message Date
Michail Vourlakos 1b0de4f312 improve calculations for view mask and shadows
--improve how applet shadows are considered in order
to increase or decrease the view mask based on how
big or not are the applets shadows
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 3c5c59e149 Revert "consider mask thickness for struts"
This reverts commit a4764024db.
6 years ago
Michail Vourlakos df3118fc98 Revert "remove workaround for X11 struts !compositing gap"
This reverts commit 37b708ef52.
6 years ago
Michail Vourlakos 359b120360 Revert "remove workaround for struts gap"
This reverts commit 137cd36547.
6 years ago
Michail Vourlakos 8a281bc3e8 update panel shadows for isBusy state 6 years ago
Michail Vourlakos 137cd36547 remove workaround for struts gap
--consider always the maskThickness when
settings struts in order to avoid gaps
at all cases
6 years ago
Michail Vourlakos 37b708ef52 remove workaround for X11 struts !compositing gap 6 years ago
Michail Vourlakos a4764024db consider mask thickness for struts 6 years ago
Michail Vourlakos fd9025f632 adjust panel transparency according to theme level
--Latte now identifies what is the maximum transparency
provided by a plasma theme and uses that information
in order to provide full solidness if needed by the
Background Opacity option (meaning 100% should be totally
solid)
6 years ago
Michail Vourlakos 4535ee03c2 REAL maxOpacity from plasma panel backgrounds
--Plasma::ExtendedTheme class now provides maximum
opacity provided by panel backgrounds
6 years ago
Michail Vourlakos ffd0bef611 blacklist plasma notifications in heuristics
--plasma notification applet has become more complex
lets blacklist it in order to provide the real
plasma experience and see how it goes

BUG: 408566
6 years ago
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
6 years ago
Michail Vourlakos 734c08ffda improve plasma theme roundness discovery 6 years ago
Michail Vourlakos d9989300d1 add text for IsBusy opacity case
--when the desktop background isBusy and
the user has chosen full transparency when
no window is touching the View then the
user can set the Busy Opacity to define
how much panel background opacity wants
6 years ago
Michail Vourlakos 98587d11d4 make Latte panel background painting more important
--I reversed the logic meaning that the Latte panel
background painting in more important than the Plasma
original SVG painting. That way the animations between
panels painting become smoother with no glitches

BUG: 408552
6 years ago
Michail Vourlakos 24c9940bac fix typo 6 years ago
Michail Vourlakos afe4ae8c6c add translation strings explanations 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 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
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 29bbba1730 improve View::currentScreenWindowsTracking 6 years ago
Michail Vourlakos ef3db56ce7 fix Tracker::AllScreens init signaling on startup 6 years ago
Michail Vourlakos e25da5a668 update Containment Windows Tracking with screens
--new screens implementation for Latte screen
tracking
6 years ago
Michail Vourlakos 353f7119cc move Tracker::Enabled to View::WindowsTracker
--previously it was found in the consumers of
View::WindowsTracker (CurrentScreenTracker and
AllWindowsTracker)
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 7deef41015 move View::WindowsTracker to own directory 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 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
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 c05204ab7b enable windows tracking for draggingActiveWindow
BUG: 408266
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 a191a1ce2a fix typo 6 years ago
Michail Vourlakos e5673a9cfa fix type for DodgeMaximized 6 years ago