webroottech / phpdesktop

Automatically exported from code.google.com/p/phpdesktop
0 stars 0 forks source link

MSIE: Cannot Copy and Paste html content with ctrl + c #30

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Turn on msie context menu in json.settings
2. Select some text on the page/application window
3. Hit ctrl + c or right click and select Copy
4. Open notepad and Paste 

What is the expected output? What do you see instead?

It should past the contents of what I copied from the app screen.  Instead it 
pastes the last thing I have copied to clipboard from another program.

What version of the product are you using? On what operating system?

v10 on Windows 7 with IE 9.

Please provide any additional information below.

Original issue reported on code.google.com by jus...@colabdigital.com on 23 May 2013 at 2:42

GoogleCodeExporter commented 9 years ago
1. should be settings.json

Original comment by jus...@colabdigital.com on 23 May 2013 at 2:44

GoogleCodeExporter commented 9 years ago
Paste works fine?

Seems like we will have to copy the data to clipboard for the ctrl+c
shortcut by ourselves. I've googled and found this solution:

https://groups.google.com/d/msg/microsoft.public.inetexplorer.ie4.activex_contrl
/n9M4bElZjTo/2ggWcV8-HBYJ

Or maybe just document.execCommand("copy") will do fine.

Original comment by czarek.t...@gmail.com on 23 May 2013 at 2:58

GoogleCodeExporter commented 9 years ago
why czarek.tomczak don't make copy/paste in ini file. "copy" is too important 
and too essential.
Consider it please.
Many thanks.

Original comment by CongJian...@gmail.com on 30 Sep 2013 at 10:01

GoogleCodeExporter commented 9 years ago

Original comment by czarek.t...@gmail.com on 19 Jan 2014 at 7:25

GoogleCodeExporter commented 9 years ago
PHP Desktop with Chrome embedded was just released, see the main project page. 
Copying/pasting, ctrl+c, ctrl+x, all of these work fine in Chrome.

Original comment by czarek.t...@gmail.com on 20 Jan 2014 at 12:28

GoogleCodeExporter commented 9 years ago
MSIE engine has now low priority, as phpdesktop-chrome was released.

Original comment by czarek.t...@gmail.com on 21 Jan 2014 at 12:24

GoogleCodeExporter commented 9 years ago
It seems that it is both Cut and Copy operations that do not work. The solution 
that I suggested in comment #2 does not fix the problem completely, as it is 
not only the keyboard shortcuts that do not work. When selection Cut/Copy 
options from the mouse context menu, it also doesn't work.

Original comment by czarek.t...@gmail.com on 22 Jan 2014 at 1:04

GoogleCodeExporter commented 9 years ago
When calling Paste or Delete operations from mouse context menu, they work 
okay, also no messages appear in the console.

But when Copy or Cut is called then an "unknown interface" message appears in 
the console:

  - 14:08:59.206 DEBUG: OleClientSite::QueryInterface(): unknown interface, riid = {c90db44a-1902-451e-bdf0-5c89660b528c}

Googling this riid gives no results. Maybe searching through WIN SDK header 
files will help.

Original comment by czarek.t...@gmail.com on 22 Jan 2014 at 1:11

GoogleCodeExporter commented 9 years ago
Fixed issues with clipboard commands (Cut, Copy) in revision 16687f97a2e3.

Original comment by czarek.t...@gmail.com on 22 Jan 2014 at 1:59

GoogleCodeExporter commented 9 years ago
Version 1.11 of PHP Desktop MSIE released.

Original comment by czarek.t...@gmail.com on 22 Jan 2014 at 9:13