You are not logged in.

#1 2008-10-22 18:42:16

Mr_Bumpy
Member
Registered: 2008-10-20
Posts: 6

KDE4 apps freeze when selecting File -> Print

Well, I've followed the Wiki directions and installed kdemod (KDE 4).  Currently, whenever I try to print by selecting File -> Print from within an application, the application just hangs (I never get a print dialog), and I have to kill it.  Cups seems to be set up properly through the web interface, and I can print test pages on both of my printers from there.  I'm on my second time installing Archlinux, because I could find absolutely no info online about this problem and thought I must have really borked something.

So, the second time around, I decided to keep a close eye on when the problem arose (installing only a couple programs at a time), since I didn't have the problem before installing additional software.  Each time I'd install a program, I'd reboot and then try printing from Konqueror.  Each time it would work, until after I installed truecrypt and yakuake, and then I began having the problem again.  I would suspect truecrypt rather than yakuake at the moment, but uninstalling both packages didn't fix the problem.  Furthermore, I can't remember if truecrypt brought down any dependencies sad

I seem to be the only person having this problem, if I can judge by the complete lack of info online about this (at least that I can find).

Offline

#2 2008-10-22 23:04:45

byte
Member
From: Düsseldorf (DE)
Registered: 2006-05-01
Posts: 2,046

Re: KDE4 apps freeze when selecting File -> Print

Erm, last time I looked at KDE4 it didn't have any printing backend whatsoever. The feature plan for 4.2 mentions printing a lot.

EDIT: Ignore that. Printing worked fine for me with kwrite.
Take a look at the CUPS logs or ~/.xsession-errors.

Last edited by byte (2008-10-23 00:46:00)


1000

Offline

#3 2008-10-23 17:04:27

Mr_Bumpy
Member
Registered: 2008-10-20
Posts: 6

Re: KDE4 apps freeze when selecting File -> Print

Okay, so when the application hangs while printing, no error messages are written to either the .xsession-errors or the cups log.  Opening the system monitor (CTL-ESC) I see no tasks taking up CPU or unusual amounts of RAM.  If I kill the frozen application, some lines are written to the .xsession-errors file, but I'm not sure if they are helpful or not.  Regardless, I have posted them below.

The application hangs immediately after selecting Print from the File menu.  After selecting Print, the file menu disappears, and a blank patch of grey is left in place of the menu--it never gets redrawn.  If I move any windows over other areas of the frozen application, those areas do not redraw either.

Here is what was written to my cups error log since booting my PC this morning.  The last item written to the log occurred two hours before I tried printing.

I [23/Oct/2008:09:30:22 -0500] Listening to 127.0.0.1:631 (IPv4)
I [23/Oct/2008:09:30:22 -0500] Loaded configuration file "/etc/cups/cupsd.conf"
I [23/Oct/2008:09:30:22 -0500] Using default TempDir of /var/spool/cups/tmp...
I [23/Oct/2008:09:30:22 -0500] Configured for up to 100 clients.
I [23/Oct/2008:09:30:22 -0500] Allowing up to 100 client connections per host.
I [23/Oct/2008:09:30:22 -0500] Using policy "default" as the default!
I [23/Oct/2008:09:30:22 -0500] Full reload is required.
I [23/Oct/2008:09:30:22 -0500] Loaded MIME database from '/etc/cups': 35 types, 39 filters...
I [23/Oct/2008:09:30:23 -0500] Loading job cache file "/var/cache/cups/job.cache"...
I [23/Oct/2008:09:30:23 -0500] Full reload complete.
I [23/Oct/2008:09:30:23 -0500] Cleaning out old temporary files in "/var/spool/cups/tmp"...
I [23/Oct/2008:09:30:23 -0500] Listening to 127.0.0.1:631 on fd 3...
I [23/Oct/2008:09:30:23 -0500] Resuming new connection processing...
E [23/Oct/2008:09:30:23 -0500] Unable to set ACLs on root certificate "/var/run/cups/certs/0" - Operation not supported

Here is what was written to .xsession-errors when I had to kill the frozen application (Konqueror, in this case):

