http://bugs.winehq.org/show_bug.cgi?id=18759
Summary: RoughDraft 3's Word Count feature always says zero Product: Wine Version: 1.1.22 Platform: PC URL: http://www.salsbury.f2s.com/ OS/Version: Linux Status: NEW Keywords: download Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: dank@kegel.com
A user reported in http://jainakay.livejournal.com/41083.html that Rough Draft's word count feature fails, always reporting that the document has zero words. Sure enough, I tried Rough Draft 3, and he's right.
http://bugs.winehq.org/show_bug.cgi?id=18759
Dan Kegel dank@kegel.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Component|-unknown |richedit
--- Comment #1 from Dan Kegel dank@kegel.com 2009-06-03 06:27:06 --- winetricks riched20 works around it, setting component to richedit.
http://bugs.winehq.org/show_bug.cgi?id=18759
--- Comment #2 from Dan Kegel dank@kegel.com 2009-06-03 06:45:52 --- Looks like he uses EM_STREAMOUT, and our rtf just doesn't match what he expects?
http://bugs.winehq.org/show_bug.cgi?id=18759
--- Comment #3 from Dan Kegel dank@kegel.com 2009-06-03 11:22:02 --- Author contacted, will try to help us out next week.
http://bugs.winehq.org/show_bug.cgi?id=18759
Ken Sharp kennybobs@o2.co.uk changed:
What |Removed |Added ---------------------------------------------------------------------------- Severity|normal |minor
http://bugs.winehq.org/show_bug.cgi?id=18759
Dylan Smith dylan.ah.smith@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Priority|P2 |P5 CC| |dylan.ah.smith@gmail.com
--- Comment #4 from Dylan Smith dylan.ah.smith@gmail.com 2009-07-18 11:32:38 --- (In reply to comment #2)
Looks like he uses EM_STREAMOUT, and our rtf just doesn't match what he expects?
You seem to be right.
The program seems to expect the text not to be in a group outside of the main group for the rich text. For instance, the following RTF documents are from saving the text "one two three" in wordpad using native and builtin riched20.dll respectively:
{\rtf1\ansi\ansicpg1252\deff0\deflang4105{\fonttbl{\f0\fnil\fcharset0 Times New Roman;}} \viewkind4\uc1\pard\f0\fs20 one two three\par }
{\rtf1\ansi\ansicpg1252\uc1\deff0\deflang4105\deflangfe4105{\fonttbl{\f0\fcharset0 Times New Roman;}} {*\generator Wine Riched20 2.0.????;}\pard\sl-240\slmult1\li0\fi0\ri0\sa0\sb0\s-1\cfpat0\cbpat0{\fs18\ul0 one two three}}
Notice that builtin richedit encapsulates the text one two three in the seperate group {\fs18\ul0 one two three} (which is completely valid RTF). The program isn't smart enough to deal with this.
This is kind of a lame bug, since the program could easily break, the way it is written, if native riched20 changes in a reasonable way. Thus I'm reducing the priority on this one, since it is mostly the applications fault, however still a different between Wine and Windows.
http://bugs.winehq.org/show_bug.cgi?id=18759
Bruno Jesus 00cpxxx@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |00cpxxx@gmail.com
--- Comment #5 from Bruno Jesus 00cpxxx@gmail.com 2011-10-07 18:17:17 CDT --- Still present in 1.3.29.
http://bugs.winehq.org/show_bug.cgi?id=18759
Rafal Stanilewicz washuu@eastnews.com.pl changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |washuu@eastnews.com.pl
--- Comment #6 from Rafal Stanilewicz washuu@eastnews.com.pl 2012-01-02 07:51:42 CST --- Still present in 1.3.36, shows 0 word count.
Console shows a lot of
fixme:richedit:ME_HandleMessage EM_FINDWORDBREAK: stub
messages.
https://bugs.winehq.org/show_bug.cgi?id=18759
--- Comment #7 from Austin English austinenglish@gmail.com --- (In reply to Rafal Stanilewicz from comment #6)
Still present in 1.3.36, shows 0 word count.
Console shows a lot of
fixme:richedit:ME_HandleMessage EM_FINDWORDBREAK: stub
messages.
Still present.
[austin@localhost ~]$ wine --version wine-1.7.15-32-gebd5f96 [austin@localhost ~]$ sha1sum RDraft30.exe 4071949b7497fbd136a142a28e4551501c8e8ef1 RDraft30.exe [austin@localhost ~]$ du -h RDraft30.exe 1.3M RDraft30.exe
https://bugs.winehq.org/show_bug.cgi?id=18759
roger@mailinator.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |roger@mailinator.com
--- Comment #8 from roger@mailinator.com --- fixme:richedit:ME_HandleMessage EM_FINDWORDBREAK: stub fixme:richedit:ME_HandleMessage EM_SETCHARFORMAT: word selection not supported
the same
wine 1.7.30
https://bugs.winehq.org/show_bug.cgi?id=18759
joaopa jeremielapuree@yahoo.fr changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jeremielapuree@yahoo.fr
--- Comment #9 from joaopa jeremielapuree@yahoo.fr --- Direct link is here http://www.salsbury.f2s.com/rd_download.htm You can see that the bug is FIXED. Can an administrator close this bug as FIXED?
https://bugs.winehq.org/show_bug.cgi?id=18759
Louis Lenders xerox.xerox2000x@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |FIXED CC| |xerox.xerox2000x@gmail.com Status|NEW |RESOLVED
--- Comment #10 from Louis Lenders xerox.xerox2000x@gmail.com --- (In reply to joaopa from comment #9)
Direct link is here http://www.salsbury.f2s.com/rd_download.htm You can see that the bug is FIXED. Can an administrator close this bug as FIXED?
Yes, it works. Thanks for testing
sha1sum ~/Desktop/RDraft30.exe 4071949b7497fbd136a142a28e4551501c8e8ef1 /home/louis/Desktop/RDraft30.exe
https://bugs.winehq.org/show_bug.cgi?id=18759
Anastasius Focht focht@gmx.net changed:
What |Removed |Added ---------------------------------------------------------------------------- URL|http://www.salsbury.f2s.com |http://www.salsbury.f2s.com |/ |/roughdraft/RDraft30.exe CC| |focht@gmx.net Fixed by SHA1| |452c9a71249c461bb246164fb9f | |c4f386b6a9eb8
--- Comment #11 from Anastasius Focht focht@gmx.net --- Hello folks,
this was fixed by commit https://source.winehq.org/git/wine.git/commitdiff/452c9a71249c461bb246164fb9... ("riched20: Incrementally update the character format.") (reverse bisected)
Thanks Huw
--- snip --- $ git tag --contains 452c9a71249c461bb246164fb9fc4f386b6a9eb8 wine-1.9.21 wine-1.9.22 wine-1.9.23 wine-1.9.24 wine-2.0 ... --- snip ---
$ du -sh RDraft30.exe 1.3M RDraft30.exe
$ sha1sum RDraft30.exe 4071949b7497fbd136a142a28e4551501c8e8ef1 RDraft30.exe
Regards
https://bugs.winehq.org/show_bug.cgi?id=18759
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #12 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 3.21.