Bug 53871 - No warning when gs fails (was: File sharing KGhostview Konqueror renaming)
Summary: No warning when gs fails (was: File sharing KGhostview Konqueror renaming)
Status: RESOLVED DUPLICATE of bug 56521
Alias: None
Product: kghostview
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Mandrake RPMs Linux
: NOR normal
Target Milestone: ---
Assignee: Wilco Greven
URL:
Keywords:
: 24226 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-02-02 01:28 UTC by Seedkum Aladeem
Modified: 2003-04-09 00:06 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Seedkum Aladeem 2003-02-02 01:28:40 UTC
Version:           0.13.1 (Using KDE 3.05a (using KDE KDE 3.0.5)
Installed from:    Mandrake RPMs
Compiler:          Did not do any compilation. Just downloaded Mandrake CDs and possibly other rpms. 
OS:          Linux

While I was viewing a pdf document using the KGhostview in one KDE window I goofed and renamed the pdf file I was viewing using the KDE Konqueror in another window. KDE did not complain to the file renaming. I would have thought that should have resulted in a sharing violation. However, following that KGhostview just kept going showing me blank pages.
Comment 1 Wilco Greven 2003-02-07 15:10:56 UTC
I think the proper behaviour should be that KGhostView shows a message that the file got 
removed. And even better would be if it could still show the pages. 
Comment 2 Luís Pedro Coelho 2003-04-06 18:12:36 UTC
The only way I can reproduce this even going back to KDE 3.0.0 is if I get a broken 
gs installation (not that hard ;) and gs quits after each page. 
 
In normal use, this doesn't happen. If the file gets changed from underneath 
kghostview after the gs slave has opened it, normal unix semantics keep the old file 
available to the slave which just keeps on displaying the pages. 
 
I leave the bug open, but the real issue is tellling the user that gs exited abruptly. 
 
Maybe "the rendering experienced some problems. You might see incomplete 
images. Please check your ghostscript installation, ...". This might also fix bug 
24226. 
 
I will look into it. 
luis pedro coelho. 
Comment 3 Luís Pedro Coelho 2003-04-09 00:03:08 UTC
*** Bug 24226 has been marked as a duplicate of this bug. ***
Comment 4 Luís Pedro Coelho 2003-04-09 00:06:12 UTC
Bug 56521 shows a good approach to making the no-warning-if-gs-fails problem 
come up. 

*** This bug has been marked as a duplicate of 56521 ***

*** This bug has been marked as a duplicate of 56521 ***