Bug 86489

Summary: taskbar bug with restoring windows
Product: [Plasma] kicker Reporter: Matthias Heinz <mh>
Component: taskbarappletAssignee: John Firebaugh <jfirebaugh>
Status: RESOLVED FIXED    
Severity: normal    
Priority: HI    
Version: unspecified   
Target Milestone: ---   
Platform: Debian testing   
OS: Linux   
Latest Commit: Version Fixed In:

Description Matthias Heinz 2004-08-03 12:20:17 UTC
Version:            (using KDE KDE 3.2.3)
Installed from:    Debian testing/unstable Packages
OS:                Linux

Hi,

this bug appeared in several kde-versions before (but i didn't found the time to report it)

If you configure your taskbar that the middle mouse key will just minimize the window, when you click on the tab in the taskbar, it'll do fine, until you just want to minimize the window. But if you click with the middle mouse button on the minimized window tab again, and if this was a maximized window, it'll activate the window, but it's no longer maximized (seems to be the same as choosing "restore window")

Could this be fixed? So that the windows stay maximized, when they were maximized before minimizing?
(this seems to be an error just with the "minimize window" option for the mouse buttons)


Thanks
(if it's needed i'll make some screenshots and add the links to them here :)
Matthias
Comment 1 Stefan Nikolaus 2005-01-18 18:47:35 UTC
CVS commit by nikolaus: 

Deminimize minimized maximized windows should not demaximize them ;-)

BUG: 86489


  M +1 -1      taskmanager.cpp   1.81


--- kdebase/kicker/taskmanager/taskmanager.cpp  #1.80:1.81
@@ -701,5 +701,5 @@ void Task::restore()
         KWin::deIconifyWindow( _win );
     NETWinInfo ni( qt_xdisplay(),  _win, qt_xrootwin(), NET::WMState );
-    ni.setState( 0, NET::Max );
+    ni.setState( 0, 0 );
     if( !on_current )
         KWin::forceActiveWindow( _win );