Bug 130038 - can't open a document in a running kwrite process using dcop
Summary: can't open a document in a running kwrite process using dcop
Status: RESOLVED WORKSFORME
Alias: None
Product: kate
Classification: Applications
Component: kwrite (show other bugs)
Version: unspecified
Platform: unspecified Linux
: NOR wishlist
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-29 21:40 UTC by Mildred
Modified: 2012-10-25 22:11 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 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.