http://bugs.winehq.org/show_bug.cgi?id=2129
Summary: Austerlitz Demo Generates Unhandled Exception
Product: Wine
Version: 20040309
Platform: Other
URL: http://www.breakawaygames.com/downloads/austerlitz_demo.
exe
OS/Version: other
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-misc
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: mike(a)tashcorp.net
The demo is a self-executing zip-file. Download and extract to a directory.
Run using 'wine AusterlitzDemo.exe'.
Select 'Play The Game'
Click on the 'Exit' icon in lower-right hand corner.
This should produces an unhandled exception that brings down wine. Error log
is posted below:
fixme:ddraw:Main_DirectDraw_SetCooperativeLevel
(0x403eeff0)->(00010021,00000011)
fixme:dsound:IDirectSoundImpl_SetCooperativeLevel level=DSSCL_PRIORITY not
fully supported
fixme:cursor:CURSORICON_SimulateLoadingFromResourceW Animated icons not
correctly implemented! 0x46ae0000
fixme:cursor:CURSORICON_SimulateLoadingFromResourceW icon entry found!
0x46ae0000
fixme:cursor:CURSORICON_SimulateLoadingFromResourceW icon size ok.
offset=0x46ae004c
fixme:cursor:CURSORICON_SimulateLoadingFromResourceW Animated icons not
correctly implemented! 0x46ae0000
fixme:cursor:CURSORICON_SimulateLoadingFromResourceW icon entry found!
0x46ae0000
fixme:cursor:CURSORICON_SimulateLoadingFromResourceW icon size ok.
offset=0x46ae0064
fixme:cursor:CURSORICON_SimulateLoadingFromResourceW Animated icons not
correctly implemented! 0x46ae0000
fixme:cursor:CURSORICON_SimulateLoadingFromResourceW icon entry found!
0x46ae0000
fixme:cursor:CURSORICON_SimulateLoadingFromResourceW icon size ok.
offset=0x46ae00a4
wine: Unhandled exception (thread 0009), starting debugger...
Could not stat /mnt/fd0 (No such file or directory), ignoring drive A:
Could not stat /cdrom (No such file or directory), ignoring drive D:
WineDbg starting on pid 8
Can't find file for ELF 'wine-kthread' ((nil))
Loaded debug information from ELF 'wine-pthread' ((nil))
Breakpoint 1 at 0x4000b2a0 (_end+0x3fef8e30)
Loaded debug information from ELF '/usr/local/lib/libwine.so.1' (0x40022000)
No debug information in ELF '/lib/i686/libpthread.so.0' (0x4003a000)
No debug information in ELF '/lib/i686/libc.so.6' (0x4008a000)
No debug information in ELF '/lib/libdl.so.2' (0x401ba000)
No debug information in ELF '/lib/i686/libm.so.6' (0x401bd000)
No debug information in ELF '/lib/ld-linux.so.2' (0x40000000)
Loaded debug information from ELF '/usr/local/lib/wine/ntdll.dll.so'
(0x401e1000)
Loaded debug information from ELF '/usr/local/lib/libwine_unicode.so.1'
(0x4024a000)
No debug information in ELF '/lib/libnss_files.so.2' (0x40017000)
Loaded debug information from ELF '/usr/local/lib/wine/kernel32.dll.so'
(0x40450000)
Loaded debug information from ELF '/usr/local/lib/wine/ddraw.dll.so'
(0x406a0000)
No debug information in ELF '/usr/X11R6/lib/libSM.so.6' (0x40715000)
No debug information in ELF '/usr/X11R6/lib/libICE.so.6' (0x4071e000)
No debug information in ELF '/usr/X11R6/lib/libXrandr.so.2' (0x40735000)
No debug information in ELF '/usr/X11R6/lib/libXrender.so.1' (0x40739000)
No debug information in ELF '/usr/X11R6/lib/libXext.so.6' (0x40741000)
No debug information in ELF '/usr/X11R6/lib/libX11.so.6' (0x40750000)
Loaded debug information from ELF '/usr/local/lib/wine/ole32.dll.so'
(0x40833000)
Loaded debug information from ELF '/usr/local/lib/wine/advapi32.dll.so'
(0x408a7000)
Loaded debug information from ELF '/usr/local/lib/wine/user32.dll.so'
(0x408d8000)
Loaded debug information from ELF '/usr/local/lib/wine/gdi32.dll.so'
(0x40a13000)
Loaded debug information from ELF '/usr/local/lib/wine/rpcrt4.dll.so'
(0x40a93000)
Loaded debug information from ELF '/usr/local/lib/wine/dplayx.dll.so'
(0x40adb000)
Loaded debug information from ELF '/usr/local/lib/wine/winmm.dll.so'
(0x40b16000)
Loaded debug information from ELF '/usr/local/lib/wine/msvfw32.dll.so'
(0x40b83000)
Loaded debug information from ELF '/usr/local/lib/wine/comctl32.dll.so'
(0x40ba7000)
Loaded debug information from ELF '/usr/local/lib/wine/version.dll.so'
(0x40c48000)
Loaded debug information from ELF '/usr/local/lib/wine/lz32.dll.so'
(0x40c62000)
No debug information in ELF '/usr/lib/libfreetype.so.6' (0x40c78000)
No debug information in ELF '/lib/libz.so.1' (0x40ccc000)
No debug information in ELF '/usr/lib/libfontconfig.so.1' (0x40cda000)
No debug information in ELF '/usr/lib/libexpat.so.0' (0x40d02000)
Loaded debug information from ELF '/usr/local/lib/wine/x11drv.dll.so'
(0x40d23000)
No debug information in ELF '/usr/X11R6/lib/libGL.so.1' (0x40da0000)
No debug information in ELF '/usr/X11R6/lib/libXcursor.so.1' (0x40e17000)
No debug information in ELF '/usr/X11R6/lib/X11/locale/lib/common/xlcDef.so.2'
(0x4033d000)
No debug information in ELF '/usr/X11R6/lib/X11/locale/lib/common/ximcp.so.2'
(0x40e20000)
No debug information in ELF '/usr/lib/gconv/ISO8859-1.so' (0x40596000)
Loaded debug information from ELF '/usr/local/lib/wine/imm32.dll.so'
(0x40e3f000)
No debug information in ELF '/usr/X11R6/lib/modules/dri/radeon_dri.so'
(0x40e5b000)
Loaded debug information from ELF '/usr/local/lib/wine/wineoss.drv.so'
(0x45775000)
Loaded debug information from ELF '/usr/local/lib/wine/msacm.drv.so'
(0x457b4000)
Loaded debug information from ELF '/usr/local/lib/wine/msacm32.dll.so'
(0x457cb000)
Loaded debug information from ELF '/usr/local/lib/wine/midimap.drv.so'
(0x45900000)
Loaded debug information from ELF '/usr/local/lib/wine/dsound.dll.so'
(0x468fb000)
Loaded debug information from ELF '/usr/local/lib/wine/winspool.drv.so'
(0x46941000)
Loaded debug information from ELF '/usr/local/lib/wine/comdlg32.dll.so'
(0x46964000)
Loaded debug information from ELF '/usr/local/lib/wine/shell32.dll.so'
(0x469e6000)
Loaded debug information from ELF '/usr/local/lib/wine/shlwapi.dll.so'
(0x46a6b000)
No debug information in 32bit DLL 'F:\Desktop\Files\Downloads\Austerlitz Demo
- Win\E\AusterlitzDemo.exe' (0x400000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\NTDLL.DLL' (0x40200000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\KERNEL32.DLL'
(0x40480000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\ADVAPI32.DLL'
(0x408c0000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\GDI32.DLL' (0x40a30000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\USER32.DLL' (0x40900000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\RPCRT4.DLL' (0x40ab0000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\OLE32.DLL' (0x40850000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\DDRAW.DLL' (0x406c0000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\WINMM.DLL' (0x40b20000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\DPLAYX.DLL' (0x40af0000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\COMCTL32.DLL'
(0x40bc0000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\LZ32.DLL' (0x40c70000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\VERSION.DLL' (0x40c50000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\MSVFW32.DLL' (0x40b90000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\X11DRV.DLL' (0x40d40000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\IMM32.DLL' (0x40e50000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\WINEOSS.DRV' (0x45790000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\MSACM32.DLL' (0x457d0000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\MSACM.DRV' (0x457c0000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\MIDIMAP.DRV' (0x45910000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\DSOUND.DLL' (0x46910000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\WINSPOOL.DRV'
(0x46950000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\SHLWAPI.DLL' (0x46a90000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\SHELL32.DLL' (0x46a00000)
No debug information in 32bit DLL 'C:\WINDOWS\SYSTEM\COMDLG32.DLL'
(0x46980000)
No debug information in 32bit DLL 'F:\DESKTOP\FILES\DOWNLOADS\AUSTERLITZ DEMO
- WIN\E\BAGSOUND.DLL' (0x10000000)
No debug information in 32bit DLL 'F:\DESKTOP\FILES\DOWNLOADS\AUSTERLITZ DEMO
- WIN\E\BAGLOAD.DLL' (0x46eb1000)
Unhandled exception: page fault on read access to 0x00000000 in 32-bit code
(0x0046f61d).
In 32-bit mode.
0x0046f61d (AusterlitzDemo.exe.??_FCBGRand@@QAEXXZ+0x1f7ad in
AusterlitzDemo.exe): movl 0x0(%eax,%esi,4),%ecx
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2128
Summary: Remote Assault Demo Fails To Run
Product: Wine
Version: 20040309
Platform: Other
URL: http://www.shrapnelgames.com/downloads/rad50.exe
OS/Version: other
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-misc
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: mike(a)tashcorp.net
Game demo terminates without doing anything when invoked through wine.
Error output
fixme:dsound:IDirectSoundImpl_SetCooperativeLevel level=DSSCL_EXCLUSIVE not
fully supported
Installation: wine rad50.exe
Execution: wine ra.exe (from install directory)
I'll upload a loaddll,relay log later.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=1338
felipewd(a)elipse.com.br changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
------- Additional Comments From felipewd(a)elipse.com.br 2004-26-03 10:43 -------
It works now, so we can close this bug.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=1338
felipewd(a)elipse.com.br changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
------- Additional Comments From felipewd(a)elipse.com.br 2004-26-03 10:42 -------
True, just tested with wine-20040309 and it works fine.
I'll close this bug.
Felipe
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2124
tony_lambregts(a)telusplanet.net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
------- Additional Comments From tony_lambregts(a)telusplanet.net 2004-26-03 08:39 -------
Yes they probably did recompile it.
resolving fixed...
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2127
Summary: WriteFile fails on threaded applications
Product: Wine
Version: 20040309
Platform: Other
OS/Version: other
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-kernel
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: tronb(a)bluesquirrel.com
Tested on: Fedora Core 1 and Fedora test 1.90
Version: Latest rpm and build from source 20040309
In threaded applications, which use CreateFile, WriteFile, CloseHandle heavily
(logging) in a threaded application, the WriteFile will fail because of a bad
fd even when the sequence (CreateFile, WriteFile, CloseHandle) is protected as
a critical section.
Test Code:
#include "stdafx.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#endif
int Test();
DWORD WINAPI AThread( LPVOID lpParameter );
int Log(const char * stuff);
// The one and only application object
CWinApp theApp;
using namespace std;
int _tmain(int argc, TCHAR* argv[], TCHAR* envp[])
{
int nRetCode = 0;
// initialize MFC and print and error on failure
if (!AfxWinInit(::GetModuleHandle(NULL), NULL, ::GetCommandLine(), 0))
{
// TODO: change error code to suit your needs
_tprintf(_T("Fatal Error: MFC initialization failed\n"));
nRetCode = 1;
}
else
{
Test();
}
return nRetCode;
}
int Test()
{
#define NUM_THREADS 10
int ThreadNo[NUM_THREADS];
HANDLE ThreadHandles[NUM_THREADS];
//Start 10 threads
for(int i=0;i<NUM_THREADS;i++)
{
ThreadNo[i] = i;
ThreadHandles[i] = CreateThread(NULL, 0, AThread, &(ThreadNo
[i]), 0, NULL);
if (ThreadHandles[i] == NULL)
printf("CreateThread failed to create thread %d with
GetLastError:%d\n", i, GetLastError());
}
printf("Created %d Threads\n", NUM_THREADS);
DWORD result = WaitForSingleObject(ThreadHandles[0], 2L*60L*1000L);
if (result == WAIT_TIMEOUT)
printf("Timed out waiting for thread 0\n");
return(i);
}
DWORD WINAPI AThread( LPVOID lpParameter )
{
char buffer[100];
while(1)
{
int *lpint = (int*)lpParameter;
sprintf(buffer, "This is some stuff from thread %d\n", *lpint);
Log(buffer);
}
}
int Log(const char * stuff)
{
HANDLE hMutex = CreateMutex(NULL, TRUE, NULL);
if (hMutex == 0)
printf("Mutex failed\n");
//Wait for 5 seconds
DWORD dwWaitResult = WaitForSingleObject( hMutex, 5000L );
if (dwWaitResult == WAIT_TIMEOUT)
printf("Wait timed out\n");
if (dwWaitResult == WAIT_ABANDONED)
printf("Wait abandoned\n");
HANDLE hFile = CreateFile("C:\\TESTLOG.LOG", FILE_WRITE_DATA,
FILE_SHARE_WRITE, NULL, OPEN_ALWAYS, FILE_ATTRIBUTE_NORMAL, NULL);
if (hFile == INVALID_HANDLE_VALUE)
{
printf("CreateFile Failed with GetLastError of %d\n",
GetLastError());
}
DWORD NewLoc = SetFilePointer (hFile, 0, NULL, FILE_END);
DWORD bytes_written;
BOOL write_file_result = WriteFile(hFile, stuff, (DWORD)strlen(stuff),
&bytes_written, NULL);
if (write_file_result == 0)
{
printf("WriteFile Failed with GetLastError of %d\n",
GetLastError());
}
if (CloseHandle(hFile) == 0)
printf("CloseHandle Failed with %d\n", GetLastError());
BOOL release_mutex_result = ReleaseMutex(hMutex);
if (release_mutex_result == 0)
printf("ReleaseMutex failed with %d\n", GetLastError());
return(0);
}
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2124
------- Additional Comments From mandreiana(a)yahoo.com 2004-25-03 04:46 -------
thank you. I have limited traffic and cannot checkout wine cvs.
Now I got a Fedora Core rpm from newrpms site, saw a message that their build
also solved security patch problem (how? don't know), and the application works
again.
Wierd, it's the same wine version, maybe compiled different.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2126
Summary: fixme:dialog:MSGBOX_OnInit task modal msgbox ! Not modal
yet.
Product: Wine
Version: 20040309
Platform: PC
URL: http://urania.ouvaton.org/wine.png
OS/Version: Linux
Status: UNCONFIRMED
Severity: blocker
Priority: P2
Component: wine-binary
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: lenaig(a)wanadoo.fr
Hi,
I am running a Debian unstable under my laptop.
I am trying to run wine with Steam, to be able to play network games as DoD or
CS ...
When i am running wine i have this following error :
tst@localhost:~$ wine Jeux/SteamInstall.exe
ReadStyleSheet: missing style number
Last token read was "}" near line 2, position 22.
fixme:shell:Stream_WriteLocationInfo writing empty location info
err:menubuilder:InvokeShellLinker failed to extract icon.
fixme:shell:Stream_WriteLocationInfo writing empty location info
err:menubuilder:WinMain failed to build menu item for C:\Windows\Start
Menu\Programs\Valve\Steam\Steam Subscriber Agreement.lnk
fixme:shell:Stream_WriteLocationInfo writing empty location info
err:menubuilder:InvokeShellLinker failed to extract icon.
fixme:shell:Stream_WriteLocationInfo writing empty location info
err:menubuilder:InvokeShellLinker failed to extract icon.
fixme:commctrl:InitCommonControlsEx Unknown class! dwICC=0x8000
fixme:dialog:MSGBOX_OnInit task modal msgbox ! Not modal yet.
You can exactly what happen there : http://urania.ouvaton.org/wine.png
Steam stop downloading after 26% ...
What can i do to help you resolving this problem ?
Thx
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=881
------- Additional Comments From fommil(a)yahoo.ie 2004-24-03 15:40 -------
more info:
i am using blackbox, and, more importantly... i have a workaround!
i have bbkeys installed which allows me to use keystrokes as macros for WM
operations. i have a keystroke defined to switch between virtual desktops. if i
switch to another desktop and then back to the wine one, the X cursor disappears
in the wine fullscreen! :-D
i am happy enough with this workaorund for now, but i think the bug should
remain open anyway.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2124
tony_lambregts(a)telusplanet.net changed:
What |Removed |Added
----------------------------------------------------------------------------
Keywords| |regression
------- Additional Comments From tony_lambregts(a)telusplanet.net 2004-24-03 12:13 -------
If this used to work then it is a regression the way to fix it is to find the
patch that broke it using regression testing as outlined here.
http://www.winehq.org/site/docs/wine-devel/cvs-regression
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2125
Summary: err:comboex:COMBOEX_FindItem COMBOBOXEX item structures
broken. Please report!
Product: Wine
Version: 20040309
Platform: Other
OS/Version: other
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-misc
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: mandreiana(a)yahoo.com
Getting this on an application
err:comboex:COMBOEX_FindItem COMBOBOXEX item structures broken. Please report!
So i'm reporting :)
Let me know if more info is needed
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2124
Summary: Windows socket error (10048) on API 'bind'
Product: Wine
Version: 20040309
Platform: Other
OS/Version: other
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: wine-net
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: mandreiana(a)yahoo.com
A chat which used to work gives this dialog now
Windows socket error (10048) on API 'bind'
Then it continues, but it doesn't connect to local network.
The application can be downloaded from here
http://borgchat.softnews.ro/cgi-bin/download.pl?file=BORGChat
thanks
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=560
------- Additional Comments From tony_lambregts(a)telusplanet.net 2004-23-03 16:16 -------
Further investigation has lead me to believe that the front end for this does
not need to do much. All we really need is to call the Enter bug screen with
the bug_file_loc pointing to the the location of the app in th AppDB. For "The
Bat" it would look like this.
http://bugs.winehq.org/enter_bug.cgi?product=Wine&bug_file_loc=http%3A%2F%
2Fappdb.winehq.org%2Fappview.php%3FappId%3D68
(with out the line wrap)
The main problem is that the person entering the bug report has to have a
Bugzilla account and be log into it.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
http://bugs.winehq.org/show_bug.cgi?id=2123
Summary: comctl32 tab.c size of the rect in the WM_DRAWITEM
message incorrect
Product: Wine
Version: 20040309
Platform: PC
OS/Version: Linux
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: wine-winelib
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: r.kessel(a)metrodata.de
The screenoutput of the tab control is ugly, because the size of the draw area
(rcItem) given in the WM_DRAWITEM message is too large. Apps will usually clear
up the entire space, which clears the nicely painted borders as well.
I would suggest to add some lines in TAB_DrawItemInterior()
...
/*
* put together the DRAWITEMSTRUCT
*/
dis.CtlType = ODT_TAB;
dis.CtlID = id;
dis.itemID = iItem;
dis.itemAction = ODA_DRAWENTIRE;
dis.itemState = 0;
if ( iItem == infoPtr->iSelected )
dis.itemState |= ODS_SELECTED;
if (infoPtr->uFocus == iItem)
dis.itemState |= ODS_FOCUS;
dis.hwndItem = hwnd; /* */
dis.hDC = hdc;
CopyRect(&dis.rcItem,drawRect);
/*
* adjustments to the size of the user draw area should be added here
*/
dis.rcItem->left += 2;
dis.rcItem->top += 2;
dis.rcItem->right -= 2;
dis.itemData = infoPtr->items[iItem].lParam;
/*
* send the draw message
*/
SendMessageA( infoPtr->hwndNotify, WM_DRAWITEM, (WPARAM)id, (LPARAM)&dis );
...
The orginal windows dehaviour is quite complex. if the tab is not selected, the
user draw area is (left+4, top+2, right, bottom). If the tab is selected, the
user draw area is (left, top, right+4, bottom+4).
The main difference between the winelib tab-ctrl and the windows tab-ctrl is
that wine paints the frame BEFORE the WM_DRAWITEM message and Windows paints the
frame AFTER the tab content is draw by the WM_DrawITEM message. The windows
behaviour prevents that the frame got overwritten by the user drawings. This
could be am issue in cases where ownerdrawing is supported.
Additionally I have observed that the winelib tab draws the tab 10 points wider
than given in the tabsize (and the windows version).
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2122
tony_lambregts(a)telusplanet.net changed:
What |Removed |Added
----------------------------------------------------------------------------
URL| |http://www.partypoker.com
Keywords| |download
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2120
tony_lambregts(a)telusplanet.net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
------- Additional Comments From tony_lambregts(a)telusplanet.net 2004-23-03 09:46 -------
Patch in CVS: http://cvs.winehq.org/patch.py?id=11615
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2117
tony_lambregts(a)telusplanet.net changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|RESOLVED |CLOSED
------- Additional Comments From tony_lambregts(a)telusplanet.net 2004-23-03 09:45 -------
Closing
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
http://bugs.winehq.org/show_bug.cgi?id=2122
Summary: wrong window size on startup, busted graphics and
invisible text in listboxes.
Product: Wine
Version: 20040309
Platform: All
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P1
Component: wine-x11driver
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: knaaleman(a)home.se
When opening PartyPoker.exe (www.partypoker.com) free software the graphics
are all black in the first window, the second window (main application) has some
graphics but most are wierd, also, all text in listboxes are invisible,
furthermore the window size of the "main" window is wrong it gets set to 640x480
and it's not rezisable, hence the application wont work properly since some
controls and buttons are out of reach...
I can recognice that this isn't the most comprehensive bugreport ever, but I'm a
coder not a tester..
Best regards Fredrik Nilsson
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.