Re: [Evolution] Print to File -- where does it go? (Flatpak)

2022-05-04 Thread Milan Crha via evolution-list
On Tue, 2022-05-03 at 16:13 -0600, duane.johnson--- via evolution-list
wrote:
> I wonder why this is not the default?

Hi,
because you do not want to give any random application access to your
whole home, that voids the intention of the sandboxing and safety for
your files.

> It seems it would benefit flatpak users of Evolution to be able to
> save PDFs to their home directory or export emails.

Andre pointer a link to a WebKitGTK bug. That bug is the only reason
why the things fail. Once it's fixed, the things are fixed as well.
Bye,
Milan

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Print to File -- where does it go? (Flatpak)

2022-05-03 Thread Andre Klapper via evolution-list
On Tue, 2022-05-03 at 15:06 -0600, duane.johnson wrote:
> I'm running Evolution 3.44.1 (by Flathub.org)


https://bugs.webkit.org/show_bug.cgi?id=202363

Cheers,
andre
--
Andre Klapper  |  ak...@gmx.net
https://blogs.gnome.org/aklapper/

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Print to File -- where does it go? (Flatpak)

2022-05-03 Thread duane.johnson--- via evolution-list
On Tue, 2022-05-03 at 23:38 +0200, Ralf Mardorf via evolution-list
wrote:
> Access normal files on the host, not including host os or system
> internals:
> 
> sudo flatpak override ApplicationIDHere --filesystem=host

Thanks, Ralf, you got me going on the right track. Here's what worked
for me:

$ flatpak override --user --filesystem=home org.gnome.Evolution

The use of `--user` is apparently important here, as
counterintuitively, the system-level override does not affect user-
installed flatpaks (i.e. I tried `sudo flatpak override --
filesystem=home org.gnome.Evolution` first, but this did not work.)

Thinking out loud now--I wonder why this is not the default? It seems
it would benefit flatpak users of Evolution to be able to save PDFs to
their home directory or export emails.

Again, thanks!
Duane

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


Re: [Evolution] Print to File -- where does it go? (Flatpak)

2022-05-03 Thread Ralf Mardorf via evolution-list
On Tue, 2022-05-03 at 15:06 -0600, duane.johnson--- wrote:
> This appears to be a sandbox of some kind?
> 
> Where can I find the PDF file on disk?
> 
> I'm running Evolution 3.44.1 (by Flathub.org)
> 

Hi,

I don't have knowledge about flatpack, maybe the Arch Wiki is a starting
point:

https://wiki.archlinux.org/title/Flatpak#Override_sandbox_permissions_of_applications

When googling forflatpak override --nofilesystem   it returns the
following and other hits:


"the application should place its folder within their ~/.var/app/appid/
path." - https://github.com/flatpak/flatpak/issues/4654


"You can do this via the command line. The specific command you need is
(it may need to be run with sudo):

flatpak override  --filesystem=

If you have an odd path & it complains about an "unexpected filesystem
suffix", just put the path part in quotes.

If you wish to remove access to a particular address, use "--
nofilesystem":

flatpak override  --nofilesystem=

[...]


Access normal files on the host, not including host os or system
internals:

sudo flatpak override ApplicationIDHere --filesystem=host

ApplicationID is shown using command: sudo flatpak list

" -
https://askubuntu.com/questions/1086529/how-to-give-a-flatpak-app-access-to-a-directory

Regards,
Ralf
___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list


[Evolution] Print to File -- where does it go? (Flatpak)

2022-05-03 Thread duane.johnson--- via evolution-list
When I select an email and "print" (ctrl+P), the dialog allows me to
select "Print to File" as the Printer. Once selected, there is a File
(destination) selector, and filetype selector (default PDF) below the
list of printers.

If I use the default File destination, it *says* that it is going to
save the PDF file to my home directory ("/home/duane" in my case).
That's fine, so I press the "Print" button.

However, when I visit this destination location on my drive, there is
no PDF file present.

When I investigate the file destination by clicking the selector before
printing, it's clear the destination is not *actually* my "/home/duane"
folder, even though it says that, because "/home/duane" is empty. This
appears to be a sandbox of some kind?

Where can I find the PDF file on disk?

I'm running Evolution 3.44.1 (by Flathub.org)

Thanks,
Duane Johnson

___
evolution-list mailing list
evolution-list@gnome.org
To change your list options or unsubscribe, visit ...
https://mail.gnome.org/mailman/listinfo/evolution-list