Opened 18 years ago

Closed 18 years ago

#1008 closed bug (fixed)

Page Setup / Print Setup fails to open

Reported by: laplace Owned by: laplace
Priority: blocker Milestone: R1
Component: Printing Version: R1/pre-alpha1
Keywords: Cc: bonefish, axeld
Blocked By: Blocking:
Platform: All

Description (last modified by bonefish)

In StyledEdit the page setup dialog can be opened once. Subsequent attempts to open the page setup or print dialog fail because StyledEdit (actually BPrintJob) does not get a valid BMessenger to the print_server.

(The print server must be running. E.g. add a printer via the Printers preflet before.)

Change History (3)

comment:1 by laplace, 18 years ago

Cc: bonefish added

Ingo do you know what is going on here?

comment:2 by bonefish, 18 years ago

Cc: axeld added
Description: modified (diff)

I've tracked the problem down to the point that a reply port reused for synchronous messaging happens to be not empty, so that the BRoster::GetAppInfo() invoked by the BMessenger constructor gets the wrong reply from the registrar.

Uncommenting the #if 0'd check code in the synchronous BMessage::_SendMessage() triggers the debugger (even earlier, when trying to open the File menu the second time).

I wouldn't completely rule out, that the bug is in the StyledEdit or printing code, but it seems very likely that the app kit is to blame. So I throw axeld into the CC for good measure. :-P

comment:3 by bonefish, 18 years ago

Resolution: fixed
Status: newclosed

Fixed in hrev20074.

Note: See TracTickets for help on using tickets.