Bug 232246 - Autostart ignores symbolic links
Summary: Autostart ignores symbolic links
Status: RESOLVED FIXED
Alias: None
Product: kde
Classification: I don't know
Component: general (show other bugs)
Version: unspecified
Platform: openSUSE Unspecified
: NOR normal
Target Milestone: ---
Assignee: Unassigned bugs mailing-list
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-03-26 17:10 UTC by Tristan Miller
Modified: 2016-07-14 14:51 UTC (History)
1 user (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 Tristan Miller 2010-03-26 17:10:30 UTC
Version:            (using KDE 4.4.1)
Installed from:    openSUSE RPMs

KDE seems to ignore symbolic links to executables in the user's autostart directory.

For example, my autostart directory is ~/.kde4/Autostart.  If I want to start /usr/bin/foo on logging into KDE, one would think I should do this:

$ ln -s /usr/bin/foo ~/.kde4/Autostart/

But this doesn't work.  Instead, I have to do the following:

$ echo -e '#!/bin/sh\nexec /usr/bin/foo' >~/.kde4/Autostart/foo.sh
$ chmod 755 ~/.kde4/Autostart/foo.sh

This seems rather clumsy, awkward, and unintuitive.
Comment 1 Jekyll Wu 2011-07-13 07:05:28 UTC
can't reproduce this problem with 4.7rc2
Comment 2 David Faure 2016-07-14 14:51:57 UTC
Git commit ee4afdd78597cb9379a39951b9eca94a8e927f98 by David Faure.
Committed on 14/07/2016 at 14:51.
Pushed by dfaure into branch 'master'.

KSieve Session: fix race while handling SSL errors.

Summary:
No need to post a request to the thread for handling an ignored ssl error,
which the thread will simply handle by emitting the sslDone signal,
which goes back to the main thread. By doing that we were making it possible
for the thread to emit other things meanwhile - like the received data from the server,
out of sequence (the main thread can only handle it after receiving sslDone)

This fixes the never-ending spinning in "Manage Sieve Scripts" in kmail
for me (which happened about 20% of the time).

Test Plan: Manage Sieve Scripts in kmail, > 5 times.

Reviewers: dvratil, mlaurent

Reviewed By: mlaurent

Subscribers: kde-pim, #kde_pim

Tags: #kde_pim

Differential Revision: https://phabricator.kde.org/D2167

M  +5    -1    src/kmanagesieve/session.cpp
M  +0    -21   src/kmanagesieve/sessionthread.cpp
M  +0    -2    src/kmanagesieve/sessionthread_p.h

http://commits.kde.org/libksieve/ee4afdd78597cb9379a39951b9eca94a8e927f98