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

Confluence Distraction Free Editor with wrong window height in Chrome

    • Icon: Bug Bug
    • Resolution: Support Request
    • Icon: Low Low
    • None
    • 5.5.3
    • None

      Confluence Distraction Free Editor brings full window height option to rtf editor.
      It does not work at all in IE 11.
      It works fine in FF 21.
      In Chrome 36 it causes wrong height: window / scrollbar height keeps static, but editor window moves up.

      This Plguin adds the following custom HTML to Confluence:

      <script>
      AJS.$(document).ready(function() {
        if (AJS.$('#wysiwygTextarea_ifr').length > 0) {
          AJS.$('#wysiwygTextarea_ifr').height(AJS.$('#rte').height());
        }
      });
      </script>
      

      If AJS.$('#rte').height() is changed to window.height() everything works fine in FF21 and Chrome36.

      <script>
      AJS.$(document).ready(function() {
        if (AJS.$('#wysiwygTextarea_ifr').length > 0) {
          AJS.$('#wysiwygTextarea_ifr').height(window.height());
        }
      });
      </script>
      

      (both versions tested with IE11, FF21, Chrome36)

            [CONFSERVER-34450] Confluence Distraction Free Editor with wrong window height in Chrome

            roomeon added a comment - - edited

            Another way to solve this bug is adding an extension to chrome:
            https://chrome.google.com/webstore/detail/confluence-editor-height/oodkaangmbgagonhfhfgegdnaneeojnh?hl=de
            (strange, that this bug is not well known when there even is a Chrome extension to solve it)

            roomeon added a comment - - edited Another way to solve this bug is adding an extension to chrome: https://chrome.google.com/webstore/detail/confluence-editor-height/oodkaangmbgagonhfhfgegdnaneeojnh?hl=de (strange, that this bug is not well known when there even is a Chrome extension to solve it)

            roomeon added a comment -

            Hi Steve,

            we have already solved this bug:
            AJS.$('#wysiwygTextarea_ifr').height(window.height());

            CONF-34450 was just a suggestion for you.
            We are not interested in changing anything as we don't have any problem.
            But we thought you were. Our fault, sorry.

            Regards
            Peter

            roomeon added a comment - Hi Steve, we have already solved this bug: AJS.$('#wysiwygTextarea_ifr').height(window.height()); CONF-34450 was just a suggestion for you. We are not interested in changing anything as we don't have any problem. But we thought you were. Our fault, sorry. Regards Peter

            Hi Peter

            Thanks for the update. Unfortunately my time is very limited so I apologies if my questions only come in sporadically. Because I am unable to reproduce this locally, my suspicion is that one or more or the third party plugins that you have installed in Confluence are causing this problem to occur.

            Given the number of plugins that you have installed I believe that the best way to get this resolved is to work with one of our support engineers. Could I ask you to create a support ticket on https://support.atlassian.com? Once you've done this one of our support engineers will be in touch and will work with you to resolve this problem.

            Regards
            Steve Haffenden
            Confluence Bugmaster
            Atlassian

            Steve Haffenden (Inactive) added a comment - Hi Peter Thanks for the update. Unfortunately my time is very limited so I apologies if my questions only come in sporadically. Because I am unable to reproduce this locally, my suspicion is that one or more or the third party plugins that you have installed in Confluence are causing this problem to occur. Given the number of plugins that you have installed I believe that the best way to get this resolved is to work with one of our support engineers. Could I ask you to create a support ticket on https://support.atlassian.com? Once you've done this one of our support engineers will be in touch and will work with you to resolve this problem. Regards Steve Haffenden Confluence Bugmaster Atlassian

            roomeon added a comment - - edited

            Hi Steve,
            If you have more questions please try to ask them at once, not every few days a new one.

            Our custom installed plugins:

            Analytics Client Plugin
            Analytics Whitelist Plugin
            Atlassian Universal Plugin Manager Plugin
            Attachment Tools Plugin
            bitvoodoo Registration Plugin
            Bob Swift Atlassian Add-ons - Advanced Tables
            Bob Swift Atlassian Add-ons - Run Plugin
            Bob Swift Atlassian Add-ons - Table Sorter Library
            Code Macro Plugin
            Confluence Chat
            Confluence PlantUML Plugin
            Confluence Source Editor
            CustomWare Reporting - Core
            External Link Plugin
            HideElements Macro
            HipChat
            HipChat Core Plugin
            Link Preview for Confluence
            Linking
            Multivote for Confluence
            Navitabs Plugin
            No Email Storm
            Numbered Headings
            Page Approval Plugin
            Panelbox Plugin
            RB Filtering - Confluence
            RB Filtering - Core
            RB Storage - Confluence
            RB Storage - Core
            RB Storage - Servlet
            RB Supplier - Confluence
            RB Supplier - Core
            RB Support - Confluence
            RB Support - Core
            Reporting
            sslplugin
            Survey and Vote Macros
            Table Filter Plugin
            Team Calendars
            Update Notifier for Confluence
            Viewtracker Plugin
            Visibility Plugin

            No custom CSS or theming.

            Regards
            Peter

            roomeon added a comment - - edited Hi Steve, If you have more questions please try to ask them at once, not every few days a new one. Our custom installed plugins: Analytics Client Plugin Analytics Whitelist Plugin Atlassian Universal Plugin Manager Plugin Attachment Tools Plugin bitvoodoo Registration Plugin Bob Swift Atlassian Add-ons - Advanced Tables Bob Swift Atlassian Add-ons - Run Plugin Bob Swift Atlassian Add-ons - Table Sorter Library Code Macro Plugin Confluence Chat Confluence PlantUML Plugin Confluence Source Editor CustomWare Reporting - Core External Link Plugin HideElements Macro HipChat HipChat Core Plugin Link Preview for Confluence Linking Multivote for Confluence Navitabs Plugin No Email Storm Numbered Headings Page Approval Plugin Panelbox Plugin RB Filtering - Confluence RB Filtering - Core RB Storage - Confluence RB Storage - Core RB Storage - Servlet RB Supplier - Confluence RB Supplier - Core RB Support - Confluence RB Support - Core Reporting sslplugin Survey and Vote Macros Table Filter Plugin Team Calendars Update Notifier for Confluence Viewtracker Plugin Visibility Plugin No custom CSS or theming. Regards Peter

            Hi Peter,

            thanks for the update. Are you aware of any extra plugins or customisations that you have within Confluence itself, Do you have any custom CSS or theming in your instance?

            Regards
            Steve Haffenden
            Confluence Bugmaster
            Atlassian

            Steve Haffenden (Inactive) added a comment - Hi Peter, thanks for the update. Are you aware of any extra plugins or customisations that you have within Confluence itself, Do you have any custom CSS or theming in your instance? Regards Steve Haffenden Confluence Bugmaster Atlassian

            Peter Neelmeyer added a comment - - edited

            Hi Steve,

            deactivating all extensions (see screenshot for wich we are using) and opening in private mode does not change anything. Still the same problem.

            Regards
            Peter

            Peter Neelmeyer added a comment - - edited Hi Steve, deactivating all extensions (see screenshot for wich we are using) and opening in private mode does not change anything. Still the same problem. Regards Peter

            Hi admin488

            Thanks for the update on this issue. I'm having a few problems reproducing this issue locally, could you confirm whether you have any third party plugins installed?

            Regards
            Steve Haffenden
            Confluence Bugmaster
            Atlassian

            Steve Haffenden (Inactive) added a comment - Hi admin488 Thanks for the update on this issue. I'm having a few problems reproducing this issue locally, could you confirm whether you have any third party plugins installed? Regards Steve Haffenden Confluence Bugmaster Atlassian

            roomeon added a comment -

            Hi Steve Haffenden,
            the version is 5.5.3
            Regards
            Peter Neelmeyer

            roomeon added a comment - Hi Steve Haffenden, the version is 5.5.3 Regards Peter Neelmeyer

            Hi admin488

            Thanks for taking the time to raise this issue. Would you be able to confirm the version of Confluence that you are using.

            Regards
            Steve Haffenden
            Confluence Bugmaster
            Atlassian

            Steve Haffenden (Inactive) added a comment - Hi admin488 Thanks for taking the time to raise this issue. Would you be able to confirm the version of Confluence that you are using. Regards Steve Haffenden Confluence Bugmaster Atlassian

              shaffenden Steve Haffenden (Inactive)
              7ab265d9ed24 roomeon
              Affected customers:
              0 This affects my team
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: