Bug 406251 - Korganizer preview and print do not shows events
Summary: Korganizer preview and print do not shows events
Status: RESOLVED FIXED
Alias: None
Product: korganizer
Classification: Applications
Component: printing (show other bugs)
Version: unspecified
Platform: Kubuntu Linux
: NOR normal
Target Milestone: ---
Assignee: kdepim bugs
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-04-05 12:27 UTC by Etienne
Modified: 2021-06-12 00:35 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Etienne 2019-04-05 12:27:21 UTC
SUMMARY
Impossible to print with Korganizer, printed page and preview doesn't contain any event. The time grid is here but event are missing

STEPS TO REPRODUCE
1. Open Korganizer
2. File/print preview
3. no matter settings

OBSERVED RESULT
The time grid is present but the page doesn't show any events

EXPECTED RESULT
Events printed on the page and shown in the print preview.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Kubuntu 18.04 Linux 4.15.0-46-generic
(available in About System)
KDE Plasma Version: 5.12.7
KDE Frameworks Version: 5.44.0
Qt Version: 5.9.5

ADDITIONAL INFORMATION
Comment 1 Etienne 2019-04-05 12:28:15 UTC
Maybe related to https://bugs.kde.org/show_bug.cgi?id=403159
but page is not blank, it contains the times lines but no events.
Comment 2 Peer Frank 2019-06-24 18:38:14 UTC
same problem using OpenSuse Leap 15.1
korganizer 5.10.3 (KDE FW 5.55)
Comment 3 Bug Janitor Service 2021-06-10 00:38:32 UTC
A possibly relevant merge request was started @ https://invent.kde.org/frameworks/kcalendarcore/-/merge_requests/39
Comment 4 gjditchfield 2021-06-12 00:35:11 UTC
Git commit b5528e13069a23626a9ad6ccbbd398c8a3df1bfa by Glen Ditchfield, on behalf of Glen Ditchfield.
Committed on 12/06/2021 at 00:34.
Pushed by gditchfield into branch 'master'.

Return start datetimes for non-recurring incidences

When given a non-recurring incidence and a date between its start and end
datetimes, `startDateTimesForDate()` returned an empty list instead of
the start date.  As a result, the printed timetables did not print
non-recurring events.
Related: bug 396570, bug 410520

M  +1    -0    autotests/CMakeLists.txt
A  +68   -0    autotests/teststartdatetimesfordate.cpp     [License: LGPL(v2.0+)]
M  +1    -1    src/incidence.cpp

https://invent.kde.org/frameworks/kcalendarcore/commit/b5528e13069a23626a9ad6ccbbd398c8a3df1bfa