<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.kde.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.6"
          urlbase="https://bugs.kde.org/"
          
          maintainer="sysadmin@kde.org"
>

    <bug>
          <bug_id>432071</bug_id>
          
          <creation_ts>2021-01-25 03:07:29 +0000</creation_ts>
          <short_desc>Print reconcile report is empty</short_desc>
          <delta_ts>2021-02-01 15:28:05 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>2</classification_id>
          <classification>Applications</classification>
          <product>kmymoney</product>
          <component>reports</component>
          <version>5.1.1</version>
          <rep_platform>Appimage</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>432380</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>NOR</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="jesse">jvapr27</reporter>
          <assigned_to name="KMyMoney Devel Mailing List">kmymoney-devel</assigned_to>
          <cc>me</cc>
          
          <cf_commitlink></cf_commitlink>
          <cf_versionfixedin></cf_versionfixedin>
          <cf_sentryurl></cf_sentryurl>
          <votes>0</votes>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1997350</commentid>
    <comment_count>0</comment_count>
    <who name="jesse">jvapr27</who>
    <bug_when>2021-01-25 03:07:29 +0000</bug_when>
    <thetext>SUMMARY
After reconciling an account, I attempted to print the reconciliation report. However, the output PDF file is empty. 
I want to save the reconciliation report for my record keeping. The reports, however are empty. 

STEPS TO REPRODUCE
1. Open KMY file
2. Reconcile an account
3. Upon finishing, select to print the reconciliation report. 
4. The report printing will appear successful(No Errors). However, navigate using a file manager to the location where you saved the PDF. 
5. Open the PDF.. you will find that the PDF is empty. 


OBSERVED RESULT
Empty report. 

EXPECTED RESULT
PDF should have the same data as that presented in the reconciliation report

SOFTWARE/OS VERSIONS
Operating System: Generic 32
KDE Plasma Version: 5.18.5
KDE Frameworks Version: 5.75.0
Qt Version: 5.14.2
Kernel Version: 5.10.8-100.fc32.x86_64
OS Type: 64-bit
KDE Frameworks 5.51.0
Qt 5.11.3 (built against 5.11.3)
The xcb windowing system

ADDITIONAL INFORMATION</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1997511</commentid>
    <comment_count>1</comment_count>
    <who name="Thomas Baumgart">tbaumgart</who>
    <bug_when>2021-01-25 15:48:27 +0000</bug_when>
    <thetext>I duplicated this only in the AppImage version. The regular installed version works without problems.

Starting from the command line, I see the following when printing only when using the AppImage version:

  Failure to generate QImage from invalid or empty PDF document.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1997547</commentid>
    <comment_count>2</comment_count>
    <who name="Dawid Wróbel">me</who>
    <bug_when>2021-01-25 16:36:53 +0000</bug_when>
    <thetext>Based on the previous issues of this nature, I suspect it is caused by the relative location of some resources. The upcoming changes to have the resources embedded with the code should hopefully fix this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1999368</commentid>
    <comment_count>3</comment_count>
    <who name="Thomas Baumgart">tbaumgart</who>
    <bug_when>2021-02-01 15:28:05 +0000</bug_when>
    <thetext>I mark this as duplicate to the more general bug report.

*** This bug has been marked as a duplicate of bug 432380 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>