Submitted On 01-MAR-2001
encona
Has anyone discovered a workaround to this bug? I am part
of a development team that is about to release an
application which utilises JDKv1.3 and this problem is
still persists!
Submitted On 16-MAR-2001
nadir15
This should be considered a major flaw as many Java based
applications use this feature. I would strongly recommend
this to be fixed.
Submitted On 16-MAR-2001
uskp
We are also facing similar problem
can this be handled
Submitted On 09-OCT-2001
1520
It is still not fixed, even in JDK 1.4b2 !!
It's incredible !
It's the same as :
http://developer.java.sun.com/developer/bugParade/bugs/45075
85.html
Submitted On 26-NOV-2001
azaslavsky
See the workaround at www.barsuk.net/notes/printdialog
(site may be down at times as it's a home PC)
The root of this problem seems too be the printdialog (and
pagedialog too) which are provided by OS (not Java)
blocking the current thread, which happens to be the event
dispatch thread. Blocking that thread effectively prevents
all repainting (as paint is a response to an event).
The first "solution" is to make all calls to
printdialog/pagedialog in a separate worker thread. That
does solve the problem with pagedialog, but not with
printdialog. The printdialog apparently still blocks the
event thread somehow.
The real solution is to start off a new event pump in a
worker thread, while blocking the event dispatch thread
yourself.
Fortunately, this doesn't lead to a deadlock with
printdialog.
I realize it's a dangerous and hack-like technique, but why
not (if it works)?
Submitted On 30-SEP-2002
killeroonie
This bug still exists in JDK1.4.1-b21, even though the list of
fixed bugs for v1.4 includes this item:
Bug ID : 4273333
RFE: Let PrinterJob.printDialog dialog box be optionally modal
State: Closed, fixed
Note the ORIGINAL bug was reported in Sept 1999. As I type
this today, 3 full years have passed, and this bug remains.
Not only that, but you have marked at as FIXED, and included
it here:
http://java.sun.com/j2se/1.4/fixedbugs/fixedbugs-all.html
But it's not fixed yet.
Submitted On 23-OCT-2002
prp56
Still broken in JDK 1.4.1_01. Tested under Win2000 and WinXP
and the problem still persists. Come on Sun, you need to give
us a solution to this. The Microsoft developers are laughing
at us (you) as we are faced with releasing Java app products
with this type of repaint problems.
Submitted On 04-DEC-2002
ash_aggi
java version "1.4.0_00"
Java(TM) 2 Runtime Environment, Standard Edition (build
1.4.0_00-b05)
Java HotSpot(TM) Client VM (build 1.4.0_00-b05, mixed mode)
The printdialog still does not repaint as of today Dec 04
2002.
Submitted On 18-JUL-2003
harrier2
This still happens in 1.4.2-b28 (regression?)
Submitted On 28-JUL-2003
philr
Its fixed in 1.5 (not yet released). The bug database used to
say something like "fixed in a future release" for cases
like this,
but it doesn't any more.
I will try (again!) to get that issue resolved.
PLEASE NOTE: JDK6 is formerly known as Project Mustang
|