sillysloft / fluxbox

Fluxbox Window Manager (Mirror)
http://fluxbox.org/news/
Other
0 stars 1 forks source link

ShowDesktop minimizes a window it should not #962

Open sillysloft opened 14 years ago

sillysloft commented 14 years ago

Hi,

After discussion on freenode.org#fluxbox, I was suggested to report the following problem. I am not sure this is a bug, but it is likely.

When I put: [app] (name=application_name) [sticky] {yes} [Layer] {12} [end]

I expect that the application "application_name" will not be minimized by ShowDesktop. This is actually what happens with fbpanel and aterm. But with tint2, it fails. It means that tint2 is minimized when ShowDesktop is executed.

I tried to play with xprop so as to change the layer of tint2. Before any change, I have: $ xprop -name tint2 WM_STATE(WM_STATE): window state: Normal icon window: 0x0 _NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_STICK, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_MOVE, _NET_WM_ACTION_CLOSE, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_FULLSCREEN _WIN_WORKSPACE(CARDINAL) = 4294967295 _WIN_LAYER(CARDINAL) = 2 _WIN_STATE(CARDINAL) = 1 _NET_FRAME_EXTENTS(CARDINAL) = 0, 0, 0, 0 _FLUXBOX_GROUP_LEFT(WINDOW): window id # 0x0 _MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x2, 0x0, 0x0, 0x0, 0x0 WM_HINTS(WM_HINTS): Client accepts input or input focus: False WM_NORMAL_HINTS(WM_SIZE_HINTS): program specified location: 0, -1273429160 _NET_WM_STATE(ATOM) = _NET_WM_STATE_STICKY, _NET_WM_STATE_SKIP_TASKBAR, undefined atom # 0xffffffff _NET_WM_DESKTOP(CARDINAL) = 4294967295 _NET_WM_STRUT_PARTIAL(CARDINAL) = 40, 0, 0, 0, 0, 1049, 0, 0, 0, 0, 0, 0 _NET_WM_STRUT(CARDINAL) = 40, 0, 0, 0 _NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DOCK _NET_WM_NAME(UTF8_STRING) = 0x74, 0x69, 0x6e, 0x74, 0x32 WM_NAME(STRING) = "tint2"

I change the layer: $ xprop -name tint2 -f _WIN_LAYER 32c -set _WIN_LAYER 0 $ xprop -name tint2 WM_STATE(WM_STATE): window state: Normal icon window: 0x0 _NET_WM_ALLOWED_ACTIONS(ATOM) = _NET_WM_ACTION_CHANGE_DESKTOP, _NET_WM_ACTION_SHADE, _NET_WM_ACTION_STICK, _NET_WM_ACTION_RESIZE, _NET_WM_ACTION_MOVE, _NET_WM_ACTION_CLOSE, _NET_WM_ACTION_MINIMIZE, _NET_WM_ACTION_MAXIMIZE_HORZ, _NET_WM_ACTION_MAXIMIZE_VERT, _NET_WM_ACTION_FULLSCREEN _WIN_WORKSPACE(CARDINAL) = 4294967295 _WIN_LAYER(CARDINAL) = 0 _WIN_STATE(CARDINAL) = 1 _NET_FRAME_EXTENTS(CARDINAL) = 0, 0, 0, 0 _FLUXBOX_GROUP_LEFT(WINDOW): window id # 0x0 _MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x2, 0x0, 0x0, 0x0, 0x0 WM_HINTS(WM_HINTS): Client accepts input or input focus: False WM_NORMAL_HINTS(WM_SIZE_HINTS): program specified location: 0, -1273429160 _NET_WM_STATE(ATOM) = _NET_WM_STATE_STICKY, _NET_WM_STATE_SKIP_TASKBAR, undefined atom # 0xffffffff _NET_WM_DESKTOP(CARDINAL) = 4294967295 _NET_WM_STRUT_PARTIAL(CARDINAL) = 40, 0, 0, 0, 0, 1049, 0, 0, 0, 0, 0, 0 _NET_WM_STRUT(CARDINAL) = 40, 0, 0, 0 _NET_WM_WINDOW_TYPE(ATOM) = _NET_WM_WINDOW_TYPE_DOCK _NET_WM_NAME(UTF8_STRING) = 0x74, 0x69, 0x6e, 0x74, 0x32 WM_NAME(STRING) = "tint2"

But this has no effect with ShowDesktop.

Just an additional note. tint2 appears without hostname in the output of wmctrl: $ wmctrl -l 0x01000003 -1 data bgterm [...] 0x02800281 0 data apps - emacs 0x0240eec7 0 data SourceForge.net: Fluxbox: Add Artifact - Mozilla Firefox 0x00a00002 -1 N/A tint2

(bgterm is actually aterm, on layer 12)

tint2 is the only application without the hostname. Maybe there is a link...

Thanks.

Reported by: vivien_mallet

sillysloft commented 14 years ago

Original comment by: vivien_mallet

sillysloft commented 14 years ago

I reported the problem to Tint2 developers. It appears this is a problem originating from Tint2. So I change the status of this issue to "closed", with resolution "none".

They already fixed the bug: http://code.google.com/p/tint2/issues/detail?id=185

Original comment by: vivien_mallet