bug-gv
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug-gv] [bug #23199] No error message for errors in opened file


From: Sebastian Leske
Subject: [bug-gv] [bug #23199] No error message for errors in opened file
Date: Wed, 07 May 2008 22:29:55 +0000
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9b4) Gecko/2008030318 Firefox/3.0b4

URL:
  <http://savannah.gnu.org/bugs/?23199>

                 Summary: No error message for errors in opened file
                 Project: GNU gv
            Submitted by: sleske
            Submitted on: Wednesday 05/07/2008 at 22:29
                Category: Graphical User interface
                Severity: 3 - Normal
              Item Group: None
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: None

    _______________________________________________________

Details:

If I open a file with gv (as a command line argument, or opened via File
menu), there is no error message if gs cannot render the file. Instead, gv
simply shows an empty page.

To test:

gv /bin/ls

Expected:

Some sort of error message that /bin/ls is not a valid Postscript file.

Actual behavior:

gv shows an empty page.

This can be rather confusing, as an invalid PS file is not the same as an
empty one.

Note:

Old versions of gv used to display an error message in this case.
This was apparently changed by the patch for  #19632, "quiet and .gv watch
settings are not respected".

This patch seems to suppress _all_ popup messages if option -quiet is set,
even error messages from gs. This seems incorrect to me, as the manpage only
says that -quiet causes gs to be called with -dQUIET. It says nothing about
suppressing all error messages.

If gv is called with -noquiet, opening an invalid file causes an error popup,
as expected. However, -quiet seems to be the default for gv, hence the
observed behaviour.




    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?23199>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]