[kmymoney] [Bug 412384] New: insufficient installation documentation

2019-09-26 Thread Steve Helfand
https://bugs.kde.org/show_bug.cgi?id=412384

Bug ID: 412384
   Summary: insufficient installation documentation
   Product: kmymoney
   Version: unspecified
  Platform: Other
OS: macOS
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: documentation
  Assignee: kmymoney-devel@kde.org
  Reporter: steve.61...@gmail.com
  Target Milestone: ---

SUMMARY
no information is provided to find A) a compiled version of kMyMoney for the
Mac; or B) simple complete instructions on how to compile your software for a
non-Unix programmer.

STEPS TO REPRODUCE
1. goto kmymoney.org.  On the right click DOWNLOAD, find pc versions.  Wonder
WTF.
2. hit back arrow.  select MACOS under preview versions.  Wonder WTF?
3. ht back arrow.  click on 4.7.2 for your Mac under macport.  Download
macports.  Find no documentation on what it is or how to use it: all
documentation assumes you already know.
4. find another site that has a tar file to download (sourceforge).  Download
and decompress files.  Wonder why you have to do all this work, when the pc
version downloads and runs, just like a normal program, not a f...g project.
5. read the README files.  discover they too are written for unix programmers. 
open Terminal.  type in a few of the commands. get "program not found".  Quit
in frustration.

OBSERVED RESULT
find a sludge of files, none of which run as kMyMoney.

EXPECTED RESULT
Find a usable alternative to Quicken.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 10.14.6
Linux/KDE Plasma: 
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 
Qt Version: 

ADDITIONAL INFORMATION

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 412366] Print to File (PDF) broken on KDE4 in 4.8.4

2019-09-26 Thread Ralf Habacker
https://bugs.kde.org/show_bug.cgi?id=412366

Ralf Habacker  changed:

   What|Removed |Added

  Latest Commit||https://commits.kde.org/kmy
   ||money/beca6d92002eabc52ebd1
   ||da52d6edf4c06c9c22c
 Status|REPORTED|RESOLVED
   Version Fixed In||4.8.5
 Resolution|--- |FIXED

--- Comment #6 from Ralf Habacker  ---
Git commit beca6d92002eabc52ebd1da52d6edf4c06c9c22c by Ralf Habacker.
Committed on 26/09/2019 at 18:52.
Pushed by habacker into branch '4.8'.

Fix 'Print to File (PDF) broken on KDE4 in 4.8.4 on Slackware'

Using the KHtmlView quick print support does not work if a user does
not select the default system printer in kmymoney.
FIXED-IN:4.8.5

M  +1-1kmymoney/views/kreportsview.cpp

https://commits.kde.org/kmymoney/beca6d92002eabc52ebd1da52d6edf4c06c9c22c

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 412366] Print to File (PDF) broken on KDE4 in 4.8.4

2019-09-26 Thread Ralf Habacker
https://bugs.kde.org/show_bug.cgi?id=412366

--- Comment #5 from Ralf Habacker  ---
(In reply to Ralf Habacker from comment #4)

> At 
> https://build.opensuse.org/package/show/windows:mingw:win32/mingw32-kdelibs4
> there is a tarball for 4.14.60 and several patches I collected in the past.
Most patches are intended for cross compiling windows packages.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 412366] Print to File (PDF) broken on KDE4 in 4.8.4

2019-09-26 Thread Ralf Habacker
https://bugs.kde.org/show_bug.cgi?id=412366

--- Comment #4 from Ralf Habacker  ---
(In reply to Erich from comment #2)
> Hi Ralf,
> 
> I will try your patch.
> 
> Are there any concerns with updating KDE_VERSION_RELEASE to 65?  The patch
> file increases it from 60 to 65, whereas Slackware has it at 38.  I assume
> I'll be missing additional functionality that was added along the way?
Mostly fixes

> Where can I find these additional patches to kdelibs? 
At https://build.opensuse.org/package/show/windows:mingw:win32/mingw32-kdelibs4
there is a tarball for 4.14.60 and several patches I collected in the past. 

To be find kdelibs4 with method print(QPrinter* printer, bool quick) I raised
the kdelibs patch level to 65.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 412366] Print to File (PDF) broken on KDE4 in 4.8.4

2019-09-26 Thread Ralf Habacker
https://bugs.kde.org/show_bug.cgi?id=412366

