Opened 16 years ago

Closed 15 years ago

Last modified 15 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:
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 16 years ago.

Download all attachments as: .zip

Change History (10)

by Begasus, 16 years ago

Attachment: 3152593201_be7056e73b.jpg added

comment:1 by Adek336, 16 years ago

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

comment:2 by Adek336, 16 years ago

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

in reply to:  2 comment:3 by jackburton, 15 years ago

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

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

comment:5 by scottmc, 15 years ago

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 by scottmc, 15 years ago

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 by scottmc, 15 years ago

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

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 by scottmc, 15 years ago

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.