Bug 247299

Summary: desktop-printing's autostart .desktop file fails to start under a KDE session
Product: [Fedora] Fedora Reporter: Niko Mirthes <nmirthes>
Component: desktop-printingAssignee: Tim Waugh <twaugh>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: low Docs Contact:
Priority: low    
Version: 7   
Target Milestone: ---   
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: 0.7.70-1.fc8 Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2007-07-09 12:15:28 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Patch allowing desktop-printing's autostart file to start as expected under a KDE session none

Description Niko Mirthes 2007-07-06 18:44:48 UTC
Description of problem:
The desktop-printing applet fails to open when starting a KDE session. As far 
as I know, this will be changed via a patch, allowing KDE to look in 
$XDG_CONFIG_DIRS/autostart (/etc/xdg/autostart). I've made some minor changes 
to redhat-print-applet.desktop to allow it to start successfully under a KDE 
session.

How reproducible:
Always.

Steps to Reproduce:
1. Start a KDE session
  
Actual results:
Note that the foo.desktop files placed in /etc/xdg/autostart aren't seen when 
KDE starts and the apps they reference are not started. Moving them to a 
location where they are seen by a KDE session results in undesirable behavior.

Expected results:
The desktop files in the system-wide autostart directory should start without 
major issues.

Additional info:
The attached patch adds:

StartupNotify=false
X-KDE-autostart-after=panel

StartupNotify allows the applet to start under a KDE session without 
displaying KDE's app start up notification icon.

X-KDE-autostart-after=panel allows the applet to start after KDE's panel 
(kicker), preventing a race between the panel and the applet.

Comment 1 Niko Mirthes 2007-07-06 18:44:48 UTC
Created attachment 158688 [details]
Patch allowing desktop-printing's autostart file to start as expected under a KDE session

Comment 2 Tim Waugh 2007-07-09 12:15:28 UTC
Thanks.  Fixed in system-config-printer (which now contains that applet) for devel.