knotify(2586) KNotify::event: 278  ref= 0
kwin(2583)/kdeui (KNotification) KNotification::slotReceivedId: 0
kwin(2583)/kdeui (KNotification) KNotification::close: 0
kwin(2583)/kdeui (KNotification) KNotification::~KNotification: -2
kwin(2583) KWin::Client::readUserTimeMapTimestamp: User timestamp, initial: 8232056
kwin(2583) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 8232056
kwin(2583) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: 'ID: 29369329 ;WMCLASS: "krunner" : "qt-subapplication" ;Caption: "System Activity" ' : 8232056
kwin(2583) KWin::Workspace::allowClientActivation: Activation, compared: 'ID: 29369329 ;WMCLASS: "krunner" : "qt-subapplication" ;Caption: "System Activity" ' : 8232056 : 8231824 : true
kwin(2583) KWin::Workspace::allowFullClientRaising: Raising: Belongs to active application
knotify(2586) KNotify::event: 279  ref= 0
knotify(2586) KNotify::event: 280  ref= 0
kwin(2583)/kdeui (KNotification) KNotification::slotReceivedId: 0
kwin(2583)/kdeui (KNotification) KNotification::slotReceivedId: 0
kwin(2583)/kdeui (KNotification) KNotification::close: 0
kwin(2583)/kdeui (KNotification) KNotification::close: 0
kwin(2583)/kdeui (KNotification) KNotification::~KNotification: -2
kwin(2583)/kdeui (KNotification) KNotification::~KNotification: -2
knotify(2586) KNotify::event: 281  ref= 0
kwin(2583)/kdeui (KNotification) KNotification::slotReceivedId: 0
kwin(2583)/kdeui (KNotification) KNotification::close: 0
kwin(2583)/kdeui (KNotification) KNotification::~KNotification: -2
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x1c023f1
knotify(2586) KNotify::event: 282  ref= 0
knotify(2586) KNotify::event: 283  ref= 0
kwin(2583)/kdeui (KNotification) KNotification::slotReceivedId: 0
kwin(2583)/kdeui (KNotification) KNotification::slotReceivedId: 0
kwin(2583)/kdeui (KNotification) KNotification::close: 0
kwin(2583)/kdeui (KNotification) KNotification::close: 0
kwin(2583)/kdeui (KNotification) KNotification::~KNotification: -2
kwin(2583)/kdeui (KNotification) KNotification::~KNotification: -2
knotify(2586) KNotify::event: 284  ref= 0
kwin(2583)/kdeui (KNotification) KNotification::slotReceivedId: 0
kwin(2583)/kdeui (KNotification) KNotification::close: 0
kwin(2583)/kdeui (KNotification) KNotification::~KNotification: -2
kwin(2583) KWin::Client::pingTimeout: Ping timeout: "Be free. - Konqueror"
kwin(2583) KWin::Client::killProcess: Kill process: 3072 ( "localhost" )
kwin(2583) KWin::Client::readUserTimeMapTimestamp: User timestamp, initial: 8308245
kwin(2583) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 8308245
kwin(2583) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: 'ID: 52428801 ;WMCLASS: "kwin_killer_helper" : "kwin_killer_helper" ;Caption: "Warning - KWin" ' : 8308245
kwin(2583) KWin::Workspace::allowClientActivation: Activation: Belongs to active application
knotify(2586) KNotify::event: 285  ref= 0
knotify(2586) KNotify::event: 286  ref= 0
knotify(2586) KNotify::event: 287  ref= 0
kwin(2583)/kdeui (KNotification) KNotification::slotReceivedId: 0
kwin(2583)/kdeui (KNotification) KNotification::slotReceivedId: 0
kwin(2583)/kdeui (KNotification) KNotification::close: 0
kwin(2583)/kdeui (KNotification) KNotification::close: 0
kwin(2583)/kdeui (KNotification) KNotification::~KNotification: -2
kwin(2583)/kdeui (KNotification) KNotification::~KNotification: -2
QObject: Do not delete object, 'unnamed', during its event handler!
kdeinit4: PID 3072 terminated.
X Error: BadWindow (invalid Window parameter) 3
  Major opcode: 20 (X_GetProperty)
  Resource id:  0x3200001
