Opened 12 years ago

Closed 10 years ago

Last modified 10 years ago

#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


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 axeld, 12 years ago

Component: - GeneralUser Interface
Owner: changed from axeld to stippi

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.

comment:2 by leavengood, 12 years ago

Owner: changed from stippi to leavengood

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:3 by phoudoin, 10 years ago

Should be fixed in hrev39789.

comment:4 by phoudoin, 10 years ago

Resolution: fixed
Status: newclosed

comment:5 by leavengood, 10 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 leavengood, 10 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 phoudoin, 10 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. :-)

Last edited 10 years ago by phoudoin (previous) (diff)
Note: See TracTickets for help on using tickets.