Opened 10 years ago

Closed 10 years ago

#4177 closed bug (fixed)

BWindowScreen has problems with colors with QING plugin for SoundPlay.

Reported by: bga Owned by: jackburton
Priority: normal Milestone: R1
Component: Kits/Game Kit Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All


This can be checked by running Soundplay 4.7.3 (it works quite well under Haiku). Just start it, start playing a MP3 and enable the QING visual plugin. It starts in BDirectWindow windowed mode and works as expected. if you click the window zoom button, it goes full screen and switches to BWindowScreen. At this point the colors get all messed up.

Note I am running haiku with the VESA driver.

Change History (10)

comment:1 Changed 10 years ago by bga

On a related note. When you press ESC after you went to the fullscreen BWindowScreen mode of the QING plugin, it will revert back to its BDirectWindow windowed mode. When it does not, it seem that not the entire screen is invalidated and there is some white areas that you need to move a window over (for example) the get it to be correctly invalidated and draw.

comment:2 Changed 10 years ago by bga

more specifically, it only invalidates an area that start at 0,0 and is as big as the resolution that was being used by the BWindowScreen. So, for example, even if you are running in a 1600x1200 resolution, in the case of QING onlt an area of 640x480 pixels is invalidated, starting at the top left corner of the screen.

comment:3 Changed 10 years ago by jackburton

Is SoundPlay 4.7.3 available anywhere ? I searched around a bit, but can only find the latest version.

comment:5 Changed 10 years ago by bga

Hey jackburton.

Did you manage to download the SoundPlay version above? Were you able to reproduce the problem I described?

comment:6 Changed 10 years ago by jackburton

I managed to download it, thank you, but didn't get around to test it yet. Although I think I managed to reproduce it earlier using the test app "ParticlesII" which we have in the tree. At least, the colors don't look nice.

comment:7 Changed 10 years ago by bga

Ah, great. I will also check Particles II but, yes, the colors are very wrong in QING so it is very likely the same problem.

comment:8 Changed 10 years ago by jackburton

BTW, that SoundPlay you posted the link to doesn't work for me: it starts, but doesnt' play any file I tried (so I can't see anything in QING). And I certainly see the redrawing problems tracked in #3751.

About the BWindowScreen problem: I think there are various other issues in BWindowScreen, I'll try to fix them all.

comment:9 Changed 10 years ago by bga

Cool. Thanks for looking into this. About SoundPlay, try to remove all references to it and to PrefServer. Unzip SoundPlay again and before running it, try to run the INSTALL script (it just copies some stuff to ~/config/lib. See if it helps in any way.

comment:10 Changed 10 years ago by jackburton

Resolution: fixed
Status: newclosed

This was fixed by Axel.

Note: See TracTickets for help on using tickets.