Uploaded image for project: 'Jira Software Data Center'
  1. Jira Software Data Center
  2. JSWSERVER-8795

GreenHopper Report page is truncated when printing via Browser print dialog

      When you try to print any GreenHopper report (Sprint report, burndown chart, Version report etc.), and the number of issues in that report overflows one single printed page, the following problems occur based on the browser you are using:

      GOOGLE CHROME

      1. Access the print dialog via Right Click + Print.
      2. Notice that the GreenHopper report shown in the Print Preview is truncated, with scroll bars: TruncatedReport_GC.jpg

      FIREFOX

      1. Access the print preview dialog via File > Print Preview.
      2. The report is also truncated, but without the scroll bars: TruncatedReport_FF.jpg

      Note that the reports used in the screenshots above should show 28 issues in total, but they are truncated.

      Additional information:

      1. Tested on the latest Firefox and latest Chrome.
      2. Happens in GH 6.2.1
      3. Does not happen in GH 6.2

        1. citrix-gh-621-scroll-bug.jpg
          citrix-gh-621-scroll-bug.jpg
          261 kB
        2. Screen shot 2013-05-15 at 3.53.13 PM.png
          Screen shot 2013-05-15 at 3.53.13 PM.png
          127 kB
        3. TruncatedReport_FF.jpg
          TruncatedReport_FF.jpg
          126 kB
        4. TruncatedReport_GC.jpg
          TruncatedReport_GC.jpg
          103 kB

            [JSWSERVER-8795] GreenHopper Report page is truncated when printing via Browser print dialog

            Hi intersol as commented by Peter above at 20/May/13 10:28 AM, the printing problem was tracked in this issue and the scrolling/layout issue tracked in a separate issue: GHS-8858

            Martin (Inactive) added a comment - Hi intersol as commented by Peter above at 20/May/13 10:28 AM, the printing problem was tracked in this issue and the scrolling/layout issue tracked in a separate issue: GHS-8858

            It seems that this bug was marked as fixed without properly testing it.

            The fix does not solve the problem on non-printing mode. Check the citrix screenshot.

            I created a new bug specifically for this problem.

            Sorin Sbarnea added a comment - It seems that this bug was marked as fixed without properly testing it. The fix does not solve the problem on non-printing mode. Check the citrix screenshot. I created a new bug specifically for this problem.

            This issue fixes report pages being truncated when printed.

            While working on this issue some other areas of printing have been improved, however, please note that there are problems with the Flot graphing library trying to output full-width graphs to print. This is a known issue with the Flot project.

            Previously a full-width chart such as the Burndown Chart would be clipped on the right-hand side in the printed version. That includes the chart diagram and the labels along both axes. We can fix the chart diagram not being clipped i.e. show the whole thing, but Flot is quite limited in repositioning the axes to match, leaving them in the wrong place relative to the data points in the diagram. To avoid showing incorrect data the axis ticklabels will be hidden when printing. This is less than perfect but the best option available at present. We will track the Flot project and also look into alternatives where possible.

            Martin (Inactive) added a comment - This issue fixes report pages being truncated when printed. While working on this issue some other areas of printing have been improved, however, please note that there are problems with the Flot graphing library trying to output full-width graphs to print. This is a known issue with the Flot project. Previously a full-width chart such as the Burndown Chart would be clipped on the right-hand side in the printed version. That includes the chart diagram and the labels along both axes. We can fix the chart diagram not being clipped i.e. show the whole thing, but Flot is quite limited in repositioning the axes to match, leaving them in the wrong place relative to the data points in the diagram. To avoid showing incorrect data the axis ticklabels will be hidden when printing. This is less than perfect but the best option available at present. We will track the Flot project and also look into alternatives where possible.

            Glad to see a root cause identified. This has negatively affected our team since we upgraded. We'll be watching this bug. Hopefully it can be addressed soon.

            Matthew Zach added a comment - Glad to see a root cause identified. This has negatively affected our team since we upgraded. We'll be watching this bug. Hopefully it can be addressed soon.

            Issue was caused by the heights assigned to certain containers for the new scrolling system. We remove these when printing to fix the issue.

            Martin (Inactive) added a comment - Issue was caused by the heights assigned to certain containers for the new scrolling system. We remove these when printing to fix the issue.

            I'm going to pull the issues without epics bug out from this one so that they can be tracked separately. I have confirmed it is due to the announcement banner.

            Peter Obara added a comment - I'm going to pull the issues without epics bug out from this one so that they can be tracked separately. I have confirmed it is due to the announcement banner.

            It seems so, but I cannot confirm the same about the print view (no idea).

            Sorin Sbarnea added a comment - It seems so, but I cannot confirm the same about the print view (no idea).

            MattS added a comment - - edited

            Does removing the Announcement Banner stop the problem from occurring?

            MattS added a comment - - edited Does removing the Announcement Banner stop the problem from occurring?

            New discovery, it seems that the presence of the Information Banner can cause this, at least on normal pages, it did not test anything on print ones.

            Here is an example of my information banner code:

            <div class="aui-message info"><span class="aui-icon icon-info"></span>
            <li>Use only LDAP credentials to login. If login fails be sure you use <A href="http://unlock.example.com">unlock.example.com</a> to unlock your account. Do not try to reset your password using Jira, it will not work.</>
            <!--<li>The correct URL for accessing this site is <a href="http://jira.xc.example.com">http://jira.xc.example.com</a>.</li>-->
            <li>If you have any problems with JQL filters check if they are using old usernames and fix them manually.</li>
            <li>If you encounter any serious problems email <a href="mailto:xxx.yyys@example.com%3B%20aaa.bbb@example.com">jira admins</a></li>
            </ul>
            </div>
            

            Sorin Sbarnea added a comment - New discovery, it seems that the presence of the Information Banner can cause this, at least on normal pages, it did not test anything on print ones. Here is an example of my information banner code: <div class= "aui-message info" ><span class= "aui-icon icon-info" ></span> <li>Use only LDAP credentials to login. If login fails be sure you use <A href= "http: //unlock.example.com" >unlock.example.com</a> to unlock your account. Do not try to reset your password using Jira, it will not work.</> <!--<li>The correct URL for accessing this site is <a href= "http: //jira.xc.example.com" >http://jira.xc.example.com</a>.</li>--> <li>If you have any problems with JQL filters check if they are using old usernames and fix them manually.</li> <li>If you encounter any serious problems email <a href= "mailto:xxx.yyys@example.com%3B%20aaa.bbb@example.com" >jira admins</a></li> </ul> </div>

            Scrolling is a major problem, as Jira admin I am flooded with complaints regarding this.

            I do think that the problem is not specific to Print dialog and you should update the description and title accordinly.

            Sorin Sbarnea added a comment - Scrolling is a major problem, as Jira admin I am flooded with complaints regarding this. I do think that the problem is not specific to Print dialog and you should update the description and title accordinly.

              Unassigned Unassigned
              dleng Daniel Leng (Inactive)
              Affected customers:
              9 This affects my team
              Watchers:
              11 Start watching this issue

                Created:
                Updated:
                Resolved: