Bug 430310 - _NET_WORKAREA not set if all panels are set to autohide
Summary: _NET_WORKAREA not set if all panels are set to autohide
Status: REPORTED
Alias: None
Product: kwin
Classification: Plasma
Component: platform-x11-standalone (other bugs)
Version First Reported In: unspecified
Platform: Kubuntu Linux
: NOR minor
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords: X11-only
Depends on:
Blocks:
 
Reported: 2020-12-12 17:41 UTC by José Expósito
Modified: 2026-01-22 16:14 UTC (History)
1 user (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.