http://bugs.winehq.org/show_bug.cgi?id=31762
Bug #: 31762 Summary: TextPad 6 works only on the first run (can't save preferences without native mlang.dll) Product: Wine Version: 1.5.13 Platform: x86 URL: http://www.textpad.com/download/index.html OS/Version: Linux Status: NEW Keywords: download Severity: minor Priority: P2 Component: mlang AssignedTo: wine-bugs@winehq.org ReportedBy: gyebro69@gmail.com Classification: Unclassified
Created attachment 41785 --> http://bugs.winehq.org/attachment.cgi?id=41785 +mlang log
After installation TextPad v6 starts without errors. If you exit the application and try to start it again you'll receive an error message: Error accessing 'C:\users\user_name\Application Data\Helios\TextPad\6\ConfigState.xml' Afterwards the application quits.
ConfigState.xml does exist in the specified directory, but it is empty, containing only the xml header. If you delete the file the application will start (but it will produce the same error message on the next launch).
ConfigState.xml stores application settings, and it is written on disk when you exit the application. Terminal output isn't too long:
fixme:heap:HeapSetInformation (nil) 1 (nil) 0 fixme:richedit:ME_HandleMessage EM_SETMARGINS: stub fixme:imm:ImmReleaseContext (0x100f6, 0x1a2a20): stub err:listview:LISTVIEW_WindowProc unknown msg 0496 wp=00000000 lp=0032f630 fixme:heap:RtlCompactHeap (0x91d000, 0x0) stub fixme:mlang:fnIMultiLanguage2_CreateConvertCharset
Workaround: 'winetricks ie6', which installs native mlang.dll With a native mlang.dll the application starts fine with an empty ConfigState.xml, and it saves preferences in the file correctly when you exit Textpad 6.
TextPad 6's setup.exe (after unzipping) md5sum: 2593b2a29123af624452cb8e2b3bd25b
http://bugs.winehq.org/show_bug.cgi?id=31762
--- Comment #1 from Nikolay Sivov bunglehead@gmail.com 2012-09-23 14:09:15 CDT --- Created attachment 41797 --> http://bugs.winehq.org/attachment.cgi?id=41797 patch
Please try this one and attach another log.
http://bugs.winehq.org/show_bug.cgi?id=31762
--- Comment #2 from GyB gyebro69@gmail.com 2012-09-23 14:23:20 CDT --- Created attachment 41798 --> http://bugs.winehq.org/attachment.cgi?id=41798 +mlang log (patched Wine)
http://bugs.winehq.org/show_bug.cgi?id=31762
--- Comment #3 from Nikolay Sivov bunglehead@gmail.com 2012-09-23 15:22:54 CDT --- Created attachment 41799 --> http://bugs.winehq.org/attachment.cgi?id=41799 patch2
Ok, now please apply this one on top of first patch and retest.
http://bugs.winehq.org/show_bug.cgi?id=31762
--- Comment #4 from GyB gyebro69@gmail.com 2012-09-23 21:47:18 CDT --- Created attachment 41803 --> http://bugs.winehq.org/attachment.cgi?id=41803 +mlang log (both patches applied)
The problem persists when both patches are applied.
http://bugs.winehq.org/show_bug.cgi?id=31762
--- Comment #5 from Nikolay Sivov bunglehead@gmail.com 2012-09-24 00:33:37 CDT --- Ok, thanks for testing, I'll send what I got so far.
http://bugs.winehq.org/show_bug.cgi?id=31762
--- Comment #6 from Nikolay Sivov bunglehead@gmail.com 2012-09-25 00:18:41 CDT --- First set is in
f5edf34c6cae2feb4626298182f24e1729b9fb24 ed42bf08dbd5077adf0db2ea6468f7f27cd9c418 031f3ca16714b78e7586efdd92890f8f5cc2bf2d
http://bugs.winehq.org/show_bug.cgi?id=31762
--- Comment #7 from Nikolay Sivov bunglehead@gmail.com 2012-09-25 04:41:33 CDT --- This one should fix it
http://www.winehq.org/pipermail/wine-patches/2012-September/118158.html
http://bugs.winehq.org/show_bug.cgi?id=31762
--- Comment #8 from GyB gyebro69@gmail.com 2012-09-25 21:18:28 CDT --- In current git (wine-1.5.13-346-g0445393) an empty ConfigState.xml doesn't cause the error message, so the application can be started. However, settings are still not saved in ConfigState.xml on exit.
http://bugs.winehq.org/show_bug.cgi?id=31762
--- Comment #9 from Nikolay Sivov bunglehead@gmail.com 2012-09-26 08:00:00 CDT --- So it needs conversion in both directions, here is a patch for that:
http://www.winehq.org/pipermail/wine-patches/2012-September/118245.html
http://bugs.winehq.org/show_bug.cgi?id=31762
GyB gyebro69@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |97e30dfe70087e2e74226dc8520 | |cee311c0dc7dd Status|NEW |RESOLVED Resolution| |FIXED
--- Comment #10 from GyB gyebro69@gmail.com 2012-09-26 22:10:11 CDT --- Fixed in wine-1.5.13-402-gcd9451c
http://bugs.winehq.org/show_bug.cgi?id=31762
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #11 from Alexandre Julliard julliard@winehq.org 2012-09-28 13:43:17 CDT --- Closing bugs fixed in 1.5.14.