eriser / protrekkr

Automatically exported from code.google.com/p/protrekkr
0 stars 0 forks source link

SDL_BlitSurface fails when editing 303 patterns while song is playing #4

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. start the pattern/song playing
2. switch to the 303 tab and edit the pattern
3. after a couple of minutes, gui rectangles are redrawn, but all blitting
stops - no text is visible, 303 image isn't redrawn

What is the expected output? What do you see instead?
I expect text/images to be redrawn correctly. They arent - the underlying
buttons are drawn, but there is no text or images. I tested the return
value of SDL_BlitSurface in the printXY function when this happens and it
returns -1, indicating failure.

What version of the product are you using? On what operating system?
This happens on version 1.98k, both the downloaded binary and one I built
myself from subversion. I'm seeing this problem on 2 different debian linux
machines and on windows vista.

Please provide any additional information below.
I am a programmer, I may try to fix this myself, if you have pointers as to
what might be going wrong, that might speed the process - or maybe it will
be easy for you to fix. Thanks! awesome tracker.

Original issue reported on code.google.com by pforrest...@gmail.com on 16 Nov 2009 at 5:03

GoogleCodeExporter commented 9 years ago
It's an old bug and i was never able to reproduce that bug on any of my 
computers, if
you have a solution i'm all hear.

Original comment by hhhikr@gmail.com on 18 Nov 2009 at 3:13

GoogleCodeExporter commented 9 years ago
This bug makes this GREAT tracker unusable for many people... i've got this bug 
also
running on 1024x600 resolution fullscreen and windowed mode. As soon as you 
enter a
303 which is playing... so i mean when you choose for the 303 screen while its
playing. It starts flickering and after a while most of the screen will 
disappear :-(
Can you please please please try fixing it... i can help you testing the 
binaries...
mais malhereusement je ne suis pas programmeur. I just love this program... if 
it
just worked for me ;-)

Original comment by phe...@live.com on 4 Mar 2010 at 12:14

GoogleCodeExporter commented 9 years ago
As i already wrote i can't reproduce the problem, may be it's specific to 
nvidia cards ?

Original comment by hhhikr@gmail.com on 6 Mar 2010 at 10:19

GoogleCodeExporter commented 9 years ago
I checked the SDL_BlitSurface sourcecode and there's quite a few cases were the
blitting functions would return -1 maybe you should use SDL_GetError() to 
obtain a
precise description if there's one ?

Original comment by hhhikr@gmail.com on 6 Mar 2010 at 10:56

GoogleCodeExporter commented 9 years ago
The computer on which i've got this bug going has an intel based onboard 
graphics
card... i don't really understand what you mean with SDL_GetError() sorry.. i'll
google that. anyway thanks a lot for looking deeper at the code to find this 
nasty
bug... maybe it is hardware related... :-( i hope one day a solution will be 
found...
i dream having this program on a netbook and carry it anywhere i want.

Original comment by phe...@live.com on 6 Mar 2010 at 4:35

GoogleCodeExporter commented 9 years ago
if i can help you... posting a video of what exactly happens or run some kind of
debug console and send some output info to you... please tell me... i think 
i'll need
to understand some of the code to make use of SDL_GetError()... which i don't 
:s 

Original comment by phe...@live.com on 6 Mar 2010 at 4:45

GoogleCodeExporter commented 9 years ago
thanks for the bugfix! just tested it quickly with some demo songs... the 303's 
seem
to behave properly now and the screen doesn't start flickering anymore... great
work... best revamped "oldskool" trekkr ever... thanks again man

Original comment by phe...@live.com on 21 Mar 2010 at 1:50

GoogleCodeExporter commented 9 years ago

Original comment by hhhikr@gmail.com on 21 Mar 2010 at 10:11