Version: (using KDE Devel) Installed from: Compiled sources Hi! Not quite sure whether this is a kwin bug or a kicker one. When clicking on a systray icon, say kmix, and the window is hidden it normally gets shown. But this only works when staying on the same desktop. If you show the window, switch to a different desktop and then want to activate the window by clicking on the tray icon, nothing happens on first click and on second the window appears, but minimized. So you have to click again on the taskbar entry. This is first confusing, seeing only a minimize animation out of the nothing, and later very annoying. (Seems that the window gets minimized on desktop switch, hidden on first click, and shown again on current desktop, still minimized) PS: Also it feels somehow wrong to me to hide a window that is shown but hidden behind other windows, by clicking on the tray icon. A click on the tray icon should IMO bring it to front. I would even say it should never close a window at all, that's what the 'X' is for. And instead just show it where ever it is. Greets Michael
Subject: kdelibs/kdeui CVS commit by lunakl: If a window for systray icon is not on the current desktop or is minimized, clicking the tray icon should show it as well. CCMAIL: 72773-done@bugs.kde.org M +1 -1 ksystemtray.cpp 1.38 --- kdelibs/kdeui/ksystemtray.cpp #1.37:1.38 @@ -233,5 +233,5 @@ void KSystemTray::activateOrHide() KWin::WindowInfo info = KWin::windowInfo( pw->winId() ); // mapped = visible (but possibly obscured) - bool mapped = (info.mappingState() != NET::Withdrawn); + bool mapped = (info.mappingState() == NET::Visible) && !info.isMinimized(); // - not mapped -> show, raise, focus // - mapped
Hi! I just did another CVS update(HEAD) and I can't confirm that the problem is fixed, I still have this strange behaviour. Greets Michael On Monday 02 February 2004 18:56, Lubos Lunak wrote: > ------- You are receiving this mail because: ------- > You reported the bug, or are watching the reporter. > > http://bugs.kde.org/show_bug.cgi?id=72773 > l.lunak@kde.org changed: > > What |Removed |Added > --------------------------------------------------------------------------- >- Status|NEW |RESOLVED > Resolution| |FIXED > > > > ------- Additional Comments From l.lunak@kde.org 2004-02-02 18:56 ------- > Subject: kdelibs/kdeui > > CVS commit by lunakl: > > If a window for systray icon is not on the current desktop or is minimized, > clicking the tray icon should show it as well. > CCMAIL: 72773-done@bugs.kde.org > > > M +1 -1 ksystemtray.cpp 1.38 > > > --- kdelibs/kdeui/ksystemtray.cpp #1.37:1.38 > @@ -233,5 +233,5 @@ void KSystemTray::activateOrHide() > KWin::WindowInfo info = KWin::windowInfo( pw->winId() ); > // mapped = visible (but possibly obscured) > - bool mapped = (info.mappingState() != NET::Withdrawn); > + bool mapped = (info.mappingState() == NET::Visible) && > !info.isMinimized(); // - not mapped -> show, raise, focus > // - mapped
Please describe precisely step by step how to reproduce the problem.
No problem, here we go: 1. Go to some desktop A and do what ever is neccessary to get the kmix main window shown. 2. Switch to a different desktop B 3. You want the kmix window now on this desktop. Click on the tray icon. It should appear, but it doesn't. Thats actually already the problem: Nothing happens on desktop B. (On desktop A, however, the kmix window gets minimized.) 4. Click again on the tray icon. The kmix window appears on desktop B, but minimized. 5. Now you have to click on the taskbar entry to get it finally visible on desktop B.
*** Bug has been marked as fixed ***.