Re: Adobe Acrobat Can't Find the pdf File When Trying to Display an Email Attachment in Thunderbird Daily

2023-02-19 Thread Stephen Morris

On 14/2/23 15:21, Tim via users wrote:

supplemental:

I should point out that I don't *use* Thunderbird.  I have it installed
(the one from Fedora's preinstallation, not a different "daily" one),
and can experiment with it, but I use Evolution.  Out of all the email
clients I've tried on Linux, it's the least-worst.  Not the best
recommendation, but that's how things evolved (pun intended)

Hunting around, I managed to find an email with a misidentified PDF
file attachment (as application/octet-stream).  Though I couldn't find
one with a blank space in the name.

Evolution will open it when clicked on, just the same as a correctly
identified one (as application/pdf), in my PDF reader.  Or, perhaps I
should say that my system (Mate spin of F36) does, Evolution has no
obvious mimetype configuration options.
I think Thunderbird is the same, I'm using KDE's application/pdf 
settings to specify Acrobat as the default. Every entry in Thunderbird's 
"Files & Attachments" table is set to "Always Prompt" (I don't remember 
whether this was a Thunderbird default or whether I changed them to that).
Also, when clicking on an application/octet-stream pdf attachment, if I 
select other in the prompt, Acrobat does not appear in the list of 
applications that can be used to open the pdf. Interestingly, for both 
mimetypes, Chrome and Chromium both appear in the application list, 
Firefox doesn't because with the way it is installed I would have to add 
it manually if I wanted to.


Thunderbird will open it when clicked on, within itself.  Likewise for
correctly identified ones.  I only get open, save-as, detach, delete
options, no open-with options, on the message reader.
With the pdf options in Thunderbird set to "Always Prompt" I get a 
dialogue the shows "Open With",  "Save File" and a check box "Do this 
automatically for files like this from now on.".
The open with entry is a drop down list that contains "Adobe Reader 9 
(default)", "Okular" and "Other".  If I click on "Other" it displays a 
list of "Recommended Applications" which is all the application entries 
in the application/pdf mimetype list except for the snap installed 
Acrobat DC entry (it does this for both mimetypes even though  the 
application/octet-stream list is empty in system settings, incidentally 
it has only done this for the application/octet-stream since installing 
the linux version of Acrobat Reader 9.5.5), and a button for "View All 
Applications" and a button for "Find New Applications".
Interestingly, if having clicked on "Other" I then select "Cancel" it 
changes the displayed name in the drop down to "Okular" instead of 
"Adobe Reader 9 (default)" which was shown when the dialogue opened.


regards,
Steve



If I go into the Thunderbird settings, and change PDF handling to an
external reader, it works (correctly and incorrectly identified
mimetyped files are opened externally).


___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Adobe Acrobat Can't Find the pdf File When Trying to Display an Email Attachment in Thunderbird Daily

2023-02-19 Thread Stephen Morris

On 14/2/23 14:55, Tim via users wrote:

Just following up on an older thread...


Tim:

You can try setting it to pass the file to xdg-open, and then
xdg-open will try opening the file in the right application for
what the file is.  See if that changes anything.

Stephen Morris:

To use xdg-open do I need to save the attachment first, or if not,
when I am clicking on the attachment in the attachment bar at the
bottom of the mail, to browse the attachment, how do I pass that into
xdg-open?

xdg-open is a file handler program.  Hand it a file, and it'll decide
what to do with it based on its own rules (determining the type of
file, and the appropriate/preferred application to read it), making it
a useful default to handle unknown (application/octet-stream) files
from the mail.  In your mailer, you'd set it (xdg-open) as the default
program for such files, and/or any other files you'd like to palm off
to it.  So, instead of setting acrobat in the attachment preferences,
you'd set xdg-open.

Elsewhere, in xdg's settings, you'd tell it what your preferences are
for handling PDF files.  This stage of configuration, I don't remember
the process.  Your desktop "preferred applications" configurator may
set them for you, or it might just set its own preferred applications.

If your mail program "opens" the file, it'll send it to the application
configured in your mail program.  If you "save" a file, it just gets
directly saved to your drive.

The advantage of using xdg-open for application/octet-stream
attachments is that if you receive a PDF sent that way, xdg-open should
(could) use the right reader to view a PDF; if you get sent a JPEG as
application/octet-stream, xdg-open should use an image viewer to view
the JPEG.  Likewise for any other file mis-sent as that generic binary
description, it'd analyse the file and open it appropriately.

The alternative is that people try setting a PDF reader as the
application for application/octet-stream attachments, then things foul
up when they receive something other that PDF sent that way.  And they
will receive various things misidentified that way.

Ideally, you should never receive any of the common types of files
misidentifed as that generic unknown binary mimetype, they've been
known about for decades.

I tend to save attached files and open the saved file, I'm not fond of
directly opening attachments.  I often find that doesn't work as
straight-forwardly as you might wish.

The attachments are being saved to a sub-folder of /tmp where the
sub-folder name looks like it may have been named to reflect the pid
of Thunderbird.

I would expect any of your applications ought to be able to open any
file saved in your name.  There could be SELinux implications.

Did it save the file with a .pdf suffix, too?
It did save the file with a pdf extension, but I think the issue may be 
that snap has installed the Windows version of Adobe Acrobat Reader DC, 
which runs through Wine, as there is no linux version of Acrobat DC, as 
Adobe stopped supporting Linux quite some time ago.





A wild thought:  Is it a filename with blank spaces in it?

The attachment that is mimetype application/binary-octet does have
embedded blanks in the attachment name, the attachment that is
mimetype application/pdf doesn't have embedded blanks in the
attachment name.

That can foul things up.  It's 2023, but some applications still have
grief dealing with filenames with spaces in it.  And there are so many
people using computers who never learnt that it can be a problem.


Interestingly, I registered Acrobat as the default application for
mimetype application/pdf, so when I clicked on the application/pdf
mimetype attachment the prompt asked me if I wanted to open it the
default of Acrobat, but to check to location of the file I selected
Okular instead.
When I then opened the email that had the mimetype
application/binary-octet attachment, when I clicked on the attachment
the prompt asked me if I wanted to open the file in Okular even
though it had Acrobat as the default.

"What" has Acrobat set as the default?  Thunderbird's setting for
handling application/pdf or application/octet-stream?  Your desktop's
settings?
Sorry, I had application/pdf set to Acrobat in KDE's system settings for 
application mimetypes. Interestingly with this, even though via the 
System Settings I only have application/pdf set to Acrobat as the 
default viewer, the system prompt still shows Acrobat as the default 
application even though it is not specified in the mimetype settings in 
KDE for the octet-stream. The fact that the prompt shows the "preferred" 
application as Okular after opening a pdf from Thunderbird in that 
application may be a feature of Thunderbird, but I'm not sure.
In the Thunderbird settings for "Files & Attachments" I have "Portable 
Document Format (PDF)"  set to "Always Prompt".





Mimetyping works thus:

When someone attaches a file to be sent, their software *should*
*correctly* identify the type

Re: Adobe Acrobat Can't Find the pdf File When Trying to Display an Email Attachment in Thunderbird Daily

2023-02-14 Thread Patrick O'Callaghan
On Tue, 2023-02-14 at 14:51 +1030, Tim via users wrote:
> Evolution has no obvious mimetype configuration options.

Correct. Evolution assumes that your desktop knows how to handle this
via the xdg-* utilities.

poc
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Adobe Acrobat Can't Find the pdf File When Trying to Display an Email Attachment in Thunderbird Daily

2023-02-13 Thread Tim via users

supplemental:

I should point out that I don't *use* Thunderbird.  I have it installed
(the one from Fedora's preinstallation, not a different "daily" one),
and can experiment with it, but I use Evolution.  Out of all the email
clients I've tried on Linux, it's the least-worst.  Not the best
recommendation, but that's how things evolved (pun intended)

Hunting around, I managed to find an email with a misidentified PDF
file attachment (as application/octet-stream).  Though I couldn't find
one with a blank space in the name.  

Evolution will open it when clicked on, just the same as a correctly
identified one (as application/pdf), in my PDF reader.  Or, perhaps I
should say that my system (Mate spin of F36) does, Evolution has no
obvious mimetype configuration options.

Thunderbird will open it when clicked on, within itself.  Likewise for
correctly identified ones.  I only get open, save-as, detach, delete
options, no open-with options, on the message reader.

If I go into the Thunderbird settings, and change PDF handling to an
external reader, it works (correctly and incorrectly identified
mimetyped files are opened externally).

-- 
 
NB:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the list.
 
The following system info data is generated fresh for each post:
 
uname -rsvp
Linux 6.1.7-100.fc36.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jan 18 18:37:43
UTC 2023 x86_64
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Adobe Acrobat Can't Find the pdf File When Trying to Display an Email Attachment in Thunderbird Daily

2023-02-13 Thread Tim via users
Just following up on an older thread...


Tim:
>> You can try setting it to pass the file to xdg-open, and then
>> xdg-open will try opening the file in the right application for
>> what the file is.  See if that changes anything.

Stephen Morris:
> To use xdg-open do I need to save the attachment first, or if not,
> when I am clicking on the attachment in the attachment bar at the
> bottom of the mail, to browse the attachment, how do I pass that into
> xdg-open?

xdg-open is a file handler program.  Hand it a file, and it'll decide
what to do with it based on its own rules (determining the type of
file, and the appropriate/preferred application to read it), making it
a useful default to handle unknown (application/octet-stream) files
from the mail.  In your mailer, you'd set it (xdg-open) as the default
program for such files, and/or any other files you'd like to palm off
to it.  So, instead of setting acrobat in the attachment preferences,
you'd set xdg-open.

Elsewhere, in xdg's settings, you'd tell it what your preferences are
for handling PDF files.  This stage of configuration, I don't remember
the process.  Your desktop "preferred applications" configurator may
set them for you, or it might just set its own preferred applications.

If your mail program "opens" the file, it'll send it to the application
configured in your mail program.  If you "save" a file, it just gets
directly saved to your drive.

The advantage of using xdg-open for application/octet-stream
attachments is that if you receive a PDF sent that way, xdg-open should
(could) use the right reader to view a PDF; if you get sent a JPEG as
application/octet-stream, xdg-open should use an image viewer to view
the JPEG.  Likewise for any other file mis-sent as that generic binary
description, it'd analyse the file and open it appropriately.

The alternative is that people try setting a PDF reader as the
application for application/octet-stream attachments, then things foul
up when they receive something other that PDF sent that way.  And they
will receive various things misidentified that way.

Ideally, you should never receive any of the common types of files
misidentifed as that generic unknown binary mimetype, they've been
known about for decades.

I tend to save attached files and open the saved file, I'm not fond of
directly opening attachments.  I often find that doesn't work as
straight-forwardly as you might wish.
> 

> The attachments are being saved to a sub-folder of /tmp where the 
> sub-folder name looks like it may have been named to reflect the pid
> of Thunderbird.

I would expect any of your applications ought to be able to open any
file saved in your name.  There could be SELinux implications.

Did it save the file with a .pdf suffix, too?

>> A wild thought:  Is it a filename with blank spaces in it?

> The attachment that is mimetype application/binary-octet does have 
> embedded blanks in the attachment name, the attachment that is
> mimetype application/pdf doesn't have embedded blanks in the
> attachment name.

That can foul things up.  It's 2023, but some applications still have
grief dealing with filenames with spaces in it.  And there are so many
people using computers who never learnt that it can be a problem.

> Interestingly, I registered Acrobat as the default application for 
> mimetype application/pdf, so when I clicked on the application/pdf 
> mimetype attachment the prompt asked me if I wanted to open it the 
> default of Acrobat, but to check to location of the file I selected 
> Okular instead.
> When I then opened the email that had the mimetype 
> application/binary-octet attachment, when I clicked on the attachment
> the prompt asked me if I wanted to open the file in Okular even
> though it had Acrobat as the default.

"What" has Acrobat set as the default?  Thunderbird's setting for
handling application/pdf or application/octet-stream?  Your desktop's
settings?


Mimetyping works thus:

When someone attaches a file to be sent, their software *should*
*correctly* identify the type of file it is in the mimetype header (and
in 2023 all programs that weren't written by a fool ought to know what
a PDF file is).

When you receive such an email, your email program should obey the
mimetype header, and nothing else.  If the headers says its a PDF file,
then it hands it off to a PDF reader, no matter what the file really
is.  Likewise for JPEGs, if the header says its a JPEG it hands it off
to the JPEG reader, even if it's not a JPEG.  Et cetera...

If an attachment is described as application/octet-stream, it becomes a
"not my problem" issue to the mail program.  You're expected to deal
with it by saving it and sorting it out yourself, or some other aspect
of your operating system may handle it (e.g xdg-open).  The file is
palmed off.  Thunderbird isn't told what it is externally, and doesn't
then open the file using your PDF viewer configured in Thunderbird. 
Thunderbird doesn't do anything with that file.

Re: Adobe Acrobat Can't Find the pdf File When Trying to Display an Email Attachment in Thunderbird Daily [Resolved]

2023-02-11 Thread Stephen Morris

On 5/2/23 11:26, Stephen Morris wrote:

Hi,
    I have Adobe Acrobat Reader DC installed in F37 via Snap. When I 
click on a pdf attachment in Thunderbird Daily I get a prompt asking 
if I want to view it in the Ocular default or save the attachment. If 
I click "OK" to display it in Ocular it displays fine.
    When I click on the Drop Down in the prompt and select "Other" to 
display the pdf in something other than Ocular I am not shown Acrobat 
in the list, but if I look at "KDE System Settings->Applications->File 
Associations->application->pdf" Adobe Acrobat is shown as the third 
entry in the list of applications. If I move Adobe Acrobat to the top 
then the prompt from Thunderbird shows Adobe Acrobat as the default as 
expected.
    With the prompt now asking if I want to view the pdf in Acrobat, 
if I click on "OK" Acrobat is launched but produced the error "There 
was an error opening this document. This file cannot be found".  If I 
edit the pdf association entry for Acrobat and add "%U" into the empty 
Arguments text box, in the same way it is specified for the Ocular 
entry, Acrobat still produces the error message that it can't find the 
file.
    Has the snap process not installed Acrobat correctly, or is the 
file argument for Acrobat not "%U", or is there something else at play 
here?


regards,
Steve
It seems as though the reason the attachment does not appear to be 
passed into Acrobat is the version that snap installs is the Windows 
version of Adobe Acrobat Reader DC.
I found on the net a methodology to install a 32-bit linux version of 
Acrobat Reader 9.5.5 into Fedora 33/34 which works for installing that 
version into F37. Even though with this install  the mimetype 
association doesn't specify any arguments for the filename like the one 
for Okular does, both of the two mimetype attachments get passed into 
Acrobat for viewing quite happily.
So now I can use the Acrobat Reader 9 association for accessing pdf 
attachments in emails and the Acrobat Reader DC app for saved pdf's if I 
need the extra functionality that it provides.


regards,
Steve


___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/

List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Adobe Acrobat Can't Find the pdf File When Trying to Display an Email Attachment in Thunderbird Daily

2023-02-09 Thread Michael Hennebry

On Thu, 9 Feb 2023, Ranjan Maitra wrote:


On Thu Feb09'23 11:16:04AM, Michael Hennebry wrote:



Try running Thunderbird under strace.
It can be told to record only open calls.

To get the same environment,
you might put something like this in the /usr/bin directory:
file pigeon:
#!/usr/bin/sh
exec strace -o /tmp/strace.out trace=%file thunderbird $*

Tweaks by the better-informed are welcome,
e.g. does $* need "quotes"?


BTW suggesting that OP use another pdf reader
or save the file first does not really help.
He already knows how to do that.
Such suggestions are basically telling him to give up.

A friend of mine, whenever I have any trouble at all with my computer,
suggests I get a Mac.  I find it annoying.


Color me unimpressed with your somewhat-contrived equivalence. We have here a 
OSS-based-linux distribution mailing list, and there is nothing unusual with us 
providing equivalent and helpful OSS solutions which we have far more 
experience with. That is different from asking someone to go buy another 
computer that hides the problems, and gives the user a false sense of security.

What is annoying is the OP ignoring something as simple as a misnamed piece of 
software, and continuing to use it for whatever reason, even when he claims to 
have always thought it was something else. Beyond the name, he could have 
learnt about other software which would have been easier to use, and does not 
come with all sorts of restrictions.


According to OP: "Ocular reads the pdf's as well".
Clearly OP can use Okular, but does not want to.
OP has his reasons for wanting to use Acrobat,
among them that he uses Acrobat at work.
That is something he might or might not be able to change
and might or might not be useful if he does.

To the best of my knowledge,
missspeling Ockuler is not a deadly sin.

Even if using Okular were the ideal choice,
there is hardly anything wrong with trying
to discover what went wrong with Acrobat.

In any case, this little argument is not helping OP either.

--
Michael   henne...@mail.cs.ndsu.nodak.edu
"Occasionally irrational explanations are required"  --  Luke Roman
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Adobe Acrobat Can't Find the pdf File When Trying to Display an Email Attachment in Thunderbird Daily

2023-02-09 Thread Stephen Morris

On 10/2/23 01:38, Tim via users wrote:

On Thu, 2023-02-09 at 21:05 +1100, Stephen Morris wrote:

I've checked two mails with attachments, one mail has the pdf attachment
as content type application/binary-octet and the other has the content
type of application/pdf on the attachment and the issue occurs with both
of them.

On that note, it's not a good idea to try and get your program to open
PDFs sent as application/binary-octet, because it'll try to do the same
thing with any other non-PDF file.  Fun and chaos will ensue.
I had no idea that mime type was being used for the mail attachment 
until I viewed the mail source and searched through the source for the 
attachment that I found what mimetype the attachment had been added with.


You can try setting it to pass the file to xdg-open, and then xdg-open
will try opening the file in the right application for what the file
is.  See if that changes anything.
To use xdg-open do I need to save the attachment first, or if not, when 
I am clicking on the attachment in the attachment bar at the bottom of 
the mail, to browse the attachment, how do I pass that into xdg-open?


If you allow Thunderbird to directly open the PDF in Okular, can you
view properties of the PDF file in Okular, and see where the temporary
file is being loaded from?
The attachments are being saved to a sub-folder of /tmp where the 
sub-folder name looks like it may have been named to reflect the pid of 
Thunderbird.


A wild thought:  Is it a filename with blank spaces in it?
The attachment that is mimetype application/binary-octet does have 
embedded blanks in the attachment name, the attachment that is mimetype 
application/pdf doesn't have embedded blanks in the attachment name.


Interestingly, I registered Acrobat as the default application for 
mimetype application/pdf, so when I clicked on the application/pdf 
mimetype attachment the prompt asked me if I wanted to open it the 
default of Acrobat, but to check to location of the file I selected 
Okular instead.
When I then opened the email that had the mimetype 
application/binary-octet attachment, when I clicked on the attachment 
the prompt asked me if I wanted to open the file in Okular even though 
it had Acrobat as the default.
What I don't know from this functionality is whether what I'm seeing is 
standard Linux, or a feature of the version of Thunderbird I am using, 
as I expected the prompt to ask whether I wanted the file to be opened 
in whatever was the default application for the associated mimetype.


regards,
Steve

  

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Adobe Acrobat Can't Find the pdf File When Trying to Display an Email Attachment in Thunderbird Daily

2023-02-09 Thread Ranjan Maitra
On Thu Feb09'23 11:16:04AM, Michael Hennebry wrote:
> From: Michael Hennebry 
> Date: Thu, 9 Feb 2023 11:16:04 -0600 (CST)
> To: Tim via users 
> CC: Tim 
> Reply-To: Community support for Fedora users 
> Subject: Re: Adobe Acrobat Can't Find the pdf File When Trying to Display
>  an Email Attachment in Thunderbird Daily
> 
> Try running Thunderbird under strace.
> It can be told to record only open calls.
> 
> To get the same environment,
> you might put something like this in the /usr/bin directory:
> file pigeon:
> #!/usr/bin/sh
> exec strace -o /tmp/strace.out trace=%file thunderbird $*
> 
> Tweaks by the better-informed are welcome,
> e.g. does $* need "quotes"?
> 
> 
> BTW suggesting that OP use another pdf reader
> or save the file first does not really help.
> He already knows how to do that.
> Such suggestions are basically telling him to give up.
>
> A friend of mine, whenever I have any trouble at all with my computer,
> suggests I get a Mac.  I find it annoying.

Color me unimpressed with your somewhat-contrived equivalence. We have here a 
OSS-based-linux distribution mailing list, and there is nothing unusual with us 
providing equivalent and helpful OSS solutions which we have far more 
experience with. That is different from asking someone to go buy another 
computer that hides the problems, and gives the user a false sense of security.

What is annoying is the OP ignoring something as simple as a misnamed piece of 
software, and continuing to use it for whatever reason, even when he claims to 
have always thought it was something else. Beyond the name, he could have 
learnt about other software which would have been easier to use, and does not 
come with all sorts of restrictions. 

Ranjan
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Adobe Acrobat Can't Find the pdf File When Trying to Display an Email Attachment in Thunderbird Daily

2023-02-09 Thread Michael Hennebry

Try running Thunderbird under strace.
It can be told to record only open calls.

To get the same environment,
you might put something like this in the /usr/bin directory:
file pigeon:
#!/usr/bin/sh
exec strace -o /tmp/strace.out trace=%file thunderbird $*

Tweaks by the better-informed are welcome,
e.g. does $* need "quotes"?


BTW suggesting that OP use another pdf reader
or save the file first does not really help.
He already knows how to do that.
Such suggestions are basically telling him to give up.

A friend of mine, whenever I have any trouble at all with my computer,
suggests I get a Mac.  I find it annoying.

--
Michael   henne...@mail.cs.ndsu.nodak.edu
"Occasionally irrational explanations are required"  --  Luke Roman
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Adobe Acrobat Can't Find the pdf File When Trying to Display an Email Attachment in Thunderbird Daily

2023-02-09 Thread Ranjan Maitra
On Thu Feb09'23 08:53:43PM, Stephen Morris wrote:
> From: Stephen Morris 
> Date: Thu, 9 Feb 2023 20:53:43 +1100
> To: users@lists.fedoraproject.org
> Reply-To: Community support for Fedora users 
> Subject: Re: Adobe Acrobat Can't Find the pdf File When Trying to Display
>  an Email Attachment in Thunderbird Daily
> 
> On 9/2/23 09:03, Patrick O'Callaghan wrote:
> > On Thu, 2023-02-09 at 08:52 +1100, Stephen Morris wrote:
> > > > I use Okular [sic] all the time.
> > > I could use Ocular as well,
> > Once again, it's Okular, not Ocular (in case someone does a search for
> > the term in the future.)
> Sorry, I thought it was Ocular.

Interestingly, everyone else here has been using the correct name: okular, and 
you still continue to use the incorrect, misspelt name.

https://duckduckgo.com/?q=ocular+software&atb=v228-1&ia=web

shows that there is some commercial imaging software by your misspelt name. 
Further down the list is the Okular universal document viewer.

I have to say that though I rely more on the simpler zathura for my PDFs, I 
find okular to be outstanding. Evince is also very good. 

Best wishes,
Ranjan
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Adobe Acrobat Can't Find the pdf File When Trying to Display an Email Attachment in Thunderbird Daily

2023-02-09 Thread Tim via users
On Thu, 2023-02-09 at 21:05 +1100, Stephen Morris wrote:
> I've checked two mails with attachments, one mail has the pdf attachment 
> as content type application/binary-octet and the other has the content 
> type of application/pdf on the attachment and the issue occurs with both 
> of them.

On that note, it's not a good idea to try and get your program to open
PDFs sent as application/binary-octet, because it'll try to do the same
thing with any other non-PDF file.  Fun and chaos will ensue.

You can try setting it to pass the file to xdg-open, and then xdg-open
will try opening the file in the right application for what the file
is.  See if that changes anything.

If you allow Thunderbird to directly open the PDF in Okular, can you
view properties of the PDF file in Okular, and see where the temporary
file is being loaded from?

A wild thought:  Is it a filename with blank spaces in it?
 
-- 
 
NB:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the list.
 
The following system info data is generated fresh for each post:
 
uname -rsvp
Linux 6.1.7-100.fc36.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jan 18 18:37:43
UTC 2023 x86_64
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Adobe Acrobat Can't Find the pdf File When Trying to Display an Email Attachment in Thunderbird Daily

2023-02-09 Thread Stephen Morris

On 9/2/23 21:05, Stephen Morris wrote:

On 9/2/23 20:56, Stephen Morris wrote:

On 9/2/23 12:11, Tim via users wrote:

On Thu, 2023-02-09 at 08:52 +1100, Stephen Morris wrote:
The other thing I found strange is, I have Thunderbird Daily 
configured
to prompt for download locations, and when I click on the pdf 
attachment
in the mail I get prompted to open it in the default app or save 
it. In

the default app drop down in that dialogue, when the default app was
Ocular, if I select "Other" to select a different app, Acrobat does 
not

appear in the list of selectable apps even though it is specified the
app list in the pdf application association.

Is this for some, or all, PDFs?

A common problem with dealing with attachments is when they're sent
using the wrong mime-type.  Files are supposed to be sent with a
description of what type of file they are, and the recipient is
supposed to act upon that information.  It's not supposed to guess from
the filename, nor snoop into the file to work it out.

PDFs ought to be sent as:  application/pdf

However some senders may be set up badly, and just use the generic
"application/binary-octet" that means some unknown binary file.
It could be that situation, I hadn't checked that. I'll see if I can 
figure out what it is using.


I've checked two mails with attachments, one mail has the pdf 
attachment as content type application/binary-octet and the other has 
the content type of application/pdf on the attachment and the issue 
occurs with both of them.


regards,
Steve


regards,
Steve

I've just verified that the snap implementation of Acrordrdc is the 
windows version of Acrobat.


regards,
Steve


___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/

List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/

List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Adobe Acrobat Can't Find the pdf File When Trying to Display an Email Attachment in Thunderbird Daily

2023-02-09 Thread Stephen Morris

On 9/2/23 20:56, Stephen Morris wrote:

On 9/2/23 12:11, Tim via users wrote:

On Thu, 2023-02-09 at 08:52 +1100, Stephen Morris wrote:

The other thing I found strange is, I have Thunderbird Daily configured
to prompt for download locations, and when I click on the pdf 
attachment

in the mail I get prompted to open it in the default app or save it. In
the default app drop down in that dialogue, when the default app was
Ocular, if I select "Other" to select a different app, Acrobat does not
appear in the list of selectable apps even though it is specified the
app list in the pdf application association.

Is this for some, or all, PDFs?

A common problem with dealing with attachments is when they're sent
using the wrong mime-type.  Files are supposed to be sent with a
description of what type of file they are, and the recipient is
supposed to act upon that information.  It's not supposed to guess from
the filename, nor snoop into the file to work it out.

PDFs ought to be sent as:  application/pdf

However some senders may be set up badly, and just use the generic
"application/binary-octet" that means some unknown binary file.
It could be that situation, I hadn't checked that. I'll see if I can 
figure out what it is using.


I've checked two mails with attachments, one mail has the pdf attachment 
as content type application/binary-octet and the other has the content 
type of application/pdf on the attachment and the issue occurs with both 
of them.


regards,
Steve


regards,
Steve

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/

List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Adobe Acrobat Can't Find the pdf File When Trying to Display an Email Attachment in Thunderbird Daily

2023-02-09 Thread Stephen Morris

On 9/2/23 12:11, Tim via users wrote:

On Thu, 2023-02-09 at 08:52 +1100, Stephen Morris wrote:

The other thing I found strange is, I have Thunderbird Daily configured
to prompt for download locations, and when I click on the pdf attachment
in the mail I get prompted to open it in the default app or save it. In
the default app drop down in that dialogue, when the default app was
Ocular, if I select "Other" to select a different app, Acrobat does not
appear in the list of selectable apps even though it is specified the
app list in the pdf application association.

Is this for some, or all, PDFs?

A common problem with dealing with attachments is when they're sent
using the wrong mime-type.  Files are supposed to be sent with a
description of what type of file they are, and the recipient is
supposed to act upon that information.  It's not supposed to guess from
the filename, nor snoop into the file to work it out.

PDFs ought to be sent as:  application/pdf

However some senders may be set up badly, and just use the generic
"application/binary-octet" that means some unknown binary file.
It could be that situation, I hadn't checked that. I'll see if I can 
figure out what it is using.


regards,
Steve

  

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Adobe Acrobat Can't Find the pdf File When Trying to Display an Email Attachment in Thunderbird Daily

2023-02-09 Thread Stephen Morris

On 9/2/23 09:03, Patrick O'Callaghan wrote:

On Thu, 2023-02-09 at 08:52 +1100, Stephen Morris wrote:

I use Okular [sic] all the time.

I could use Ocular as well,

Once again, it's Okular, not Ocular (in case someone does a search for
the term in the future.)

