Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-47491

Text formatting button active state doesnt reflect whats about to be typed

XMLWordPrintable

    • MOODLE_27_STABLE, MOODLE_29_STABLE
    • MDL-47491-master
    • Hide

      Using various browsers (and devices)

      1. Open page with Atto editor.
      2. Type several words.
      3. Select text and click bold button
      4. Verify the button is highlighted.
      5. Click in middle of text.
      6. Click bold button and verify that highlighting of button changes immediately. (with IE nothing should happen)
      7. Type text and verify that it has correct format and that highlight remains correct. (with IE nothing should happen)
      8. Repeat with other formating keys ie italic, underline, sub, sup.
      9. Check the other buttons to see that the highlight does not change unexpectedly.
      10. Try clicking a button of an empty browser, and type several characters.
      11. Verify that the highlighting toggles initially and remains constant.
      12. Click two or more buttons in succession. Only the last button pressed should appear different than the starting value. Type a character and verify that character has the formating that was shown before key press and that the highlight matches again afterwards.
      13. Repeat the previous tests using hot key ctrl-b, ctrl-i etc. or a mixture of hot keys and clicking buttons.
      Show
      Using various browsers (and devices) Open page with Atto editor. Type several words. Select text and click bold button Verify the button is highlighted. Click in middle of text. Click bold button and verify that highlighting of button changes immediately. (with IE nothing should happen) Type text and verify that it has correct format and that highlight remains correct. (with IE nothing should happen) Repeat with other formating keys ie italic, underline, sub, sup. Check the other buttons to see that the highlight does not change unexpectedly. Try clicking a button of an empty browser, and type several characters. Verify that the highlighting toggles initially and remains constant. Click two or more buttons in succession. Only the last button pressed should appear different than the starting value. Type a character and verify that character has the formating that was shown before key press and that the highlight matches again afterwards. Repeat the previous tests using hot key ctrl-b, ctrl-i etc. or a mixture of hot keys and clicking buttons.

      In atto, when pressing 'bold' (or the other text formatting buttons), the active state of the button doesn't change.

      A such, you press the button - and get no visual feedback that the button worked. The button only goes active after you then start typing.

      This can cause confusion - for example, I could press the button, and it doesn't appear to go active, so I press it again, and again... but I have no idea what state it is in till I start typing.

      This differs from the behaviour of all other text editors that I'm aware of (including msword, gdocs, tinymce, etc). Where once you click the button, it immediately is [in]active letting you know the state that you're about to type in.

        1. atto.mov
          233 kB
          Jun Pataleta
        2. atto2.mov
          871 kB
          Jun Pataleta

            dthies Daniel Thies
            aolley Adam Olley
            cameron1729 cameron1729
            Andrew Lyons Andrew Lyons
            Votes:
            0 Vote for this issue
            Watchers:
            11 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.