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

List:       kde-core-devel
Subject:    Re: Unknown window type in kxkb popup menu
From:       Lubos Lunak <l.lunak () suse ! cz>
Date:       2010-04-28 15:26:16
Message-ID: 201004281726.16589.l.lunak () suse ! cz
[Download RAW message or body]

On Wednesday 28 of April 2010, Andriy Rysin wrote:
> Would anybody know why when I bring K menu or popup window for kmix I don't
> get window change notification. But when I do it with kxkb (now using
> KStatusNotifierItem) I get a window change event with window type
> NET::Unknown ?

 I think the answer is that the menu created using KStatusNotifierItem is 
broken. If I'm not mistaken it tries to fake a popup manually using a normal 
window and is not very good at it.

> This interferes with changing layout by using kxkb popup menu when "by
> window" options is on (both 4.4 and trunk is affected), cause when you use
> popup menu it just changes the layout for itself not the current window.  I
> am trying to come up with a workaround for this but in general I'd say
> KStatusNotifierItem popup window should not generate window change (like
> other popup menus) or if it really has to the type probably should not be
> Uknown

 The popup menu should be fixed to be a popup menu.

-- 
 Lubos Lunak
 openSUSE Boosters team, KDE developer
 l.lunak@suse.cz , l.lunak@kde.org
[prev in list] [next in list] [prev in thread] [next in thread] 

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