Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-43099

Edit bar does not re-trigger if style-tage applied on the page, the edit bar remains at the top of page instead

    • Icon: Bug Bug
    • Resolution: Not a bug
    • Icon: Low Low
    • None
    • 5.9, 5.10
    • None

      We have recently discovered that the fixed edit bar (i.e. that when a user is on a page and has scrolled down a bit, the user only has to scroll up to trigger the edit-bar to be shown in the page) only works for pages that do not incorporate the style-tag. If the style-tag is present on a page, the edit-bar remains at the top of the page. This means that any page having a macro that has a style-tag will not have the popup-edit bar, instead it will have the old behavior, leading to what may be considered an inconsequent behavior across the Confluence-instance.
      https://maven.atlassian.com/content/repositories/atlassian-public/com/atlassian/confluence/plugins/confluence-fixed-headers/1.2.8/ in the file: confluence-fixed-header.js:

      // CONFDEV-36692 do not active if custom CSS is detected
      if ($('#main-content').find('style').length > 0)
      { 3	return; 4	}
      

      Steps to replicate

      1. Enabling HTML-macro in Confluence (under Manage add-ons > System-installed > HTML).
      2. Adding an html-macro to a page that has a styles tag.

      Tested Chrome, Safari and Firefox with Confluence 5.9 and Confluence 5.10, since the fixed edit bar was introduced.

            [CONFSERVER-43099] Edit bar does not re-trigger if style-tage applied on the page, the edit bar remains at the top of page instead

            Katherine Yabut made changes -
            Workflow Original: JAC Bug Workflow v3 [ 2897590 ] New: CONFSERVER Bug Workflow v4 [ 2991973 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow v2 [ 2789417 ] New: JAC Bug Workflow v3 [ 2897590 ]
            Status Original: Resolved [ 5 ] New: Closed [ 6 ]
            Owen made changes -
            Workflow Original: JAC Bug Workflow [ 2720931 ] New: JAC Bug Workflow v2 [ 2789417 ]
            Owen made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2384331 ] New: JAC Bug Workflow [ 2720931 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 2278942 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2384331 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2220381 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 2278942 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2175602 ] New: Confluence Workflow - Public Facing - Restricted v5.1 - TEMP [ 2220381 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v5 [ 1915041 ] New: Confluence Workflow - Public Facing - Restricted v5 - TEMP [ 2175602 ]
            Katherine Yabut made changes -
            Workflow Original: Confluence Workflow - Public Facing - Restricted v3 [ 1723659 ] New: Confluence Workflow - Public Facing - Restricted v5 [ 1915041 ]
            Katherine Yabut made changes -
            Workflow Original: CONF Bug Subtask WF (TEMP) [ 1669486 ] New: Confluence Workflow - Public Facing - Restricted v3 [ 1723659 ]

              Unassigned Unassigned
              wwong Wayne Wong
              Affected customers:
              0 This affects my team
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: