[ icewm-Bugs-2677667 ] Strange focus behavior since icewm-1.2.28

SourceForge.net <[email protected]> Sun, 13 Nov 2011 10:12:07 -0800
Newsgroups gmane.comp.window-managers.icewm.devel
Message-ID <[email protected]>
Bugs item #2677667, was opened at 2009-03-09 23:36
Message generated for change (Comment added) made by nobody
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100031&aid=2677667&group_id=31

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: icewm-1.2
Group: behavior
Status: Open
Resolution: None
Priority: 7
Private: No
Submitted By: Karl Ganzer (karlganzer)
Assigned to: Marko Macek (captnmark)
Summary: Strange focus behavior since icewm-1.2.28

Initial Comment:
Operating System: SUSE LINUX ENTERPRISE SERVER 10

We are using icewm-1.2.23 and we have some reasons to update at least to icewm-1.2.36. For this case on SLES10 we need to compile the desired version ourselves.
But with icewm-1.2.28 (and also all of the following versions) we have a problem with popup windows in our Oracle Forms-Application:
If a popup window appears and we click on the main window, the popup window disappears BEHIND the main window. The popup window keeps the focus, so it is not possible to activate the main window, because it waits on the closing of the popup window. Having the taskbar deactivated, it is not possible to get the popup window to the top again. The only way is to kill the application!
I also have tried some settings which have changed their default values from version 1.2.27 to 1.2.28, but without success.


----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2011-11-13 10:12

