#2903 closed bug (fixed)
BScreen GetBitmap Returns a black bitmap
Reported by: | lawsonwa | Owned by: | leavengood |
---|---|---|---|
Priority: | normal | Milestone: | R1 |
Component: | User Interface | Version: | R1/pre-alpha1 |
Keywords: | Cc: | ||
Blocked By: | Blocking: | ||
Platform: | All |
Description
BScreen->GetBitmap() returns a black bitmap rather than a current screen shot.
I call BScreen->GetBitmap() in the StartSaver function of a screen saver. All of the bitmap data has a value of 0xFF000000. The return value of GetBitmap() is B_OK.
In R5 GetBitmap() returns a valid screen shot.
Change History (7)
comment:1 by , 16 years ago
Component: | - General → User Interface |
---|---|
Owner: | changed from | to
comment:2 by , 16 years ago
Owner: | changed from | to
---|
The screen saver runner does not work like the R5 one in several ways. I am working on it now so will take over this issue too.
comment:4 by , 14 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:5 by , 14 years ago
When I get a chance I'll try to test this with some of the screen savers which use that feature.
comment:6 by , 14 years ago
OK I tested with the screensaver Distort both before and after this change and this definitely fixed it. Thanks a lot!
comment:7 by , 14 years ago
Thanks for feedback.
Considering that it took us 2 years to do what was suggested by Axel since day one, we have nothing to brag about. Oh well, at least, we have a proof that our collective coding skills have increased a bit in two years. :-)
That should actually be a problem of the screen blanker; if Magnify returns a black screen, then you are in trouble :-)
When your saver runs, the top view of the window it's part of is black. I guess the only way around that would be to make it transparent instead.