Commit Graph

188 Commits (675bdf5f7d5aac6d70717cec2bd6962536241d3e)

Author SHA1 Message Date
Michail Vourlakos abcacface8 window belongs in a screen whenever touching it
--whenever a window geometry is touching a screen geometry
is now considered that this window belongs to that screen.
This way a window could look active to more that one screens.
This way all last active window considerations now work
properly even when the window center is out of screen.
3 years ago
Michail Vourlakos e25988ff93 fix broken initialization of windows tracking
--some improvements of 0.10.5 broke the windows tracking
initialization. This is a fix in order for windows tracking
to be enabled/disabled properly per dock/panel during
startup phase.
3 years ago
Michail Vourlakos 88603f6aaf more startup improvements
--visibility: simplify and improve code
for restoring and saving values
--enable visibility mode early on the startup
sequence
--enable windows tracking after startup phase
has ended
--windows tracking respect also view geometry
changes and not only window changes from the
desktop environment
3 years ago
Michail Vourlakos 4f3fef1fda enable strtus fro all alternative DEs 3 years ago
Michail Vourlakos 1ea3130573 ignore window states when kwin is showing desktop
--this way every dock/panel and also applets that
are using the LastActiveWindow API behave like there
is no shown window
3 years ago
Michail Vourlakos abc125fe65 wayland:hide centered black line for alwaysvisible
--drop RasterWindow for always visible ghost windows and
use a fully transparent QQuickView

BUG:444419
FIXED-IN:0.10.4
3 years ago
Michail Vourlakos 4d3c491b84 update lastactivewindow based on changed signal 3 years ago
Michail Vourlakos e6d7d8262b wm:init vdswraparound value properly
BUG:444572
3 years ago
Michail Vourlakos b839283d5b support X11::GlobalScaling properly
--as it appears many users are using Plasma GlobalScaling
in conjuction with PLASMA_USE_QT_SCALING. This commit
provides plenty of fixes for that scenario in order to
make things workable.
--adjust X11::InputMask based on devicePixelRatio()
--adjust X11::GtkFrameExtents based on devicePixelRatio()
--adjust View::absoluteGeometry() based on devicePixelRatio()
--adjust WM::Tracker based on devicePixelRatio()
--adjust WM::AbstractInterface based on devicePixelRatio()

BUG:444222
FIXED-IN:0.10.3
3 years ago
Michail Vourlakos 512243d8e6 fix #85,respect kwin vds navigation wrapping around
--respect and track KWin option for Virtual Desktops
navigation wrapping around setting
3 years ago
Michail Vourlakos f1d435a38e major:update LastActiveWindow implementation
--new implementation keeps a more consistent history.
Each LastActiveWindow(LAW) now keeps track of all windows
that are related to its view even when these windows are not
currently shown. This way inactive windows history is
consistent and can be used from applets/visibility modes
more appropriately. VDs/Activities that are not
the current one(s) do not delete records from history
any more. Their respected windows are recorded and
flagged as NOT SHOWN, waiting this way to be valid
again after Activities/VDs changes.
4 years ago
Michail Vourlakos 29df650645 drop WinTracker::availableScreenGeometry calcs
--Views WindowsTracker in using screen geometry only to
identify which windows are in the same view screen has nothing
to do with availablescreengeometry. This is why it is
dropped and replaced by View::screenGeometry() value
4 years ago
Michail Vourlakos 686d04f181 update scheme files when created
--plasma systemsettings colors dialog recreates
the color scheme file and is not updating it.
By adding a signal for file creation we can now
update color schemes properly when the user updates
colors based on plasma systemsettings dialog
4 years ago
Michail Vourlakos f10ae3e239 layout:update default color scheme ref properly 4 years ago
Michail Vourlakos 6444cc6e2d provide access to scheme colors wm:engine
--this is going to be used in order from layouts
4 years ago
Michail Vourlakos 600d78afca release properly scheme objecs on destruction 4 years ago
Michail Vourlakos 2aec29a855 activate dragged window on start
--this way the window is activated properly
and its activation is not canceled from move
action

BUG:437679
4 years ago
Michail Vourlakos 5d3e04eed9 wayland:set isOnAllActivities flag properly 4 years ago
Michail Vourlakos c3c2c8a7f1 wayland:request all windows properties properly 4 years ago
Michail Vourlakos 7bc31fc9ea support wayland activities since kf5>=5.81 4 years ago
Alexander Lohnau 505379ed04 Use spdx syntax for all files 4 years ago
Michail Vourlakos 4e2c6da514 activate dragged window before moving
BUG:437679
4 years ago
Ömer Fadıl Usta 03e9c6c954 Reorder inits to Fix wrong initialize problem and fixes for string compares 4 years ago
Andreas Sturmlechner 53aad2f979 Port away from deprecated API (NET::StaysOnTop -> NET::KeepAbove)
Deprecated since 5.0.

Signed-off-by: Andreas Sturmlechner <asturm@gentoo.org>
4 years ago
Michail Vourlakos 7a1b920aba init default color scheme based on plasma version 4 years ago
Michail Vourlakos d437ed8c3d specify plasma default color scheme 4 years ago
Michail Vourlakos 1e8ec1380d track lastActiveWindows for OnAllActivities layout
--fix the typo that identifies when a view in present
OnAllActivities, {0} that is.

BUG:431763
4 years ago
Michail Vourlakos f27f938042 support XDG_CONFIG_PATH for app code
BUG:428210
4 years ago
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
4 years ago
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
4 years ago
Michail Vourlakos 3689cc406d retrieve available screen space through activityid 4 years ago
Michail Vourlakos 3b3388d673 rename SideBar to SidebarOnDemand
--improve semantics all over the place now
that we provide two different sidebar
visibility modes
5 years ago
Martijn Vogelaar 2e4f7da4c2 Introduction and implementation of the SidebarAutohide
as discussed in #19.
5 years ago
Michail Vourlakos 24696fcf06 check plasmashell windows always to track desktops 5 years ago
Michail Vourlakos 6de05c92e8 support XCP::SHAPE for Views
--views can now specify their input area under X11 and
give valuable space to underlying windows
5 years ago
Michail Vourlakos 7084953672 wayland:fix multi-config views behavior 5 years ago
Michail Vourlakos f7e89a6d6e update some config views wayland code 5 years ago
Michail Vourlakos 0c577d68da fix active window maximized in wm tracking
--consider also the maximized window is touching
view edge case
5 years ago
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
5 years ago
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
5 years ago
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.
5 years ago
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.
5 years ago
Michail Vourlakos 2526ab7e17 rename to MemoryUsage::LayoutsMemory
--easier to read in the code as that type
provides:
MemoryUsage::SingleLayout
MemoryUsage::MultipleLayouts
5 years ago
Michail Vourlakos 6e4779e6ab require new official Latte library 5 years ago
Michail Vourlakos ac3ccb5b98 try to support a public liblatte library 5 years ago
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
5 years ago
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
5 years ago
Michail Vourlakos f90e86fa88 introduce hasSkipPager/Switcher for window infos 5 years ago
Michail Vourlakos 1f92045873 update windowinfowrap code style
--make its code style like the one
used in other data classes
5 years ago
Michail Vourlakos 778dcc3e5a fix 5.38 compatibility for wayland case 5 years ago