Bug 131626 - No notification when printers are removed
Summary: No notification when printers are removed
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: libgnomecups
Version: 3
Hardware: All
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Matthias Clasen
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks: FC3Target 131589
TreeView+ depends on / blocked
 
Reported: 2004-09-02 18:44 UTC by Matthias Clasen
Modified: 2007-11-30 22:10 UTC (History)
1 user (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2004-09-08 17:10:51 UTC
Type: ---
Embargoed:


Attachments (Terms of Use)

Description Matthias Clasen 2004-09-02 18:44:39 UTC
J5 demonstrated that a USB printer appears in the print dialog when it
is plugged in, so the printer-added notification works, but pulling
the plug doesn't make it disappear.

Starting a new gedit and opening the print dialog doesn't show the
printer anymore, so cups has probably figured out that the printer is
gone, but libgnomecups fails to pick it up.

Comment 1 Matthias Clasen 2004-09-03 21:41:30 UTC
John, can you test this with libgnomecups-0.1.11-4 and
libgnomeprint-2.7.1-7 once the build system is done with them ?

Comment 2 John (J5) Palmieri 2004-09-07 19:00:48 UTC
Ok, this works now but I have a crash in gedit and gpdf when plugging
in a or out a printer when the print dialog is being displayed and
clicking within the printer list widget.  Should I open a new bug?

Comment 3 Matthias Clasen 2004-09-07 19:08:43 UTC
Attaching the stacktrace here would be fine

Comment 4 John (J5) Palmieri 2004-09-07 19:22:21 UTC
Backtrace from gdb:

#0  0x00a94782 in ?? () at rtld.c:576 from /lib/ld-linux.so.2
#1  0x008f53d8 in ?? () from /lib/tls/libpthread.so.0
#2  0x021991aa in httpPrintf (http=0xf6c06970,
    format=0xffffffe0 <Address 0xffffffe0 out of bounds>) at http.c:1459
#3  0x02199361 in http_send (http=0xf6c06970, request=HTTP_POST,
    uri=0xf6c06f70 "") at http.c:2067
#4  0x021a50e1 in cupsDoFileRequest (http=0xf6c06970, request=0x8681df8,
    resource=0x86a7a88 "/", filename=0x0) at util.c:269
#5  0x006cf347 in request_thread_main (request=0x869e0b8, unused=0x0)
    at gnome-cups-request.c:355
#6  0x005fb7ce in g_thread_pool_free () from /usr/lib/libglib-2.0.so.0
#7  0x005f95c2 in g_static_private_free () from /usr/lib/libglib-2.0.so.0
#8  0x008eff5c in start_thread (arg=0xffffffe0) at pthread_create.c:264
#9  0x00c1acea in ?? () from /lib/tls/libc.so.6


Comment 5 Matthias Clasen 2004-09-08 16:32:08 UTC
John can you test again with the libgnomeprintui22-2.7.1-7 which I
built into fc3-scratch ?



Note You need to log in before you can comment on or make changes to this bug.