Uploaded image for project: 'XWiki Platform'
  1. XWiki Platform
  2. XWIKI-14222

Icons of watchlist switches might be wrongly rendered or even disappear

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 9.2, 9.3-rc-1, 8.4.5
    • Fix Version/s: None
    • Component/s: Watchlist
    • Labels:
      None
    • Difficulty:
      Unknown
    • Similar issues:

      Description

      The UI is build from JSX code, and icons are integrated into that JSX using the icon script service. Has a consequence:

      • the JSX/SSX needed for the icon set is not loaded in the page displaying the icons
      • the icon used is based on the JSX location and cached, and therefore not dynamic or based on the current page preferences.

      In pratice, the icon set used is usually fontawesome, and we are really lucky that the document tree loaded by the breadcrumb use the fontawesome icon set statically, and cause it to be loaded.

      How to reproduce:

      1. Created a skin that override hierachy.vm with an empty template
      2. Use that skin on a specific space
      3. Choose silk icon set as default icon set for that specific space
      4. Check the display of the notification box with the watchlist icon in that specific space.

      (Only doing on of 2 or 3 also exhibit issues.)

      Result: no icon display (2) or wrong icon set used (3)
      Expectation: proper icon displayed based on the space preference

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              Unassigned Unassigned
              Reporter:
              softec Denis Gervalle
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated: