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

164 Commits

Author SHA1 Message Date
Michail Vourlakos
7a1b920aba init default color scheme based on plasma version 2021-02-19 18:05:26 +02:00
Michail Vourlakos
d437ed8c3d specify plasma default color scheme 2021-02-19 14:42:19 +02:00
Michail Vourlakos
1e8ec1380d track lastActiveWindows for OnAllActivities layout
--fix the typo that identifies when a view in present
OnAllActivities, {0} that is.

BUG:431763
2021-02-03 00:34:53 +02:00
Michail Vourlakos
f27f938042 support XDG_CONFIG_PATH for app code
BUG:428210
2021-02-02 22:29:27 +02:00
Michail Vourlakos
939c0573f9 x11:accept signals from Desktop windows
--this way we make sure that if Desktop windows
were not filtered out in the past they will be
in the future
2020-10-28 10:27:35 +02:00
Michail Vourlakos
5af3036613 fixes for identifying Unity vertical view showing
--more specific identifying properly when a vertical
view is shown and is touching a top or bottom view
that has requested to be fully trasparent when no
maximized window exists
2020-08-31 19:27:42 +03:00
Michail Vourlakos
3689cc406d retrieve available screen space through activityid 2020-08-28 17:58:39 +03:00
Michail Vourlakos
3b3388d673 rename SideBar to SidebarOnDemand
--improve semantics all over the place now
that we provide two different sidebar
visibility modes
2020-07-29 00:02:50 +03:00
Martijn Vogelaar
2e4f7da4c2 Introduction and implementation of the SidebarAutohide
as discussed in #19.
2020-07-28 15:49:55 +00:00
Michail Vourlakos
24696fcf06 check plasmashell windows always to track desktops 2020-07-19 18:05:44 +03:00
Michail Vourlakos
6de05c92e8 support XCP::SHAPE for Views
--views can now specify their input area under X11 and
give valuable space to underlying windows
2020-07-19 15:04:46 +03:00
Michail Vourlakos
7084953672 wayland:fix multi-config views behavior 2020-07-11 19:00:05 +03:00
Michail Vourlakos
f7e89a6d6e update some config views wayland code 2020-07-11 18:13:47 +03:00
Michail Vourlakos
0c577d68da fix active window maximized in wm tracking
--consider also the maximized window is touching
view edge case
2020-06-09 10:21:15 +03:00
Michail Vourlakos
b264854a98 Dodge visibility mode now ignores edge touches
--The new implementation for snapping needed to remove
the touching view edge from touching algorithm. The
windows trakers now provide two separate values for each
touching.
----First value is for regular window touches for which
their window geometry intersects with view published
absoluteGeometry
----Second value is for windows that are touching
view edge without intersecting with view geometry
2020-05-17 11:42:09 +03:00
Michail Vourlakos
ec949948b6 fix View recraetion and frameExtents freezes
--View recreation path was broken from new implementation
for Latte::Interfaces that pass objects to containment
interface. This is now fixed and Interfaces::View object is updated
and broadcasted correctly when changed
--when GtkFrameExtents are zeroed for behaveAsPlasmaPanels
then it is better to recreate the view to avoid freezes and
hidings of the view because of compositor strange behavior
2020-05-12 14:45:31 +03:00
Michail Vourlakos
8b32be15b9 support GtkFrameExtents under X11
--this way to dock windows can now snap beautifully
with windows around them, very beautiful behavior!
That was pretty annoying in the past.
2020-05-11 17:31:51 +03:00
Michail Vourlakos
63187ce5b4 remove Latte library as requirement
--implement things simpler by using the same
CoreTypes header file both for LatteCore.Types
import statement and App c++ implementation.
Let's leave in the future to decide if
a LibLatte is really necessary.
2020-04-24 14:52:16 +03:00
Michail Vourlakos
2526ab7e17 rename to MemoryUsage::LayoutsMemory
--easier to read in the code as that type
provides:
MemoryUsage::SingleLayout
MemoryUsage::MultipleLayouts
2020-04-24 12:31:03 +03:00
Michail Vourlakos
6e4779e6ab require new official Latte library 2020-04-22 21:10:17 +03:00
Michail Vourlakos
ac3ccb5b98 try to support a public liblatte library 2020-04-22 14:09:42 +03:00
Michail Vourlakos
5073939335 REFACTOR:split up and refactor liblatte2 and types
--use a more logical organization for types. LibLatte2
is split to become LatteCore library and Latte types
are now moved to application level. The Latte Types will
be split even more... Tasks-Only related types will
become Latte.Tasks types

BUG:420210
2020-04-18 13:39:45 +03:00
Michail Vourlakos
ce245ab253 ignore some windows in LastActiveWindow
--LastActiveWindow is providing information to
applets thus special windows that contain
the following flags:
skipTaskBar AND (skipPager OR skipSwitcher)
these windows can be totally ignored.
In such window case the LastActiveWindow used
are provided.

