Bug 116227

Summary: Applets appear on top after switch desktop
Product: superkaramba Reporter: Dik Takken <kde>
Component: generalAssignee: Ryan Nickell <p0z3r>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Gentoo Packages   
OS: Linux   
Latest Commit: Version Fixed In:

Description Dik Takken 2005-11-13 12:06:16 UTC
Version:           0.37-rc2 (using KDE KDE 3.4.1)
Installed from:    Gentoo Packages
OS:                Linux

When I have multiple desktops with windows on each of them, and I start some Karamba applets, I sometimes see the applets on top of the normal windows after switching to a different desktop that has normal windows on it. Clicking on a window will make the applets go back to the background again.
Comment 1 Ryan Nickell 2005-11-29 04:07:43 UTC
This appears to work as expected with running only one theme, but when running more than one theme, they don't get set behind all windows.  Further investigation is needed to resolve this bug.
Comment 2 Ryan Nickell 2005-12-17 07:41:25 UTC
SVN commit 489092 by nickell:

BUG:116227  Using KWin::setType() as Normal instead of Dock fixes this.
Previously it was reported that using Dock helped with taskbar type
themes.  I didn't notice any ill behavior with the type being set to Normal
with the current codebase.


 M  +2 -3      karamba.cpp  


--- branches/KDE/3.5/kdeutils/superkaramba/src/karamba.cpp #489091:489092
@@ -457,7 +457,6 @@
           toggleLocked->setChecked( true );
           slotToggleLocked();
           toggleLocked->setEnabled(false);
-
         }
 
         if(lineParser.getBoolean("BOTTOMBAR"))
@@ -743,7 +742,7 @@
     {
       // Matthew Kay: set window type to "dock"
       // (plays better with taskbar themes this way)
-      KWin::setType(winId(), NET::Dock);
+      KWin::setType(winId(), NET::Normal);
 
       #if defined(KDE_MAKE_VERSION)
         #if KDE_VERSION >= KDE_MAKE_VERSION(3,1,9)
@@ -810,7 +809,7 @@
 
   // Matthew Kay: set window type to "dock" (plays better with taskbar themes
   // this way)
-  KWin::setType(winId(), NET::Dock);
+  KWin::setType(winId(), NET::Normal);
 
   #if defined(KDE_MAKE_VERSION)
     #if KDE_VERSION >= KDE_MAKE_VERSION(3,1,9)