[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-core-devel
Subject:    Reparent problem: Kpager -> Kicker minipager
From:       Hamish Rodda <meddie () yoyo ! cc ! monash ! edu ! au>
Date:       2002-01-25 13:20:26
[Download RAW message or body]

The desktop preview function of the minipager applet in kicker has not been 
working in kde3. I fixed the problem with it hiding itself straight away, but 
I am now stuck with the problem of getting kpager, which is reparented onto 
the QFrame, to be properly displayed.

Kpager can be reparented via "kpager -parent (windowid)". This works for 
reparenting onto (so far as I can tell) all non-qt apps (I tried Mozilla and 
Ethereal). However, when reparented onto Qt (2 and 3) apps, it is not being 
displayed.

The output of xwininfo says that it has been reparented:

hamish@hamish:~$ xwininfo -children

xwininfo: Window id: 0x1c00518 "kicker"

  Root window id: 0x66 (the root window) (has no name)
  Parent window id: 0xe1935c (has no name)
     1 child:
     0x2400007 "kpager": ("KPager" "kpager")  640x409+2+2  +331+850

To see the desktop preview button, right click the minipager and choose 
"Enable Desktop Preview".  With the change I committed to cvs it will bring 
up an empty QFrame, where we should see the reparented kpager; however kpager 
is not visible.

The relevant files are in kdebase/kicker/applets/minipager/ and 
kdebase/kpager/

If this can't be fixed for 3.0 we will need to disable the feature.

Hamish
[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic