| Summary: | kate cannot print from command line with qdbus | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | tnemeth |
| Component: | general | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | wishlist | ||
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Unlisted Binaries | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | 4.8.0 | |
| Sentry Crash Report: | |||
Git commit b375424edb2e73a0abaa5452bd2cb5bede92533b by Christian Loose. Committed on 16/08/2011 at 22:17. Pushed by cloose into branch 'master'. Add print() method to the documents D-Bus interface Add print() method to the KTextEditor::Document interface and expose it on the D-Bus session bus. example: qdbus org.kde.kate-7762 /Kate/Document/1 print FEATURE: 246440 FIXED-IN: 4.8.0 M +4 -0 ktexteditor/document.cpp M +1 -0 ktexteditor/documentadaptor_p.h M +5 -0 ktexteditor/document.h http://commits.kde.org/kate/b375424edb2e73a0abaa5452bd2cb5bede92533b |
Version: unspecified (using KDE 4.4.5) OS: Linux I'm a regular user of the command line and I like to control my applications through it. I've looked for a way to open kate's print dialog from the command line as it was possible with kwrite and dcop in the 3.5.x era. In the old times I did : kwrite "$TITLE" > /dev/null 2>&1 & WPID=$! sleep 3 dcop kwrite-$WPID "kwrite-mainwindow#1" minimize dcop kwrite-$WPID "PrintInterface#1" printDialog > /dev/null dcop kwrite-$WPID MainApplication-Interface quit Now a quick search found no print method: $ for part in `qdbus org.kde.kate-19090` ; do qdbus org.kde.kate-19090 $part | grep method ; done | grep -i print Reproducible: Always Steps to Reproduce: Use the given command line with correct PID. Actual Results: no print dialog can be opened