Sorry, I thought it was Ocular.

regards,
Steve


poc
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Adobe Acrobat Can't Find the pdf File When Trying to Display an Email Attachment in Thunderbird Daily

2023-02-08 Thread Tim via users
On Thu, 2023-02-09 at 08:52 +1100, Stephen Morris wrote:
> The other thing I found strange is, I have Thunderbird Daily configured 
> to prompt for download locations, and when I click on the pdf attachment 
> in the mail I get prompted to open it in the default app or save it. In 
> the default app drop down in that dialogue, when the default app was 
> Ocular, if I select "Other" to select a different app, Acrobat does not 
> appear in the list of selectable apps even though it is specified the 
> app list in the pdf application association. 

Is this for some, or all, PDFs?

A common problem with dealing with attachments is when they're sent
using the wrong mime-type.  Files are supposed to be sent with a
description of what type of file they are, and the recipient is
supposed to act upon that information.  It's not supposed to guess from
the filename, nor snoop into the file to work it out.

PDFs ought to be sent as:  application/pdf

However some senders may be set up badly, and just use the generic
"application/binary-octet" that means some unknown binary file.
 
-- 
 
uname -rsvp
Linux 3.10.0-1160.83.1.el7.x86_64 #1 SMP Wed Jan 25 16:41:43 UTC 2023 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Adobe Acrobat Can't Find the pdf File When Trying to Display an Email Attachment in Thunderbird Daily

