[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug #25943] Error trying to lock focus in offscreen window
From: |
Fred Kiefer |
Subject: |
[bug #25943] Error trying to lock focus in offscreen window |
Date: |
Fri, 27 Mar 2009 08:49:57 +0000 |
User-agent: |
Mozilla/5.0 (compatible; Konqueror/3.5; Linux) KHTML/3.5.10 (like Gecko) SUSE |
Update of bug #25943 (project gnustep):
Status: Ready For Test => In Progress
Open/Closed: In Test => Open
_______________________________________________________
Follow-up Comment #4:
It would be better to open a new bug report for each single problem. I know
this is a lot of overhead, but it makes it easier to track, which problem was
fixed and which are still open. For now I just reopen this bug report to make
ti visual again.
Did you try this code in the main thread as well? The reason I am asking is
that there are known problems with [NSBitmapImageRep initWithFocusedViewRect:]
on the art backend (I really should fix them, not only know about them) and it
could well be that you just run into these and your problem doesn't have
anythign to do with the code running in a secondary thread.
You could test, whether this is the case by moving your code into the main
thread or by swithcing to the cairo backend. This backend has other
limitations, but this specific method works better than the art counterpart.
If this is the root cause of the problem, please add some information to the
already existing bug report in the backend category.
If it isn't this problem I will need some test code to regenerate the problem
here. Could you please provide that?
Hmm, I just looked through the art backend code and noticed that there might
be a problem in GSSetDevice:::, we don't retain the new_wi there. I may need
to rethink the memory management there...
_______________________________________________________
Reply to this item at:
<http://savannah.gnu.org/bugs/?25943>
_______________________________________________
Nachricht geschickt von/durch Savannah
http://savannah.gnu.org/