Bug 430310

Summary: _NET_WORKAREA not set if all panels are set to autohide
Product: [Plasma] kwin Reporter: José Expósito <jose.exposito89>
Component: platform-x11-standaloneAssignee: KWin default assignee <kwin-bugs-null>
Status: REPORTED ---    
Severity: minor CC: kde
Priority: NOR Keywords: X11-only
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Kubuntu   
OS: Linux   
Latest Commit: Version Fixed/Implemented In:
Sentry Crash Report:

Description José Expósito 2020-12-12 17:41:59 UTC
SUMMARY

When every panel is set to autohide, the _NET_WORKAREA hint is not set in the root window.

STEPS TO REPRODUCE
1. Set every panel to autohide
2. Log out and log in
3. The following command does not show the hint: xprop -root | grep _NET_WORKAREA

OBSERVED RESULT

_NET_WORKAREA is not set

EXPECTED RESULT

_NET_WORKAREA should be set to the size of the root window

SOFTWARE/OS VERSIONS

Linux/KDE Plasma: Kubuntu
Comment 1 David Edmundson 2020-12-12 18:16:57 UTC
According to the spec, you're right

>https://specifications.freedesktop.org/wm-spec/1.3/ar01s03.html

> This property MUST be set by the Window Manager upon calculating the work area >for each desktop. 


What real-world problem were you hitting?
Comment 2 José Expósito 2020-12-12 18:28:54 UTC
It was reported by one of my users:
https://github.com/JoseExposito/touchegg/issues/381

I rely on this value to display animations based on user multi-touch input. You can see some examples here:
https://github.com/JoseExposito/touchegg#available-actions

It was easy to workaround on my side though.