WL in FullScreen disables mouse in all other application when ALT-Tabbing out

Bug #735291 reported by Astuur
18
This bug affects 2 people
Affects Status Importance Assigned to Milestone
widelands
Invalid
Undecided
Unassigned

Bug Description

This pertains to WL bzr5882 but has been this way for > a year on my Win XP (32) SP3 installation.
I thought this covered by another bug report, but was advised to file as a new report.

When WL is running in Full screen mode, the mouse is disabled for any other application when I ALT-TAB out.
I can see the mouse pointer in the upper left corner of the Screen (Desktop), but it does not react to mouse movements.

WL is installed in D:\Games\Widelands_5882
I start WL with Widelands.exe in the above mentioned directory without passing any other parameters.
There is no config file in this directory at this point. The stdout.txt produced is attached here.
The file "C:\Dokumente und Einstellungen\Wolf\.widelands\config" contains the following:
_______________________________________________________________
# Automatically created by Widelands bzr5882[widelands] (Release)

[global]
disable_fx="false"
xres="800"
yres="600"
fullscreen="true"
inputgrab="false"
single_watchwin="false"
auto_roadbuild_mode="true"
workareapreview="true"
snap_windows_only_when_overlapping="false"
dock_windows_to_edges="false"
depth="32"
disable_music="false"
language="en"
autosave="900"
maxfps="25"
sound_at_message="true"
nozip="false"
ui_font="sans"
speed_of_new_game="1000"
border_snap_distance="0"
panel_snap_distance="0"
remove_replays="43"
remove_syncstreams="true"
opengl="false"
fx_volume="22"
music_volume="16"
transparent_chat="true"
________________________________________

Revision history for this message
Astuur (wolfsteinmetz) wrote :
Revision history for this message
Jari Hautio (jarih) wrote :

I can confirm that this is happens also with Windows 7 (trunk r5868).

Revision history for this message
Hans Joachim Desserud (hjd) wrote :

Changing bug status to confirmed based on Jari's comment.

I tried to see if this affected Linux as well, but alt+tab didn't work at all in full screen (bug 736404).

Changed in widelands:
status: New → Confirmed
Revision history for this message
Jari Hautio (jarih) wrote :

Some additional googling pointed to bug in SDL-1.2.14. I was using that version. See http://bugzilla.libsdl.org/show_bug.cgi?id=849. Unfortunately SDL-1.2.15 is not released and they changed from svn to hg, so it's harder get the patch that went in. But there's a contributed patch in the comments, so I'll test it quickly.

Revision history for this message
Jari Hautio (jarih) wrote :

And the patches in the bug comments work. I have applied the two patches that were referenced in the SDL bug list to my 3rdparty branch that I keep for win32 libraries in p:~jarih/+junk/wl-3rdparty-src.

So this is not a bug in widelands, it's a bug in SDL-1.2.14.

Revision history for this message
SirVer (sirver) wrote :

Invalid then?

Revision history for this message
Jari Hautio (jarih) wrote :

I have added a note about the bug in SDL-1.2.14 to windows build instructions. Besides mingw instructions references to 1.2.13, so invalid is ok.

Revision history for this message
Astuur (wolfsteinmetz) wrote :

So what does it mean for the chances to see this flaw cured at some point in time?

Revision history for this message
Jari Hautio (jarih) wrote :

Next release should just use a working SDL-library. So we should make sure that windows packagers know the issue and bundle working SDL version.

If you want to have it fixed sooner and you are using mingw based package from http://widelands.8-schuss.de, then try with attached SDL.dll. It's built from patched SDL-1.2.14 sources in lp:~jarih/+junk/wl-3rdparty-src (r90). I just tested that it fixes the bug when using http://widelands.8-schuss.de/Widelands-bzr5886-nomusic-win32.exe.

Revision history for this message
Astuur (wolfsteinmetz) wrote :

Thank you, Jari for explaining! I'll try the patch.

Revision history for this message
Astuur (wolfsteinmetz) wrote :

The patch (SDL.DLL) works great, thanks again!

Revision history for this message
SirVer (sirver) wrote :

I just send Tino a PM with a link to this bug report, so that he knows and can adapt his builds. I set this to invalid now as it is not a widelands bug.

Changed in widelands:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.