2023-02-08 Thread Tim via users
On Thu, 2023-02-09 at 08:29 +1100, Stephen Morris wrote:
> I haven't tried yet as until now I have always been able to use a native 
> linux version without any issues. I also haven't tested yet whether the 
> association issue is global or only with the daily version of Thunderbird.
> I've checked the association definition for Ocular and it has %U 
> specified as a parameter, which works for passing the name and location 
> of the attachment into Ocular for the attachment contents to be 
> displayed. Adding this parameter into the Acrobat association definition 
> doesn't work, so I'm now wondering if there is an equivalent parameter 
> for Acrobat that is supported by Fedora, and does the same thing as %U?

I wonder if it's one of those things where it doesn't pass on a file
path, but one of the weird URLs of mounted/psuedo filesystems.  I
wonder what would happen if you used a handler in between?

A script that Thunderbird passed it to, that passed it to (the not-so-
flexible) Acrobat (I couldn't resist that bad pun).

In the past, I'd set the handlers for some awkward browsers to use
"xdg-open" as their handler.
 
-- 
 
uname -rsvp
Linux 3.10.0-1160.83.1.el7.x86_64 #1 SMP Wed Jan 25 16:41:43 UTC 2023 x86_64
 
Boilerplate:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the mailing list.
 
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Adobe Acrobat Can't Find the pdf File When Trying to Display an Email Attachment in Thunderbird Daily

2023-02-08 Thread Patrick O'Callaghan
On Thu, 2023-02-09 at 08:52 +1100, Stephen Morris wrote:
> > I use Okular [sic] all the time.
> I could use Ocular as well,

Once again, it's Okular, not Ocular (in case someone does a search for
the term in the future.)

