Created attachment 63293 [details]
picture of corruption
Version: unspecified (using KDE 4.7.0)
When maximizing a window that has been manually sized to take up the entire screen, the title bar becomes graphically corrupt. I have tried many different window decorations, and this only happens with Oxygen. The bug also only occurs when desktop effects are enabled.
Here is a video of the bug in action: http://www.youtube.com/watch?v=Hf7BwY5W4HQ
I have also attached a screenshot of the corruption.
Steps to Reproduce:
1) Make sure Oxygen is the window decorator and kwin desktop effects are enabled.
2) Open Dolphin (although any program should do).
3) Resize Dolphin using the window borders so that it takes up the entire desktop, from the top of the screen down to the panel.
4) Click the maximize button.
The title bar becomes corrupted. If you restore the window from the maximized state, the maximize button appears stuck in a depressed state.
There should be no corruption.
** My System **
OS: Kubuntu 11.04 64-bit w/ KDE 4.7.0
Motherboard: ASRock X58 Extreme3 (Intel X58 chipset)
CPU: Intel Core i7 (2.8 GHz quad-core)
RAM: 12GB DDR3
Video: Dell NVIDIA GeForce 7800 GTX w/ 256 MB RAM (PCI Express)
Sound Card #1: Sound Blaster Audigy 2 ZS Gold
Sound Card #2: Echo Gina3G
Linux Kernel: 2.6.38-11-generic
NVIDIA video driver: 275.09.07
Screen Resolution: 1280 x 960
Very nice reproduce video, I saw this with KMail2 multiple times. Using ATI with open source radeon driver.
I can reproduce with some applications (mainly, libreoffice).
I do not think it is an oxygen issue but rather kwin. Re-assigning.
I am able to reproduce it with Java applications but so far have not been able to reproduce with a real application.
Given the state how it looks like for me, it seems like the window is rendered as maximized but the decoration is still providing the decoration for not-maximized causing the decoration to be scaled down (and including the shadows).
I can't reproduce this anymore since I've upgraded to KDE 4.8. Anybody else still having the problem?
I did not experience this exact distortion, but I did have title bar distortion issues when my panel was at the top of the screen and I dragged the window to the top to auto-maximize.
Mind to elaborate a bit on what you saw (rather that it's actually not this ;-)
Or is it just the title alignment?
(And does it hold for 4.9 as well?)
The title looked like it got too big to fit in the bar. Perhaps it was an issue with the TitleHeight in the FormaN theme as well.
I believe at the time the window was maximized and then I dragged it up to the top to auto fill and it got confused. No issues when the panel was on bottom, just on top. At any rate I cannot replicate it now in 4.9.
Ok, thanks for the update (closing as works for me by comments #4 and #7 - original bug looks like typical NPOT issue)
marking as fixed as of latest comments. If still an issue please reopen.