Bug 191885 - Applications, which were maximized on last run, become full screen instead (with compiz)
Summary: Applications, which were maximized on last run, become full screen instead (w...
Status: RESOLVED NOT A BUG
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: 4.2.2
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-07 09:58 UTC by Tamás Németh
Modified: 2009-05-08 18:20 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tamás Németh 2009-05-07 09:58:04 UTC
Version:            (using KDE 4.2.2)
OS:                Linux
Installed from:    SuSE RPMs

When I start a KDE 4 application on compiz, then maximize it and the close it, when started next time, it will be fullscreen instead of maximized (no window decoration, occupying the whole desktop area and overlaying all other windows except the panel).

It only happens when the application's last run was under compiz. If I maximize it under kwin, then close it, then switch to compiz and start the application again, it will be displayed correctly. However, when I just close and start it again under compiz, then it becames fullscreen again.

This bug was already reported ( https://bugs.kde.org/show_bug.cgi?id=180771 ), but the closed as INVALID. Please don't close it now, because:

-It only hapenns to KDE4 applications, Firefox, OpenOffice, etc. is totally unaffected.

-Even other QT4 applications (e.g. skype) are unaffected.

-KDE3 applications are also unaffected.

-Allegedly KDE4 itself is also unaffected before 4.1.3.
Comment 1 Tamás Németh 2009-05-07 23:00:21 UTC
(In reply to comment #0)

> -Allegedly KDE4 itself is also unaffected before 4.1.3.

Sorry, I was mistaken. To be more correct, kde 4 was allegedly unaffected before 4.1.2. 4.1.3 was OK. BTW, 4.2.3 is still affected by this problem.
Comment 2 Dario Andres 2009-05-08 00:24:10 UTC
Disable the "Legacy Fullscreen Support" in Compiz configuration and try again. It should solve this issue
Thanks
Comment 3 Tamás Németh 2009-05-08 09:27:49 UTC
(In reply to comment #2)
> Disable the "Legacy Fullscreen Support" in Compiz configuration and try again.
> It should solve this issue
> Thanks

Yes, it solved the problem. Does anyone know the reasons behind? Is it a compiz or a KDE bug?
Comment 4 Dario Andres 2009-05-08 14:32:08 UTC
According to : https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/159664 this cause the bug in OpenOffice too.
Marking as INVALID as this seems to be a Compiz bug.
Thanks
Comment 5 Tamás Németh 2009-05-08 14:42:55 UTC
(In reply to comment #4)
> According to : https://bugs.launchpad.net/ubuntu/+source/compiz/+bug/159664
> this cause the bug in OpenOffice too.


No such problem for me. It really happened with very old compiz versions but not nowadays.
Comment 6 Tamás Németh 2009-05-08 17:48:08 UTC
I've found the exact reason of this bug ( https://bugs.freedesktop.org/show_bug.cgi?id=19701 ). KDE windows may be sized too big. Maybe the KDE project can help to solve this problem, maybe not.
Comment 7 Dario Andres 2009-05-08 17:59:25 UTC
Have you tried with Qt4-only applications ? Thanks
Comment 8 Tamás Németh 2009-05-08 18:20:53 UTC
(In reply to comment #7)
> Have you tried with Qt4-only applications ? Thanks

I've tryed with skype which is unaffected by this problem:

tamas@milleniumfalcon:~> ldd /usr/bin/skype
        linux-gate.so.1 =>  (0xffffe000)
        libasound.so.2 => /usr/lib/libasound.so.2 (0xf7e46000)
        libXv.so.1 => /usr/lib/libXv.so.1 (0xf7e40000)
        libXss.so.1 => /usr/lib/libXss.so.1 (0xf7e3c000)
        librt.so.1 => /lib/librt.so.1 (0xf7e32000)
        libQtDBus.so.4 => /usr/lib/libQtDBus.so.4 (0xf7dc8000)
        libQtGui.so.4 => /usr/lib/libQtGui.so.4 (0xf74de000)
        libQtNetwork.so.4 => /usr/lib/libQtNetwork.so.4 (0xf73df000)
        libQtCore.so.4 => /usr/lib/libQtCore.so.4 (0xf71b6000)
        libpthread.so.0 => /lib/libpthread.so.0 (0xf719c000)
        libstdc++.so.6 => /usr/lib/libstdc++.so.6 (0xf70a8000)
        libm.so.6 => /lib/libm.so.6 (0xf707e000)
        libgcc_s.so.1 => /lib/libgcc_s.so.1 (0xf706f000)
        libc.so.6 => /lib/libc.so.6 (0xf6f13000)
        libX11.so.6 => /usr/lib/libX11.so.6 (0xf6de0000)
        libXext.so.6 => /usr/lib/libXext.so.6 (0xf6dcf000)
        libdl.so.2 => /lib/libdl.so.2 (0xf6dca000)
        /lib/ld-linux.so.2 (0xf7f43000)
        libdbus-1.so.3 => /lib/libdbus-1.so.3 (0xf6d87000)
        libQtXml.so.4 => /usr/lib/libQtXml.so.4 (0xf6d43000)
        libz.so.1 => /lib/libz.so.1 (0xf6d2e000)
        libgthread-2.0.so.0 => /usr/lib/libgthread-2.0.so.0 (0xf6d28000)
        libglib-2.0.so.0 => /usr/lib/libglib-2.0.so.0 (0xf6c63000)
        libpng12.so.0 => /usr/lib/libpng12.so.0 (0xf6c38000)
        libSM.so.6 => /usr/lib/libSM.so.6 (0xf6c2f000)
        libICE.so.6 => /usr/lib/libICE.so.6 (0xf6c14000)
        libXi.so.6 => /usr/lib/libXi.so.6 (0xf6c0a000)
        libXrender.so.1 => /usr/lib/libXrender.so.1 (0xf6c00000)
        libXrandr.so.2 => /usr/lib/libXrandr.so.2 (0xf6bf8000)
        libXfixes.so.3 => /usr/lib/libXfixes.so.3 (0xf6bf1000)
        libXcursor.so.1 => /usr/lib/libXcursor.so.1 (0xf6be6000)
        libXinerama.so.1 => /usr/lib/libXinerama.so.1 (0xf6be2000)
        libfreetype.so.6 => /usr/lib/libfreetype.so.6 (0xf6b62000)
        libfontconfig.so.1 => /usr/lib/libfontconfig.so.1 (0xf6b31000)
        libxcb-xlib.so.0 => /usr/lib/libxcb-xlib.so.0 (0xf6b2d000)
        libxcb.so.1 => /usr/lib/libxcb.so.1 (0xf6b0f000)
        libXau.so.6 => /usr/lib/libXau.so.6 (0xf6b0b000)
        libpcre.so.0 => /usr/lib/libpcre.so.0 (0xf6ad8000)
        libuuid.so.1 => /lib/libuuid.so.1 (0xf6ad2000)
        libexpat.so.1 => /lib/libexpat.so.1 (0xf6aa9000)