[okular] [Bug 173896] Sent-to menu entry or send-via-email menu-entry

2018-04-06 Thread Simon Andric
https://bugs.kde.org/show_bug.cgi?id=173896

Simon Andric  changed:

   What|Removed |Added

 CC||simonandr...@gmail.com

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 173896] Sent-to menu entry or send-via-email menu-entry

2018-02-05 Thread Albert Astals Cid
https://bugs.kde.org/show_bug.cgi?id=173896

Albert Astals Cid  changed:

   What|Removed |Added

 CC||dav1dblunk...@hotmail.com

--- Comment #30 from Albert Astals Cid  ---
*** Bug 389912 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 173896] Sent-to menu entry or send-via-email menu-entry

2017-10-18 Thread Kevin Ottens
https://bugs.kde.org/show_bug.cgi?id=173896

Kevin Ottens  changed:

   What|Removed |Added

 Status|CONFIRMED   |RESOLVED
 Resolution|--- |FIXED
  Latest Commit||https://commits.kde.org/oku
   ||lar/a5da013a4da20f9230775fd
   ||f52275c5136e4f172

--- Comment #29 from Kevin Ottens  ---
Git commit a5da013a4da20f9230775fdf52275c5136e4f172 by Kevin Ottens.
Committed on 18/10/2017 at 14:55.
Pushed by ervin into branch 'master'.

Add a "share" menu to Okular

Summary: This is implemented using the Purpose framework.

Reviewers: aacid

Subscribers: #okular

Tags: #okular

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

M  +15   -0CMakeLists.txt
M  +3-0config-okular.h.cmake
M  +65   -0part.cpp
M  +17   -0part.h
M  +1-0part.rc

https://commits.kde.org/okular/a5da013a4da20f9230775fdf52275c5136e4f172

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 173896] Sent-to menu entry or send-via-email menu-entry

2017-07-18 Thread Michael Weghorn
https://bugs.kde.org/show_bug.cgi?id=173896

Michael Weghorn  changed:

   What|Removed |Added

 CC||m.wegh...@posteo.de

-- 
You are receiving this mail because:
You are watching all bug changes.

[okular] [Bug 173896] Sent-to menu entry or send-via-email menu-entry

2016-08-31 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=173896

--- Comment #28 from mo...@gmx.net ---
Created attachment 100858
  --> https://bugs.kde.org/attachment.cgi?id=100858=edit
script to send an email with *.pdf-files as attachement(s) currently opened by
okular

-- 
You are receiving this mail because:
You are watching all bug changes.


[okular] [Bug 173896] Sent-to menu entry or send-via-email menu-entry

2016-08-31 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=173896

--- Comment #27 from mo...@gmx.net ---
assign this script to any global shortcut, and enjoy:

-
#!/bin/bash

# opens a new mail in kmail or (if installed) in thunderbird, with the selected 
# files as attachement
# modify the "lsof"-line if you want to find other files than *.pdf currently
opened by okular...

# prerequisites: zenity

# attention: the colon (,) is used as separator for multiple attachements, and
"?" might be a
# problem too
# , and ? are converted to URI (%2C resp. %3F) other troublemakers could be
solved that way too

# THIS SCRIPT WILL !!!_NOT_!!! WORK FOR FILENAMES WITH LINEBREAKS - who ever
thinks to need
# linebreaks in a filename is free to write a script of it's own ...

if [ "$(which zenity)" = "" ] ; then
echo "zenity NOT installed, please install with: sudo apt install
zenity"
exit 0
fi

if [ "$(which thunderbird)" != "" ] ; then
MailModus="TB"
else
if [ "$(which kmail)" != "" ] ; then
MailModus="KM"
else
echo "Neither KMail nor Thunderbird found ... exiting!"
exit 0
fi
fi


