Opened 13 years ago

Closed 13 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:
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 by bga, 13 years ago

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 by bga, 13 years ago

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 by jackburton, 13 years ago

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

comment:5 by bga, 13 years ago

Hey jackburton.

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

comment:6 by jackburton, 13 years ago

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 by bga, 13 years ago

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 by jackburton, 13 years ago

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 by bga, 13 years ago

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 by jackburton, 13 years ago

Resolution: fixed
Status: newclosed

This was fixed by Axel.

Note: See TracTickets for help on using tickets.