Bug 191145 - ksystraycmd changes plasma look
Summary: ksystraycmd changes plasma look
Status: RESOLVED WORKSFORME
Alias: None
Product: ksystraycmd
Classification: Miscellaneous
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Unspecified
: NOR normal
Target Milestone: ---
Assignee: kdelibs bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-04-30 15:21 UTC by Ruchir Brahmbhatt
Modified: 2009-12-28 14:10 UTC (History)
2 users (show)

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 Ruchir Brahmbhatt 2009-04-30 15:21:55 UTC
Version:           r961515 (using Devel)
Installed from:    Compiled sources

Platform:
OS: opensuse 11.1
Qt: 4.5.1
KDE: 4.2.71 (KDE 4.2.71 (KDE 4.3 >= 20090428))
Plasma Workspace: 0.3
kdelibs: r961515
kdebase: r961515


Steps to reproduce:
1. Open configure desktop.
2. Go to Advanced.
3. Click Autostart.
4. Click Add program.
5. Select evolution.
6. This opens properties of evolution.desktop.
7. Go to Application tab.
8. Click Advanced Options.
9. Select place in system tray.
10. Save settings. 
11. Restart kde.
12. A new cashew icon appears in system tray with tooltip "plasma-desktop".
13. Click this icon.

Expected result:
Clicking this icon should show/hide evolution.

Actual result:
Panel becomes dark and desktop becomes totally black. No wallpaper or widgets are showing up.
Comment 1 Aaron J. Seigo 2009-04-30 16:56:44 UTC

*** This bug has been marked as a duplicate of bug 181164 ***
Comment 2 Dario Andres 2009-05-23 17:45:51 UTC
This is not a duplicate of bug 181164. Reopening

Further analysis (?) revealed that the current implementation of ksystraycmd needs the "--window regexp" command line switch to capture the windows with "regexp" in their title. If this switch is not used, the first application will be taken.. In this case, the wID of the plasma desktop itself.

As users can't know which window title will have the Application when configuring a Autostart app (and the configure dialog doesn't provide an option to this), KSystrayCmd should take the windows of the PID of the application it started.

I created a patch to allow this and to fix another issues on ksystraycmd.. but it's a big patch so we can't allow it into 4.3 ....

Regards
Comment 3 Ruchir Brahmbhatt 2009-12-06 14:24:01 UTC
This works fine on kde 4.4 beta1.
Comment 4 Ruchir Brahmbhatt 2009-12-07 19:04:43 UTC
Sorry it doesn't work consistently. Sometimes it places pidgin or gnome keyring in system tray.
Comment 5 Dario Andres 2009-12-28 14:10:39 UTC
Closing as request of the reporter.
In any case, the root cause is the same as in bug 210970