Fix UI lag when switching virtual desktop
Some checks failed
Build RPMs / build (sonic-interface-libraries.spec) (push) Failing after 11s
Build RPMs / build (sonic-win.spec) (push) Failing after 9s
Build RPMs / build (sonic-workspace.spec) (push) Failing after 7s

Fixes the UI lag caused by the floating panel animation
This commit is contained in:
Anders da Silva Rytter Hansen 2026-07-02 11:04:31 -03:00
commit 9a7eaaae1c
4 changed files with 100 additions and 2 deletions

View file

@ -11,7 +11,7 @@
Name: sonic-desktop-interface
Summary: Plasma Desktop shell
Version: 6.6.4
Release: 11%{?dist}
Release: 12%{?dist}
License: BSD-2-Clause AND BSD-3-Clause AND CC0-1.0 AND GPL-2.0-only AND GPL-2.0-or-later AND GPL-3.0-only AND LGPL-2.0-only AND LGPL-2.0-or-later AND LGPL-2.1-only AND LGPL-2.1-or-later AND LGPL-3.0-only AND (GPL-2.0-only OR GPL-3.0-only) AND (LGPL-2.1-only OR LGPL-3.0-only)
#URL: https://invent.kde.org/plasma/%{name}
@ -35,6 +35,11 @@ Source20: breeze-fedora-0.3.tar.gz
# Do not remove this as it breaks Fedora's QA policy
Patch101: hide-virtual-keyboard-indicator-on-sddm.patch
# Disable panel floating/opacity animations. Animated panel resizes cause
# synchronous compositor work that stalls the desktop when switching virtual
# desktops, so make the panel state changes instant instead.
Patch102: sonic-desktop-interface-6.6.4-x11-panel-lag.patch
## upstreamable patches
BuildRequires: pkgconfig(libusb)
@ -393,6 +398,10 @@ desktop-file-validate %{buildroot}/%{_datadir}/applications/kaccess.desktop
%changelog
* Thu Jul 02 2026 Anders da Silva Rytter Hansen <andersrh@users.noreply.github.com> - 6.6.4-12
- Disable panel floating/opacity animations to avoid stutter when the panel
changes state (e.g. switching virtual desktops).
* Fri Apr 10 2026 Steve Cossette <farchord@gmail.com> - 6.6.4-1
- 6.6.4