poc
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Adobe Acrobat Can't Find the pdf File When Trying to Display an Email Attachment in Thunderbird Daily

2023-02-08 Thread Stephen Morris

On 8/2/23 22:59, Patrick O'Callaghan wrote:

On Tue, 2023-02-07 at 22:59 -0800, ToddAndMargo via users wrote:

On 2/7/23 00:02, Stephen Morris wrote:

Ocular reads the pdf's as well, but I'm used to using Acrobat under
Windows and previous versions of Fedora where I did not have the
same
issues I am now, and we also use Acrobat at work.

regards,
Steve

I never cared for Ocular.

I use Okular [sic] all the time.
I could use Ocular as well, but in the past I have found the odd 
situation where Ocular doesn't display the pdf contents properly and 
Acrobat does, so I have tended to use Acrobat, and until now I have 
never had any issues with the Linux implementation. Having said this 
though, I think up until F36 Acrobat was installed via an installed 
repository designed for Fedora, it wasn't until F36 that the recommended 
method for installing Acrobat was Snap, but I also had no situation 
under F36 where I had a need to open a pdf mail attachment, hence don't 
know whether the issue I have now has always been there with the snap 
implementation or has only become an issue with F37.
As I mentioned in my reply to Todd, the Ocular association definition 
specifies a %U parameter to pass in the name and location of the file to 
display, but that specification doesn't work with Acrobat, so at the 
moment I don't know whether Acrobat requires a different parameter and 
if so whether that parameter is supported under Fedora.
The other thing I found strange is, I have Thunderbird Daily configured 
to prompt for download locations, and when I click on the pdf attachment 
in the mail I get prompted to open it in the default app or save it. In 
the default app drop down in that dialogue, when the default app was 
Ocular, if I select "Other" to select a different app, Acrobat does not 
appear in the list of selectable apps even though it is specified the 
app list in the pdf application association. So I'm not even sure at the 
moment if the snap implementation has been done properly or whether 
there is some other package that I'm missing.


