http://bugs.winehq.org/show_bug.cgi?id=24464
Summary: UpdateLayeredWindow() generates WM_SIZE when it should
not, and other non-matching behavior
Product: Wine
Version: 1.1.44
Platform: All
OS/Version: All
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: user32
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: ivucica(a)gmail.com
Created an attachment (id=30866)
--> (http://bugs.winehq.org/attachment.cgi?id=30866)
test case
Below are pasted the notes from the attached source code, for easier reference.
The most important bug is #4, erroneous generation of WM_SIZE when they should
not be generated. I did not feel like creating several bug reports, feel free
to split if necessary.
Attached is the test case demonstrating the issues. To compile test case using
MinGW, use following makefile:
CC=i386-mingw32msvc-gcc
all:
$(CC) -o updatelayeredwindow_demo.exe -lole32 -lcomdlg32 -luser32
-lwinmm main.c -lgdi32
Please compare behavior between XP and Wine. You can make the window reduce its
size by left clicking. Then observe the log. You can notice that on XP, WM_SIZE
is not generated. On Wine, it is continuously generated. Bugs #1-#3 can also be
tested easily by modifying the source code as described and comparing output.
I presume the bug happens everywhere, although it was tested only on OS X.
At least one application development framework, Cocotron, depends on correct
behavior for WM_SIZE. Cocotron reimplements OS X's Cocoa API to create source
level compatibility. Wine is the easiest way to test the Cocotron executables,
since Cocotron compiles on OS X to produce Windows binaries. Otherwise, one
needs to have a machine (either real or virtual) that runs Windows in order to
test software.
However, this bug blocks testing of any application that uses "sheets", since
sheets are animated using UpdateLayeredWindow(). Sheets are captionless modal
dialogs that appear on their owner window, and as their parent moves, they move
as well. They are quite ubiquitous on Mac OS X and in Cocoa.
Description of Cocotron internals and cause for this bug:
Animations use class instance's _size member, which is updated when WM_SIZE is
sent. This member should not ordinarily be updated during execution of
animation function, but it gets updated because WM_SIZE is sent.
// TESTED ON WINDOWS XP with wine-1.1.44
// bug #1: If we pass 0 as first argument to CreateWindowEx(), Windows ignore
// UpdateLayeredWindow(). Wine does not.
// bug #2: If we pass WS_EX_LAYERED as first argument to CreateWindowEx(),
Windows does not
// display the window except in taskbar. Wine displays it, and even
dispatches
// WM_LBUTTONDOWN. Function should also fail, with GetLastError()
returning 0.
// #2a: Additionally, same thing happens if we do not pass a DC as fifth
argument to
// UpdateLayeredWindow().
// bug #3: In WM_LBUTTONDOWN, there is the following call.
// UpdateLayeredWindow(hWnd, GetDC(hWnd), &ptSrc, &sizeWnd, memDC,
&origin, RGB(0xFF,0xFF,0xFF), &blend, ULW_OPAQUE);
// if we pass NULL instead of memDC, Windows do not resize the window.
Wine happily resizes it
// Additionally function should fail.
***********************************************************************
***********************************************************************
// MOST IMPORTANT:
// bug #4: If UpdateLayeredWindow() resizes the window, Windows do not generate
WM_SIZE.
// Wine does generate WM_SIZE.
// This causes a bug in every application displaying "sheets" that is
// developed using Cocotron (http://cocotron.org/). "Sheets" in Mac OS
X are
// per-window modal popups attached to top of the window.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=20161
Summary: cmd can't handle echo commands containing quotes and
redirection
Product: Wine
Version: 1.1.30
Platform: PC
URL: ftp://ftp.gnu.org/pub/gnu/gcl/binaries/stable/gcl_2.6.
6.mingw32_cltl1_japi_20050210.exe
OS/Version: Linux
Status: NEW
Keywords: download, Installer
Severity: normal
Priority: P2
Component: programs
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: dank(a)kegel.com
The installer for gnu common lisp
(ftp://ftp.gnu.org/pub/gnu/gcl/binaries/stable/gcl_2.6.6.mingw32_cltl1_japi_…)
runs a batch file which has the line
C:\Progra~1\GCL-2.6.6-CLtL1\lib\gcl-2.6.6\unixport>echo (setq
si::*system-directory* (namestring(truename (make-pathname :name nil :type nil
:defaults (si::argv 0))))) (si::save-system "modified.exe") | saved_gcl.exe
So I tried the short batch file
echo (si::save-system "modified.exe") > echo.txt
It fails to create echo.txt unless you remove the quotes.
[Here's how I happened to try the windows version of gnu common lisp on wine:
In
http://www.bautforum.com/science-technology/94008-free-mathematica-clone.ht…
someone said
"I have not heard of much success using WINE... of late...it seems to be
somewhat defunct(?)"
Bleah. So I tried running wxmaxima in wine. It aborts immediately
because its lisp interpreter tries to allocate all of RAM, and fails.
The interpreter seems to be a fork of GCL, so I went and tried GCL itself,
and ran into the above installer problem.]
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=26528
Summary: June 2010 directx sdk: cannot change installation
component options
Product: Wine
Version: 1.3.16
Platform: x86
URL: http://www.microsoft.com/downloads/en/details.aspx?dis
playlang=en&FamilyID=3021d52b-514e-41d3-ad02-438a3ba73
0ba
OS/Version: Linux
Status: NEW
Keywords: download, Installer
Severity: minor
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: austinenglish(a)gmail.com
Download the installer from above url and run it. When you get to the optional
component section, try to remove/add/change features. Under wine, the popup
menu never appears. Under windows 7, shows up fine. There is no associated
terminal output.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=21927
Summary: cmd /c "dir " fails
Product: Wine
Version: 1.1.39
Platform: x86
OS/Version: Linux
Status: NEW
Severity: normal
Priority: P2
Component: cmd
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: dank(a)kegel.com
In Windows, cmd /c "dir " works (note the trailing space).
In Wine, it doesn't, even if you invoke it from inside a cmd shell
(where the quote processing should be identical to that on windows).
This isn't specific to dir; it applies to any internal command.
External commands, e.g. cmd /c "notepad ", work fine.
Reported in wine-users forum, http://forum.winehq.org/viewtopic.php?t=7854
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=22715
Summary: specviewperf10: run_all.bat fails to invoke second
test
Product: Wine
Version: 1.1.44
Platform: x86
URL: http://www.spec.org/gwpg/gpc.static/vp10info.html
OS/Version: Linux
Status: NEW
Keywords: download
Severity: normal
Priority: P2
Component: cmd
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: dank(a)kegel.com
To reproduce, do
cd ~/".wine/drive_c/Program Files/SPECopc/SPECViewperf/viewperf/viewperf10.0"
wine cmd /c Run_All.bat
On Vista, this works fine. On Wine, it fails after running the first test with
wine: cannot find L"C:\\windows\\system32\\Run_Viewset.bat"
File not found
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=27357
Summary: EVE online: client unresponsive with stack overflow in
terminal output
Product: Wine
Version: 1.3.21
Platform: x86-64
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: -unknown
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: m.lanuschny(a)chello.nl
Created an attachment (id=34980)
--> (http://bugs.winehq.org/attachment.cgi?id=34980)
complete terminal output including 2 crashes/errors
while playing eve (docked in station doing sell orders, character Bruce
Blacky), the eve client went unresponsive to mouse clicks.
when switching to terminal to see out put, eve client disappeared (window
closed?)
qoute from temrinal (complete log in attachement) that belongs to 1st
crash/error:
fixme:imm:NotifyIME NI_CLOSECANDIDATE
wine: Unhandled page fault on write access to 0x28d52004 at address 0x6620b66
(thread 0023), starting debugger...
err:seh:raise_exception Unhandled exception code c0000005 flags 0 addr
0x7bc4756c
then i restarted the client and after first sell order the client went
unresponsive to mouse clicks again but did not crash 9had to end it with
ctrl+c)
error/crash output from 2nd crash here:
fixme:imm:NotifyIME NI_CLOSECANDIDATE
err:seh:setup_exception_record stack overflow 964 bytes in thread 0023 eip
f7530f2a esp 00240f6c stack 0x240000-0x241000-0x340000
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=19623
Summary: BITS background transfer job size is always unknown
Product: Wine
Version: 1.1.27
Platform: PC
URL: http://www.eveonline.com/download/
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: qmgr
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: kelfe(a)gmx.de
Using the small installer to download Eve Online creates a background transfer
job with one file.
The file size progress works but the job totalbytes stays BG_SIZE_UNKOWN. This
leads to the percentage to stay at 0 and the time left calculation should only
garbage.
According to MSDN the job size should be set as soon as all file sizes of the
job are known.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=13797
Summary: wineconsole curses backend wraps cursor in cmd
incorrectly
Product: Wine
Version: 1.0-rc4
Platform: All
OS/Version: Solaris
Status: UNCONFIRMED
Severity: minor
Priority: P3
Component: programs
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: trisk+winehq(a)acm.jhu.edu
When wineconsole is built with SVR4 curses instead of ncurses, cmd.exe appears
to work correctly until enough text has been printed to reach the bottom of the
screen, at which point the cursor jumps to the topmost line of the screen.
Entering text will move the cursor along the topmost line, but the text will
not be visible. The cursor will remain on that line indefinitely.
As an example:
Start cmd: wineconsole --backend=curses cmd
Press return lots of times or run dir on a large directory.
The cursor will jump to the top of the screen and stay there.
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29110
Bug #: 29110
Summary: Avast! Free Antivirus crashes on each boot due to
unimplemented function
ntoskrnl.exe.PsImpersonateClient
Product: Wine
Version: 1.3.32
Platform: x86-64
URL: http://www.avast.com/en-us/free-antivirus-download
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: ntoskrnl
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: RandomAccountName(a)mail.com
Classification: Unclassified
After installing Avast! Free Antivirus, there are multiple crashes on most runs
of wineboot due to unimplemented functions. (Occasionally, one of the crashes -
usually this one - will mysteriously be absent or replaced with an unhandled
page fault.) The second crash is:
wine: Call from 0x7b83b722 to unimplemented function
ntoskrnl.exe.PsImpersonateClient, aborting
wine: Unimplemented function ntoskrnl.exe.PsImpersonateClient called at address
0x7b83b722 (thread 0018), starting debugger...
(FYI, the third and last crash is the one from bug 29108.)
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.
http://bugs.winehq.org/show_bug.cgi?id=29355
Bug #: 29355
Summary: XMLdocument loadfromfile? doesn't work correctly
Product: Wine
Version: 1.3.34
Platform: x86
URL: http://netikka.net/dev/xml.exe
OS/Version: Linux
Status: UNCONFIRMED
Severity: normal
Priority: P2
Component: msxml3
AssignedTo: wine-bugs(a)winehq.org
ReportedBy: ocean04(a)suomi24.fi
Classification: Unclassified
Small sample: http://netikka.net/dev/xml.exe
Save attached test.xml to .wine/drive_c/ first.
procedure TForm1.Button1Click(Sender: TObject);
begin
xmldocument1.LoadFromFile('c:/test.xml');
xmldocument1.SaveToFile('c:/test2.xml');
memo1.text:=xmldocument1.XML.Text; //also without header?
end;
Problem is test2.xml has lost it's header.
winetricks msxml3 helps
--
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.