Moodle
  1. Moodle
  2. MDL-23641

HTML editor spellchecker & normal right-click menus overlap

    Details

    • Affected Branches:
      MOODLE_20_STABLE
    • Fixed Branches:
      MOODLE_23_STABLE
    • Rank:
      6193

      Description

      When using the spellchecker in the HTML editor and you right-click on word identified as misspelled by the spellchecker, the menus for the HTML editor and the spellchecker (with suggested spellings) overlap. I've attached a screenshot demonstrating this issue.

        Activity

        Hide
        Mauno Korpelainen added a comment -

        Why do you need to use mouse right click over misspelled word?

        I think it is the default behaviour of context menu (custom mouse right click menu) in TinyMCE to launch a menu to the position of mouse when you right click over a selected text.
        Spellchecker on the other hand shows a menu of suggested words for misspelled words under the first letter of misspelled word. You can also right click over some action word of context menu to launch 3rd menu by Windows to the mouse position and get 3 menus overlapped.

        You can as well use normal mouse left click for spellchecking and if you need to use context menu for a misspelled word select the misspelled word first with mouse left button and use mouse right click over this selected word. If you need to use spellchecking again click spellchecker button again...

        Show
        Mauno Korpelainen added a comment - Why do you need to use mouse right click over misspelled word? I think it is the default behaviour of context menu (custom mouse right click menu) in TinyMCE to launch a menu to the position of mouse when you right click over a selected text. Spellchecker on the other hand shows a menu of suggested words for misspelled words under the first letter of misspelled word. You can also right click over some action word of context menu to launch 3rd menu by Windows to the mouse position and get 3 menus overlapped. You can as well use normal mouse left click for spellchecking and if you need to use context menu for a misspelled word select the misspelled word first with mouse left button and use mouse right click over this selected word. If you need to use spellchecking again click spellchecker button again...
        Hide
        Ashley Holman added a comment -

        Bumping this issue to major as it is effecting the functionality of the spelling suggestion feature. The problem is currently effecting Macquarie University.

        Show
        Ashley Holman added a comment - Bumping this issue to major as it is effecting the functionality of the spelling suggestion feature. The problem is currently effecting Macquarie University.
        Hide
        Kirill Astashov added a comment -

        The bug is still present in the latest TinyMCE version (3.4.7).

        Workaround: move spellchecker suggestion menu to the left so that the two menus don't overlap.

        Howto:
        1. Open file lib/editor/tinymce/tiny_mce/3.3.9.2/plugins/spellchecker/editor_plugin_src.js

        2. Change line 274 from
        offset_x : p1.x,
        to
        offset_x : p1.x-105,

        3. Save/close the file and compress to editor_plugin.js

        Result:
        http://sarov.info/files/2011/spellchecker.png

        Show
        Kirill Astashov added a comment - The bug is still present in the latest TinyMCE version (3.4.7). Workaround: move spellchecker suggestion menu to the left so that the two menus don't overlap. Howto: 1. Open file lib/editor/tinymce/tiny_mce/3.3.9.2/plugins/spellchecker/editor_plugin_src.js 2. Change line 274 from offset_x : p1.x, to offset_x : p1.x-105, 3. Save/close the file and compress to editor_plugin.js Result: http://sarov.info/files/2011/spellchecker.png
        Hide
        Kirill Astashov added a comment - - edited

        This is to confirm that the bug is fixed in Moodle 2.3.

        Show
        Kirill Astashov added a comment - - edited This is to confirm that the bug is fixed in Moodle 2.3.
        Hide
        Dan Poltawski added a comment -

        Thanks Ashley, closing this.

        Show
        Dan Poltawski added a comment - Thanks Ashley, closing this.
        Hide
        Dan Poltawski added a comment -

        Sorry, thanks to Kirill!

        Show
        Dan Poltawski added a comment - Sorry, thanks to Kirill!

          People

          • Votes:
            2 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: