public inbox for java-prs@sourceware.org
help / color / mirror / Atom feed
* [Bug AWT/19839] New: Repaint-loop due to createImage() and non-null ImageObserver
@ 2005-02-09 9:27 hendrich at informatik dot uni-hamburg dot de
2005-02-09 9:30 ` [Bug AWT/19839] " hendrich at informatik dot uni-hamburg dot de
` (3 more replies)
0 siblings, 4 replies; 6+ messages in thread
From: hendrich at informatik dot uni-hamburg dot de @ 2005-02-09 9:27 UTC (permalink / raw)
To: java-prs
Calling Graphics.drawImage( image, x, y, observer ) results in an endless
repaint loop when observer is non null and the image was retrieved via
Component.createImage(width,height).
Note: this does not happen for Image's created via Toolkit.getImage()...
Testcase follows
--
Summary: Repaint-loop due to createImage() and non-null
ImageObserver
Product: gcc
Version: unknown
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: AWT
AssignedTo: fitzsim at redhat dot com
ReportedBy: hendrich at informatik dot uni-hamburg dot de
CC: fitzsim at redhat dot com,gcc-bugs at gcc dot gnu dot
org,java-prs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19839
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug AWT/19839] Repaint-loop due to createImage() and non-null ImageObserver
2005-02-09 9:27 [Bug AWT/19839] New: Repaint-loop due to createImage() and non-null ImageObserver hendrich at informatik dot uni-hamburg dot de
@ 2005-02-09 9:30 ` hendrich at informatik dot uni-hamburg dot de
2005-02-09 9:34 ` hendrich at informatik dot uni-hamburg dot de
` (2 subsequent siblings)
3 siblings, 0 replies; 6+ messages in thread
From: hendrich at informatik dot uni-hamburg dot de @ 2005-02-09 9:30 UTC (permalink / raw)
To: java-prs
------- Additional Comments From hendrich at informatik dot uni-hamburg dot de 2005-02-09 09:24 -------
Created an attachment (id=8149)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=8149&action=view)
Demonstrates the repaint loop
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19839
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug AWT/19839] Repaint-loop due to createImage() and non-null ImageObserver
2005-02-09 9:27 [Bug AWT/19839] New: Repaint-loop due to createImage() and non-null ImageObserver hendrich at informatik dot uni-hamburg dot de
2005-02-09 9:30 ` [Bug AWT/19839] " hendrich at informatik dot uni-hamburg dot de
@ 2005-02-09 9:34 ` hendrich at informatik dot uni-hamburg dot de
2005-02-12 22:32 ` pinskia at gcc dot gnu dot org
2005-08-21 5:38 ` [Bug awt/19839] " fitzsim at redhat dot com
3 siblings, 0 replies; 6+ messages in thread
From: hendrich at informatik dot uni-hamburg dot de @ 2005-02-09 9:34 UTC (permalink / raw)
To: java-prs
------- Additional Comments From hendrich at informatik dot uni-hamburg dot de 2005-02-09 09:27 -------
Changing the call to drawImage( image, x, y, null ) makes the program work.
However, an Image create by createImage(width,height) should be completely
initialized at once: there is no image data to read asynchronously...
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19839
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug AWT/19839] Repaint-loop due to createImage() and non-null ImageObserver
2005-02-09 9:27 [Bug AWT/19839] New: Repaint-loop due to createImage() and non-null ImageObserver hendrich at informatik dot uni-hamburg dot de
2005-02-09 9:30 ` [Bug AWT/19839] " hendrich at informatik dot uni-hamburg dot de
2005-02-09 9:34 ` hendrich at informatik dot uni-hamburg dot de
@ 2005-02-12 22:32 ` pinskia at gcc dot gnu dot org
2005-08-21 5:38 ` [Bug awt/19839] " fitzsim at redhat dot com
3 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-02-12 22:32 UTC (permalink / raw)
To: java-prs
------- Additional Comments From pinskia at gcc dot gnu dot org 2005-02-12 22:31 -------
Confirmed.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Ever Confirmed| |1
Last reconfirmed|0000-00-00 00:00:00 |2005-02-12 22:31:45
date| |
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19839
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug awt/19839] Repaint-loop due to createImage() and non-null ImageObserver
2005-02-09 9:27 [Bug AWT/19839] New: Repaint-loop due to createImage() and non-null ImageObserver hendrich at informatik dot uni-hamburg dot de
` (2 preceding siblings ...)
2005-02-12 22:32 ` pinskia at gcc dot gnu dot org
@ 2005-08-21 5:38 ` fitzsim at redhat dot com
3 siblings, 0 replies; 6+ messages in thread
From: fitzsim at redhat dot com @ 2005-08-21 5:38 UTC (permalink / raw)
To: java-prs
------- Additional Comments From fitzsim at redhat dot com 2005-08-21 05:38 -------
This prints:
Got the image: gnu.java.awt.peer.gtk.GtkImage@ef01d050
paint 1
1 repaints, probably ok.
Fixed by Sven's image work. Closing.
--
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution| |FIXED
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19839
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug awt/19839] Repaint-loop due to createImage() and non-null ImageObserver
[not found] <bug-19839-9150@http.gcc.gnu.org/bugzilla/>
@ 2005-10-16 1:47 ` pinskia at gcc dot gnu dot org
0 siblings, 0 replies; 6+ messages in thread
From: pinskia at gcc dot gnu dot org @ 2005-10-16 1:47 UTC (permalink / raw)
To: java-prs
--
pinskia at gcc dot gnu dot org changed:
What |Removed |Added
----------------------------------------------------------------------------
Target Milestone|--- |0.18
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=19839
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2005-10-16 1:47 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-02-09 9:27 [Bug AWT/19839] New: Repaint-loop due to createImage() and non-null ImageObserver hendrich at informatik dot uni-hamburg dot de
2005-02-09 9:30 ` [Bug AWT/19839] " hendrich at informatik dot uni-hamburg dot de
2005-02-09 9:34 ` hendrich at informatik dot uni-hamburg dot de
2005-02-12 22:32 ` pinskia at gcc dot gnu dot org
2005-08-21 5:38 ` [Bug awt/19839] " fitzsim at redhat dot com
[not found] <bug-19839-9150@http.gcc.gnu.org/bugzilla/>
2005-10-16 1:47 ` pinskia at gcc dot gnu dot org
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).