Message:
L1XIq6  <a href="http://oiedrvbsxiha.com/">oiedrvbsxiha</a>,
[url=http://snjjgiidqmwy.com/]snjjgiidqmwy[/url],
[link=http://txddvfmgsfan.com/]txddvfmgsfan[/link],
http://fbovdqiejpfr.com/

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2011-10-08 09:58

Message:
Drug Overall,recently write pay possibility supply remove draw combination
shop especially family station have including except produce sequence
because bird star affect retain detailed those create item empty under
without shoe list supply case prospect radio could back yet store firm
authority normally best alright support gentleman enterprise perform
consequence possibility stay one side determine least proposal hair trip
score nice servant within confidence liability value disappear absence
railway influence indeed mark least good have forget secondary train
creation general it stone beautiful moment picture release 

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2011-10-08 09:58

Message:
Drug Overall,recently write pay possibility supply remove draw combination
shop especially family station have including except produce sequence
because bird star affect retain detailed those create item empty under
without shoe list supply case prospect radio could back yet store firm
authority normally best alright support gentleman enterprise perform
consequence possibility stay one side determine least proposal hair trip
score nice servant within confidence liability value disappear absence
railway influence indeed mark least good have forget secondary train
creation general it stone beautiful moment picture release 

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2011-07-30 13:10

Message:
SCeH9s  <a href="http://caojzfddltec.com/">caojzfddltec</a>,
[url=http://ihkndtjredmw.com/]ihkndtjredmw[/url],
[link=http://guffugxulkvn.com/]guffugxulkvn[/link],
http://boajnjiluvuv.com/

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2011-06-27 10:48

Message:
LdGUyJ  <a href="http://nubhticrwami.com/">nubhticrwami</a>,
[url=http://flhtroycubpg.com/]flhtroycubpg[/url],
[link=http://xesqrrcnclyr.com/]xesqrrcnclyr[/link],
http://iezhpsufskdi.com/

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2011-06-06 03:46

Message:
L9FVkQ  <a href="http://ojkiobzyoxoj.com/">ojkiobzyoxoj</a>,
[url=http://rvzxnriirdro.com/]rvzxnriirdro[/url],
[link=http://nuvuytedhupa.com/]nuvuytedhupa[/link],
http://ctbulxwqrany.com/

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2011-06-06 03:45

Message:
PiUitb  <a href="http://cfekvzqsygph.com/">cfekvzqsygph</a>,
[url=http://ekvtwkolnszi.com/]ekvtwkolnszi[/url],
[link=http://gmuwbopaieee.com/]gmuwbopaieee[/link],
http://qeufodjinixu.com/

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2011-06-06 03:45

Message:
L9FVkQ  <a href="http://ojkiobzyoxoj.com/">ojkiobzyoxoj</a>,
[url=http://rvzxnriirdro.com/]rvzxnriirdro[/url],
[link=http://nuvuytedhupa.com/]nuvuytedhupa[/link],
http://ctbulxwqrany.com/

----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2011-04-06 21:05

Message:
gBktmo  <a href="http://frdvqzihaciu.com/">frdvqzihaciu</a>,
[url=http://qkdsowqvbxpz.com/]qkdsowqvbxpz[/url],
[link=http://ckrufxclbkkc.com/]ckrufxclbkkc[/link],
http://jafolpxjnwhe.com/

----------------------------------------------------------------------

Comment By: Karl Ganzer (karlganzer)
Date: 2009-12-11 00:04

Message:
Both version, 1.2.28pre2 and 1.3.5, have the same problem.

By the way, version 1.3.5 brings errors in compile step. After configure
(without any options) + make, it shows the following errors:
ywindow.cc: In member function 'void YDesktop::updateXineramaInfo(int&,
int&)':
ywindow.cc:1885: error: 'XRRScreenResources' was not declared in this scope
ywindow.cc:1885: error: 'xrrsr' was not declared in this scope
ywindow.cc:1886: error: 'XRRGetScreenResources' was not declared in this
scope
ywindow.cc:1890: error: 'XRRCrtcInfo' was not declared in this scope
ywindow.cc:1890: error: 'ci' was not declared in this scope
ywindow.cc:1890: error: 'XRRGetCrtcInfo' was not declared in this scope
ywindow.cc:1907: error: 'XRROutputInfo' was not declared in this scope
ywindow.cc:1907: error: 'oinfo' was not declared in this scope
ywindow.cc:1907: error: 'XRRGetOutputInfo' was not declared in this scope

Trying configure --disable-xrandr + make results in:
wmmgr.o: In function `YWindowManager':
src/wmmgr.cc:79: undefined reference to `XRRSelectInput'
src/wmmgr.cc:79: undefined reference to `XRRSelectInput'
wmmgr.o: In function `YWindowManager::UpdateScreenSize(_XEvent*)':
src/wmmgr.cc:2850: undefined reference to `XRRUpdateConfiguration'
yxapp.o: In function `YXApplication':
src/yxapp.cc:828: undefined reference to `XRRQueryExtension'
src/yxapp.cc:832: undefined reference to `XRRQueryVersion'
src/yxapp.cc:828: undefined reference to `XRRQueryExtension'
src/yxapp.cc:832: undefined reference to `XRRQueryVersion'

The solution was configure without any options and change following line in
src/config.h before make command:
"#define CONFIG_XRANDR 1" ==> "#define CONFIG_XRANDR 0".


----------------------------------------------------------------------

Comment By: Marko Macek (captnmark)
Date: 2009-11-08 11:28

Message:
Thank you for the information. I will analyze your problem.

In the mean time, you can try versions 1.2.28pre2 and 1.3.5 to see if the
problem is the same.



----------------------------------------------------------------------

Comment By: Karl Ganzer (karlganzer)
Date: 2009-05-11 00:09

Message:
Sorry for the long time to wait for my answer. I have done some tests, I
could not compile the source which I got from CVS, because of compilation
errors. I detected then the new stable version 1.2.38pre1, so I tried this
one. But the behavior is still the same as with 1.2.28.


----------------------------------------------------------------------

Comment By: Nobody/Anonymous (nobody)
Date: 2009-04-23 09:18

Message:
You should try compiling the latest in 1.2 branch.

----------------------------------------------------------------------

Comment By: Karl Ganzer (karlganzer)
Date: 2009-04-23 01:10

Message:
This behavior changed definitely from version 1.2.27 to 1.2.28. I cannot
compile 1.3.4pre1, I have tried some configure settings, e.g.
disable-xinerama, disable-xrandr, the compiling always fails with errors.
The latest version for building successful the binaries was 1.3.3. But the
behavior stays the same as with 1.2.28.
The following configure command is used to create the Makefile:
./configure --without-debug \
            --sysconfdir=/etc \
            --with-cfgdir=/etc/icewm \
            --prefix=/usr \
            --with-docdir=%{_docdir} \
            --enable-i18n \
            --enable-nls \
            --enable-corefonts \
            --enable-guievents \
            --enable-antialiasing \
            --enable-gradients \
            --enable-shaped-decorations \
            --with-icesound=oss,esd \
            --with-imlib \
            --enable-menus-gnome2


----------------------------------------------------------------------

Comment By: Marko Macek (captnmark)
Date: 2009-04-19 11:33

Message:
Does 1.2.28 really work different from 1.2.23/27?

Anyway, try to see if current CVS code works for you (needs more testing,
but...)

----------------------------------------------------------------------

Comment By: Karl Ganzer (karlganzer)
Date: 2009-04-16 00:19

Message:
Here are the desired informations:

****** OUTPUT OF XPROP OF MAIN-WINDOW ******
_ICEWM_TRAY(CARDINAL) = 0
_WIN_LAYER(CARDINAL) = 4
_NET_WM_DESKTOP(CARDINAL) = 0
_WIN_WORKSPACE(CARDINAL) = 0
WM_STATE(WM_STATE):
		window state: Normal
		icon window: 0x0
_NET_WM_STATE(ATOM) = 
_WIN_STATE(CARDINAL) = 0, 63
_MOTIF_DRAG_RECEIVER_INFO(_MOTIF_DRAG_RECEIVER_INFO) = 0x6c, 0x0, 0x5,
0xb6, 0x0, 0x0, 0x0, 0x0, 0x0, 0x0, 0xbf, 0xb6, 0x10, 0x0, 0x0, 0x0
_MOTIF_WM_MESSAGES(ATOM) = _MOTIF_WM_OFFSET
WM_PROTOCOLS(ATOM): protocols  _MOTIF_WM_MESSAGES, WM_DELETE_WINDOW
_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x7, 0x3e, 0x7e, 0x0, 0x0
WM_CLIENT_LEADER(WINDOW): window id # 0xc0000c
WM_LOCALE_NAME(STRING) = "C"
WM_CLASS(STRING) = "window_shell", "Tk2Motif"
WM_HINTS(WM_HINTS):
		Client accepts input or input focus: True
		Initial state is Normal State.
		bitmap id # to use for icon: 0xc00110
WM_NORMAL_HINTS(WM_SIZE_HINTS):
		user specified location: 0, 0
		program specified size: 750 by 450
		window gravity: NorthWest
WM_CLIENT_MACHINE(STRING) = "merkur2"
WM_ICON_NAME(STRING) = 
WM_NAME(STRING) = "WINDOW1"

****** OUTPUT OF XWININFO OF MAIN-WINDOW ******
xwininfo: Window id: 0xc00374 "WINDOW1"

  Root window id: 0x37 (the root window) (has no name)
  Parent window id: 0x40083e (has no name)
     1 child:
     0xc00376 (has no name): ()  750x417+0+0  +4+24
        6 children:
        0xc0039b (has no name): ()  750x2+0+378  +4+402
        0xc00389 (has no name): ()  750x32+0+0  +4+24
           7 children:
           0xc00390 (has no name): ()  45x22+5+5  +9+29
           0xc0038f (has no name): ()  76x22+50+5  +54+29
           0xc0038e (has no name): ()  76x22+126+5  +130+29
           0xc0038d (has no name): ()  52x22+202+5  +206+29
           0xc0038c (has no name): ()  36x22+0+0  +4+24
           0xc0038b (has no name): ()  58x22+254+5  +258+29
           0xc0038a (has no name): ()  23x22+722+5  +726+29
        0xc0037b (has no name): ()  750x35+0+382  +4+406
        0xc0037a (has no name): ()  1x1+0+0  +4+24
        0xc00379 (has no name): ()  750x30+0+34  +4+58
           1 child:
           0xc00391 (has no name): ()  750x30+0+0  +4+58
        0xc00377 (has no name): ()  750x310+0+66  +4+90
           1 child:
           0xc00378 (has no name): ()  750x450+0+0  +4+90
              1 child:
              0xc0037c (has no name): ()  750x450+0+0  +4+90
                 1 child:
                 0xc0037d (has no name): ()  750x450+0+0  +4+90
                    3 children:
                    0xc0039a (has no name): ()  137x46+71+110  +75+200
                    0xc00392 (has no name): ()  85x20+19+54  +23+144
                    0xc00380 (has no name): ()  19x47+424+54  +428+144

  Absolute upper-left X:  4
  Absolute upper-left Y:  24
  Relative upper-left X:  0
  Relative upper-left Y:  0
  Width: 750
  Height: 417
  Depth: 16
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x20 (installed)
  Bit Gravity State: ForgetGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: no
  Map State: IsViewable
  Override Redirect State: no
  Corners:  +4+24  -46+24  -46-209  +4-209
  -geometry 750x417+0+0

  Bit gravity: ForgetGravity
  Window gravity: NorthWestGravity
  Backing-store hint: NotUseful
  Backing-planes to be preserved: 0xffffffff
  Backing pixel: 0
  Save-unders: No

  Someone wants these events:
      KeyPress
      KeyRelease
      EnterWindow
      LeaveWindow
      Exposure
      StructureNotify
      SubstructureNotify
      FocusChange
      PropertyChange
      ColormapChange
  Do not propagate these events:
  Override redirection?: No

  Window manager hints:
      Client accepts input or input focus: Yes
      Initial state is Normal State

  Normal window size hints:
      User supplied location: 0, 0
      Program supplied size: 750 by 450
      Program supplied window gravity: NorthWestGravity
  No zoom window size hints defined

  No window shape defined
  No border shape defined

****** OUTPUT OF XPROP OF POPUP-WINDOW ******
_ICEWM_TRAY(CARDINAL) = 0
_WIN_LAYER(CARDINAL) = 4
_NET_WM_DESKTOP(CARDINAL) = 0
_WIN_WORKSPACE(CARDINAL) = 0
WM_STATE(WM_STATE):
		window state: Normal
		icon window: 0x0
_NET_WM_STATE(ATOM) = 
_WIN_STATE(CARDINAL) = 0, 63
WM_TRANSIENT_FOR(WINDOW): window id # 0xc0000c
_MOTIF_WM_MESSAGES(ATOM) = _MOTIF_WM_OFFSET
WM_PROTOCOLS(ATOM): protocols  _MOTIF_WM_MESSAGES, WM_DELETE_WINDOW
_MOTIF_WM_HINTS(_MOTIF_WM_HINTS) = 0x4, 0xffffffff, 0xffffffff, 0x3,
0x8552b0e
WM_CLIENT_LEADER(WINDOW): window id # 0xc0000c
WM_LOCALE_NAME(STRING) = "C"
WM_CLASS(STRING) = "alert_popup", "Tk2Motif"
WM_HINTS(WM_HINTS):
		Client accepts input or input focus: True
		Initial state is Normal State.
		window id # of group leader: 0xc0000c
WM_NORMAL_HINTS(WM_SIZE_HINTS):
		program specified location: 365, 270
		program specified size: 69 by 110
		window gravity: NorthWest
WM_CLIENT_MACHINE(STRING) = "merkur2"
WM_NAME(STRING) = "Forms"

****** OUTPUT OF XWININFO OF MAIN-WINDOW ******
xwininfo: Window id: 0xc003bf "Forms"

  Root window id: 0x37 (the root window) (has no name)
  Parent window id: 0x400887 (has no name)
     1 child:
     0xc003c3 (has no name): ()  69x110+0+0  +369+294
        1 child:
        0xc003c4 (has no name): ()  50x38+0+0  +369+294

  Absolute upper-left X:  369
  Absolute upper-left Y:  294
  Relative upper-left X:  0
  Relative upper-left Y:  0
  Width: 69
  Height: 110
  Depth: 16
  Visual Class: TrueColor
  Border width: 0
  Class: InputOutput
  Colormap: 0x20 (installed)
  Bit Gravity State: ForgetGravity
  Window Gravity State: NorthWestGravity
  Backing Store State: NotUseful
  Save Under State: yes
  Map State: IsViewable
  Override Redirect State: no
  Corners:  +369+294  -362+294  -362-246  +369-246
  -geometry 69x110+365+270

  Bit gravity: ForgetGravity
  Window gravity: NorthWestGravity
  Backing-store hint: NotUseful
  Backing-planes to be preserved: 0xffffffff
  Backing pixel: 0
  Save-unders: Yes

  Someone wants these events:
      KeyPress
      EnterWindow
      LeaveWindow
      Exposure
      StructureNotify
      SubstructureNotify
      FocusChange
      PropertyChange
      ColormapChange
  Do not propagate these events:
  Override redirection?: No

  Window manager hints:
      Client accepts input or input focus: Yes
      Initial state is Normal State

  Normal window size hints:
      Program supplied location: 365, 270
      Program supplied size: 69 by 110
      Program supplied window gravity: NorthWestGravity
  No zoom window size hints defined

  No window shape defined
  No border shape defined



----------------------------------------------------------------------

Comment By: Marko Macek (captnmark)
Date: 2009-04-14 10:01

Message:
can you send the 'xprop' and 'xwininfo -all' output of both the main window
and the popup?

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=100031&aid=2677667&group_id=31

------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1