Ticket #1344 (closed Bug: fixed)

Opened 5 years ago

Last modified 4 years ago

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

1344.patch Download (3.4 KB) - added by martinkou 4 years ago.
1344_2.patch Download (3.4 KB) - added by martinkou 4 years ago.
Improved the previous patch such that only one permission warning is displayed in IE7.
1344_3.patch Download (4.3 KB) - added by fredck 4 years ago.

Change History

comment:1 Changed 4 years ago by martinkou

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

Changed 4 years ago by martinkou

comment:2 Changed 4 years ago by martinkou

  • Keywords Review? added

comment:3 Changed 4 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 4 years ago by martinkou

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

comment:4 Changed 4 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 4 years ago by fredck

  • Keywords Review- added; Review? removed

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

Changed 4 years ago by fredck

comment:6 Changed 4 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 4 years ago by martinkou

  • Keywords Review+ added; Review? removed

comment:8 Changed 4 years ago by fredck

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

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

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