[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Strange behaviour regarding miniaturization and menus
From: |
Andreas Schik |
Subject: |
Re: Strange behaviour regarding miniaturization and menus |
Date: |
Wed, 20 Feb 2013 10:04:16 +0100 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130106 Thunderbird/17.0.2 |
Am 19.02.2013 21:54, schrieb Fred Kiefer:
[snip]
> The only reason for this strange behaviour that I can think of is
> that XFCE4 and GNUstep disagree on the handling of focus events. It
> would help to get a full list of the events that show up during that
> problem. It is easy to get this events displayed on the prompt when
> you start up the GNUstep application with the additional argument
> --GNU-Debug=NSEvent This will result in a lot of output, please only
> forward the ones that happen just around the minimalization of the
> other application.
Here is the output from CDPlayer. Note that this app has two unmapped
windows, the menu and a panel.
2013-02-20 09:37:17.130 CDPlayer[25221] 88080468 FocusOut
2013-02-20 09:37:17.146 CDPlayer[25221] 88080426 UnmapNotify
2013-02-20 09:37:17.146 CDPlayer[25221] 88080434 UnmapNotify
2013-02-20 09:37:17.218 CDPlayer[25221] 88080468 FocusIn
2013-02-20 09:37:17.218 CDPlayer[25221] 0 KeymapNotify
2013-02-20 09:37:17.218 CDPlayer[25221] 88080468 ClientMessage - WM_PROTOCOLS
2013-02-20 09:37:17.218 CDPlayer[25221] WM Protocol - WM_TAKE_FOCUS
2013-02-20 09:37:17.218 CDPlayer[25221] Send NSEvent type: 13 to <NSWindow:
0x1beb848>Number: 8 Title: CDPlayer
2013-02-20 09:37:17.235 CDPlayer[25221] 88080468 PropertyNotify -
'_NET_WM_USER_TIME'
2013-02-20 09:37:17.235 CDPlayer[25221] 88080434 PropertyNotify -
'WM_NORMAL_HINTS'
2013-02-20 09:37:17.235 CDPlayer[25221] 88080434 PropertyNotify - 'WM_HINTS'
2013-02-20 09:37:17.235 CDPlayer[25221] 88080434 PropertyNotify - 'WM_PROTOCOLS'
2013-02-20 09:37:17.236 CDPlayer[25221] 88080434 PropertyNotify -
'WM_NORMAL_HINTS'
2013-02-20 09:37:17.236 CDPlayer[25221] 88080434 PropertyNotify -
'WM_NORMAL_HINTS'
2013-02-20 09:37:17.236 CDPlayer[25221] 88080426 PropertyNotify -
'WM_NORMAL_HINTS'
2013-02-20 09:37:17.236 CDPlayer[25221] 88080426 PropertyNotify - 'WM_HINTS'
2013-02-20 09:37:17.236 CDPlayer[25221] 88080426 PropertyNotify - 'WM_PROTOCOLS'
2013-02-20 09:37:17.236 CDPlayer[25221] 88080426 PropertyNotify -
'WM_NORMAL_HINTS'
2013-02-20 09:37:17.236 CDPlayer[25221] 88080426 PropertyNotify -
'WM_NORMAL_HINTS'
2013-02-20 09:37:17.236 CDPlayer[25221] 88080468 PropertyNotify -
'WM_NORMAL_HINTS'
2013-02-20 09:37:17.236 CDPlayer[25221] 88080468 PropertyNotify - 'WM_HINTS'
2013-02-20 09:37:17.236 CDPlayer[25221] 88080468 PropertyNotify - 'WM_PROTOCOLS'
2013-02-20 09:37:17.237 CDPlayer[25221] 88080434 ConfigureNotify x:-1 y:0 w:128
h:162 b:0 T
2013-02-20 09:37:17.237 CDPlayer[25221] 88080434 ConfigureNotify x:-1 y:0 w:128
h:162 b:0 T
2013-02-20 09:37:17.244 CDPlayer[25221] 88080434 PropertyNotify -
'_NET_WM_STATE'
2013-02-20 09:37:17.244 CDPlayer[25221] 88080434 PropertyNotify - '_WIN_STATE'
2013-02-20 09:37:17.244 CDPlayer[25221] 88080434 ConfigureNotify x:-1 y:0 w:128
h:162 b:0 T
2013-02-20 09:37:17.244 CDPlayer[25221] 88080426 ConfigureNotify x:194 y:243
w:707 h:368 b:0 T
2013-02-20 09:37:17.245 CDPlayer[25221] 88080426 ClientMessage - WM_PROTOCOLS
2013-02-20 09:37:17.245 CDPlayer[25221] WM Protocol - WM_TAKE_FOCUS
2013-02-20 09:37:17.245 CDPlayer[25221] 88080426 ConfigureNotify x:194 y:243
w:707 h:368 b:0 T
2013-02-20 09:37:17.253 CDPlayer[25221] 88080426 PropertyNotify -
'_NET_WM_STATE'
2013-02-20 09:37:17.253 CDPlayer[25221] 88080426 PropertyNotify - '_WIN_STATE'
2013-02-20 09:37:17.253 CDPlayer[25221] 88080426 ConfigureNotify x:194 y:243
w:707 h:368 b:0 T
2013-02-20 09:37:17.254 CDPlayer[25221] 88080468 ConfigureNotify x:231 y:93
w:160 h:93 b:0 T
Here is the log when simply moving the focus away from CDPlayer and then moving
it back to CDPlayer:
2013-02-20 09:40:35.082 CDPlayer[25732] 88080468 FocusOut
2013-02-20 09:40:35.095 CDPlayer[25732] 88080426 UnmapNotify
2013-02-20 09:40:35.097 CDPlayer[25732] 88080434 UnmapNotify
2013-02-20 09:40:35.109 CDPlayer[25732] 88080426 ReparentNotify - offset 193 222
2013-02-20 09:40:35.109 CDPlayer[25732] 88080426 PropertyNotify - 'WM_STATE'
2013-02-20 09:40:35.109 CDPlayer[25732] 88080426 PropertyNotify -
'_NET_WM_STATE'
2013-02-20 09:40:35.109 CDPlayer[25732] 88080426 PropertyNotify - '_WIN_STATE'
2013-02-20 09:40:35.109 CDPlayer[25732] 88080426 PropertyNotify -
'_NET_WM_DESKTOP'
2013-02-20 09:40:35.109 CDPlayer[25732] 88080426 PropertyNotify -
'_WIN_WORKSPACE'
2013-02-20 09:40:35.109 CDPlayer[25732] 88080426 PropertyNotify -
'_NET_WM_ALLOWED_ACTIONS'
2013-02-20 09:40:35.110 CDPlayer[25732] 88080434 ReparentNotify - offset -1 0
2013-02-20 09:40:35.110 CDPlayer[25732] 88080434 PropertyNotify - 'WM_STATE'
2013-02-20 09:40:35.110 CDPlayer[25732] 88080434 PropertyNotify -
'_NET_WM_STATE'
2013-02-20 09:40:35.110 CDPlayer[25732] 88080434 PropertyNotify - '_WIN_STATE'
2013-02-20 09:40:35.110 CDPlayer[25732] 88080434 PropertyNotify -
'_NET_WM_DESKTOP'
2013-02-20 09:40:35.110 CDPlayer[25732] 88080434 PropertyNotify -
'_WIN_WORKSPACE'
2013-02-20 09:40:35.110 CDPlayer[25732] 88080434 PropertyNotify - '_WIN_LAYER'
2013-02-20 09:40:35.110 CDPlayer[25732] 88080434 PropertyNotify -
'_NET_WM_ALLOWED_ACTIONS'
2013-02-20 09:40:38.202 CDPlayer[25732] 88080468 FocusIn
2013-02-20 09:40:38.202 CDPlayer[25732] 0 KeymapNotify
2013-02-20 09:40:38.202 CDPlayer[25732] 88080468 ClientMessage - WM_PROTOCOLS
2013-02-20 09:40:38.202 CDPlayer[25732] WM Protocol - WM_TAKE_FOCUS
2013-02-20 09:40:38.203 CDPlayer[25732] Send NSEvent type: 13 to <NSWindow:
0x205b7c8>Number: 8 Title: CDPlayer
2013-02-20 09:40:38.208 CDPlayer[25732] 88080468 PropertyNotify -
'_NET_WM_USER_TIME'
2013-02-20 09:40:38.208 CDPlayer[25732] 88080434 PropertyNotify -
'WM_NORMAL_HINTS'
2013-02-20 09:40:38.208 CDPlayer[25732] 88080434 PropertyNotify - 'WM_HINTS'
2013-02-20 09:40:38.209 CDPlayer[25732] 88080434 PropertyNotify - 'WM_PROTOCOLS'
2013-02-20 09:40:38.209 CDPlayer[25732] 88080434 PropertyNotify -
'WM_NORMAL_HINTS'
2013-02-20 09:40:38.209 CDPlayer[25732] 88080434 PropertyNotify -
'WM_NORMAL_HINTS'
2013-02-20 09:40:38.209 CDPlayer[25732] 88080426 PropertyNotify -
'WM_NORMAL_HINTS'
2013-02-20 09:40:38.209 CDPlayer[25732] 88080426 PropertyNotify - 'WM_HINTS'
2013-02-20 09:40:38.209 CDPlayer[25732] 88080426 PropertyNotify - 'WM_PROTOCOLS'
2013-02-20 09:40:38.209 CDPlayer[25732] 88080426 PropertyNotify -
'WM_NORMAL_HINTS'
2013-02-20 09:40:38.209 CDPlayer[25732] 88080426 PropertyNotify -
'WM_NORMAL_HINTS'
2013-02-20 09:40:38.209 CDPlayer[25732] 88080468 PropertyNotify -
'WM_NORMAL_HINTS'
2013-02-20 09:40:38.209 CDPlayer[25732] 88080468 PropertyNotify - 'WM_HINTS'
2013-02-20 09:40:38.209 CDPlayer[25732] 88080468 PropertyNotify - 'WM_PROTOCOLS'
2013-02-20 09:40:38.222 CDPlayer[25732] 88080434 PropertyNotify - '_WIN_LAYER'
2013-02-20 09:40:38.222 CDPlayer[25732] 88080434 PropertyNotify -
'_NET_WM_STATE'
2013-02-20 09:40:38.222 CDPlayer[25732] 88080434 PropertyNotify - '_WIN_STATE'
2013-02-20 09:40:38.222 CDPlayer[25732] 88080434 PropertyNotify -
'_WIN_WORKSPACE'
2013-02-20 09:40:38.222 CDPlayer[25732] 88080434 PropertyNotify -
'_NET_WM_DESKTOP'
2013-02-20 09:40:38.223 CDPlayer[25732] 88080434 PropertyNotify -
'_NET_WM_DESKTOP'
2013-02-20 09:40:38.223 CDPlayer[25732] 88080434 PropertyNotify -
'_NET_WM_STATE'
2013-02-20 09:40:38.223 CDPlayer[25732] 88080434 PropertyNotify - '_WIN_STATE'
2013-02-20 09:40:38.223 CDPlayer[25732] 88080434 ReparentNotify - offset 0 0
2013-02-20 09:40:38.223 CDPlayer[25732] 88080434 ConfigureNotify x:0 y:0 w:128
h:162 b:0 F
2013-02-20 09:40:38.232 CDPlayer[25732] 88080434 ConfigureNotify x:-1 y:0 w:128
h:162 b:0 T
2013-02-20 09:40:38.232 CDPlayer[25732] 88080434 MapNotify
2013-02-20 09:40:38.232 CDPlayer[25732] 88080434 VisibilityNotify 0
2013-02-20 09:40:38.232 CDPlayer[25732] 88080434 Expose
2013-02-20 09:40:38.232 CDPlayer[25732] Expose frame 0 0 128 162
2013-02-20 09:40:38.232 CDPlayer[25732] 88080434 PropertyNotify - 'WM_STATE'
2013-02-20 09:40:38.246 CDPlayer[25732] 88080434 PropertyNotify -
'_NET_WM_ALLOWED_ACTIONS'
2013-02-20 09:40:38.246 CDPlayer[25732] 88080434 PropertyNotify -
'_NET_WM_STATE'
2013-02-20 09:40:38.246 CDPlayer[25732] 88080434 PropertyNotify - '_WIN_STATE'
2013-02-20 09:40:38.246 CDPlayer[25732] 88080434 PropertyNotify -
'_NET_WM_STATE'
2013-02-20 09:40:38.246 CDPlayer[25732] 88080434 PropertyNotify - '_WIN_STATE'
2013-02-20 09:40:38.255 CDPlayer[25732] 88080434 PropertyNotify -
'_NET_FRAME_EXTENTS'
2013-02-20 09:40:38.255 CDPlayer[25732] 88080434 PropertyNotify -
'_NET_WM_STATE'
2013-02-20 09:40:38.255 CDPlayer[25732] 88080434 PropertyNotify - '_WIN_STATE'
2013-02-20 09:40:38.255 CDPlayer[25732] 88080434 ConfigureNotify x:-1 y:0 w:128
h:162 b:0 T
2013-02-20 09:40:38.255 CDPlayer[25732] 88080426 PropertyNotify -
'_NET_WM_STATE'
2013-02-20 09:40:38.255 CDPlayer[25732] 88080426 PropertyNotify - '_WIN_STATE'
2013-02-20 09:40:38.255 CDPlayer[25732] 88080426 PropertyNotify -
'_WIN_WORKSPACE'
2013-02-20 09:40:38.255 CDPlayer[25732] 88080426 PropertyNotify -
'_NET_WM_DESKTOP'
2013-02-20 09:40:38.256 CDPlayer[25732] 88080426 ReparentNotify - offset 1 21
2013-02-20 09:40:38.256 CDPlayer[25732] Parent border,width,height 0,709,396
2013-02-20 09:40:38.256 CDPlayer[25732] 88080426 ConfigureNotify x:1 y:21 w:707
h:368 b:0 F
2013-02-20 09:40:38.257 CDPlayer[25732] 88080426 ConfigureNotify x:194 y:243
w:707 h:368 b:0 T
2013-02-20 09:40:38.264 CDPlayer[25732] 88080426 MapNotify
2013-02-20 09:40:38.265 CDPlayer[25732] 88080426 VisibilityNotify 0
2013-02-20 09:40:38.265 CDPlayer[25732] 88080426 Expose
2013-02-20 09:40:38.265 CDPlayer[25732] Expose frame 0 0 707 368
2013-02-20 09:40:38.265 CDPlayer[25732] 88080426 PropertyNotify - 'WM_STATE'
2013-02-20 09:40:38.265 CDPlayer[25732] 88080426 PropertyNotify -
'_NET_WM_ALLOWED_ACTIONS'
2013-02-20 09:40:38.265 CDPlayer[25732] 88080426 PropertyNotify -
'_NET_WM_STATE'
2013-02-20 09:40:38.265 CDPlayer[25732] 88080426 PropertyNotify - '_WIN_STATE'
2013-02-20 09:40:38.265 CDPlayer[25732] 88080426 PropertyNotify -
'_NET_WM_STATE'
2013-02-20 09:40:38.265 CDPlayer[25732] 88080426 PropertyNotify - '_WIN_STATE'
2013-02-20 09:40:38.265 CDPlayer[25732] 88080426 PropertyNotify -
'_NET_FRAME_EXTENTS'
2013-02-20 09:40:38.265 CDPlayer[25732] 88080426 PropertyNotify -
'_NET_WM_STATE'
2013-02-20 09:40:38.265 CDPlayer[25732] 88080426 PropertyNotify - '_WIN_STATE'
2013-02-20 09:40:38.265 CDPlayer[25732] 88080426 ConfigureNotify x:194 y:243
w:707 h:368 b:0 T
2013-02-20 09:40:38.265 CDPlayer[25732] 88080468 ConfigureNotify x:231 y:93
w:160 h:93 b:0 T
2013-02-20 09:40:38.318 CDPlayer[25732] 88080426 PropertyNotify -
'_NET_WM_ICON_GEOMETRY'
One can see that in the 2nd case there happens a lot more after the FocusOut
and UnmapNotify events, before the focus gets back in. But what I think is more
important is that in the 1st case (where the panels/menus break) the MapNotify
and Expose events are missing after the focus came back. I assume that this is
the actual problem.
Thanks so far.
Regards
Andreas
signature.asc
Description: OpenPGP digital signature
- Re: Strange behaviour regarding miniaturization and menus, (continued)
Re: Strange behaviour regarding miniaturization and menus, A. Arias, 2013/02/04
Re: Strange behaviour regarding miniaturization and menus, Andreas Schik, 2013/02/18
- Re: Strange behaviour regarding miniaturization and menus, A. Arias, 2013/02/18
- Re: Strange behaviour regarding miniaturization and menus, Fred Kiefer, 2013/02/19
- Re: Strange behaviour regarding miniaturization and menus, A. Arias, 2013/02/20
- Re: Strange behaviour regarding miniaturization and menus,
Andreas Schik <=
- Re: Strange behaviour regarding miniaturization and menus, Fred Kiefer, 2013/02/21
- Re: Strange behaviour regarding miniaturization and menus, Andreas Schik, 2013/02/21
- Re: Strange behaviour regarding miniaturization and menus, A. Arias, 2013/02/21