AllFilesOpen=$(lsof -c okular -Fn | grep -e '.*\.pdf' | sed s/n//)

IFSORIG=$IFS
IFS="
"

FilesToProcess=$(zenity--text="Please select file(s) to send per mail..." \
--list --multiple --separator="$IFS" \
--column="*.pdf-files currently open" $AllFilesOpen \
--width=750 --height=300)

if [ "$FilesToProcess" = "" ] ; then
exit 0
fi

for FileToEncode in $FilesToProcess
do
if [ $(echo $FileToEncode | grep -c ",") = "1" ] ; then
FileToEncode=$(echo "$FileToEncode" | sed 's/,/%2C/g')
fi

if [ $(echo $FileToEncode | grep -c "?") = "1" ] ; then
FileToEncode=$(echo "$FileToEncode" | sed 's/\?/%3F/g')
fi
case $MailModus in
"TB")
FilesProcessed="$FilesProcessed""file://""$FileToEncode"","
;;
"KM")
FilesProcessed="$FilesProcessed"" --attach
'file://""$FileToEncode""'"
;;
*)
esac

done

FilesProcessed=$(echo $FilesProcessed | sed -e 's/,$//g')

IFS=$IFSORIG

case $MailModus in
"TB")
thunderbird -compose "attachment='$FilesProcessed'"
;;
"KM")
echo "$FilesProcessed" | xargs kmail
;;
*)
esac

exit 0
-

-- 
You are receiving this mail because:
You are watching all bug changes.


[okular] [Bug 173896] Sent-to menu entry or send-via-email menu-entry

2016-08-30 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=173896

robertk...@robertkehl.de changed:

   What|Removed |Added

 Status|UNCONFIRMED |CONFIRMED
 Ever confirmed|0   |1

--- Comment #26 from robertk...@robertkehl.de ---
*** This bug has been confirmed by popular vote. ***

-- 
You are receiving this mail because:
You are watching all bug changes.


[okular] [Bug 173896] Sent-to menu entry or send-via-email menu-entry

2016-08-30 Thread Robert Kehl via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=173896

Robert Kehl  changed:

   What|Removed |Added

 CC|robertk...@robertkehl.de|

--- Comment #25 from Robert Kehl  ---
Forget about the idea, nobody needs it apparantly, they are moving to other
programs an "apps".

-- 
You are receiving this mail because:
You are watching all bug changes.


[okular] [Bug 173896] Sent-to menu entry or send-via-email menu-entry

2016-08-30 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=173896

mo...@gmx.net changed:

   What|Removed |Added

 CC||mo...@gmx.net

--- Comment #23 from mo...@gmx.net ---
*** Bug 368015 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.


[okular] [Bug 173896] Sent-to menu entry or send-via-email menu-entry

2016-08-30 Thread via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=173896

--- Comment #24 from mo...@gmx.net ---
okular is a great pdf-program, but I miss this function really. Maybe it could
be realized by enabling addons - e.g. an addon that calls a shell-script could
do nearly everything. (and would give developers the possibility to hand this
work over ...)

-- 
You are receiving this mail because:
You are watching all bug changes.


[okular] [Bug 173896] Sent-to menu entry or send-via-email menu-entry

2016-06-25 Thread alex braga via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=173896

alex braga  changed:

   What|Removed |Added

 CC||br...@fpillustrazioni.it

--- Comment #22 from alex braga  ---
like acrobat reader the possibility to send directly the file via email, and
stamp the file or just the page I like in > to print to file.
The best way also send just the page I would like to send via email from a new
option print to send email page thanks

-- 
You are receiving this mail because:
You are watching all bug changes.


[okular] [Bug 173896] Sent-to menu entry or send-via-email menu-entry

2015-12-17 Thread Rok via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=173896

Rok  changed:

   What|Removed |Added

 CC||r...@kanardia.eu

--- Comment #20 from Rok  ---
The developers should (sometimes) listen to the public.

This feature is in now-days really as common as saving file to the disk. This
is true for all applications which can open any file. In fact the proper
integration of KDE enables simple and consistent implementation of SHARE
function.

If I look into the future it is more important than SaveAs. From user
perspective (tablet users) this enables to save file not only disk but also on
different -internet media.

-- 
You are receiving this mail because:
You are watching all bug changes.


[okular] [Bug 173896] Sent-to menu entry or send-via-email menu-entry

2015-12-17 Thread Rok via KDE Bugzilla
https://bugs.kde.org/show_bug.cgi?id=173896

--- Comment #21 from Rok  ---
I have an idea. Is it possible to implement KIO slave protocol for sending
mail? You will choose SaveAs in any application and forward this to kmail or
anything else...

-- 
You are receiving this mail because:
You are watching all bug changes.