Bug 235850

Summary: No Effects are listed, but they are installed
Product: [Plasma] kwin Reporter: Alex <allo>
Component: generalAssignee: KWin default assignee <kwin-bugs-null>
Status: RESOLVED NOT A BUG    
Severity: normal CC: diego.ml
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Ubuntu   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:
Attachments: here should the effects be listed, that are installed in kubuntu
the .desktop files at /usr/share/kde4/services/

Description Alex 2010-04-30 22:21:21 UTC
Version:            (using KDE 4.4.2)
OS:                Linux
Installed from:    Ubuntu Packages

The effect list in the window-properties is empty, but some effects are working (expose, window switcher, etc.)
Comment 1 Alex 2010-04-30 22:22:10 UTC
Created attachment 43130 [details]
here should the effects be listed, that are installed in kubuntu
Comment 2 Thomas Lübking 2010-04-30 22:27:44 UTC
you should have a bunch of .desktop files in /usr/share/kde4/services/kwin/
confirmed?

(correct path can be obtained by "kde4-config --path services")
Comment 3 Martin Flöser 2010-05-01 00:17:24 UTC
sounds like a distribution issue.
Comment 4 Alex 2010-05-01 01:28:10 UTC
#2 yes, in both folders (one in my profile at $HOME, the other one /usr/share/kde4/services/
) are some .desktop files
Comment 5 Alex 2010-05-01 01:29:05 UTC
Created attachment 43133 [details]
the .desktop files at /usr/share/kde4/services/
Comment 6 Thomas Lübking 2010-05-01 14:20:01 UTC
..  "/usr/share/kde4/services/kwin/"
so are there some inside the /kwin subdirectory as well? (and named like the effects)
Comment 7 Alex 2010-05-01 14:28:06 UTC
yes, there are the .desktop files for the effects
Comment 8 Thomas Lübking 2010-05-01 17:32:33 UTC
run "sudo kbuildsycoca4 --global --noincremental", watch for error messages and see whether the plugins are available afterwards (you'll have to restart) "kcmshell4 kwincompositing"
Comment 9 Alex 2010-05-03 06:42:01 UTC
kbuildsycoca4: ERROR writing database '/home/user'!
kbuildsycoca4: Disk full?

a quick google says it should look like
/var/tmp/kdecache-root/ksycoca4
Comment 10 Thomas Lübking 2010-05-04 01:56:41 UTC
i don't know why, but get the same.
you could try to either
a) "touch" the kwin service files (what hopefully causes the daemon to run an update)
b) update the local database, just "kbuildsycoca4 --noincremental"
Comment 11 Diego 2010-05-09 22:14:24 UTC
(In reply to comment #3)
> sounds like a distribution issue.

A user is experiencing this problem on Sabayon too:
http://forum.kde.org/viewtopic.php?f=143&t=87658
Comment 12 Martin Flöser 2010-05-23 16:50:20 UTC
not a kwin related bug. This is either a distribution issue or a case for forum.kde.org.
Comment 13 Alex 2010-05-24 15:48:09 UTC
what should it be, if not a kde (maybe more systemsettings than kwin) bug?
Comment 14 Thomas Lübking 2010-05-24 20:11:09 UTC
incomplete packages, wrong installation destination, wrong path, mislinked outdated libs, broken ksycoca
-> not a _kwin_ issue ("but some effects are working") -but /maybe/ in kdelibs or systemsettings- and it doesn't happen on a "vanilla installation from source", nor on eg. archlinux.

(the kbuildsycoca4 message is weird, but apparently unrelated. i get it as well, but database updates work for sure)

just for a shot in the dark: run "kcmshell4 kwincompositing" from a textshell. watch the output* and check whether the plugins are presented in this context.

*should contain stuff like "kcmshell(3067)/kdecore (KPluginInfo) KPluginInfo::kcmServices: found  1  offers for  "kwin4_effect_showfps""
Comment 15 Alex 2010-05-24 20:33:27 UTC
> kcmshell4 kwincompositing
kcmshell(4481)/kwin KWin::Extensions::init: Extensions: shape: 0x "11"  composite: 0x "4"  render: 0x "a"  fixes: 0x "40"


nothing more.

the active effects are all working, but i cannot add/remove or configure them, because the list is empty.

i will debug this some more on other kubuntu computers.
Comment 16 Alex 2010-05-24 20:38:35 UTC
okay, my kubuntu laptop does NOT have this problem ... next trying a clean kde profile on the pc.
Comment 17 Alex 2010-05-24 20:43:59 UTC
okay, it happens only with my profile ...
Comment 18 Alex 2010-05-24 20:48:47 UTC
i think i will find it in my profile hopefully
Comment 19 Thomas Lübking 2010-05-24 20:50:27 UTC
logout, run afailsafe session or loginto VT1
1) wipe/move away ~/.kde/cache-$HOSTNAME and ~/.kde/tmp-$HOSTNAME
(if this didn't help)
2) check ~/.kde/share/services and move away ~/.kde/share/config/kwinrc
Comment 20 Alex 2010-05-25 15:23:57 UTC
deleting kwinrc solved the problem. maybe this IS indeed a kwin/systemsettings bug, which needs to be fixed. But for now its worksforme.