Bug 191888 - Desktop changer (on panel) cannot handle window manager switching (kwin - compiz)
Summary: Desktop changer (on panel) cannot handle window manager switching (kwin - com...
Status: RESOLVED WORKSFORME
Alias: None
Product: plasma4
Classification: Unmaintained
Component: widget-pager (show other bugs)
Version: unspecified
Platform: openSUSE Linux
: NOR normal
Target Milestone: ---
Assignee: Daniel Laidig
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-05-07 10:45 UTC by Tamás Németh
Modified: 2009-05-13 05:01 UTC (History)
1 user (show)

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


Attachments
kwin1.jpg (KDE after logon) (127.85 KB, image/jpeg)
2009-05-07 10:45 UTC, Tamás Németh
Details
compiz1.jpg (KDE after switching to compiz) (128.58 KB, image/jpeg)
2009-05-07 10:48 UTC, Tamás Németh
Details
kwin2.jpg (KDE after switching back to kwin) (141.03 KB, image/jpeg)
2009-05-07 10:49 UTC, Tamás Németh
Details

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 10:45:11 UTC
Version:            (using KDE 4.2.2)
OS:                Linux
Installed from:    SuSE RPMs

I'm using KDE 4.2.2 with compiz fusion 0.7.8. Compiz is configured as:

Horizontal Virtual Size = 4, Vertical Virtual Size = 1, and your Number of Desktops = 1

When compiz is selected in KDE system settings as the default window manager, then it works well, which means the KDE desktop switcher recognizes the four desktop areas, displays them correctly and I can even change between desktop with that applet.

However, when I start KDE with kwin as window manager (see the attached kwin1.jpg), and then replace it with compiz, the KDE won't be able to detect the count of desktops (see compiz1.jpg). Moreover, when I switch back to kwin afterwards, KDE desktop switcher even rearranges its layout (see kwin2.jpg).


I found a workaround for the problem: I restart plasma by "killall plasma ; sleep 2 ; plasma" after switching to compiz, which makes KDE able to detect the environment correctly. BTW, all versions of KDE (even KDE3) behaved the same way with all versions of compiz, but in the case of KDE3 it was enough to kill and restart kicker.
Comment 1 Tamás Németh 2009-05-07 10:45:50 UTC
Created attachment 33422 [details]
kwin1.jpg (KDE after logon)
Comment 2 Tamás Németh 2009-05-07 10:48:37 UTC
Created attachment 33423 [details]
compiz1.jpg (KDE after switching to compiz)
Comment 3 Tamás Németh 2009-05-07 10:49:18 UTC
Created attachment 33424 [details]
kwin2.jpg (KDE after switching back to kwin)
Comment 4 Aaron J. Seigo 2009-05-13 05:01:46 UTC
you really don't want to killall plasma, you want to kquitapp it. in any case, as long as the window manager is doing its job properly, the pager does its job properly. it does support both workspaces (compiz) as well as virtual desktops (kwin). looks like something goes wrong when compiz starts with it announcing the # of desktops available.