1
0
mirror of https://github.com/KDE/latte-dock.git synced 2025-02-07 13:57:40 +03:00

3277 Commits

Author SHA1 Message Date
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
2e5a018678 disable scrolling shadows when Tasks in desktop 2019-06-17 10:08:06 +03:00
Michail Vourlakos
a7abf5d309 update background svg file when plasmatheme changes 2019-06-16 17:44:02 +03:00
Michail Vourlakos
b7cf5dbb62 avoid glitch from panel shadow 2019-06-16 16:39:32 +03:00
Michail Vourlakos
2396ffbe19 rethink isBusy state panel shadow
--panel shadows in ISBUSY state are applied
when BLUR is enabled and backgroundopacity>0 OR
BLUR is NOT enabled and backgroundopacity>20
2019-06-16 15:59:56 +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
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
2019-06-15 20:17:40 +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 a4764024db8324c3dbddd698d858f9d91737a8f8.
2019-06-15 15:43:32 +03:00
Michail Vourlakos
df3118fc98 Revert "remove workaround for X11 struts !compositing gap"
This reverts commit 37b708ef52b70777196f81dcda5f893ad859bd9c.
2019-06-15 15:43:23 +03:00
Michail Vourlakos
359b120360 Revert "remove workaround for struts gap"
This reverts commit 137cd365476ffc417aa6cd7974e4187c29e1a66b.
2019-06-15 15:43:12 +03:00
Michail Vourlakos
8a281bc3e8 update panel shadows for isBusy state 2019-06-15 14:43:50 +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
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)
2019-06-14 16:56:23 +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
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
2019-06-12 23:31:54 +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
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
2019-06-11 19:56:34 +03:00
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
2019-06-11 17:26:35 +03:00
Michail Vourlakos
24c9940bac fix typo 2019-06-10 21:27:13 +03:00
Michail Vourlakos
afe4ae8c6c add translation strings explanations 2019-06-10 17:56:06 +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
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