Summary: | _NET_CURRENT_DESKTOP not set on startup | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Deleted User <bharadwaj.raju777> |
Component: | core | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | g111, qw2g64 |
Priority: | NOR | Keywords: | regression |
Version First Reported In: | 5.12.0 | Flags: | mgraesslin:
Wayland+
mgraesslin: X11+ mgraesslin: ReviewRequest+ |
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
URL: | https://phabricator.kde.org/D10836 | ||
Latest Commit: | https://commits.kde.org/kwin/4205496033728c82643e78340b4ddae3079c6280 | Version Fixed In: | 5.12.5 |
Sentry Crash Report: |
Description
Deleted User
2018-02-25 07:17:44 UTC
It looks like this feature has been broken for years without anybody noticing. We only seem to sync to X property when a window switches virtual desktop. (In reply to Martin Flöser from comment #1) > It looks like this feature has been broken for years without anybody > noticing. We only seem to sync to X property when a window switches virtual > desktop. For me (Arch Linux), this feature is only broken recently. I frequently use a script that calls "xdotool get_desktop". It used to work on kwin-5.11.5 but is broken on 5.12. (In reply to Martin Flöser from comment #1) > It looks like this feature has been broken for years without anybody > noticing. We only seem to sync to X property when a window switches virtual > desktop. Can confirm jingyu9575's experience. This has been broken only recently, on both Arch Linux and Neon (User edition). Yeah I misinterpreted the code. An area I didn't expect to be relevant for changing the property actually changes the property on desktop changes. I have a fix for the issue. patch at: https://phabricator.kde.org/D10836 Git commit 4205496033728c82643e78340b4ddae3079c6280 by Martin Flöser. Committed on 29/03/2018 at 15:50. Pushed by graesslin into branch 'Plasma/5.12'. Ensure _NET_CURRENT_DESKTOP is set on startup Summary: Seems to have regressed in Plasma 5.12 due to code reordering. Now the property is explicitly updated once the NETRootInfo is created. FIXED-IN: 5.12.5 Test Plan: Test case exposing the problem added. Fails without the patch, succeeds with the patch. Reviewers: #kwin, #plasma Subscribers: plasma-devel, kwin Tags: #plasma Differential Revision: https://phabricator.kde.org/D10836 M +52 -0 autotests/integration/virtual_desktop_test.cpp M +1 -0 workspace.cpp https://commits.kde.org/kwin/4205496033728c82643e78340b4ddae3079c6280 *** Bug 393731 has been marked as a duplicate of this bug. *** |