regards,
Steve



poc
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Adobe Acrobat Can't Find the pdf File When Trying to Display an Email Attachment in Thunderbird Daily

2023-02-08 Thread Stephen Morris

On 8/2/23 19:47, ToddAndMargo via users wrote:

On 2/7/23 22:59, ToddAndMargo via users wrote:

Have you tried running Acrobat or Acrobat Reader
under Wine?


Acrobat's sub installe for WIodws is a disaster.

You can download the real insaller from:

ftp://ftp.adobe.com/pub/adobe/reader/win/AcrobatDC/2001320064/AcroRdrDC2001320064_en_US.exe 

I haven't tried yet as until now I have always been able to use a native 
linux version without any issues. I also haven't tested yet whether the 
association issue is global or only with the daily version of Thunderbird.
I've checked the association definition for Ocular and it has %U 
specified as a parameter, which works for passing the name and location 
of the attachment into Ocular for the attachment contents to be 
displayed. Adding this parameter into the Acrobat association definition 
doesn't work, so I'm now wondering if there is an equivalent parameter 
for Acrobat that is supported by Fedora, and does the same thing as %U?


regards,
Steve


___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/

List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Adobe Acrobat Can't Find the pdf File When Trying to Display an Email Attachment in Thunderbird Daily

2023-02-08 Thread Ranjan Maitra
On Wed Feb08'23 11:59:12AM, Patrick O'Callaghan wrote:
> From: Patrick O'Callaghan 
> Date: Wed, 08 Feb 2023 11:59:12 +
> To: users@lists.fedoraproject.org
> Reply-To: Community support for Fedora users 
> Subject: Re: Adobe Acrobat Can't Find the pdf File When Trying to Display
>  an Email Attachment in Thunderbird Daily
> 
> On Tue, 2023-02-07 at 22:59 -0800, ToddAndMargo via users wrote:
> > On 2/7/23 00:02, Stephen Morris wrote:
> > > Ocular reads the pdf's as well, but I'm used to using Acrobat under
> > > Windows and previous versions of Fedora where I did not have the
> > > same 
> > > issues I am now, and we also use Acrobat at work.
> > > 
> > > regards,
> > > Steve
> > 
> > I never cared for Ocular.
> 
> I use Okular [sic] all the time.

