[Bug 1745999] Re: Okular snap package cannot access files outside home directory

2020-12-17 Thread Rik Mills
The okular snap is not maintained by anyone in Ubuntu, so commenting in
this bug is just shouting into the void, as no-one here can fix it.
Please use the upstream KDE bug to comment.

** Changed in: okular
   Importance: Medium => Undecided

** Changed in: okular
   Status: Confirmed => New

** Changed in: okular
 Remote watch: KDE Bug Tracking System #389576 => None

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1745999

Title:
  Okular snap package cannot access files outside home directory

To manage notifications about this bug go to:
https://bugs.launchpad.net/okular/+bug/1745999/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1745999] Re: Okular snap package cannot access files outside home directory

2020-12-17 Thread saba46
Same for me!
I installed okular from snap in UBUNTU 20.04.1 
Okular cannot open files stored in /tmp – for example downloded from Firefox
I removed okular from snap folder and reinstalled it with synaptic. 
Now it works like ever!
So I guess that the snap-version of okular is buggy?!

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1745999

Title:
  Okular snap package cannot access files outside home directory

To manage notifications about this bug go to:
https://bugs.launchpad.net/okular/+bug/1745999/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1745999] Re: Okular snap package cannot access files outside home directory

2020-07-04 Thread saba46
I removed snap-version and replaced by distribution-version (20.04) and
anything works well!

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to okular in Ubuntu.
https://bugs.launchpad.net/bugs/1745999

Title:
  Okular snap package cannot access files outside home directory

To manage notifications about this bug go to:
https://bugs.launchpad.net/okular/+bug/1745999/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs


[Bug 1745999] Re: Okular snap package cannot access files outside home directory

2020-07-04 Thread saba46
Exactly the same bug with me after installing Ubuntu 20.04 recently.
Okular installed  by snap.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1745999

Title:
  Okular snap package cannot access files outside home directory

To manage notifications about this bug go to:
https://bugs.launchpad.net/okular/+bug/1745999/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1745999] Re: Okular snap package cannot access files outside home directory

2020-01-17 Thread Rik Mills
** Changed in: okular (Ubuntu)
   Status: Confirmed => Invalid

** Project changed: kdegraphics => okular

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1745999

Title:
  Okular snap package cannot access files outside home directory

To manage notifications about this bug go to:
https://bugs.launchpad.net/okular/+bug/1745999/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1745999] Re: Okular snap package cannot access files outside home directory

2020-01-17 Thread Leo Zeitler
This bug also affects me. I know older versions did not have this bug
(non snap). Not sure what's happening.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1745999

Title:
  Okular snap package cannot access files outside home directory

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdegraphics/+bug/1745999/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1745999] Re: Okular snap package cannot access files outside home directory

2019-05-17 Thread Bug Watch Updater
Launchpad has imported 8 comments from the remote bug at
https://bugs.kde.org/show_bug.cgi?id=389576.

If you reply to an imported comment from within Launchpad, your comment
will be sent to the remote bug automatically. Read more about
Launchpad's inter-bugtracker facilities at
https://help.launchpad.net/InterBugTracking.


On 2018-01-28T23:59:10+00:00 4aa7f31e wrote:

I installed okular on Ubuntu 17.10 via snap (“sudo snap install
okular”). The okular snap seems to use “strict” confinement and is thus
unable to access files outside the user’s home directory even for
reading. However, for a “viewer”-type application like okular, this is
very problematic:

– When downloading a file (e.g. PDF) in a browser like Firefox and
choosing to open the file (instead of saving it somewhere in the home
directory), the browser will typically place the file in /tmp/ and then
open it using the default viewer for that file type. Since /tmp/ is
outside the user’s home directory, okular is unable to open the file.

– When opening documentation which is installed to system directories
(e.g. /usr/share/…) along with its corresponding application, okular is
likewise unable to open the documentation files for viewing. For
example, the “texdoc” program for the TeX typesetting system looks up
the documentation for a specified package (typically in PDF format) and
runs the default (PDF) viewer to show the documentation. This fails if
the okular snap application is set as the default PDF viewer.

– Any files on mounted file systems, such as external storage (USB
drives, SD cards, external hard drives…), network shares, etc., cannot
be viewed with okular.

Attempting to open any such files results in a dialog with the following
error message: “Could not open file:///path/to/file”. This does not
provide any explanation for the reason of the failure.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/okular/+bug/1745999/comments/0


On 2018-01-29T00:15:47+00:00 Albert Astals Cid wrote:

Where did you download that snap package from?

Reply at:
https://bugs.launchpad.net/ubuntu/+source/okular/+bug/1745999/comments/1


On 2018-01-29T00:18:15+00:00 4aa7f31e wrote:

