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

 
 

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

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

Submitted by:  Sebastian Leske <sleske>
Submitted on:  Wed May 7 22:29:53 2008  
 
Category: Graphical User interfaceSeverity: 2 - Minor
Item Group: NoneStatus: Fixed
Privacy: PublicAssigned to: Markus Steinborn <msteinbo>
Open/Closed: ClosedRelease: 3.6.3

Thu May 22 07:23:27 2008, 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>
Project AdministratorIn charge of this item.
Wed May 21 19:38:43 2008, 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>
Project AdministratorIn charge of this item.
Wed May 7 22:29:53 2008, 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>

 

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

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

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 7 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sat May 31 17:26:41 2008msteinboStatusReady For Test=>Fixed
      Open/ClosedOpen=>Closed
    Thu May 22 07:23:27 2008msteinboStatusNone=>Ready For Test
      ReleaseNone=>3.6.3
    Wed May 21 19:41:46 2008msteinboSeverity3 - Normal=>2 - Minor
    Wed May 21 19:38:43 2008msteinboAssigned toNone=>msteinbo
    Wed May 7 22:29:53 2008sleskeCarbon-Copy-=>Added sleske

    Back to the top


    Powered by Savane 3.1-cleanup