I use zathura for most purposes. For when I have to read comments on pdfs I use 
evince or okular. Okular is also good for filling  pdfs (I do not know if 
evince can do this), though for actual handwriting, I use xournalpp.

Generally happy I have not had to deal with adobe for at least ten years, 
perhaps more!:-)

Ranjan
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Adobe Acrobat Can't Find the pdf File When Trying to Display an Email Attachment in Thunderbird Daily

2023-02-08 Thread Patrick O'Callaghan
On Tue, 2023-02-07 at 22:59 -0800, ToddAndMargo via users wrote:
> On 2/7/23 00:02, Stephen Morris wrote:
> > Ocular reads the pdf's as well, but I'm used to using Acrobat under
> > Windows and previous versions of Fedora where I did not have the
> > same 
> > issues I am now, and we also use Acrobat at work.
> > 
> > regards,
> > Steve
> 
> I never cared for Ocular.

I use Okular [sic] all the time.

poc
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Adobe Acrobat Can't Find the pdf File When Trying to Display an Email Attachment in Thunderbird Daily

2023-02-08 Thread ToddAndMargo via users

On 2/7/23 22:59, ToddAndMargo via users wrote:

Have you tried running Acrobat or Acrobat Reader
under Wine?


Acrobat's sub installe for WIodws is a disaster.

You can download the real insaller from:

ftp://ftp.adobe.com/pub/adobe/reader/win/AcrobatDC/2001320064/AcroRdrDC2001320064_en_US.exe
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Adobe Acrobat Can't Find the pdf File When Trying to Display an Email Attachment in Thunderbird Daily

2023-02-07 Thread ToddAndMargo via users

On 2/7/23 00:02, Stephen Morris wrote:
Ocular reads the pdf's as well, but I'm used to using Acrobat under 
Windows and previous versions of Fedora where I did not have the same 
issues I am now, and we also use Acrobat at work.


regards,
Steve


I never cared for Ocular.

Most of my customers are Windows customers.  Acrobat
and Acrobat Reader is popular with them as well.

Have you tried running Acrobat or Acrobat Reader
under Wine?


___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Adobe Acrobat Can't Find the pdf File When Trying to Display an Email Attachment in Thunderbird Daily

2023-02-07 Thread Stephen Morris

On 7/2/23 12:33, Richard England wrote:

On 2/6/23 17:16, Samuel Sieb wrote:

On 2/6/23 13:21, Stephen Morris wrote:
I have no idea if there is any way to get extra debugging 
information nor do I know how to put Selinux in passive mode, but I 
would have thought that if it was an Selinux issue that Selinux 
would have produced a pop-up for the exception with instructions on 
how to resolve it, like it did for the snap processes when snap was 
initially installed.
Also if it was an Selinux issue I would have thought the process for 
extracting the attachment from the mail and passing it to Ocular 
would also fail.
One issue might be that the %U parameter specified for Ocular to 
give it the location of the extracted file may not be the correct 
parameter for Acrobat.


