! Please note that this is a snapshot of our old Bugzilla server, which is read only since May 29, 2020. Please go to gitlab.xfce.org for our new server !
xfdesktop doesn't se NETWM hint properly
Status:
RESOLVED: INVALID
Product:
Xfdesktop
Component:
General

Comments

Description Damian Ivanov 2014-02-23 10:15:51 CET
xfdesktop should have NETWM STATE's like SkipPager and SkipTaskbar set.
Comment 1 Eric Koegel editbugs 2014-02-23 20:49:49 CET
xfdesktop sets the net_wm_window_type_desktop atom
as seen in: http://git.xfce.org/xfce/xfdesktop/tree/src/xfce-desktop.c#n1019
According to http://standards.freedesktop.org/wm-spec/wm-spec-latest.html
_NET_WM_STATE_SKIP_TASKBAR indicates that the window should not be included on a taskbar. This hint should be requested by the application, i.e. it indicates that the window by nature is never in the taskbar. Applications should not set this hint if _NET_WM_WINDOW_TYPE already conveys the exact nature of the window.

_NET_WM_STATE_SKIP_PAGER indicates that the window should not be included on a Pager. This hint should be requested by the application, i.e. it indicates that the window by nature is never in the Pager. Applications should not set this hint if _NET_WM_WINDOW_TYPE already conveys the exact nature of the window.

The window type should make it so that those settings don't need to be set.
Are there some instances where setting these would fix something that
doesn't respect the desktop window type?
Comment 2 Damian Ivanov 2014-02-23 21:20:44 CET
Hi Eric,

my apologies,
"Applications should not set this hint if _NET_WM_WINDOW_TYPE already conveys the exact nature of the window."

I am writing a taskbar and missed that part. Sorry.
Comment 3 Eric Koegel editbugs 2014-02-24 08:20:32 CET
No problem, was just trying to see if it was needed in xfdesktop
(and why it never came up before). Good luck with your taskbar,
feel free to bring up any other issues you run into!
Comment 4 Damian Ivanov 2014-06-20 10:23:48 CEST
FYI I'm not the only one who missed:
"Applications should not set this hint if _NET_WM_WINDOW_TYPE already conveys the exact nature of the window."

http://mail.kde.org/pipermail/plasma-devel/2014-June/032767.html

:)

Bug #10710

Reported by:
Damian Ivanov
Reported on: 2014-02-23
Last modified on: 2014-06-20

People

Assignee:
Eric Koegel
CC List:
2 users

Version

Version:
Unspecified

Attachments

Additional information