BUG:419384
2020-04-07 13:00:45 +03:00
Michail Vourlakos
f90e86fa88 introduce hasSkipPager/Switcher for window infos 2020-04-07 12:51:44 +03:00
Michail Vourlakos
1f92045873 update windowinfowrap code style
--make its code style like the one
used in other data classes
2020-04-07 12:44:08 +03:00
Michail Vourlakos
778dcc3e5a fix 5.38 compatibility for wayland case 2020-04-05 10:42:00 +03:00
Michail Vourlakos
0d29114664 whitelist krunner and yakuake windows 2020-03-26 14:16:04 +02:00
Michail Vourlakos
4d3b5e86e8 major refrest for wm(s), remove consts
--introduce also windows whitelist that can
be used in order to force tracking in some
windows
2020-03-25 18:40:48 +02:00
Michail Vourlakos
a651d9f731 wayland:ignore all popups 2020-03-25 15:03:19 +02:00
Michail Vourlakos
efaaf70297 x11: do not track popups at all cases 2020-03-25 14:50:01 +02:00
Michail Vourlakos
e951aa67b2 protect updating LastActiveWindow appData
--LastActiveWindow application data should be updated
only when the last active window id is equal with
the sent application data. Otherwise we may show
Application name and icon for totally irrelevant
window.

Bug was first reported at:
https://github.com/psifidotos/applet-window-title/issues/89/

FIXED-IN:0.9.10
2020-03-24 15:23:33 +02:00
Michail Vourlakos
f4c255952f disable some debug messages 2020-03-19 12:16:09 +02:00
Michail Vourlakos
e0c04a9c6f import:dont update view:local_geometry when hidden
--if this does not apply then local geometry are not valid
when views become hidden
2020-03-19 12:09:17 +02:00
Michail Vourlakos
2db252b769 fix warnings 2020-03-14 14:41:07 +02:00
Michail Vourlakos
d3a07b5371 improvements for multips views and sidebars 2020-03-07 21:24:06 +02:00
Michail Vourlakos
e6ba47daab add more ignore visibility modes for calculations
--when a view is loaded its visibility mode is not
set already, in that case ignore it from all the
availableScreenGeometries calculations
2020-03-07 18:43:18 +02:00
Michail Vourlakos
719c852c8c update availableScree...WithCriteria functions
--use ignoredModes/Edges instead of accepted ones in order
to make code more readable and easy to understand
2020-03-07 15:36:39 +02:00
Michail Vourlakos
d3b5e2c4eb remove gtk_frame_extents from window geometries
--under x11 environment remove the gtk_frame_extents that
are used for shadows under plasma environment

BUG:417856
2020-03-06 21:45:54 +02:00
Michail Vourlakos
b82d9dfdbe x11:validate windows added before accepting them
--this way when Plasma Desktop is reloaded or during
startup after Latte is loaded then Plasma desktop
window is still totally ignored.
2020-03-05 21:20:25 +02:00
Michail Vourlakos
4df139f34f ignore ksmserver fullscreen windows
--this way fullscreen windows from ksmserver
such as LogOut are totally ignored from Latte
for coloring,placement etc.
2020-03-02 10:05:43 +02:00
Michail Vourlakos
d5033d1bed improve latte wayland ids discovery
--introduce new waylad ids discovery implementation
for View::Positioner
2020-03-02 09:39:57 +02:00
Michail Vourlakos
5363433b00 ignore fullscreen windows from Plasma and Latte
--drop isPlasmaDesktop flag for windows and use the
new wm approach for plasmaIgnoredWindows
2020-02-29 17:57:59 +02:00
Michail Vourlakos
4b1580c0bd move View::HelperWindows in their own directory
--at the same time create a base SubWindow class for
all window helpers used by Views. Now ScreenEdgeGhostWindow
and FloatingGapWindow use the same window implementation
2020-01-22 19:45:13 +02:00
Michail Vourlakos
ad61f897af improve semantics 2020-01-22 13:51:18 +02:00
Michail Vourlakos
b681836232 expose WindowAbilities from LastActiveWindow API
--expose isClosable,isMinimizable, isMaximizable etc..
through the LastActiveWindow API for applets or containments
to use
2020-01-22 13:02:00 +02:00
Michail Vourlakos
80ceea98e2 respect plasma theme color palette always
--identify better what is the plasma theme color
palette the creator has chosen and use ALWAYS
the same color palette that Plasma is also using.
In the past, Latte was trying to protect the
color palette because Latte REVERSED colors mode
did not work fine for all plasma themes. That
approach is abandoned, Latte will use the same
colors group with plasma themes and it is on
the creators responsibility to provide enough
contrast
2020-01-12 10:52:45 +02:00
Michail Vourlakos
3b1676fb93 update caller for availablescreenrectwithcriteria 2020-01-04 19:42:35 +02:00
Michail Vourlakos
e0e6f5f6b3 improve semantics for WM::setActiveEdge 2020-01-03 21:18:01 +02:00
Michail Vourlakos
79705e9753 option to disable creenEdgeMargin for maximized
--improved settings for Floating windows in Behavior
tab and add a new option to hide ALL screen gaps meaning
both length screen and thickness screen gap when there
is a maximized window in the screen

BUG:415630
2019-12-29 14:09:37 +02:00
Michail Vourlakos
a0f9758350 wayland fix crash from visibility mode flag
--app is crashing if we set for Latte::Views
KWin visibility mode to WindowsCanCover because
Latte is hiding its Views at some animations.
In such case only the KWin AutoHide mode allows
that, otherwise it is crashing.
2019-12-27 00:21:20 +02:00