Project

General

Profile

Actions

Bug #21414

closed

Paste is erratic in Opera 10 when server-based cleaning is enabled

Added by Steffen Gebert about 15 years ago. Updated about 6 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2009-11-01
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Paste functionality seems to have some issues:
If I press Cmd+V (Ctrl+V on Win), the text is inserted a few times, but after that, it's inserted and immediately removed.

I've created a little screencast: http://st-g.de/tmp/rte-opera10-macos.mov
I first copy "Hello world" an then insert it several times. When a new paragraph is started, I pressed Enter.

I could reproduce this in Opera 10 on Windows7.

RTE in Firefox sleeps ~0.5sec after inserting some text - is this intended and may this be a solution for opera, too?
At least I can't reproduce the bug on FF, as inserting is so slow.
(issue imported from #M12421)


Files

Actions #1

Updated by Chris topher about 15 years ago

Do you have cleaning Word tags enabled?
After you paste some text this feature sends this text to the server and back which needs some time. That would explain why you see some parts being "deleted" again...
As far as I remember there was such an issue with this function...

Actions #2

Updated by Steffen Gebert about 15 years ago

can you give me a hint, how the configuration option is called?

Actions #3

Updated by Stanislas Rolland about 15 years ago

You may disable server-based cleaning with the following setting:

RTE.default.enableWordClean.HTMLparser >

The cleaning is normally performed by synchronous ajax post to the server. For some reason that I need to investigate, Opera seems to process the request asynchronously.

Actions #4

Updated by Stanislas Rolland about 15 years ago

Opera does not, like all other browsers, inhibit input while the synchronous request is being processed.

Actions #5

Updated by Stanislas Rolland about 15 years ago

The attached patch inhibits key events while a synchronous request is being processed.

Committed to SVN TYPO3core trunk (revision 6419) and branch TYPO3_4-2 (revision 6420).

Actions #6

Updated by Stanislas Rolland over 14 years ago

Is this issue really fixed?

Suddenly I realize that Opera does not support paste events. Therefore there cannot be any cleaning on paste.

Or is it that Opera supports paste events on Mac OS X?

I feel like dreaming...

Actions #7

Updated by Stanislas Rolland over 14 years ago

Sorry, this should be handled through the hot key event, since the paste event is not triggered by Opera. This is broken in current trunk and possibly in 4.3. I will check. But I should go to sleep first...

Actions #8

Updated by Benni Mack about 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF