[Bug 32682] New: Failure setting the cursor to Cursors.Pen (IDC_PEN, 32631)
http://bugs.winehq.org/show_bug.cgi?id=32682 Bug #: 32682 Summary: Failure setting the cursor to Cursors.Pen (IDC_PEN, 32631) Product: Wine Version: 1.5.20 Platform: x86 OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: user32 AssignedTo: wine-bugs(a)winehq.org ReportedBy: joel.snape(a)yahoo.com Classification: Unclassified Created attachment 43116 --> http://bugs.winehq.org/attachment.cgi?id=43116 Terminal messages running the application I was testing a .Net 4 application (OCTGN) and noticed it fails when the application tries to change the cursor (in C#, tbStatus.Cursor = Cursors.Pen). I searched around and didn't find a solution to this problem and only found a reference to some cursors in winuser.h (at least IDC_PEN with id 32631, IDC_WAITCD with id 32663 and IDC_HELP with id 32651). You can replicate the error testing OCTGN (although I needed a lot of tinkering before being able to login, the place where the error occurs) but it probably is easier to create a simple application and testing the cursor change there. Attached are the console log (with the .Net error message) and the wine crash log. -- 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=32682 --- Comment #1 from Joel Snape <joel.snape(a)yahoo.com> 2013-01-07 19:20:03 CST --- Created attachment 43117 --> http://bugs.winehq.org/attachment.cgi?id=43117 Backtrace after the error was reported by the application -- 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=32682 Joel Snape <joel.snape(a)yahoo.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Platform|x86 |x86-64 -- 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.
https://bugs.winehq.org/show_bug.cgi?id=32682 Austin English <austinenglish(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |dotnet --- Comment #2 from Austin English <austinenglish(a)gmail.com> --- Is this still an issue in current (1.7.35 or newer) wine? If so, please attach terminal output. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=32682 --- Comment #3 from Joel Snape <joel.snape(a)yahoo.com> --- Created attachment 50609 --> https://bugs.winehq.org/attachment.cgi?id=50609 Simple program displaying the issue Well, I can't test the issue right now (because in my arch the current version is 1.7.33) but before I noticed that (and because OCTGN no longer has this problem) I made a simple program replicating the error (a simple .net executable compiled with the command "wine ~/.wine/drive_c/windows/Microsoft.NET/Framework/v4.0.30319/csc.exe /r:System.dll /r:WPF/PresentationCore.dll ConsoleTest.cs") that someone with the correct version can use to validate the resolution. On my version (1.7.33) the issue still occurs with the following terminal output: fixme:thread:SetThreadStackGuarantee (0x32fc04): stub fixme:shell:URL_ParseUrl failed to parse L"PresentationCore" fixme:shell:URL_ParseUrl failed to parse L"WindowsBase" fixme:shell:URL_ParseUrl failed to parse L"System" fixme:advapi:RegisterTraceGuidsW (0x550b9c5c, 0x5516e048, {e13b77a8-14b6-11de-8069-001b212b5009}, 1, 0x32cddc, (null), (null), 0x5516e048): stub fixme:nls:GetUserPreferredUILanguages stub: 0 0x32e3f8 (nil) 0x32e3f4 fixme:thread:GetThreadPreferredUILanguages 0, 0x32e3f8, (nil) 0x32e3f4 hello Unhandled Exception: fixme:advapi:RegisterTraceGuidsW (0x96047a, (nil), {8e9f5090-2d75-4d03-8a81-e5afbf85daf1}, 1, 0x32cbec, (null), (null), 0xca6a68): stub fixme:shell:URL_ParseUrl failed to parse L"mscorlib.resources" fixme:shell:URL_ParseUrl failed to parse L"mscorlib.resources" System.ComponentModel.Win32Exception: Resource type not found at MS.Win32.SafeNativeMethods.LoadCursor(HandleRef hInst, IntPtr iconId) at System.Windows.Input.Cursor.LoadCursorHelper(CursorType cursorType) at System.Windows.Input.Cursor..ctor(CursorType cursorType) at System.Windows.Input.Cursors.EnsureCursor(CursorType cursorType) at ConsoleTest.Main(String[] args) -- 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.
https://bugs.winehq.org/show_bug.cgi?id=32682 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |download Status|UNCONFIRMED |NEW CC| |focht(a)gmx.net Summary|Failure setting the cursor |Multiple .NET 4.0 |to Cursors.Pen (IDC_PEN, |applications fail to load |32631) |the pen cursor (IDC_PEN, | |32631, 0x7F77 missing) Ever confirmed|0 |1 --- Comment #4 from Anastasius Focht <focht(a)gmx.net> --- Hello folks, confirming. Refining summary as multiple apps are affected. Can also be reproduced with: Jeskola Buzz Build 1499 (.NET 4.0 app) (follow up of bug 37997) Download: http://jeskola.net/buzz/ Source: http://source.winehq.org/git/wine.git/blob/7e874aed75765f3c017673178cfd64301... $ sha1sum BuzzSetup1499.exe c533732c37c67b40096035338934c3413347cb41 BuzzSetup1499.exe $ du -sh BuzzSetup1499.exe 7.9M BuzzSetup1499.exe $ wine --version wine-1.7.35-24-g3873c93 Regards -- 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.
https://bugs.winehq.org/show_bug.cgi?id=32682 Gimmeapill <gimmeapill(a)gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |gimmeapill(a)gmail.com -- 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.
https://bugs.winehq.org/show_bug.cgi?id=32682 --- Comment #5 from Anastasius Focht <focht(a)gmx.net> --- Hello folks, revisiting, still present. $ wine --version wine-1.7.54-179-ga0d0d0d Regards -- 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.
https://bugs.winehq.org/show_bug.cgi?id=32682 Andrew Eikum <aeikum(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |aeikum(a)codeweavers.com --- Comment #6 from Andrew Eikum <aeikum(a)codeweavers.com> --- IDC_PEN is not available in user32, so I think this should be fixed. Please retest to confirm. commit d1064669f416ad2e354218852535250717bc34dc Author: Andrew Eikum <aeikum(a)codeweavers.com> Date: Wed Nov 30 13:13:47 2016 -0600 user32: Support IDC_PEN. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=32682 --- Comment #7 from Andrew Eikum <aeikum(a)codeweavers.com> --- (In reply to Andrew Eikum from comment #6)
IDC_PEN is not available in user32
Whoops, I meant "now" available :) -- 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.
https://bugs.winehq.org/show_bug.cgi?id=32682 Andrew Eikum <aeikum(a)codeweavers.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Resolution|--- |FIXED Fixed by SHA1| |d1064669f416ad2e35421885253 | |5250717bc34dc --- Comment #8 from Andrew Eikum <aeikum(a)codeweavers.com> --- (In reply to Joel Snape from comment #3)
Created attachment 50609 [details] Simple program displaying the issue
This program crashes without that commit, and works with that commit, so I'm marking this resolved. Please re-open if you still have this problem. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=32682 Alexandre Julliard <julliard(a)winehq.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED --- Comment #9 from Alexandre Julliard <julliard(a)winehq.org> --- Closing bugs fixed in 2.0-rc4. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=32682 Michael Stefaniuc <mstefani(a)redhat.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |1.8.x -- 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.
https://bugs.winehq.org/show_bug.cgi?id=32682 Michael Stefaniuc <mstefani(a)redhat.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|1.8.x |--- --- Comment #10 from Michael Stefaniuc <mstefani(a)redhat.com> --- Removing 1.8.x milestone from bugs included in 1.8.7. -- 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.
https://bugs.winehq.org/show_bug.cgi?id=32682 Anastasius Focht <focht(a)gmx.net> changed: What |Removed |Added ---------------------------------------------------------------------------- URL| |https://web.archive.org/web | |/20150511205454/http://jesk | |ola.net/buzz/beta/files/set | |up/BuzzSetup1499.exe -- 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.
participants (2)
-
wine-bugs@winehq.org -
WineHQ Bugzilla