[Bug 1403717] Re: Evince puts up spurious error window when .pdf extension is missing

2014-12-27 Thread Alberto Salvia Novella
** Changed in: evince (Ubuntu)
   Importance: Undecided = Low

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

Title:
  Evince puts up spurious error window when .pdf extension is missing

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1403717/+subscriptions

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


[Bug 1403717] Re: Evince puts up spurious error window when .pdf extension is missing

2014-12-18 Thread Scott Cowles Jacobs
How, exactly, are we to attract new users to Linux, if Evince/Apparmor
puts up an incomprehensible error message for a simple lack of file
extension (in this case), or bombs completely if a user has a non-
standard partition scheme (most data files in a partition outside / (a
previous Evince/Apparmor bug/feature that I encountered).

A new user is just going to try to bring up a .pdf file that his health
insurance marketplace sent him, and Evince is going to fail to do so.

He is not going to know anything about AppArmor, or that that is why his
(perfectly good) file won't display.

Assuming that AppArmor is actually a good thing to have (what it does has 
escaped me so far), then it needs to have more flexible defaults, especially 
where potential new users are concerned.
If it is somehow VITAL that a document program have a .pdf extension,
then we should have GIMP and LibreOffice and Chromium (etc.) also fail with the 
same incomprehensible error message when confronted with a .pdf file without 
.pdf.

Apparently, Evince/AppArmor is more concerned with what the file name
is, than whether the file is a proper .pdf file, which the other
programs have no trouble decoding.

You seem to feel that this is not a bug.

It is, at the very least, an over-sensitivity to an omission that for
many (most?) programs, is no problem at all.

-Scott

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

Title:
  Evince puts up spurious error window when .pdf extension is missing

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1403717/+subscriptions

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


[Bug 1403717] Re: Evince puts up spurious error window when .pdf extension is missing

2014-12-17 Thread Seth Arnold
Evince is providing the best error message it can with the information
available to it. The AppArmor mandatory access control system has
rejected this because the filename doesn't match something expected for
evince to open.

You can modify the file /etc/apparmor.d/local/usr.bin.evince to include
whatever files you want to allow. I suggest something like:

owner @{HOME}/Downloads/** r,

assuming, of course, that your browser has downloaded the file to your
Downloads/ directory.

Once you have modified the file to include permissions you want to
allow, you can run:

sudo apparmor_parser --replace /etc/apparmor.d/usr.bin.evince

Thanks

** Changed in: evince (Ubuntu)
   Status: New = Confirmed

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

Title:
  Evince puts up spurious error window when .pdf extension is missing

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/evince/+bug/1403717/+subscriptions

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