Ticket #1530 (closed Bug: fixed)

Opened 6 months ago

Last modified 3 months ago

"Replace" and "Replace All" buttons are disabled

Reported by: tba21cn Assigned to: martinkou
Priority: Normal Milestone: FCKeditor 2.6
Component: UI : Toolbar Version: FCKeditor 2.5 Beta
Keywords: Confirmed Review+ Cc:

Description (Last modified by martinkou)

  1. Copy some text from FCKeditor
  2. Click "replace", and use mouse right click-> select paste (not ctr+v), to paste those text to the "Find what:" text input area

Notice that the "Replace" and "Replace All" buttons are still disabled (they should be enabled when text is in the "Find what:" text filed.

I thappens on both IE7 and FFx.

Attachments

1530.patch (2.1 kB) - added by martinkou on 02/15/08 05:44:03.
1530_2.patch (2.1 kB) - added by martinkou on 02/15/08 10:49:15.

Change History

02/06/08 15:12:10 changed by w.olchawa

  • keywords changed from replace to Confirmed.

Confirmed in IE, IE7 and FF2

02/14/08 07:09:06 changed by martinkou

  • description changed.

Tidied up the description.

02/14/08 07:38:06 changed by martinkou

  • owner set to martinkou.
  • status changed from new to assigned.

02/14/08 08:17:47 changed by martinkou

This bug is not as easy as it seems. The onpaste event is available on IE, Safari, but not Firefox 2.x and Opera 9.50. onpaste is available in FF 3.0 beta but the Mozilla devs are still working on it Mozilla bug #280959.

Even DOMAttrModified doesn't seem to detect the mouse-pasted text. If all else fails we might need to use a polling loop to detect the new text.

02/14/08 16:23:24 changed by alfonsoml

I can't test it right now, but I think that you can use the onInput event for those browsers.

02/15/08 05:44:03 changed by martinkou

  • attachment 1530.patch added.

02/15/08 05:44:34 changed by martinkou

  • keywords changed from Confirmed to Confirmed Review?.

Thanks for the hint, now this can be done simply.

02/15/08 05:45:08 changed by martinkou

  • milestone set to FCKeditor 2.6.

02/15/08 10:49:15 changed by martinkou

  • attachment 1530_2.patch added.

02/15/08 10:55:55 changed by fredck

  • keywords changed from Confirmed Review? to Confirmed Review+.

02/15/08 11:30:51 changed by martinkou

  • status changed from assigned to closed.
  • resolution set to fixed.

Fixed with [1521].

Click here for more info about our SVN system.