--- Comment #3 from Ralf Habacker  ---
(In reply to Erich from comment #0)
> What I believe is the cause of the problem:
> The net result of patches:
> 5f4f90e83565647f3579660e4c5d9ac447547a02 Fix 'Printer settings are not saved'
> 15ac7d472af41fc503dc5209643cfc8b392b0089 Add print support for report charts
> Changes the "print" command from
> m_part->view()->print()
> to
> q->m_part->view()->print(true);
> when KDE_IS_VERSION(4, 14, 65) is false (which is the case for me).
/**
 * Prints the HTML document.
 * @param quick if true, fully automated printing, without print dialog
 */
void print( bool quick = false );

> From what I can tell from reading the docs (I am not a KDE developer), this
> changes the "print" command from "print by asking the user how to print" to
> "print using the default settings".  Unfortunately, those "default settings"
> are not what KMyMoney asked about in the code immediately preceding the
> "print" command, they must be the system-wide defaults.  
Thanks for reporting this hidden issue.

> My minimally-invasive patch simply changes the print command back to what it
> used to be, with the net effect that the print dialog appears twice when
> printing a report.
This could be fixed with the patch from attachment 122884.

> I also developed a small patch which restores Print to File (PDF)
> functionality for me, but the print dialog appears twice (I did expect that
> to happen when I tried out the patch).  So it is not a proper patch.
which is required as fallback to avoid this issue, if the mentioned patch is
not applied to kdelibs4.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 412366] Print to File (PDF) broken on KDE4 in 4.8.4

2019-09-26 Thread Erich
https://bugs.kde.org/show_bug.cgi?id=412366

--- Comment #2 from Erich  ---
Hi Ralf,

I will try your patch.

Are there any concerns with updating KDE_VERSION_RELEASE to 65?  The patch file
increases it from 60 to 65, whereas Slackware has it at 38.  I assume I'll be
missing additional functionality that was added along the way?

Where can I find these additional patches to kdelibs?  I was under the
impression that 4.14.38 was the last release of kdelibs.

Erich

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 412366] Print to File (PDF) broken on KDE4 in 4.8.4

2019-09-26 Thread Ralf Habacker
https://bugs.kde.org/show_bug.cgi?id=412366

Ralf Habacker  changed:

   What|Removed |Added

 CC||ralf.habac...@freenet.de

--- Comment #1 from Ralf Habacker  ---
Created attachment 122884
  --> https://bugs.kde.org/attachment.cgi?id=122884&action=edit
Patch for kdelibs to support requested print operation

On Windows builds the appended patch add related support to kdelibs. This need
to be applied to Slackware's kdelibs4 package.

-- 
You are receiving this mail because:
You are the assignee for the bug.

[kmymoney] [Bug 412366] New: Print to File (PDF) broken on KDE4 in 4.8.4

2019-09-26 Thread Erich
https://bugs.kde.org/show_bug.cgi?id=412366

Bug ID: 412366
   Summary: Print to File (PDF) broken on KDE4 in 4.8.4
   Product: kmymoney
   Version: 4.8.4
  Platform: Slackware Packages
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: reports
  Assignee: kmymoney-devel@kde.org
  Reporter: erich.public+bugs.kde@protonmail.com
  Target Milestone: ---

Created attachment 122879
  --> https://bugs.kde.org/attachment.cgi?id=122879&action=edit
Restore "Print to File (PDF)" functionality for KDE4

SUMMARY
Commit 15ac7d472af41fc503dc5209643cfc8b392b0089, introduced in KMyMoney 4.8.4,
breaks Print to File (PDF) functionality on KDE4 in Slackware64 14.2. 
Reverting that commit on branch 4.8 HEAD restores Print to File (PDF)
functionality.

STEPS TO REPRODUCE
1. Choose Reports, 1. Income and Expenses -> Income and Expenses This Month
(Default Report)
2. Then choose Print, Print to File (PDF).

OBSERVED RESULT
KMyMoney goes through all the motions - including asking for confirmation to
overwrite an existing file - but the PDF does not get created.  Versions 4.8.3
and earlier create the PDF as expected.


EXPECTED RESULT
PDF file gets created by KMyMoney.

SOFTWARE/OS VERSIONS
Linux: Slackware64 14.2
KDE Platform Version: 4.14.38
Qt Version: 4.8.7

ADDITIONAL INFORMATION

I also developed a small patch which restores Print to File (PDF) functionality
for me, but the print dialog appears twice (I did expect that to happen when I
tried out the patch).  So it is not a proper patch.

What I believe is the cause of the problem:
The net result of patches:
5f4f90e83565647f3579660e4c5d9ac447547a02 Fix 'Printer settings are not saved'
15ac7d472af41fc503dc5209643cfc8b392b0089 Add print support for report charts
Changes the "print" command from
m_part->view()->print()
to
q->m_part->view()->print(true);
when KDE_IS_VERSION(4, 14, 65) is false (which is the case for me).

>From what I can tell from reading the docs (I am not a KDE developer), this
changes the "print" command from "print by asking the user how to print" to
"print using the default settings".  Unfortunately, those "default settings"
are not what KMyMoney asked about in the code immediately preceding the "print"
command, they must be the system-wide defaults.  My minimally-invasive patch
simply changes the print command back to what it used to be, with the net
effect that the print dialog appears twice when printing a report.

I did not test printing charts, which is what
15ac7d472af41fc503dc5209643cfc8b392b0089 addressed in the first place.

Another Slackware user was able to reproduce the issue.  See thread at:
https://lists.slackbuilds.org/pipermail/slackbuilds-users/2019-September/023367.html

-- 
You are receiving this mail because:
You are the assignee for the bug.