http://bugs.winehq.org/show_bug.cgi?id=14530
Summary: Easy68k M68000 emulator: Copy & Paste does not work! Product: Wine Version: 1.1.1 Platform: PC OS/Version: Linux Status: UNCONFIRMED Severity: normal Priority: P2 Component: -unknown AssignedTo: wine-bugs@winehq.org ReportedBy: nestorac@gmail.com
The application in this webpage: http://www.easy68k.com which is a Motorola 68k microprocessor emulator works flawlessly on Wine except for Copy & Paste, which does not work.
Please, try it with las version, 1.1.1. Can anyone confirm this?? I have Ubuntu Hardy 8.04.1 and wine-1.1.1 There's also some strange behaviour: sometimes, when writing code, pressing Tab key makes the application not only to put a tabulator, but to start a new line. I think it would be really good to have it working on Linux, since it can be used at the University.
This should be very easy to test. I have also sent a message to the developer forum of that application, but I think it has more to do with Wine than with the application itself.
Thanks!!
http://bugs.winehq.org/show_bug.cgi?id=14530
Lei Zhang thestig@google.com changed:
What |Removed |Added ---------------------------------------------------------------------------- URL| |http://www.easy68k.com/ Keywords| |download, source
http://bugs.winehq.org/show_bug.cgi?id=14530
--- Comment #1 from Néstor nestorac@gmail.com 2008-07-19 06:21:09 --- I have also another problem: When I try to do an emulation, I have run into the following: Two (or more) consecutive lines of code appear in the same line on the emulator window, so just one of them gets executed, the others are ignored. I have to reopen the file for things to work again properly. This happens even with the latest beta version of the software.
http://bugs.winehq.org/show_bug.cgi?id=14530
--- Comment #2 from Lei Zhang thestig@google.com 2008-07-21 14:04:09 --- One problem per report please. Can you open a new bug for that?
http://bugs.winehq.org/show_bug.cgi?id=14530
Damjan Jovanovic damjan.jov@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |damjan.jov@gmail.com Status|UNCONFIRMED |NEW Component|-unknown |richedit Ever Confirmed|0 |1
--- Comment #3 from Damjan Jovanovic damjan.jov@gmail.com 2008-07-22 14:52:36 --- This gets printed out when you try paste (pasting fails):
fixme:richedit:RichEditWndProc_common EM_PASTESPECIAL: stub
Confirming and changing component to richedit.
http://bugs.winehq.org/show_bug.cgi?id=14530
Arren Lex arrenlex@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |arrenlex@gmail.com
--- Comment #4 from Arren Lex arrenlex@gmail.com 2008-10-01 01:55:27 --- I was about to report the same bug for this same program. I can confirm it with wine 1.1.5.
As a workaround, use native riched20.dll. Works flawlessly.
cd to the application folder and launch it like this: WINEDLLOVERRIDES="riched20=n" wine EDIT68K.exe
Try and paste something. If it still doesn't work, download riched20.dll and riched32.dll and put them into ~/.wine/drive_c/windows/system32, replacing the ones that are there.
Once you got it working, make the change permanent by running "winecfg" and adding a riched20 native override to EASy68k.
I used this program all year with no issues, probably for the same course as you're trying to.
Cheers. :)
http://bugs.winehq.org/show_bug.cgi?id=14530
--- Comment #5 from Austin English austinenglish@gmail.com 2008-10-01 08:33:39 --- A +richedit log would be helpful
http://bugs.winehq.org/show_bug.cgi?id=14530
--- Comment #6 from Néstor nestorac@gmail.com 2008-10-01 14:51:58 --- Here it is the log:
nestor@nestux:~/.wine/drive_c/EASy68K$ wine EDIT68K.exe fixme:htmlhelp:HtmlHelpW HH case HH_INITIALIZE not handled. fixme:richedit:RichEditWndProc_common EM_PASTESPECIAL: stub ... (the line above 10 more times at least) ... fixme:htmlhelp:HtmlHelpW HH case HH_CLOSE_ALL not handled. fixme:htmlhelp:HtmlHelpW HH case HH_UNINITIALIZE not handled.
The magic line is:
fixme:richedit:RichEditWndProc_common EM_PASTESPECIAL: stub
Any ideas!!?? thanks!
http://bugs.winehq.org/show_bug.cgi?id=14530
--- Comment #7 from Austin English austinenglish@gmail.com 2008-10-01 15:11:33 --- (In reply to comment #6)
Here it is the log:
nestor@nestux:~/.wine/drive_c/EASy68K$ wine EDIT68K.exe fixme:htmlhelp:HtmlHelpW HH case HH_INITIALIZE not handled. fixme:richedit:RichEditWndProc_common EM_PASTESPECIAL: stub ... (the line above 10 more times at least) ... fixme:htmlhelp:HtmlHelpW HH case HH_CLOSE_ALL not handled. fixme:htmlhelp:HtmlHelpW HH case HH_UNINITIALIZE not handled.
The magic line is:
fixme:richedit:RichEditWndProc_common EM_PASTESPECIAL: stub
Any ideas!!?? thanks!
No, run with:
nestor@nestux:~/.wine/drive_c/EASy68K$ WINEDEBUG=+richedit wine EDIT68K.exe &> /tmp/log.txt
Then attach that here.
http://bugs.winehq.org/show_bug.cgi?id=14530
--- Comment #8 from Néstor nestorac@gmail.com 2008-10-01 16:30:17 --- Created an attachment (id=16405) --> (http://bugs.winehq.org/attachment.cgi?id=16405) WINEDEBUG=+richedit wine EDIT68K.exe &> log.txt
Ok!! sorry. Here's the logfile. It's compressed, because it's very long. I have tried to copy&paste and cut&paste some info in the application, with no positive results. Wine version 1.1.5, on Ubuntu Hardy.
http://bugs.winehq.org/show_bug.cgi?id=14530
--- Comment #9 from Néstor nestorac@gmail.com 2008-11-16 11:53:08 --- Hello! Please, look at Easy68K app here: http://www.easy68k.com/ It does not work with Copy Paste. I think that the important line in this, which happens always when I try to paste some text:
fixme:richedit:RichEditWndProc_common EM_PASTESPECIAL: stub
It seems like that function is not properly implemented.
http://bugs.winehq.org/show_bug.cgi?id=14530
--- Comment #10 from Arren Lex arrenlex@gmail.com 2008-12-23 23:18:41 --- Just noting this bug still exists in wine 1.1.11.
http://bugs.winehq.org/show_bug.cgi?id=14530
--- Comment #11 from Arren Lex arrenlex@gmail.com 2009-01-02 17:30:05 --- Created an attachment (id=18413) --> (http://bugs.winehq.org/attachment.cgi?id=18413) Patch which implements EM_PASTESPECIAL in richedit
This is a preliminary implementation of EM_PASTESPECIAL which fixes this bug for me.
Note that because there is apparently no ANSI clipboard, garbage is pasted on requests for CF_TEXT. For this reason, my patch treats requests for plain text format (CF_TEXT) as a request for CF_UNICODETEXT. This patch prints a fixme when it does this, so when the ansi clipboard is implemented, the if block surrounding that can simply be removed.
Give it a try. Criticism very welcome; this is my first patch. :)
http://bugs.winehq.org/show_bug.cgi?id=14530
Austin English austinenglish@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Keywords| |patch
http://bugs.winehq.org/show_bug.cgi?id=14530
Arren Lex arrenlex@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #18413|0 |1 is obsolete| |
--- Comment #12 from Arren Lex arrenlex@gmail.com 2009-01-03 02:02:47 --- Created an attachment (id=18420) --> (http://bugs.winehq.org/attachment.cgi?id=18420) Same as above with a warning about lvalue handling.
Whoops, I totally forgot about the lvalue. This version prints a fixme if one was specified, as I have no implementation of it. That doesn't happen in EASy68k though.
http://bugs.winehq.org/show_bug.cgi?id=14530
Arren Lex arrenlex@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Attachment #18420|0 |1 is obsolete| |
--- Comment #13 from Arren Lex arrenlex@gmail.com 2009-01-07 02:51:01 --- Created an attachment (id=18553) --> (http://bugs.winehq.org/attachment.cgi?id=18553) Much smaller patch which does the same thing using already-exisiting functionality.
http://bugs.winehq.org/show_bug.cgi?id=14530
Ole Rasmussen olerass@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |olerass@gmail.com
--- Comment #14 from Ole Rasmussen olerass@gmail.com 2010-07-06 05:39:34 --- Still present in 1.2-rc6. Furthermore I can confirm the patch in comment #13 works - Arren did you submit it?
http://bugs.winehq.org/show_bug.cgi?id=14530
--- Comment #15 from Arren Lex arrenlex@gmail.com 2010-07-06 10:05:32 --- Hi, Ole;
I'm surprised this problem hasn't been fixed yet. I think they did a lot of work on the paste code at one point. I'm even more surprised the patch is still relevant.
Anyway, after I wrote my patch, I made a test for it. When I ran it on Windows, I found that EM_PASTESPECIAL with CF_TEXT doesn't actually do the same thing as WM_PASTE, but I thought they did so my patch just calls one from the other.
Therefore the patch is more like a quick hack to get it to work, and not suitable for inclusion in Wine.
Sorry!
http://bugs.winehq.org/show_bug.cgi?id=14530
Artem S. Tashkinov t.artem@mailcity.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Blocks| |24813
http://bugs.winehq.org/show_bug.cgi?id=14530
Dmitry Timoshkov dmitry@codeweavers.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |t.artem@mailcity.com
--- Comment #16 from Dmitry Timoshkov dmitry@codeweavers.com 2010-10-20 05:44:02 CDT --- *** Bug 24813 has been marked as a duplicate of this bug. ***
http://bugs.winehq.org/show_bug.cgi?id=14530
--- Comment #17 from Artem S. Tashkinov t.artem@mailcity.com 2010-10-20 07:50:32 CDT --- (In reply to comment #16)
*** Bug 24813 has been marked as a duplicate of this bug. ***
Can you change this bug title to something more generic since it already affects two applications?
Something like "Paste from clipboard doesn't work for some applications due to RichEdit missing functionality"?
http://bugs.winehq.org/show_bug.cgi?id=14530
Juan Lang juan_lang@yahoo.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Summary|Easy68k M68000 emulator: |EM_PASTESPECIAL |Copy & Paste does not work! |unimplemented in richedit
http://bugs.winehq.org/show_bug.cgi?id=14530
--- Comment #18 from Artem S. Tashkinov t.artem@mailcity.com 2010-10-27 12:06:36 CDT --- Juan Lang, thank you!
http://bugs.winehq.org/show_bug.cgi?id=14530
--- Comment #19 from Artem S. Tashkinov t.artem@mailcity.com 2011-05-04 05:22:58 CDT --- Created an attachment (id=34473) --> (http://bugs.winehq.org/attachment.cgi?id=34473) Miranda chat window with native riched20.dll
With native riched20.dll a Miranda dialog window looks totally broken.
http://bugs.winehq.org/show_bug.cgi?id=14530
--- Comment #20 from Artem S. Tashkinov t.artem@mailcity.com 2011-05-12 04:52:51 CDT --- (In reply to comment #19)
Created an attachment (id=34473)
--> (http://bugs.winehq.org/attachment.cgi?id=34473) [details]
Miranda chat window with native riched20.dll
With native riched20.dll a Miranda dialog window looks totally broken.
And I cannot paste UTF-8 text into Miranda's chat window, as it gets totally broken (or I guess it's being translated into RTF codes):
E.g. Russian "Привет" turns into "\u041f\u0440\u0438\u0432\u0435\u0442"
However if I copy Russian text from Miranda window and copy it back, it gets pasted normally.
http://bugs.winehq.org/show_bug.cgi?id=14530
nvr4d@rambler.ru changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |nvr4d@rambler.ru
--- Comment #21 from nvr4d@rambler.ru 2012-09-12 04:55:12 CDT --- The problem is still present (Miranda IM v0.10.0.2, wine 1.5.12) - 'copy' functions fine, but I can't paste anything to the chat window.
http://bugs.winehq.org/show_bug.cgi?id=14530
--- Comment #22 from Artem S. Tashkinov t.artem@mailcity.com 2012-09-12 05:30:29 CDT --- (In reply to comment #21)
The problem is still present (Miranda IM v0.10.0.2, wine 1.5.12) - 'copy' functions fine, but I can't paste anything to the chat window.
Surely, that's because no one has ventured to implement this capability and from the number of applications linked to this bug report it becomes clear that this thing is not on Wine developers radar (however something tells me that it's not that difficult to implement for plain text).
http://bugs.winehq.org/show_bug.cgi?id=14530
msdobrescu@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |msdobrescu@gmail.com
--- Comment #23 from msdobrescu@gmail.com 2012-11-07 12:31:07 CST --- Is this related to the text color too? In my chat windows, the text has the same color as the background.
http://bugs.winehq.org/show_bug.cgi?id=14530
lostcoderhaley@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |lostcoderhaley@gmail.com
--- Comment #24 from lostcoderhaley@gmail.com --- Created attachment 48672 --> http://bugs.winehq.org/attachment.cgi?id=48672 Add limited support for EM_PASTESPCIAL
This bug also applies to pasting recipes into the capture section of Living Cookbook. My patch treats CF_TEXT the same as CF_UNICODE when pasting into the WCHAR version of richedit. This is based upon observed behavior of the app in windows XP.
https://bugs.winehq.org/show_bug.cgi?id=14530
Jactry Zeng jactry92@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |jactry92@gmail.com
https://bugs.winehq.org/show_bug.cgi?id=14530
super_man@post.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |happyjactry@gmail.com, | |super_man@post.com
--- Comment #25 from super_man@post.com --- patching file dlls/riched20/editor.c Hunk #1 succeeded at 2099 (offset 2 lines). Hunk #2 succeeded at 3300 (offset 123 lines). Hunk #3 succeeded at 3312 (offset 122 lines).
the patch applies against 1.7.53. Can someone review it? If it's ok send it to wine-devel?
https://bugs.winehq.org/show_bug.cgi?id=14530
Diakon diakon2@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- CC| |diakon2@gmail.com
--- Comment #26 from Diakon diakon2@gmail.com --- bug still exists with wine 1.6.2, richedXX.DLLs [\windows\system] clipboard Paste operation fails overall. affected application: LB Booster (LBB.exe)
https://bugs.winehq.org/show_bug.cgi?id=14530
--- Comment #27 from Nikolay Sivov bunglehead@gmail.com --- A patch for EM_PASTESPECIAL got in, see http://source.winehq.org/git/wine.git/?a=commit;h=9bec53fbad3b773db991dea909.... Please test.
https://bugs.winehq.org/show_bug.cgi?id=14530
Vijay Kamuju infyquest@gmail.com changed:
What |Removed |Added ---------------------------------------------------------------------------- Fixed by SHA1| |9bec53fbad3b773db991dea9091 | |fb0390592020d Resolution|--- |FIXED Status|NEW |RESOLVED CC| |infyquest@gmail.com
--- Comment #28 from Vijay Kamuju infyquest@gmail.com --- probably fixed as the fix is committed
https://bugs.winehq.org/show_bug.cgi?id=14530
Alexandre Julliard julliard@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Status|RESOLVED |CLOSED
--- Comment #29 from Alexandre Julliard julliard@winehq.org --- Closing bugs fixed in 2.19.
https://bugs.winehq.org/show_bug.cgi?id=14530
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |2.0.x
https://bugs.winehq.org/show_bug.cgi?id=14530
Michael Stefaniuc mstefani@winehq.org changed:
What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|2.0.x |---
--- Comment #30 from Michael Stefaniuc mstefani@winehq.org --- Removing the 2.0.x milestone from bugs included in 2.0.4.