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

Atto: Selection reverts to previous selection on toolbar button press in WebKit browsers

XMLWordPrintable

    • MOODLE_27_STABLE
    • MOODLE_27_STABLE
    • MDL-45040-master
    • Hide

      This is a WebKit issue.

      1. In Chrome and Safari, before applying the patch:
        • Launch Atto.
        • Select some text, making sure that the cursor stays within the editor (a good way to do this is by double-clicking on a word).
        • Select some other text, dragging outside of the editor such that your cursor is no longer within it when you release your mouse button.
        • Click a toolbar button.
          • Observe that your selection reverts to your first selection.
      2. Apply the patch. Now, in all supported browsers:
        • Launch Atto.
        • Select some text, making sure that the cursor stays within the editor (a good way to do this is by double-clicking on a word).
        • Select some other text, dragging outside of the editor such that your cursor is no longer within it when you release your mouse button.
        • Click a toolbar button.
          • Observe that your selection stays the same.
      Show
      This is a WebKit issue. In Chrome and Safari, before applying the patch: Launch Atto. Select some text, making sure that the cursor stays within the editor (a good way to do this is by double-clicking on a word). Select some other text, dragging outside of the editor such that your cursor is no longer within it when you release your mouse button. Click a toolbar button. Observe that your selection reverts to your first selection. Apply the patch. Now, in all supported browsers: Launch Atto. Select some text, making sure that the cursor stays within the editor (a good way to do this is by double-clicking on a word). Select some other text, dragging outside of the editor such that your cursor is no longer within it when you release your mouse button. Click a toolbar button. Observe that your selection stays the same.
    • 5

      This presents when a selection is made by dragging such that the cursor is outside of the editor when the mouse button is released.

      Repro steps:

      1. Launch Atto.
      2. Select some text, making sure that the cursor stays within the editor (a good way to do this is by double-clicking on a word).
      3. Select some other text, dragging outside of the editor and releasing your mouse button.
      4. Click a toolbar button.
        • Observe that your selection reverted to the first thing you selected.

            jethac Jetha Chan
            jethac Jetha Chan
            Adrian Greeve Adrian Greeve
            Sam Hemelryk Sam Hemelryk
            Sam Hemelryk Sam Hemelryk
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

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