Bug 86489 - taskbar bug with restoring windows
Summary: taskbar bug with restoring windows
Status: RESOLVED FIXED
Alias: None
Product: kicker
Classification: Plasma
Component: taskbarapplet (show other bugs)
Version: unspecified
Platform: Debian testing Linux
: HI normal
Target Milestone: ---
Assignee: John Firebaugh
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-03 12:20 UTC by Matthias Heinz
Modified: 2005-01-18 18:47 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 );