Version: (using KDE 4.0.2) Installed from: Ubuntu Packages When I'm using the oxygen style in my Qt 4.3.4 apps (using a self-compiled Qt), the window title bars of child windows are drawn incorrectly: They are green and the icons to close and shade are not shown. Only when I hover them I can see their borders. Using another style works fine. Attached is a screenshot of qtconfig showing the problem. I did not find a KDE4 app yet which uses child windows, but I also have the problem in Qt Designer. I don't think that this green bar is intended, but if it is this bug should be turned to a wish because it neither looks nice nor fits to the rest of oxygen.
Created attachment 23795 [details] a screenshot of a child window title bar
It was intended, but only as a way to provoke a user like you to report a bug :) You see, I am unable to find an example app, as my pure Qt4 apps don't find any any kde style like Oxygen.
Same problem here with kde-4.0.1 under Gentoo (qt-4.3.4). I programmed an MDI Application and the child window title bar looks that way like described above. (green without icons). There is an example application in the Qt package called MDI.
as i said until a kde app shows this behaviour i'm unable to fixit. And thankfully MDI is not common in KDE. MDI is a concept straight from hell, so excuse me for not going out of my way to fix this (by coding a test app) So if this bug is important to people, then please provide a small cmake'able kde app I can test against.
I don't have any experience with cmake so I can't provide such app. However I found out how to make my Qt apps using the oxygen style without starting a full KDE4 session (which makes this change automagically): I had to add the following lines [Qt] 4.3\libraryPath=/usr/lib/kde4/lib/kde4/plugins/ to ~/.config/Trolltech.conf. Btw, MDI can be really handy so calling it "straight from hell" isn't accurate.
Created attachment 23886 [details] Test Application I just converted the MDI Example from Qt to make it work with cmake. If there any problems with it, please contact me.
To download the test application rename the attachment.cgi to a tar.gz file and it works.
I can confirm the green title bar with KDE 4.0.3, on Fedora 9.
Created attachment 24968 [details] Bug in real action We are using MDI intensively in TOra.sf.net. You can find it in qt designer (MDI mode) and qt examples too.
fixed in revision 815238
closing it then