Summary: | systray windows not shown | ||
---|---|---|---|
Product: | [Plasma] kwin | Reporter: | Michael Reiher <redm> |
Component: | general | Assignee: | KWin default assignee <kwin-bugs-null> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Michael Reiher
2004-01-16 19:23:24 UTC
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 ***. |