Bug 130038

Summary: can't open a document in a running kwrite process using dcop
Product: [Applications] kate Reporter: Mildred <silkensedai>
Component: kwriteAssignee: KWrite Developers <kwrite-bugs-null>
Status: RESOLVED WORKSFORME    
Severity: wishlist CC: cullmann, de.meyer.maarten
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: unspecified   
OS: Linux   
Latest Commit: Version Fixed In:

Description Mildred 2006-06-29 21:40:49 UTC
Version:           4.5.2 (using KDE 3.5.2, Kubuntu Package 4:3.5.2-0ubuntu18 dapper)
Compiler:          Target: i486-linux-gnu
OS:                Linux (i686) release 2.6.15-25-686

Kate does have a DCOP interface to open documents (KateApplication/openURL).
Kwrite should have, but does not :

$ dcop kwrite-6000 MainApplication-Interface
QCStringList interfaces()
QCStringList functions()
void disableSessionManagement()
QCString startupId()
QCString caption()
void quit()
void reparseConfiguration()
void updateUserTimestamp(ulong time)

should be easy to fix for someone who already know the structure of kdebase ... But unfortunately I do not.
Comment 1 Mildred 2006-11-19 14:23:18 UTC
can someone at lest reply to this bug...
Why it seems in the past an interface existed and disappeared.

My problem is when I open a text document by double-clicking on it, it creates a new instance of kwrite and it takes from 5 to 10 seconds, and it is too much for me. Also i don't want to use kate because I prefer a per document window since I do't maximize them.
Thanks.
Comment 2 Maarten De Meyer 2012-06-12 07:54:54 UTC
Kate has a dbus interface in KDE 4.

run qdbus with kate running to see it.
Comment 3 Christoph Cullmann 2012-10-25 22:11:57 UTC
Via dbus should be possible.