Opened 16 years ago

Closed 16 years ago

#1344 closed Bug (fixed)

Cut/Paste buttons have no failure message

Reported by: Frederico Caldeira Knabben Owned by: Frederico Caldeira Knabben
Priority: Normal Milestone: FCKeditor 2.6
Component: General Version:
Keywords: Confirmed IE Review+ Cc:

Description

In IE, when customizing the security settings, under "Scripting", you will find "Allow paste operations via script". By default it is set to "Prompt". If instead it is set to "Disable", the cut and copy buttons will have no effect.

As in FF, a message should be displayed, indicating that the operation failed because of the security settings, and that the keyboard must be used for that instead.

Attachments (3)

1344.patch (3.4 KB) - added by Martin Kou 16 years ago.
1344_2.patch (3.4 KB) - added by Martin Kou 16 years ago.
Improved the previous patch such that only one permission warning is displayed in IE7.
1344_3.patch (4.3 KB) - added by Frederico Caldeira Knabben 16 years ago.

Download all attachments as: .zip

Change History (11)

comment:1 Changed 16 years ago by Martin Kou

Owner: set to Martin Kou
Status: newassigned

Changed 16 years ago by Martin Kou

Attachment: 1344.patch added

comment:2 Changed 16 years ago by Martin Kou

Keywords: Review? added

comment:3 Changed 16 years ago by Martin Kou

Keywords: Review? removed

Retracted the review request since the patch is making cut/copy/paste operations give out two permission warnings in IE6 and IE7.

Changed 16 years ago by Martin Kou

Attachment: 1344_2.patch added

Improved the previous patch such that only one permission warning is displayed in IE7.

comment:4 Changed 16 years ago by Martin Kou

Keywords: Review? added

It seems there's no way to avoid getting two permission warnings (one for the permission check, and one for the actual action) in IE6 as long as the user sets pasting permissions to "Prompt". Fortunately the default pasting permission in IE6 is set to "Allow" so very few users would actually encounter that.

comment:5 Changed 16 years ago by Frederico Caldeira Knabben

Keywords: Review- added; Review? removed

Unfortunately it seems that this fix have no effect with the latest IE updates.

Changed 16 years ago by Frederico Caldeira Knabben

Attachment: 1344_3.patch added

comment:6 Changed 16 years ago by Frederico Caldeira Knabben

Keywords: Review? added; Review- removed
Owner: changed from Martin Kou to Frederico Caldeira Knabben
Status: assignednew

The proposed patch uses the same event hack we have used for the pasting detection for the cut and copy operations.

comment:7 Changed 16 years ago by Martin Kou

Keywords: Review+ added; Review? removed

comment:8 Changed 16 years ago by Frederico Caldeira Knabben

Resolution: fixed
Status: newclosed

Fixed with [1617]. Click here for more info about our SVN system.

Note: See TracTickets for help on using tickets.
© 2003 – 2022, CKSource sp. z o.o. sp.k. All rights reserved. | Terms of use | Privacy policy