https://bugs.kde.org/show_bug.cgi?id=422319

Vlad Zahorodnii <vlad.zahorod...@kde.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Latest Commit|https://invent.kde.org/plas |https://invent.kde.org/plas
                   |ma/kwin/-/commit/def3a50558 |ma/kwin/-/commit/0691a973f8
                   |99b1a9000a18060575fefcc7173 |f591b3ad41564f3e6bbb21c0ead
                   |c1a                         |53a

--- Comment #8 from Vlad Zahorodnii <vlad.zahorod...@kde.org> ---
Git commit 0691a973f8f591b3ad41564f3e6bbb21c0ead53a by Vlad Zahorodnii.
Committed on 30/01/2024 at 14:54.
Pushed by vladz into branch 'Plasma/6.0'.

Ignore external updates of _NET_DESKTOP_LAYOUT and _NET_DESKTOP_NAMES

At the moment, the desktop layout in _NET_DESKTOP_LAYOUT overwrites new
desktop layout with outdated information. This happens because kwin tries
to honor the desktop layout set by the pager. However, kwin itself
already acts as the pager. The pager applet in plasma doesn't attempt to
maintain _NET_DESKTOP_LAYOUT with proper values.

On the other hand, kwin trying to both update and also sync its state to
_NET_DESKTOP_LAYOUT and _NET_DESKTOP_NAMES has created a series of
issues, like lockups or rendering glitches.

Given that the window manager can ignore these properties, and the fact
that kwin already does act like a pager, this patch makes kwin ignore
external updates to _NET_DESKTOP_LAYOUT and _NET_DESKTOP_NAMES.

In order to modify the desktop layout on X11, use the dbus api. On
Wayland, either the dbus api or the virtual desktop wayland protocol.
Related: bug 480371


(cherry picked from commit def3a5055899b1a9000a18060575fefcc7173c1a)

M  +25   -41   autotests/test_virtual_desktops.cpp
M  +1    -8    src/rootinfo_filter.cpp
M  +14   -69   src/virtualdesktops.cpp
M  +1    -5    src/virtualdesktops.h

https://invent.kde.org/plasma/kwin/-/commit/0691a973f8f591b3ad41564f3e6bbb21c0ead53a

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to