I think, by default, Thunderbird puts temp files in /tmp.  Would a 
program running in a snap even be able to access that?



Thunderbird lets you define where the downloads go.

See Edit > Settings > General and scroll down looking for "Save files 
to". Check it and select/browse to the location you want to save to.
I have it set to prompt for the location which is happening in my 
situation where it is asking whether I want to open it in the default 
app, which at the moment I have set to Acrobat, or save the file. If I 
select "Save" it prompts for where I want to save it.
My issue is when I specify to open the email attachment in the default 
app, being Acrobat, Acrobat errors saying it can't find the file. If I 
set the default to Ocular, the attachment open successfully in Ocular.


regards,
Steve



~~R
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/

List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Adobe Acrobat Can't Find the pdf File When Trying to Display an Email Attachment in Thunderbird Daily

2023-02-07 Thread Stephen Morris

On 7/2/23 12:16, Samuel Sieb wrote:

On 2/6/23 13:21, Stephen Morris wrote:
I have no idea if there is any way to get extra debugging information 
nor do I know how to put Selinux in passive mode, but I would have 
thought that if it was an Selinux issue that Selinux would have 
produced a pop-up for the exception with instructions on how to 
resolve it, like it did for the snap processes when snap was 
initially installed.
Also if it was an Selinux issue I would have thought the process for 
extracting the attachment from the mail and passing it to Ocular 
would also fail.
One issue might be that the %U parameter specified for Ocular to give 
it the location of the extracted file may not be the correct 
parameter for Acrobat.


I think, by default, Thunderbird puts temp files in /tmp.  Would a 
program running in a snap even be able to access that?
Snapd runs as a socket, so I thought it should be able to access /tmp. I 
also thought anything in Fedora can access /tmp?


regards,
Steve


___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/

List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Adobe Acrobat Can't Find the pdf File When Trying to Display an Email Attachment in Thunderbird Daily

2023-02-07 Thread Stephen Morris

On 7/2/23 08:45, ToddAndMargo via users wrote:

On 2/6/23 13:21, Stephen Morris wrote:

Hi Steve,

Not what you asked, BUT WHEN DOES THAT STOP ME!!!


I have used Master PDF Editor for years and
am very pleased with it.

https://code-industry.net/

The free versions (similar to Acrobat Reader)
works well for simple uses.  I pay for it every
years as it is used so much in my business and
I need the extra feature enabled.

Libre Office will now read PDF's too, but it is a
weird mess.

Ocular reads the pdf's as well, but I'm used to using Acrobat under 
Windows and previous versions of Fedora where I did not have the same 
issues I am now, and we also use Acrobat at work.


regards,
Steve


-T



___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Adobe Acrobat Can't Find the pdf File When Trying to Display an Email Attachment in Thunderbird Daily

2023-02-06 Thread ToddAndMargo via users

On 2/6/23 20:32, Richard England wrote:


On 2/6/23 20:26, ToddAndMargo via users wrote:

On 2/6/23 17:33, Richard England wrote:

Thunderbird lets you define where the downloads go.

See Edit > Settings > General and scroll down looking for "Save files 
to". Check it and select/browse to the location you want to save to.


~~R



That is the final destination, not
the temporary location of scratch
paper files.



Perhaps modifying $TMP would direct the file to a new location. Assuming 
TB uses that setting.


I let more knowledgeable folks continue this conversation.


I do not know why you would. Normal users can have
at /tmp to the hearts desire

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Adobe Acrobat Can't Find the pdf File When Trying to Display an Email Attachment in Thunderbird Daily

2023-02-06 Thread Richard England


On 2/6/23 20:26, ToddAndMargo via users wrote:

On 2/6/23 17:33, Richard England wrote:

Thunderbird lets you define where the downloads go.

See Edit > Settings > General and scroll down looking for "Save files 
to". Check it and select/browse to the location you want to save to.


~~R



That is the final destination, not
the temporary location of scratch
paper files.



Perhaps modifying $TMP would direct the file to a new location. Assuming 
TB uses that setting.


I let more knowledgeable folks continue this conversation.

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Adobe Acrobat Can't Find the pdf File When Trying to Display an Email Attachment in Thunderbird Daily

2023-02-06 Thread ToddAndMargo via users

On 2/6/23 17:33, Richard England wrote:

Thunderbird lets you define where the downloads go.

See Edit > Settings > General and scroll down looking for "Save files 
to". Check it and select/browse to the location you want to save to.


~~R



That is the final destination, not
the temporary location of scratch
paper files.
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Adobe Acrobat Can't Find the pdf File When Trying to Display an Email Attachment in Thunderbird Daily

2023-02-06 Thread Tim via users
Samuel Sieb:
>> I think, by default, Thunderbird puts temp files in /tmp.  Would a
>> program running in a snap even be able to access that?

Richard England:
> 
> Thunderbird lets you define where the downloads go.
>
> See Edit > Settings > General and scroll down looking for "Save files
> to". Check it and select/browse to the location you want to save to.

How browsers (and other browser-like applications) deal with temporary
files (click and open directly) is usually different from how they deal
with download and save.
 
-- 
 
NB:  All unexpected mail to my mailbox is automatically deleted.
I will only get to see the messages that are posted to the list.
 
The following system info data is generated fresh for each post:
 
uname -rsvp
Linux 6.1.7-100.fc36.x86_64 #1 SMP PREEMPT_DYNAMIC Wed Jan 18 18:37:43
UTC 2023 x86_64
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Adobe Acrobat Can't Find the pdf File When Trying to Display an Email Attachment in Thunderbird Daily

2023-02-06 Thread Richard England

On 2/6/23 17:16, Samuel Sieb wrote:

On 2/6/23 13:21, Stephen Morris wrote:
I have no idea if there is any way to get extra debugging information 
nor do I know how to put Selinux in passive mode, but I would have 
thought that if it was an Selinux issue that Selinux would have 
produced a pop-up for the exception with instructions on how to 
resolve it, like it did for the snap processes when snap was 
initially installed.
Also if it was an Selinux issue I would have thought the process for 
extracting the attachment from the mail and passing it to Ocular 
would also fail.
One issue might be that the %U parameter specified for Ocular to give 
it the location of the extracted file may not be the correct 
parameter for Acrobat.


I think, by default, Thunderbird puts temp files in /tmp.  Would a 
program running in a snap even be able to access that?



