Bug 288394 - Windows do not resize properly when using fancy themes
Summary: Windows do not resize properly when using fancy themes
Status: RESOLVED UPSTREAM
Alias: None
Product: kwin
Classification: Plasma
Component: general (show other bugs)
Version: unspecified
Platform: Fedora RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-07 11:52 UTC by artur.cuvasov
Modified: 2011-12-08 10:20 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description artur.cuvasov 2011-12-07 11:52:25 UTC
Version:           unspecified (using KDE 4.7.3) 
OS:                Linux

Resize of windows does not work, or works improperly when using themes like air-oxygen or glowglass-deco. Functions correctly with Plastik.

Reproducible: Always

Steps to Reproduce:
Apply air-oxygen or glowglass-deco theme
Try to resize the window

Actual Results:  
Unexpected resize behaviour

Expected Results:  
Expected resize behaviour

Right-click on the window choosing resize option from the drop-down allows you to resize it properly.
Comment 1 Thomas Lübking 2011-12-07 13:15:21 UTC
installed "glowglass" - cannot reproduce (neither 4.7, nor 4.8)

- please describe "improperly" (not at all, jumps to wrong size, etc.)
- are you using Qt4.8 (beta)
Comment 2 artur.cuvasov 2011-12-07 13:31:54 UTC
Window collapses to the minimum size and does not let me make it bigger (i.e. pidgin)
Comment 3 artur.cuvasov 2011-12-07 13:34:54 UTC
Some additional sys info:

xorg-x11-drv-intel-2.17.0-1.fc16.i686
OpenGL compositing
Comment 4 artur.cuvasov 2011-12-07 13:38:44 UTC
The window resizes normally with glowglass applied only if the window is in the top left corner
Comment 5 artur.cuvasov 2011-12-07 13:41:56 UTC
qt-4.8.0-0.23.rc1.fc16.i686
Comment 6 Thomas Lübking 2011-12-07 13:54:36 UTC
There's a bug (? i hope that's a bug) when mapping cursor positions from QGraphicsScene (to global or -i think- not) in Qt 4.8

devnote:
we got to figure whether that's supposed to be a "feature" in Qt (it's apparently been there since the first betas) and in dobut find a workaround (attempt to map ourselves)
Comment 7 artur.cuvasov 2011-12-07 14:03:03 UTC
Thank you Thomas. Hope the information I provided is sufficient to decide whether it is a bug or a feature. Hope to see the fix/workaround soon.
Comment 8 Thomas Lübking 2011-12-07 16:15:09 UTC
https://qt.gitorious.org/qt/qt/blobs/history/4.8/src/gui/kernel/qwidget_x11.cpp

A bug, I suppose.
The breaking code has been commited end january, reverted early february, recommited end march and last been reverted by mid of november.
(...and apparently the unity thing is by far not the only affected issue, i've seen this poping up in k-c-d, another bug about this, a bug in bespin, ...)

What a mess, but i gues it's fixed - at least for now =D
Comment 9 artur.cuvasov 2011-12-08 09:47:03 UTC
I am glad you have found the reason. Is there a fix available to community at the moment?
Comment 10 Thomas Lübking 2011-12-08 10:20:39 UTC
install Qt from git, have fedora backport the fix - or downgrade to Qt 4.7