Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#3200 closed bug (fixed)

Graphic games are showing a back border on left and top

Reported by: scottmc Owned by: axeld
Priority: normal Milestone: R1
Component: - General Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Has a Patch: no Platform: All

Description

On certain games, SDL and perhaps Allegro based ones, there is often a black border on the left and top of the windows, shifting the game screen down and to the right. This was tested on vmware with video set at 800x600, and I measured the offset to be about 80 on the left and 60 pixels on the top. I'll see if I can get some screenshots and some specific programs that show this. I think Wesnoth, mentioned in #2859 also showed this issue.

Attachments (1)

3152593201_be7056e73b.jpg (24.8 KB) - added by Begasus 10 years ago.

Download all attachments as: .zip

Change History (10)

Changed 10 years ago by Begasus

Attachment: 3152593201_be7056e73b.jpg added

comment:1 Changed 10 years ago by Adek336

In SDL_Fire at least, this can be remedied by removing the SDL_FULLSCREEN from SDL_SetVideoMode.

comment:2 Changed 10 years ago by Adek336

Also note that even with the SDL_FULLSCREEN flag, the application doesn't open in fullscreen mode.

comment:3 in reply to:  2 Changed 10 years ago by jackburton

Replying to Adek336:

Also note that even with the SDL_FULLSCREEN flag, the application doesn't open in fullscreen mode.

This should be a different bug, and I think it's fixed now. What about the original problem ? Does it still show up ?

comment:4 Changed 10 years ago by bga

Yes, SDL is completely broken and I am looking into sorting it up. Give me some time.

comment:5 Changed 10 years ago by scottmc

Here's where to get the source to build SDL Fire, it makes for a good little test for SDL: http://www.libsdl.org/projects/fire/

comment:6 Changed 10 years ago by scottmc

This may or may not have been fixed. Here's the patch for SDL: http://ports.haiku-files.org/changeset/358 Still need to do some more testing to see if it fixes this issue or not.

comment:7 Changed 10 years ago by scottmc

Resolution: fixed
Status: newclosed

This seems to be gone with the recent bwindow patches to SDL. More testing on the patches are ongoing. Closing this one as fixed.

comment:8 Changed 10 years ago by axeld

Scott, could you explain (or maybe have a link to) what exactly changed in SDL? As long as the previous SDL version wasn't buggy, it looks like you need to work around an issue of Haiku that is thus still present.

comment:9 Changed 10 years ago by scottmc

Here's the latest patch for SDL: http://ports.haiku-files.org/browser/haikuports/trunk/media-libs/libsdl/sdl-1.2-svn-4901-haiku.diff There's still more to be tweaked on this patch before sending it upstream. It needs further testing and cleanup. I'll be working on SDL related libs the next few days or so rebuilding each of them on post hrev33109 Haiku. I'll also be rechecking Allegro to see if this ticket affected Allegr or not, and if so they I may still reopen this one. IIRC when Bruno was working on the SDL patch, he also made some Haiku changes.

Note: See TracTickets for help on using tickets.