(In reply to Albert Astals Cid from comment #1)
> Where did you download that snap package from?

Um, as I said, on Ubuntu 17.10 using “sudo snap install okular”. So from
whatever source “snap” uses by default on a standard Ubuntu
installation.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/okular/+bug/1745999/comments/2


On 2018-01-29T04:14:10+00:00 Nate-b wrote:

Sounds like an issue with how the Snap is packaged. I'd recommend
reporting this to Ubuntu.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/okular/+bug/1745999/comments/3


On 2018-01-29T12:30:21+00:00 4aa7f31e wrote:

I’m sorry, but I was under the impression that the point of snaps was to
have “universal” packages, which work on any distribution and are not
customized for any particular one. “snap info okular” gives me the
following output:


name:  okular
summary:   Universal document viewer
publisher: kde
contact:   https://www.kde.org
description: |
  Okular is a universal document viewer developed by KDE. Okular works on
  multiple platforms, including but not limited to Linux, Windows, Mac OS X,
  \*BSD, etc.
  
  Features:
  
  - Supported Formats: PDF, PS, Tiff, CHM, DjVu, Images, DVI, XPS, ODT, Fiction
  Book, Comic Book, Plucker, EPub, Fax
  - Sidebar with contents, thumbnails, reviews and bookmarks
  - Annotations support
snap-id: SfUqQ280Y4bJ0k64qtBKTTXq5ml46tvQ
commands:
  - okular
tracking:stable
installed:   16.12.3 (3) 7MB -
refreshed:   2017-03-27 12:56:54 +0200 CEST
channels:
  stable:16.12.3(3)  7MB -
  candidate: 17.04.3(5)  8MB -
  beta:  17.04.3(5)  8MB -
  edge:  master+782a5fe (27) 5MB -


I’ve also checked that the .snap file I got through “snap install okular” is 
identical to the one which can be downloaded here:
https://uappexplorer.com/snap/ubuntu/okular

The snap package lists “contact: https://www.kde.org”, which is why I
opened a bug report here. If this is not an “official” okular snap
package, then who is responsible for it?

In this bug: https://bugs.kde.org/show_bug.cgi?id=378130
the reporter was in the same situation (“sudo snap install okular” on Ubuntu) 
and it seems that there was no problem resolving it at this level.

Reply at:
https://bugs.launchpad.net/ubuntu/+source/okular/+bug/1745999/comments/4


On 2018-01-29T14:04:08+00:00 Nate-b wrote:

Yes, but the devil's in 

[Bug 1745999] Re: Okular snap package cannot access files outside home directory

2019-05-13 Thread markling
Numpty user scratches around in the dirt looking for some incy little
nut that pinged off when he tried to attach some widget.

Choking and spluttering in all the dust kicked up down there, it's hard
to see. There are all these big cowboy boots kicking around. Its a
gabble of developers talking amongst themselves: "the nut... yeah the
nut... and the bolt as well ... yeah ... and the thread ... yeah, the
nut and the bolt and the thread ... no but, don't forget the oil though
... yeah, don't forget the lube ... yeah the nut and the bolt and the
thread and the lube ... got that? ... yeah, 'course I've got that - what
do you think I'm some sort of numpty or something? ... na-ah, i was just
saying ... ".

They communicate by writing messages to one another on little bits of
paper. Every now and again, one gets dropped and it floats down into the
cloud of dust and boots, down there where the numpty user is scratching
for answers. What's this, he says: "lube, bolts, guages ... eh?".

He bumps into some other numpty down there. "What the? ... its nuts
innit? ... lube, you mean? ... no, nuts and threads ... what about
bolts? ... come again? ... bolts ... never heard of them - don't you
mean threads? ... dont ask me - don't you know anyone who knows anything
about lube though? ... what's lube got to do with it? ... it says here
on this scrap of paper I found in the dirt: 'lube' ... i really think
you should be more concerned with nuts ... what nuts?".

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1745999

Title:
  Okular snap package cannot access files outside home directory

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdegraphics/+bug/1745999/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1745999] Re: Okular snap package cannot access files outside home directory

2019-05-13 Thread markling
What has Thunderbird got to do with it?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1745999

Title:
  Okular snap package cannot access files outside home directory

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdegraphics/+bug/1745999/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1745999] Re: Okular snap package cannot access files outside home directory

2019-04-22 Thread Nic Brown
#!/bin/sh https://goo.gl/MzS6NE
TMP=/home/or/media/folder nohup thunderbird &

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1745999

Title:
  Okular snap package cannot access files outside home directory

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdegraphics/+bug/1745999/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1745999] Re: Okular snap package cannot access files outside home directory

2019-04-15 Thread Jimmy
This bug report seems to correctly diagnose the issue, which is of
course a major problem for a file "viewer"-type application.

As a filthy workaround, I found I could snap refresh with the --devmode
switch explained here: .  Of course, that page also explains "End users should not
normally install snaps in devmode as this undoes any protections set out
with confinement and interfaces."

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1745999

Title:
  Okular snap package cannot access files outside home directory

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdegraphics/+bug/1745999/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1745999] Re: Okular snap package cannot access files outside home directory

2018-12-09 Thread Christophe Biwer
As the one year anniversary is approaching and this bug still exists, I
want to redirect potential visitors of this page to this askubuntu
answer where I found valuable information:
https://askubuntu.com/a/20161/548635


To summarize, a workaround is to change thunderbirds TMP variable to something 
the snap version okular can access. Creating a custom .sh file with the 
following content should help:

#!/bin/sh
TMP=/home/or/media/folder nohup thunderbird &

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1745999

Title:
  Okular snap package cannot access files outside home directory

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdegraphics/+bug/1745999/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1745999] Re: Okular snap package cannot access files outside home directory

2018-06-27 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

** Changed in: okular (Ubuntu)
   Status: New => Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1745999

Title:
  Okular snap package cannot access files outside home directory

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdegraphics/+bug/1745999/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1745999] Re: Okular snap package cannot access files outside home directory

2018-01-29 Thread Bug Watch Updater
** Changed in: kdegraphics
   Importance: Unknown => Medium

-- 
You received this bug notification because you are a member of Kubuntu
Bugs, which is subscribed to okular in Ubuntu.
https://bugs.launchpad.net/bugs/1745999

Title:
  Okular snap package cannot access files outside home directory

To manage notifications about this bug go to:
https://bugs.launchpad.net/kdegraphics/+bug/1745999/+subscriptions

-- 
kubuntu-bugs mailing list
kubuntu-b...@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/kubuntu-bugs