QProcess: Destroyed while process is still running.
QObject: Do not delete object, 'unnamed', during its event handler!
kwin(2583) KWin::Client::readUserTimeMapTimestamp: User timestamp, initial: 8064674
kwin(2583) KWin::Client::readUserTimeMapTimestamp: User timestamp, ASN: 8064674
kwin(2583) KWin::Client::readUserTimeMapTimestamp: User timestamp, final: 'ID: 33561502 ;WMCLASS: "kwrite" : "kwrite" ;Caption: "File Changed on Disk - KWrite" ' : 8064674
kwin(2583) KWin::Workspace::allowClientActivation: Activation: Belongs to active application
knotify(2586) KNotify::event: 288  ref= 0
knotify(2586) KNotify::event: 289  ref= 0
knotify(2586) KNotify::event: 290  ref= 0
knotify(2586) KNotify::event: 291  ref= 0
knotify(2586) KNotify::event: 292  ref= 0
knotify(2586) KNotify::event: 293  ref= 0
kwin(2583)/kdeui (KNotification) KNotification::slotReceivedId: 0
kwin(2583)/kdeui (KNotification) KNotification::slotReceivedId: 0
kwin(2583)/kdeui (KNotification) KNotification::slotReceivedId: 0
kwin(2583)/kdeui (KNotification) KNotification::slotReceivedId: 0
kwin(2583)/kdeui (KNotification) KNotification::slotReceivedId: 0
kwin(2583)/kdeui (KNotification) KNotification::slotReceivedId: 0
kwin(2583)/kdeui (KNotification) KNotification::close: 0
kwin(2583)/kdeui (KNotification) KNotification::close: 0
kwin(2583)/kdeui (KNotification) KNotification::close: 0
kwin(2583)/kdeui (KNotification) KNotification::close: 0
kwin(2583)/kdeui (KNotification) KNotification::close: 0
kwin(2583)/kdeui (KNotification) KNotification::close: 0
kwin(2583)/kdeui (KNotification) KNotification::~KNotification: -2
kwin(2583)/kdeui (KNotification) KNotification::~KNotification: -2
kwin(2583)/kdeui (KNotification) KNotification::~KNotification: -2
kwin(2583)/kdeui (KNotification) KNotification::~KNotification: -2
kwin(2583)/kdeui (KNotification) KNotification::~KNotification: -2
kwin(2583)/kdeui (KNotification) KNotification::~KNotification: -2
knotify(2586) KNotify::event: 294  ref= 0
knotify(2586) KNotify::event: 295  ref= 0
kwin(2583)/kdeui (KNotification) KNotification::slotReceivedId: 0
kwin(2583)/kdeui (KNotification) KNotification::slotReceivedId: 0
kwin(2583)/kdeui (KNotification) KNotification::close: 0
kwin(2583)/kdeui (KNotification) KNotification::close: 0
kwin(2583)/kdeui (KNotification) KNotification::~KNotification: -2
kwin(2583)/kdeui (KNotification) KNotification::~KNotification: -2

Offline

#4 2008-10-23 21:17:48

Mr_Bumpy
Member
Registered: 2008-10-20
Posts: 6

Re: KDE4 apps freeze when selecting File -> Print

Okay, I can print from GTK apps and OpenOffice.org, so it seems to just be KDE apps that are affected.  Any insights?

Offline

#5 2008-11-10 17:35:29

petelewis
Package Maintainer (PM)
From: Birmingham, UK
Registered: 2008-08-14
Posts: 128
Website

Re: KDE4 apps freeze when selecting File -> Print

Hiya,

Just thought I'd say that I'm getting exactly the same behaviour.

Any other app, including just plain old lpr can print just fine.

Furthermore:

# pacman -Ql kdemod-kdeutils-printer-applet
(no output!)
#

This can't be right...


"Cared thou not, thou would have abstained." - Xyne

Offline

#6 2008-11-11 02:59:31

Mr_Bumpy
Member
Registered: 2008-10-20
Posts: 6

Re: KDE4 apps freeze when selecting File -> Print

I really like the idea of Arch Linux, but I ended up installing Ubuntu because I needed to get work done.  I'll re-examine Arch and other KDE4 distros when KDE 4.2 rolls around.

Offline

#7 2009-05-10 18:24:16

IcePik
Member
From: Canterbury, UK
Registered: 2008-12-14
Posts: 31

Re: KDE4 apps freeze when selecting File -> Print

Hi guys

I also had this problem and am using KDEmod 4.2.2

I installed kdemod-kdeutils-printer-applet (which is not part of the kdemod group but is part of the kdemod-complete group) and that seemed to solve the problem

but the KDE application (Gwenview) that i used to print a test document still froze for a minuets  before giving me the print dialog screen and also froze for about a minute after i clicked print

anyone know why it is freezing or how to diagnose/solve this problem please post

those having this problem might be nice if you could see if this works and perhaps we could solve this problem


IcePik
Samsung Series 5 Ultrabook NP530U3C-A01US
Intel® Core™ i5-3317U CPU @ 1.70GHz  |  4 GB DDR3  |  Intel® HD Graphics 4000 (Intel i915)  |  Intel® Centrino Advanced-N 6235

Offline

Board footer

Powered by FluxBB