Bug 49597

Summary: Window maker applets appears two times
Product: [Plasma] kicker Reporter: Shift <shift>
Component: dockbarAssignee: John Firebaugh <jfirebaugh>
Status: RESOLVED FIXED    
Severity: normal CC: ossi
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Mandrake RPMs   
OS: Linux   
Latest Commit: Version Fixed In:
Attachments: bugfix for #49597 -- patch against current cvs

Description Shift 2002-10-23 23:59:42 UTC
Version:           1.11.1 (using KDE KDE 3.0.8)
Installed from:    Mandrake RPMsMandrake Linux Cooker i586 - Cooker
Compiler:          gcc version 3.2 (Mandrake Linux 9.0 3.2-1mdk)
OS:          Linux (i686) release 2.4.19-16mdk

When I close my KDE session and when I have a WindowMaker applet in the WindowMaker dockbar, when I reopen the session TWO applet appear :(
And this applets are the same.

This bug appear since KDE 3.0

Applets tested and doing this bug with kicker dockbar: wmfishtime, wmcoincoin,...
Comment 1 julien pommier 2003-03-29 02:08:30 UTC
Created attachment 1267 [details]
bugfix for #49597 -- patch against current cvs

This patch seems to fix the double-launch bug, which occured with some applets:
since the dockbar swallows the icon window, but does not swallow the applet
window, this one has to be withdrawn in order to prevent kwin from registering
it in its session.

The last line of the patch also fixes a layout bug, which is visible when the
dockbar is large (and auto-expand is not set) : when a new applet is added, it
always appears at pos (0,0) in the dockbar, hiding the applet which may have
been there, until an explicit call to updateLayout() is done.
Comment 2 John Firebaugh 2003-04-12 21:13:48 UTC
Subject: kdebase/kicker/extensions/dockbar

CVS commit by firebaugh: 

Apply patch from Julien Pommier <hules@free.fr> fixing numerous dockbar bugs.
Will backport momentarily.

CCMAIL:hules@free.fr
CCMAIL:49597-done@bugs.kde.org
CCMAIL:53768-done@bugs.kde.org
CCMAIL:50263-done@bugs.kde.org
CCMAIL:50258-done@bugs.kde.org
CCMAIL:50246-done@bugs.kde.org


  M +204 -66   dockbarextension.cpp   1.10
  M +12 -3     dockbarextension.h   1.8
  M +107 -20   dockcontainer.cpp   1.5
  M +23 -2     dockcontainer.h   1.5



Comment 3 John Firebaugh 2003-04-12 21:29:59 UTC
*** Bug 50247 has been marked as a duplicate of this bug. ***
Comment 4 Reinhold Kainhofer 2003-07-27 14:38:41 UTC
*** Bug 50444 has been marked as a duplicate of this bug. ***
Comment 5 Reinhold Kainhofer 2003-07-27 15:29:03 UTC
Oops, bug 50444 is not a duplicate of this, but rather of bug 49697 (well, you can't 
expect a mathematician to type numbers correctly, can you? ;-)