bugGNU gv - Bugs: bug #23199, No error message for errors in...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #23199: No error message for errors in opened file

Submitter:  Sebastian Leske <sleske>
Submitted:  Wed 07 May 2008 10:29:53 PM UTC
   
 
Category:  Graphical User interface Severity:  2 - Minor
Item Group:  None Status:  Fixed
Privacy:  Public Assigned to:  msteinbo
Open/Closed:  Closed Release:  3.6.3

Thu 22 May 2008 07:23:27 AM UTC, comment #2: 

Thank you fot the bug report, Sebastian.

I have reverted the patch for #19632, so this shoueld work again. The fix will be included in the next GNU gv release.

Markus Steinborn <msteinbo>
Group administrator
Wed 21 May 2008 07:38:43 PM UTC, comment #1: 

Hi Sebastian,

you're right, it is not fine that error messages are supressed.
The problem is: How to differentiate betwenn warnings and errors?
Any suggestions?

Markus Steinborn <msteinbo>
Group administrator
Wed 07 May 2008 10:29:53 PM UTC, original submission:  

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.

Sebastian Leske <sleske>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by msteinbo (Posted a comment)
  • -email is unavailable- added by sleske (Submitted the item)
  • -email is unavailable- added by sleske
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 7 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2008-05-31 msteinbo StatusReady For Test Fixed
        Open/ClosedOpen Closed
    2008-05-22 msteinbo StatusNone Ready For Test
        ReleaseNone 3.6.3
    2008-05-21 msteinbo Severity3 - Normal 2 - Minor
    2008-05-21 msteinbo Assigned toNone msteinbo
    2008-05-07 sleske Carbon-Copy- Added sleske

    Back to the top

    Powered by Savane 3.13-d3ae.
    Corresponding source code