Creating a macro (note, tip, etc) within a list with a font effect on, then disabling the effect in the macro box causes duplicates that macro.

XMLWordPrintable

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Low
    • None
    • Affects Version/s: 4.3.5, 5.4.2
    • Component/s: None
    • Environment:

      Firefox 18.0.2 (Did not test other browsers)

      1. Create a list (Bullet, Number, or Task)
      2. Turn on a font effect while cursor is in the list. (Bold, Italic, etc)
      3. Shift+Enter twice
      (I'm not sure why I have to hit enter twice instead of once. Should be on a new-line font-effect button still on)
      4. Start typing a macro, such as {note
      (Tip, Info, Warning, etc also work, not sure about other macros)
      You will notice that the macro command text itself has the font effect. e.g. "{note" is bold as you type it.
      5. Hit Enter to activate the macro.
      (You will now be in a Note box, you will notice that the font-effect is still on)
      6. Type two words
      7. Select the last word you just typed
      8. Disable the font-effect (e.g. Disable Bold)

      You will 3 instances of the macro box.
      If the words I typed were "one two" and I selected "two" before disabling bold, the 3 boxes will contain

      "one "
      "two"
      ""

      If you move the cursor into these boxes, the first and third will have bold enabled, the second will have it disabled.

      Notes:
      #7. You don't actually need to type two words, but if you select all of the text and disable the font-effect it doesn't reproduce the bug. You can also type a single world and just highlight the end of the word.

      Also, once these duplicates are formed, you can repeat the bug over and over with the boxes that have the font-effect enabled. For example, I can type something in that last empty box that gets generated, highlight the last portion, try to disable bold again, and I get more boxes.

      This bug also affects panel. I haven't tested others.

      I'm not sure why I need to shift-click twice to get a blank line in a list sometimes and just once other times. This bug seems to happen either way.

              Assignee:
              Unassigned
              Reporter:
              Arlo White
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: