Comment 22 for bug 500101

Revision history for this message
In , Mrooney-i (mrooney-i) wrote :

Hello, thanks for the wonderful IDE!

One issue however is that NetBeans does not provide a useful WM_CLASS property on Linux, which docks and other tools use to match processes to windows. You can test this by running something like "xprop | grep WM_CLASS", which will turn your cursor into a cross, waiting for a click on a window, such as NetBeans:

$ xprop | grep WM_CLASS
WM_CLASS(STRING) = "sun-awt-X11-XFramePeer", "java-lang-Thread"

so, it is only possible to know that the window is a Java app, but not that it matches the process "nbexec" for example.

Here are some examples of well-behaved applications:

Chromium: WM_CLASS(STRING) = "chromium-browser", "Chromium-browser"
Firefox: WM_CLASS(STRING) = "Navigator", "Firefox"
Thunderbird: WM_CLASS(STRING) = "Mail", "Thunderbird"
Pidgin: WM_CLASS(STRING) = "Pidgin", "Pidgin"

So, if NetBeans provided an accurate WM_CLASS xprop, it would be very helpful to many applications across Linux desktops!