Thunderbird lets you define where the downloads go.

See Edit > Settings > General and scroll down looking for "Save files 
to". Check it and select/browse to the location you want to save to.


~~R
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Adobe Acrobat Can't Find the pdf File When Trying to Display an Email Attachment in Thunderbird Daily

2023-02-06 Thread Samuel Sieb

On 2/6/23 13:21, Stephen Morris wrote:
I have no idea if there is any way to get extra debugging information 
nor do I know how to put Selinux in passive mode, but I would have 
thought that if it was an Selinux issue that Selinux would have produced 
a pop-up for the exception with instructions on how to resolve it, like 
it did for the snap processes when snap was initially installed.
Also if it was an Selinux issue I would have thought the process for 
extracting the attachment from the mail and passing it to Ocular would 
also fail.
One issue might be that the %U parameter specified for Ocular to give it 
the location of the extracted file may not be the correct parameter for 
Acrobat.


I think, by default, Thunderbird puts temp files in /tmp.  Would a 
program running in a snap even be able to access that?

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Adobe Acrobat Can't Find the pdf File When Trying to Display an Email Attachment in Thunderbird Daily

2023-02-06 Thread ToddAndMargo via users

On 2/6/23 13:21, Stephen Morris wrote:

Hi Steve,

Not what you asked, BUT WHEN DOES THAT STOP ME!!!


I have used Master PDF Editor for years and
am very pleased with it.

https://code-industry.net/

The free versions (similar to Acrobat Reader)
works well for simple uses.  I pay for it every
years as it is used so much in my business and
I need the extra feature enabled.

Libre Office will now read PDF's too, but it is a
weird mess.

-T


--

A computer without Microsoft is like
a chocolate cake without the mustard

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Adobe Acrobat Can't Find the pdf File When Trying to Display an Email Attachment in Thunderbird Daily

2023-02-06 Thread Stephen Morris

On 6/2/23 03:03, stan via users wrote:

On Sun, 5 Feb 2023 11:26:03 +1100
Stephen Morris  wrote:


Hi,
      I have Adobe Acrobat Reader DC installed in F37 via Snap. When I
click on a pdf attachment in Thunderbird Daily I get a prompt asking
if I want to view it in the Ocular default or save the attachment. If
I click "OK" to display it in Ocular it displays fine.
      When I click on the Drop Down in the prompt and select "Other"
to display the pdf in something other than Ocular I am not shown
Acrobat in the list, but if I look at "KDE System
Settings->Applications->File Associations->application->pdf" Adobe
Acrobat is shown as the third entry in the list of applications. If I
move Adobe Acrobat to the top then the prompt from Thunderbird shows
Adobe Acrobat as the default as expected.
      With the prompt now asking if I want to view the pdf in Acrobat,
if I click on "OK" Acrobat is launched but produced the error "There
was an error opening this document. This file cannot be found".  If I
edit the pdf association entry for Acrobat and add "%U" into the
empty Arguments text box, in the same way it is specified for the
Ocular entry, Acrobat still produces the error message that it can't
find the file. Has the snap process not installed Acrobat correctly,
or is the file argument for Acrobat not "%U", or is there something
else at play here?

This seems like it is more a question that should be asked of snap or
adobe.  Unless someone else has this snap installed, and it is working
for them, or snap in general is failing on fedora.  I don't use snap
so I don't know.  Is there any way to get more debugging information?
Like, what is the filename it is looking for?  Is it looking in the
wrong place? Maybe it is nelinux context missing. Have you tried
running with selinux in permissive mode?
I seem to remember that the method for installing acrobat in Fedora used 
to be a 3rd party repository I think was provided by Adobe, but I 
believe Adobe stopped supporting Acrobat in Linux some time ago.
The reason I'm using snap is all the hits I found from Google on 
installing Acrobat in Fedora all said to use snap to do it and provided 
the relevant snap commands. I also don't know at the moment who supports 
snap and how.
I have no idea if there is any way to get extra debugging information 
nor do I know how to put Selinux in passive mode, but I would have 
thought that if it was an Selinux issue that Selinux would have produced 
a pop-up for the exception with instructions on how to resolve it, like 
it did for the snap processes when snap was initially installed.
Also if it was an Selinux issue I would have thought the process for 
extracting the attachment from the mail and passing it to Ocular would 
also fail.
One issue might be that the %U parameter specified for Ocular to give it 
the location of the extracted file may not be the correct parameter for 
Acrobat.


regards,
Steve

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue

___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue


Re: Adobe Acrobat Can't Find the pdf File When Trying to Display an Email Attachment in Thunderbird Daily

2023-02-05 Thread stan via users
On Sun, 5 Feb 2023 11:26:03 +1100
Stephen Morris  wrote:

> Hi,
>      I have Adobe Acrobat Reader DC installed in F37 via Snap. When I 
> click on a pdf attachment in Thunderbird Daily I get a prompt asking
> if I want to view it in the Ocular default or save the attachment. If
> I click "OK" to display it in Ocular it displays fine.
>      When I click on the Drop Down in the prompt and select "Other"
> to display the pdf in something other than Ocular I am not shown
> Acrobat in the list, but if I look at "KDE System
> Settings->Applications->File Associations->application->pdf" Adobe
> Acrobat is shown as the third entry in the list of applications. If I
> move Adobe Acrobat to the top then the prompt from Thunderbird shows
> Adobe Acrobat as the default as expected.
>      With the prompt now asking if I want to view the pdf in Acrobat,
> if I click on "OK" Acrobat is launched but produced the error "There
> was an error opening this document. This file cannot be found".  If I
> edit the pdf association entry for Acrobat and add "%U" into the
> empty Arguments text box, in the same way it is specified for the
> Ocular entry, Acrobat still produces the error message that it can't
> find the file. Has the snap process not installed Acrobat correctly,
> or is the file argument for Acrobat not "%U", or is there something
> else at play here?

This seems like it is more a question that should be asked of snap or
adobe.  Unless someone else has this snap installed, and it is working
for them, or snap in general is failing on fedora.  I don't use snap
so I don't know.  Is there any way to get more debugging information?
Like, what is the filename it is looking for?  Is it looking in the
wrong place? Maybe it is nelinux context missing. Have you tried
running with selinux in permissive mode?
___
users mailing list -- users@lists.fedoraproject.org
To unsubscribe send an email to users-le...@lists.fedoraproject.org
Fedora Code of Conduct: 
https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: 
https://lists.fedoraproject.org/archives/list/users@lists.fedoraproject.org
Do not reply to spam, report it: 
https://pagure.io/fedora-infrastructure/new_issue