Ticket #703 (closed Bug: wontfix)

Opened 3 years ago

Last modified 5 months ago

FF: No context menu when right clicking a select component

Reported by: cunha17@… Owned by: martinkou
Priority: Normal Milestone: FCKeditor 2.6
Component: UI : Context Menu Version: FCKeditor 2.5.1
Keywords: SF Confirmed FF CantFix Cc: franp@…, voskat@…

Description

Linux FC4 Firefox 1.0.7 FCK 2.2, 2.1.1

When right clicking on a "select" component, no context menu appear.

Sometimes it's possible to left click on a "select" component and then right click on an empty editor space to get the context menu to appear. But this should not be a regular behaviour, does it?

Anyway, I propose a "properties" button on the toolbar, so we may select any component with the left button and then click on the "properties" toolbar button.

Regards,

Cristiano da Cunha Duarte


Moved from SF:
 http://sourceforge.net/tracker/index.php?func=detail&aid=1438131&group_id=75348&atid=543653

Attachments

contextMenuFix.zip Download (6.4 KB) - added by voskat 8 months ago.
This plugin fixes the context menu problem with checkboxes, radio buttons and select boxes in Firefox. This is version 1.2.1, which has been more thoroughly tested. Thanks to Gerrit Volkenborn!
contextMenuFix 1.2.2.zip Download (6.4 KB) - added by voskat 5 months ago.
This plugin fixes the context menu problem with checkboxes, radio buttons and select boxes in Firefox. This is version 1.2.2, which resolves a few minor niggles.

Change History

  Changed 3 years ago by martinkou

  • reporter changed from martinkou to cunha17@…

  Changed 3 years ago by martinkou

This seams to be a Firefox limitation. For now, just click in the select field and use the "Selection Field" button in the toolbar to edit its properties.


Moved from SF. Original poster: fredck

Forget about it : I forgot that I had disallowed javascripts to change context menu. Now works OK. Sorry for the mistake. Keep up the good work.


Moved from SF. Original poster: franp

Same here whit FF 1.5.0.6 and FCKe 2.31.

When right-clicking on a component, FCKe context menu appears a fraction of a second (maybe 20 miliseconds, just enough to be seen) and then is replaced by FF right-click menu. This basicaly renders FCKe useless (unable to resize a table ; unable to change an existing link, etc.).

Will try to reverse to FCKe 2.2.


Moved from SF. Original poster: franp

  Changed 2 years ago by w.olchawa

  • keywords Confirmed FF added
  • version set to FCKeditor 2.5.1
  • component changed from General to UI : Context Menu
  • summary changed from No context menu when right clicking a select component to FF: No context menu when right clicking a select component

#1753 has been marked as DUP.

Actually the bug appears in the latest version (2.5.1) as well

  Changed 2 years ago by w.olchawa

This bug is partially similar to #680

  Changed 2 years ago by martinkou

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

  Changed 2 years ago by martinkou

There are some other form elements that do not have context menus. e.g. radio buttons and checkboxes.

  Changed 2 years ago by martinkou

  • milestone set to FCKeditor 2.6

The bug seems to be not fixable with JavaScript alone. I've done some investigations into the matter and found Midas to be blocking 'contextmenu' and 'click' events for radio buttons, checkboxes and select boxes.

We'll need to report this bug to the Mozilla developers.

  Changed 2 years ago by martinkou

  • keywords CantFix added

  Changed 2 years ago by w.olchawa

#1697 has been marked as DUP

  Changed 2 years ago by martinkou

  Changed 2 years ago by fredck

  • status changed from assigned to closed
  • resolution set to wontfix

  Changed 18 months ago by alfonsoml

#2541 and #2471 have been marked as dups

  Changed 18 months ago by alfonsoml

I meant #2571

  Changed 11 months ago by voskat

  • cc voskat@… added

follow-up: ↓ 16   Changed 11 months ago by voskat

All you have to do is hook up the plugin (as in config.js) and the fix.css file.

I suggest you evaluate the plugin and maybe incorporate it into the next release of the editor. It works great for me! :-)

in reply to: ↑ 15   Changed 8 months ago by volkenborn

Replying to voskat:

All you have to do is hook up the plugin (as in config.js) and the fix.css file. I suggest you evaluate the plugin and maybe incorporate it into the next release of the editor. It works great for me! :-)

Hi, I tried to hook it up just now, but I guess I did something wrong!?

I patched the fckeditor.js to include the plugin and added the new code (var fixProcessor = FCKDocumentProcessor.AppendNew() and so on), but now I get a script error when trying to add the new select box, in file contentMenuFix/select.html, line 55:

SelectField( 'txtName' ) ;

It seems this function cannot be found!?

Changed 8 months ago by voskat

This plugin fixes the context menu problem with checkboxes, radio buttons and select boxes in Firefox. This is version 1.2.1, which has been more thoroughly tested. Thanks to Gerrit Volkenborn!

  Changed 5 months ago by fredck

  • cc fredck removed

#4453 has been marked as DUP.

Changed 5 months ago by voskat

This plugin fixes the context menu problem with checkboxes, radio buttons and select boxes in Firefox. This is version 1.2.2, which resolves a few minor niggles.

Note: See TracTickets for help on using tickets.