Issue 124307 - Printers are enumerated only at start, never re-read, jobs fail silently
Summary: Printers are enumerated only at start, never re-read, jobs fail silently
Status: UNCONFIRMED
Alias: None
Product: Writer
Classification: Application
Component: printing (show other issues)
Version: 4.0.1
Hardware: All Linux, all
: P3 Normal (vote)
Target Milestone: ---
Assignee: AOO issues mailing list
QA Contact:
URL:
Keywords: needhelp
Depends on:
Blocks:
 
Reported: 2014-02-24 22:01 UTC by Alex K
Modified: 2014-02-25 17:10 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description Alex K 2014-02-24 22:01:36 UTC
Problem description: 
It seems OpenOffice only reads the list of printers when it starts, and keeps the connection live all the time. If the CUPS printserver restarts, or if the laptop with OOo is moved between the networks, OpenOffice cannot print anymore until relaunched. This is quite serious inconvenience for users with laptops. 

Steps to reproduce:
1. Open new empty document in OpenOffice Writer
2. Print it
3. Restart CUPS on the printserver (sudo service cups restart)
4. Try printing the document again

Current behavior:
OOo silently fails to print without showing any error message. 

Expected behavior:
Ideal: re-read the list of printers when Print dialog is shown, print the document. 
Less ideal: show error message that it couldn't print.
Comment 1 Edwin Sharp 2014-02-25 07:10:42 UTC
Print job visible in CUPS 1.7.1 after step 4 (no actual paper printing since my Officejet printer is broken)?
Comment 2 Alex K 2014-02-25 16:27:47 UTC
Sorry, I should have been clearer about the setup. 

Client computer with OOo is connected to corporate printserver with help of using "ServerName corp-printserver" directive in /etc/cups/client.conf on the client machine. 

If printserver restarts, or if client machine moves to a different subnet while OOo is running (say, wired laptop switches to wireless), OOo loses the ability to print. It displays the list of printers just fine, print dialog closes normally when user hits Print, but printserver doesn't register any connection from the client anymore. For a user it seems like job was submitted, but disappeared. 

Looking at the network traffic from the client and at the debug log of the printserver I make a conclusion that OOo only reads the list of printers when it starts, and keeps the connection open.
Comment 3 Edwin Sharp 2014-02-25 17:10:01 UTC
Thank you.