Bug 393731 - kwin does not set xprop _NET_CURRENT_DESKTOP(CARDINAL) after login
Summary: kwin does not set xprop _NET_CURRENT_DESKTOP(CARDINAL) after login
Status: RESOLVED DUPLICATE of bug 391034
Alias: None
Product: kwin
Classification: Plasma
Component: platform-x11-standalone (show other bugs)
Version: 5.12.4
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-05-01 15:42 UTC by g111
Modified: 2018-05-01 16:22 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description g111 2018-05-01 15:42:37 UTC
"xprop -root" reports some X11-settings for the desktop. One of these settings is "_NET_CURRENT_DESKTOP(CARDINAL)" that returns the number of the current desktop.

The bug that I came across is, that this entry is not set after login. You have to switch the desktop one time to initialize this value.

Steps to reproduce:

* Login into the plasma desktop
* open konsole and execute: xprop -root | grep ^_NET_CURRENT_DESKTOP.CARDINAL

This should print:
_NET_CURRENT_DESKTOP(CARDINAL) = 0

But instead nothing is printed. The line is not present in the xprop output.

* Switch the desktop to another one and back again to desktop 0
* execute the xprop command again

Now the output correctly is:
_NET_CURRENT_DESKTOP(CARDINAL) = 0
Comment 1 Martin Flöser 2018-05-01 16:04:04 UTC
*** This bug has been marked as a duplicate of bug 391034 ***
Comment 2 g111 2018-05-01 16:22:54 UTC
Ah, great. Thank you for the forthcoming fix. And sorry that I did not find the duplicate before reporting this issue.