Bug 158823 - oxygen style child windows have green title bar
Summary: oxygen style child windows have green title bar
Status: RESOLVED FIXED
Alias: None
Product: Oxygen
Classification: Plasma
Component: win deco (show other bugs)
Version: 4.0
Platform: Ubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: Camilla Boemann
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-03-05 21:15 UTC by Unknown
Modified: 2008-06-01 19:42 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments
a screenshot of a child window title bar (5.97 KB, image/png)
2008-03-05 21:16 UTC, Unknown
Details
Test Application (13.77 KB, application/gzip)
2008-03-13 14:50 UTC, n.heinzelmann
Details
Bug in real action (232.30 KB, image/png)
2008-05-27 15:52 UTC, Petr Vanek
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Unknown 2008-03-05 21:15:51 UTC
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.
Comment 1 Unknown 2008-03-05 21:16:18 UTC
Created attachment 23795 [details]
a screenshot of a child window title bar
Comment 2 Camilla Boemann 2008-03-06 13:27:57 UTC
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.
Comment 3 n.heinzelmann 2008-03-07 09:54:49 UTC
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.
Comment 4 Camilla Boemann 2008-03-07 11:47:46 UTC
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.

Comment 5 Unknown 2008-03-11 20:59:14 UTC
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.
Comment 6 n.heinzelmann 2008-03-13 14:50:16 UTC
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.
Comment 7 n.heinzelmann 2008-03-13 15:00:08 UTC
 To download the test application rename the attachment.cgi to a tar.gz file and it works.
Comment 8 Viktor Erdélyi 2008-05-12 17:07:51 UTC
I can confirm the green title bar with KDE 4.0.3, on Fedora 9.
Comment 9 Petr Vanek 2008-05-27 15:52:19 UTC
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.
Comment 10 Huynh Huu Long 2008-06-01 19:38:16 UTC
fixed in revision 815238
Comment 11 Camilla Boemann 2008-06-01 19:42:46 UTC
closing it then