Version: (using KDE 4.2.2) OS: Linux Installed from: Unspecified Linux Hello, im running Kde 4.2.2 with 2 monitors with different resolutions in xinerama (nvidia driver). For each monitor I have got a widget taskbar configured to show _only_ the applications for the current monitor. But, when I maximize an application on monitor 1, it is also shown in the taskbar on monitor 2. When the application is not maximized it only shown correctly on the corresponding monitor. In the stasks plasmoid it is the same issue. If you want, I can send you screenshots for more information or test the patches which fix the issue.
I can reproduce this bug. Exact same problem.
can't reprodice anymore here, is still present in trunk for anyone?
Today I tested it with latest kdesvn-build from trunk. I also couldn't reproduce it.
... another bug bites the dust! and another one's gone, another one's gone .. another bug bites the dust .. hoo-ha!
I still have the same problem running 4.3 beta 1 (4.2.89)... Not solved unfortunately :(
Btw, I just tried setting the kwin borders to 0 and then it works as aspected. A maximized window does not appear on the other taskbar. When you maximize a screen the borders aren't visible but it seems that they are taken into consideration to determine whether a window is on a particular screen. Hope the above makes sense, if not let me know and I'll try to clarify.
I feel like I'm kinda talking to myself here, but I think I figured it out. I went looking through the source code and found this in libs/taskmanager/taskmanager.cpp: // for window decos that fudge a bit and claim to extend beyond the // edge of the screen, we just contract a bit. QRect window = wi.frameGeometry(); QRect desktop = Kephal::ScreenUtils::screenGeometry(screen); desktop.adjust(5, 5, -5, -5); return window.intersects(desktop); As you can see here it only adjusts for borders up to 5. Coincidentally my border was set to 6. Setting it to 5 resolved this bug. I don't know if it makes sense to hard-code the margin 5 here. Maybe there's a way to desktop.adjust() based on the thickness of the window borders. So steps to reproduce: 1. Make a panel on each monitor with a Task Manager on each panel. 2. Set "Only show tasks from current screen" for both Task Manager Settings. 3. Set KWin borders to 6 or more. 4. Maximize an application on one screen. 5. The application appears on both Task Managers. Hope this is of any use to anyone :-)
window borders aren't supposed to lie at all, but they sometimes do and so we allow a small fudge factor there. but if the window manager is saying there are window borders when there aren't, then we have a problem. this is either a bug in kwin (publishing window frame geometry when there is no frame) or a bug in NETWinInfo::update...
which window decoration are you using? Do you use the option to show window borders on maximized windows?
questions from comment #9 not yet answered, required for proper investigation.
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 15 days. Please provide the requested information as soon as possible and set the bug status as REPORTED. Due to regular bug tracker maintenance, if the bug is still in NEEDSINFO status with no change in 30 days, the bug will be closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging If you have already provided the requested information, please set the bug status as REPORTED so that the KDE team knows that the bug is ready to be confirmed. Thank you for helping us make KDE software even better for everyone!
Dear Bug Submitter, This bug has been in NEEDSINFO status with no change for at least 30 days. The bug is now closed as RESOLVED > WORKSFORME due to lack of needed information. For more information about our bug triaging procedures please read the wiki located here: https://community.kde.org/Guidelines_and_HOWTOs/Bug_triaging Thank you for helping us make KDE software even better for everyone!