Opened 9 years ago

Closed 9 years ago

#1344 closed Bug (fixed)

Cut/Paste buttons have no failure message

Reported by: fredck Owned by: fredck
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 martinkou 9 years ago.
1344_2.patch (3.4 KB) - added by martinkou 9 years ago.
Improved the previous patch such that only one permission warning is displayed in IE7.
1344_3.patch (4.3 KB) - added by fredck 9 years ago.

Download all attachments as: .zip

Change History (11)

comment:1 Changed 9 years ago by martinkou

  • Owner set to martinkou
  • Status changed from new to assigned

Changed 9 years ago by martinkou

comment:2 Changed 9 years ago by martinkou

  • Keywords Review? added

comment:3 Changed 9 years ago by martinkou

  • 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 9 years ago by martinkou

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

comment:4 Changed 9 years ago by martinkou

  • 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 9 years ago by fredck

  • Keywords Review- added; Review? removed

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

Changed 9 years ago by fredck

comment:6 Changed 9 years ago by fredck

  • Keywords Review? added; Review- removed
  • Owner changed from martinkou to fredck
  • Status changed from assigned to new

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

comment:7 Changed 9 years ago by martinkou

  • Keywords Review+ added; Review? removed

comment:8 Changed 9 years ago by fredck

  • Resolution set to fixed
  • Status changed from new to closed

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

Note: See TracTickets for help on using tickets.
© 2003 – 2016 CKSource – Frederico Knabben. All rights reserved. | Terms of use | Privacy policy