[Akonadi] [Bug 492120] crash on parsing outlook event

2024-09-13 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=492120

--- Comment #6 from Daniel Vrátil  ---
Git commit 2c4d702e630e832237f02b762890ca8ed03bd08c by Daniel Vrátil.
Committed on 13/09/2024 at 10:21.
Pushed by dvratil into branch 'release/24.08'.

Attempt to workaround EWS servers sometimes returning broken iCal

Apparently it's a known issue that some versions of EWS (including Outlook365)
in some situations return an invalid iCal that is missing the closing
END:VCALENDAR entry. This causes the event to be missing at best or to
crash the EWS code at worst.

This workaround simply checks for presence of END:VCALENDAR in the response
and if it's missing it will simply append it to the end.
Related: bug 491681
FIXED-IN: 24.08.2

M  +22   -2resources/ews/calendar/ewsfetchcalendardetailjob.cpp

https://invent.kde.org/pim/kdepim-runtime/-/commit/2c4d702e630e832237f02b762890ca8ed03bd08c

-- 
You are receiving this mail because:
You are watching all bug changes.

[Akonadi] [Bug 491681] Some calendar invites are not processed properly

2024-09-13 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=491681

Daniel Vrátil  changed:

   What|Removed |Added

 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/pim/
   ||kdepim-runtime/-/commit/2c4
   ||d702e630e832237f02b762890ca
   ||8ed03bd08c
   Version Fixed In||24.08.2
 Status|ASSIGNED|RESOLVED

--- Comment #2 from Daniel Vrátil  ---
Git commit 2c4d702e630e832237f02b762890ca8ed03bd08c by Daniel Vrátil.
Committed on 13/09/2024 at 10:21.
Pushed by dvratil into branch 'release/24.08'.

Attempt to workaround EWS servers sometimes returning broken iCal

Apparently it's a known issue that some versions of EWS (including Outlook365)
in some situations return an invalid iCal that is missing the closing
END:VCALENDAR entry. This causes the event to be missing at best or to
crash the EWS code at worst.

This workaround simply checks for presence of END:VCALENDAR in the response
and if it's missing it will simply append it to the end.
Related: bug 492120
FIXED-IN: 24.08.2

M  +22   -2resources/ews/calendar/ewsfetchcalendardetailjob.cpp

https://invent.kde.org/pim/kdepim-runtime/-/commit/2c4d702e630e832237f02b762890ca8ed03bd08c

-- 
You are receiving this mail because:
You are watching all bug changes.

[Akonadi] [Bug 492547] Akonadi crashes while automatic mail check in KMail

2024-09-12 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=492547

Daniel Vrátil  changed:

   What|Removed |Added

 CC||axel.br...@gmx.de

--- Comment #4 from Daniel Vrátil  ---
*** Bug 492607 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[kmail2] [Bug 492607] akonadi crashes with core dump

2024-09-12 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=492607

Daniel Vrátil  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |DUPLICATE
 CC||dvra...@kde.org

--- Comment #4 from Daniel Vrátil  ---
The backtrace is incomplete, but the last frame before KCrash is
_ZNSt8__detail15_List_node_base9_M_unhookEv, which points at the same std::list
corruption that we had in the QueryCache code. The corrupted QueryCache would
also explain the SQL query errors where we are trying to execute queries with
obviously mismatched parameters, so I think this is almost definitely a
duplicate of bug 492547.

*** This bug has been marked as a duplicate of bug 492547 ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[Akonadi] [Bug 492547] Akonadi crashes while automatic mail check in KMail

2024-09-06 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=492547

Daniel Vrátil  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/pim/
   ||akonadi/-/commit/dc86d700ee
   ||726a7645bd66738c201cf2cb895
   ||7af
 Status|ASSIGNED|RESOLVED
   Version Fixed In||24.08.1
 Resolution|--- |FIXED

--- Comment #3 from Daniel Vrátil  ---
Git commit dc86d700ee726a7645bd66738c201cf2cb8957af by Daniel Vrátil.
Committed on 06/09/2024 at 09:13.
Pushed by dvratil into branch 'release/24.08'.

Fix crash when query is evicted from QueryCache

The eviction code was bugged and caused unrelated entries to be
evicted from m_keys and m_queries. This lead to m_keys holding
an invalid iterator to m_queries, resulting in a crash.
FIXED-IN: 24.08.1

M  +1-0autotests/server/CMakeLists.txt
A  +75   -0autotests/server/querycachetest.cpp [License: LGPL(v2.0+)]
M  +16   -5src/server/storage/querycache.cpp
M  +3-0src/server/storage/querycache.h

https://invent.kde.org/pim/akonadi/-/commit/dc86d700ee726a7645bd66738c201cf2cb8957af

-- 
You are receiving this mail because:
You are watching all bug changes.

[Akonadi] [Bug 425619] Application: akonadi_imap_resource_5 (akonadi_imap_resource), signal: Segmentation fault

2024-06-13 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=425619

Daniel Vrátil  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|CONFIRMED   |RESOLVED
 CC||dvra...@kde.org

--- Comment #11 from Daniel Vrátil  ---
Fixed in
https://invent.kde.org/pim/akonadi/-/commit/c00d98a258eeb4ebe2348ce16aa6fe22e8d327c1
and
https://invent.kde.org/pim/akonadi/-/commit/1cf9075a3e16dd4c4eeda3d8a95db728e5323390

-- 
You are receiving this mail because:
You are watching all bug changes.

[Akonadi] [Bug 486350] KMail akonadi_maildir_resource crashes on manual update

2024-06-13 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=486350

Daniel Vrátil  changed:

   What|Removed |Added

 CC||dvra...@kde.org
 Status|REPORTED|RESOLVED
 Resolution|--- |FIXED

--- Comment #1 from Daniel Vrátil  ---
Fixed in
https://invent.kde.org/pim/akonadi/-/commit/c00d98a258eeb4ebe2348ce16aa6fe22e8d327c1
and
https://invent.kde.org/pim/akonadi/-/commit/1cf9075a3e16dd4c4eeda3d8a95db728e5323390

-- 
You are receiving this mail because:
You are watching all bug changes.

[systemsettings] [Bug 486935] Find Action/Command Bar partially hidden by KCM content

2024-06-12 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=486935

--- Comment #2 from Daniel Vrátil  ---
No, I did not do anything special. Honestly, I had to google pretty hard to
find what the shortcut actually is :-) then I proceeded to try it out in random
apps, incl. system settings and there I noticed the bug. I can still get it
shown in 6.0.5 on ArchLinux. I'll try to reproduce in a clean VM installation
and report back.

-- 
You are receiving this mail because:
You are watching all bug changes.

[systemsettings] [Bug 486935] New: Find Action/Command Bar partially hidden

2024-05-12 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=486935

Bug ID: 486935
   Summary: Find Action/Command Bar partially hidden
Classification: Applications
   Product: systemsettings
   Version: 6.0.4
  Platform: Arch Linux
OS: Linux
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: Quick Settings
  Assignee: plasma-b...@kde.org
  Reporter: dvra...@kde.org
  Target Milestone: ---

Created attachment 169406
  --> https://bugs.kde.org/attachment.cgi?id=169406&action=edit
Screenshot of the problem

SUMMARY
When I invoke the command bar ("Find Action") via Ctrl+Alt+I in the System
Settings window, the popup is only partially visible - it's visible above the
navigation view, but the rest is obscured by the actual KCM view on the right -
see the attached screenshot.

STEPS TO REPRODUCE
1. Open System Settings
2.  Press Ctrl+Alt+I (or whatever shortcut you have configured for "Find
Action")

OBSERVED RESULT
The command bar is partially obscured by the window content.

EXPECTED RESULT
The command bar appears on top of all the window content.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch Linux
KDE Plasma Version: 6.0.4
KDE Frameworks Version: 6.1.0
Qt Version: 6.7.0

ADDITIONAL INFORMATION
Graphics platform: Wayland

-- 
You are receiving this mail because:
You are watching all bug changes.

[Akonadi] [Bug 485132] DAV resource: invalid response from backend

2024-05-09 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=485132

Daniel Vrátil  changed:

   What|Removed |Added

 CC||dvra...@kde.org
 Status|REPORTED|NEEDSINFO
 Resolution|--- |WAITINGFORINFO

--- Comment #2 from Daniel Vrátil  ---
The error message is not very good, but it indicates that the DAV server has
returned an invalid response.

Is this some standard DAV server (like Nextcloud), or some custom/proprietary
one? Are you able to test with some other calendar client?

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 485621] No alarams and no updates from Google - update is stuck

2024-05-09 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=485621

Daniel Vrátil  changed:

   What|Removed |Added

 Resolution|--- |WAITINGFORINFO
 CC||dvra...@kde.org
 Status|REPORTED|NEEDSINFO

--- Comment #1 from Daniel Vrátil  ---
Do reminders from other calendar types work?

Can you please check whether there's a process called "kalendarac" running on
your system?

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 485205] Most recent calendar entries deleted when reloading the file where they are supposed to be saved

2024-05-09 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=485205

Daniel Vrátil  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |---
 Status|NEEDSINFO   |REPORTED

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 485207] Error while trying to create calendar item. Error was: Invalid parent collection

2024-05-09 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=485207

Daniel Vrátil  changed:

   What|Removed |Added

 Resolution|WAITINGFORINFO  |---
 Status|NEEDSINFO   |REPORTED

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 486243] Crash when shift+deleting an event

2024-05-06 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=486243

Daniel Vrátil  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 CC||dvra...@kde.org
 Status|REPORTED|RESOLVED

--- Comment #1 from Daniel Vrátil  ---
Fixed by David in current git master:
https://invent.kde.org/pim/akonadi-calendar/-/merge_requests/87

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 485761] Events of newly added .ics calendar aren't shown

2024-04-23 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=485761

Daniel Vrátil  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 CC||dvra...@kde.org
 Status|REPORTED|CONFIRMED

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 485722] there's no way to switch to the standard 24 hour display

2024-04-23 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=485722

Daniel Vrátil  changed:

   What|Removed |Added

 Resolution|--- |WAITINGFORINFO
 CC||dvra...@kde.org
 Status|REPORTED|NEEDSINFO

--- Comment #1 from Daniel Vrátil  ---
Please provide at least a screenshot so we can know what "unreadable" means in
this context.

The format of date and time displayed in KOrganizer is controlled by your
locale settings, you can configure it in System Settings -> Region & Language.
If the time format in KOrganizer doesn't match what you have configured in
System Settings, please provide also screenshot of the System Settings page, so
we can try to figure out what's wrong.

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 485205] Most recent calendar entries deleted when reloading the file where they are supposed to be saved

2024-04-14 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=485205

--- Comment #5 from Daniel Vrátil  ---
Thanks for the debug log. I regret to say that I can't see anything else in the
logs that would help narrow down the problem.

Btw I just noticed: 
Linux/KDE Plasma: Debian Bookworm 6.6.20+rpt-rpi-v8 (64-bit)

You are running on aarch64 RPI? I wonder whether there could be some
ARM-specific issue,  I think this is the first time I actually hear from
someone running KOrganizer and Akonadi on Arm :)

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 485391] ToDo when enabled on Sidebar, Tasks Not Visible Until Going to the Discrete Todo view then back to Agenda.

2024-04-14 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=485391

Daniel Vrátil  changed:

   What|Removed |Added

 CC||dvra...@kde.org
 Resolution|--- |FIXED
 Status|REPORTED|RESOLVED

--- Comment #2 from Daniel Vrátil  ---
Hi, this issue has been fixed as part of fix for bug 484040 and will be
released in 24.05

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 485185] After deleting a Todo, the next one cannot be deleted with a key

2024-04-14 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=485185

Daniel Vrátil  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
  Latest Commit||https://invent.kde.org/pim/
   ||eventviews/-/commit/b856f11
   ||cd2498aeed3b19bfdf672549b21
   ||4d50ef
 Resolution|--- |FIXED
   Version Fixed In||24.05

--- Comment #2 from Daniel Vrátil  ---
Git commit b856f11cd2498aeed3b19bfdf672549b214d50ef by Daniel Vrátil.
Committed on 10/04/2024 at 19:56.
Pushed by dvratil into branch 'master'.

TodoView: Use current instead of selection to track active todo

Current index is implicit, so when one todo is deleted, the next one
automatically becomes current, so user can continue deleting, while
with selection, user had to manually update the selection in order to
be able to delete the next todo.
FIXED-IN: 24.05

M  +5-6src/todo/todoview.cpp
M  +1-1src/todo/todoview.h

https://invent.kde.org/pim/eventviews/-/commit/b856f11cd2498aeed3b19bfdf672549b214d50ef

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 485205] Most recent calendar entries deleted when reloading the file where they are supposed to be saved

2024-04-10 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=485205

Daniel Vrátil  changed:

   What|Removed |Added

 Resolution|--- |WAITINGFORINFO
 Status|REPORTED|NEEDSINFO

--- Comment #2 from Daniel Vrátil  ---
(just changing status)

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 485207] Error while trying to create calendar item. Error was: Invalid parent collection

2024-04-10 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=485207

Daniel Vrátil  changed:

   What|Removed |Added

 Resolution|--- |WAITINGFORINFO
 Status|REPORTED|NEEDSINFO

--- Comment #2 from Daniel Vrátil  ---
(just changing status)

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 485205] Most recent calendar entries deleted when reloading the file where they are supposed to be saved

2024-04-10 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=485205

Daniel Vrátil  changed:

   What|Removed |Added

 CC||dvra...@kde.org

--- Comment #1 from Daniel Vrátil  ---
Hmm, this is weird, any changes should be written into the iCal file
immediately. I suspect there might be some deeper problem with your Akonadi
(also considering your other bug report).

Could you please run the following commands in terminal and create one or two
new events in KOrganizer?

akonadictl stop
QT_LOGGING_RULES="*=true;qt.*=false" korganizer &> log.txt

Once done, please attach the log.txt file here (double-check the log for any
personal data before uploading it) so we can try to better understand what
might be wrong.

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 485207] Error while trying to create calendar item. Error was: Invalid parent collection

2024-04-10 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=485207

Daniel Vrátil  changed:

   What|Removed |Added

 CC||dvra...@kde.org

--- Comment #1 from Daniel Vrátil  ---
Hi, thanks for the report.  I can't reproduce it locally just by following your
description, could you please tell me a bit more?

1) Could you please specify in which view (agenda/month view/etc.) does this
happen? 
2) Do you have multiple calendars, or just a single one?
3) Do you have some calendar marked as default?
4) What kind of calendar is it (ical, DAV, Google, etc.?)

If you have more than one calendar, you should get a dialog that lets you
select the calendar to paste into. If you have only one calendar, the event
should automatically get pasted into it.

Could you please run KOrganizer from terminal with the following command:

  QT_LOGGING_RULES="*=true;qt.*=false" korganizer

then try to reproduce the bug and provide here the log that's printed to the
console?

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 483504] holiday display doesn't update after picking holidays

2024-04-08 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=483504

Daniel Vrátil  changed:

   What|Removed |Added

   Version Fixed In||24.05
 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/pim/
   ||korganizer/-/commit/37bf211
   ||9cf46302df5c266a886ac575998
   ||44030d
 Status|ASSIGNED|RESOLVED

--- Comment #2 from Daniel Vrátil  ---
Git commit 37bf2119cf46302df5c266a886ac57599844030d by Daniel Vrátil.
Committed on 08/04/2024 at 15:50.
Pushed by dvratil into branch 'master'.

Remove options from KOPrefs that already exist in CalendarSupport::KCalPrefs

Some of the holiday-related options were duplicated in both KOPrefs (KOrganizer
config) and KCalPrefs (CalendarSupport config used by other components like
EventViews). While both objects operate on top of the same config file, if the
holidays option got changed through one of the objects, the other one was
unaware
of the change.

This caused a weird behavior where re-configuring holidays in KOrganizer showed
up only where KOPrefs object was used to read the configuration, but wouldn't
show up in event views, which use KCalPrefs until the application was
restarted.
FIXED-IN: 24.05

M  +2-2src/calendarview.cpp
M  +2-2src/kocorehelper.h
M  +8-7src/prefs/koprefsdialogtime.cpp
M  +0-17   src/settings/korganizer.kcfg

https://invent.kde.org/pim/korganizer/-/commit/37bf2119cf46302df5c266a886ac57599844030d

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 485185] After deleting a Todo, the next one cannot be deleted with a key

2024-04-07 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=485185

Daniel Vrátil  changed:

   What|Removed |Added

 Status|REPORTED|CONFIRMED
 Ever confirmed|0   |1

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 485185] New: After deleting a Todo, the next one cannot be deleted with a key

2024-04-07 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=485185

Bug ID: 485185
   Summary: After deleting a Todo, the next one cannot be deleted
with a key
Classification: Applications
   Product: korganizer
   Version: 6.0.0
  Platform: Other
OS: Other
Status: REPORTED
  Severity: normal
  Priority: NOR
 Component: todoview
  Assignee: kdepim-b...@kde.org
  Reporter: dvra...@kde.org
  Target Milestone: ---

Deleting a Todo with [Del] key automatically selects the next todo, but the
[Del] key doesn't work for it, one has to either click it, or go to the next
one and then go back to the previous one with arrow keys, after that [Del] key
works again to delete the Todo.

The view only reacts to "Selection" change, but the view automatically
re-selecting the next item after the orignal one was deletected doesn't count
as a selection, I guess.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: git master
KDE Plasma Version: 6.0
KDE Frameworks Version:  git master
Qt Version: 6.6

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 483707] When selecting a end date for a recurring event the wrong date is saved

2024-04-02 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=483707

Daniel Vrátil  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/fram
   ||eworks/kcalendarcore/-/comm
   ||it/f74313db7456f20a16c7a741
   ||33218b85b123c093
 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED
   Version Fixed In||6.1.0

--- Comment #2 from Daniel Vrátil  ---
Git commit f74313db7456f20a16c7a74133218b85b123c093 by Daniel Vrátil.
Committed on 29/03/2024 at 14:31.
Pushed by cullmann into branch 'master'.

Fix conversion of date-only icaltimetype to UTC QDateTime

The code in readICalDateTime converts the values in icaltimetype structure
to a QDateTime, using the timezone specified in the icaltimetype. If the
icaltimetype is day-only (e.g. in all-day incidence) then it does not
have any timezone information and so Qt::LocalTime is assumed, and a new
QDateTime is constructed that happens on the midnight (beginning) of the
specified day, in user's current local timezone.

In some cases, the function is asked to return the QDateTime in UTC timezone
(for fields that the RFC mandates be always in UTC, like RRULE's UNTIL).
If the user's local timezone is in positive UTC offset, the QDateTime
gets converted to UTC, which shifts those \"all-day\" QDateTimes back
by one day. Later in the code, when it realizes it should be dealing only
with a date, the timezone information is discarded and we end up with a
QDate(Time) that is off by one day compared to what's stored in the iCal data.

This fixes simplifies the handling of day-only icaltimetype and makes sure
to construct the QDateTime already in the correct timezone (i.e. UTC) so
no more conversions are necessary.
FIXED-IN: 6.1.0

M  +31   -0autotests/testicalformat.cpp
M  +1-0autotests/testicalformat.h
M  +4-4src/icalformat_p.cpp

https://invent.kde.org/frameworks/kcalendarcore/-/commit/f74313db7456f20a16c7a74133218b85b123c093

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 483823] New event button does not use currently selected date as default

2024-03-27 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=483823

Daniel Vrátil  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/pim/
   ||eventviews/-/commit/7267eae
   ||b9acfbe35f562ae4ad3be64313c
   ||85a2e1
 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED
   Version Fixed In||24.02.2

--- Comment #3 from Daniel Vrátil  ---
Git commit 7267eaeb9acfbe35f562ae4ad3be64313c85a2e1 by Daniel Vrátil.
Committed on 27/03/2024 at 14:03.
Pushed by dvratil into branch 'release/24.02'.

Don't overwrite valid date in eventDurationHint()

The view's hint function is called whenever a new event/todo/journal
is being created from KOrganizer. When the new incidence is being
created via context menu in the side-pane calendar preview, the selected
date might be different from the date currently selected in the main
view. In such case, the view should only provide a hint (e.g. about
duration or allday-ness of the new event) but shouldn't replace the
valid dates.
FIXED-IN: 24.02.2

M  +9-0src/agenda/agendaview.cpp
M  +9-0src/month/monthview.cpp
M  +19   -4src/timeline/timelineview.cpp

https://invent.kde.org/pim/eventviews/-/commit/7267eaeb9acfbe35f562ae4ad3be64313c85a2e1

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 483707] When selecting a end date for a recurring event the wrong date is saved

2024-03-26 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=483707

Daniel Vrátil  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 CC||dvra...@kde.org
 Status|REPORTED|CONFIRMED

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 483822] 23.08.2 -> 24.02 upgrade: all caldav calenders use now a new colors in the views

2024-03-26 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=483822

Daniel Vrátil  changed:

   What|Removed |Added

Version|5.14.0  |6.0.0
   Version Fixed In||24.02.2

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 483822] 23.08.2 -> 24.02 upgrade: all caldav calenders use now a new colors in the views

2024-03-26 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=483822

Daniel Vrátil  changed:

   What|Removed |Added

 CC||dvra...@kde.org
 Resolution|--- |FIXED
 Status|REPORTED|RESOLVED

--- Comment #1 from Daniel Vrátil  ---
This has been fixed in git master in the meanwhile:

https://commits.kde.org/pim/eventviews/982bed25ef8dd971033ddf8e4a3ee73f85678e75
https://commits.kde.org/pim/eventviews/b63758052aa58cd0958597925b3af4eaa3f7f59c
https://commits.kde.org/pim/eventviews/6785553c39bca4d6cb483eceb99d5b32b8345737

I have cherry-picked the commits to release/24.02 branch, so it will be fixed
in 24.02.2.

There's still the separate issue of not being able to reset the calendar color
to default, I'll look into it.

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 483823] New event button does not use currently selected date as default

2024-03-26 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=483823

Daniel Vrátil  changed:

   What|Removed |Added

 Status|REPORTED|CONFIRMED
 Ever confirmed|0   |1
 CC||dvra...@kde.org

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 484040] Filters don't work

2024-03-26 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=484040

Daniel Vrátil  changed:

   What|Removed |Added

 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/pim/
   ||korganizer/-/commit/fe21a20
   ||a78587f6bf1c693a435028f8bf9
   ||964854
   Version Fixed In||24.02.3
 Status|CONFIRMED   |RESOLVED

--- Comment #4 from Daniel Vrátil  ---
Git commit fe21a20a78587f6bf1c693a435028f8bf9964854 by Daniel Vrátil.
Committed on 26/03/2024 at 14:38.
Pushed by dvratil into branch 'release/24.02'.

Fix calendar view filters not being applied

Selecting a filter in View -> Filters did not apply cause the
filter to be applied to the individual CollectionCalendars,
only to the global ETMCalendar, which is not used as a source
of events, though.
FIXED-IN: 24.02.3

M  +26   -0src/calendarview.cpp
M  +9-0src/calendarview.h

https://invent.kde.org/pim/korganizer/-/commit/fe21a20a78587f6bf1c693a435028f8bf9964854

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 476642] Wrong calculation in week recurrence after 15 iterations

2024-03-25 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=476642

--- Comment #25 from Daniel Vrátil  ---
Ha, this might be the key!

> but on the weeks 18-24.03.2024 and 25-31.03.2024 it is again incorrectly 
> absent for 2 weeks in a row

Coincidentally, those dates are immediately around DST change dates in Europe:

DST end: October 29th, 2023 (affects next immediate recurrence, should be on
November 4th, is on Nov 11th)
DST start: March 31st, 2024 (affects previous immediate recurrence, should be
on March 23rd, is missing)

This massively narrows down the scope of code I need to dig through now :-)
I'll see if I can spot the bug in the code or create some artificial testcase.
Still curious what's could be the last bit of settings that I'm missing that
makes the bug to manifest...

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 484040] Filters don't work

2024-03-25 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=484040

--- Comment #3 from Daniel Vrátil  ---
Git commit fd6d6bd3d7c24b95a8d91b0233ada61a08658738 by Daniel Vrátil.
Committed on 22/03/2024 at 14:22.
Pushed by dvratil into branch 'release/24.02'.

Apply current view filter on the Todo model as well

Previously the Todo model was derived from ETMCalendar, which internally
had a CalFilterProxyModel to filter out incidences based on a CalFilter.
Nowadays we are building right on top of an ETM, so we need to apply the
filter manually.

It's a little hacky solution, but it is achieved by taking the current
filter from one of the active calendars and manually filtering each
Todo through it in the TodoViewSortFilterProxyModel.
FIXED-IN: 24.02.3

M  +9-1src/todo/todoview.cpp
M  +23   -2src/todo/todoviewsortfilterproxymodel.cpp
M  +12   -0src/todo/todoviewsortfilterproxymodel.h

https://invent.kde.org/pim/eventviews/-/commit/fd6d6bd3d7c24b95a8d91b0233ada61a08658738

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 481031] Crash when opening

2024-03-22 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=481031

--- Comment #3 from Daniel Vrátil  ---
Git commit 9bf3506cd0788d164ac3fe41a7510bb6143a2866 by Daniel Vrátil.
Committed on 22/03/2024 at 09:17.
Pushed by dvratil into branch 'master'.

MemoryCalendar: log details about duplicate events before asserting

When trying to insert an incidence into a MemoryCalendar that has a UID
that is already present in the calendar, first log as much as possible
before asserting that it's the same insert being re-inserted.

This does not fix anything, but might help with diagnostics, and provides
some useful and actionable output before asserting.

M  +8-3src/memorycalendar.cpp

https://invent.kde.org/frameworks/kcalendarcore/-/commit/9bf3506cd0788d164ac3fe41a7510bb6143a2866

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 482400] Bug KOrganizer creazione/modifica eventi/attività

2024-03-22 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=482400

Daniel Vrátil  changed:

   What|Removed |Added

 Resolution|--- |WORKSFORME
 Status|REPORTED|RESOLVED

--- Comment #3 from Daniel Vrátil  ---
OK, not much I can do with this info, sorry. Closing.

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 484040] Filters don't work

2024-03-22 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=484040

Daniel Vrátil  changed:

   What|Removed |Added

 Status|REPORTED|CONFIRMED
 Ever confirmed|0   |1
 CC||dvra...@kde.org

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 476642] Wrong calculation in week recurrence after 15 iterations

2024-03-22 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=476642

--- Comment #22 from Daniel Vrátil  ---
Oh and also version of Qt (at least the qtbase package
(qt-base/qt5-base/qtbase-qt5... depends on the distro), please.

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 476642] Wrong calculation in week recurrence after 15 iterations

2024-03-22 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=476642

Daniel Vrátil  changed:

   What|Removed |Added

 Resolution|--- |WAITINGFORINFO
 Status|REPORTED|NEEDSINFO

--- Comment #21 from Daniel Vrátil  ---
Thanks for all the data, unfortunately I wasn't able to reproduce the problem
in any of three different VMs.

Could you please specify distro and exact KOrganizer version? Can you think of
any other special settings you might have that could influence this?

Also, could you please check whether the bug is also present in e.g. Agenda
view in week view (e.g. whether the event is shown correctly on week 44 or
whether it's incorrectly shifted to week 45)?

Also, in the small calendar preview in the top-left corner, the dates on which
an even occur should be highlighted in bold. Do  you see the correct boldened
dates (i.e. 1.11. and 15.11. or is 8.11. boldened?)

-- 
You are receiving this mail because:
You are watching all bug changes.

[Akonadi] [Bug 483322] Imposible to configure "Google Groupware"

2024-03-12 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=483322

Daniel Vrátil  changed:

   What|Removed |Added

Product|libkgapi|Akonadi
   Assignee|dvra...@kde.org |kdepim-b...@kde.org
 CC||c...@carlschwan.eu,
   ||dvra...@kde.org
  Component|calendar|Google Resource
 Status|REPORTED|NEEDSINFO
 Resolution|--- |WAITINGFORINFO

--- Comment #1 from Daniel Vrátil  ---
The button should execute your browser via the default URL handler application.
Is it possible that this got somehow lost during the upgrade? Could you please
try restarting Akonadi from console (akonadictl restart) and try to reproduce
to see if it prints anything interesting in the console output?

What the "Configure" button does should be equivalent to running xdg-open from
command line:

xdg-open "https://www.kde.org";

Can you please check that this command works on your system?

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 483336] korganizer crash on close

2024-03-12 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=483336

Daniel Vrátil  changed:

   What|Removed |Added

 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/pim/
   ||korganizer/-/commit/03ec88a
   ||bd428aea0ce9cf04d9def2af778
   ||60e00f
 Status|REPORTED|RESOLVED
   Version Fixed In||24.02.2

--- Comment #1 from Daniel Vrátil  ---
Git commit 03ec88abd428aea0ce9cf04d9def2af77860e00f by Daniel Vrátil.
Committed on 12/03/2024 at 20:48.
Pushed by dvratil into branch 'release/24.02'.

Fix double-free corruption on exit

The mDecorations QTreeWidgetItem is owned by the QTreeWidget, which is owned
by KOPrefsDialogPlugins' parent widget. So when the parent widget deletes
the QTreeWidget, the decorations tree item is deleted as well and once
we enter KOPrefsDialogPlugins' destructor, mDecorations is a dangling
pointer by then.

(cherry picked from commit 87c20da417cbf9314b60275cdcd38a8cfc723a05)
FIXED-IN: 24.02.2

M  +0-1src/prefs/koprefsdialogplugins.cpp

https://invent.kde.org/pim/korganizer/-/commit/03ec88abd428aea0ce9cf04d9def2af77860e00f

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 482246] todo view no longer displays the list of tasks

2024-03-12 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=482246

Daniel Vrátil  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |WORKSFORME

--- Comment #3 from Daniel Vrátil  ---
Ok, marking as WORKSFORME, then. Feel free to reopen, should you run into the
issue again.

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 476642] Wrong calculation in week recurrence after 15 iterations

2024-03-12 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=476642

--- Comment #16 from Daniel Vrátil  ---
Joris, what version of KOrganizer do you have? Also, what exact locale
(Germany, Austria, Switzerland, etc.) do you have configured? Would you mind
sharing screenshot from System Settings -> Region & Language page (feel free to
share it directly with me if you don't feel comfortable uploading it here), and
what is your exact timezone settings (System Settings -> Date & Time -> Time
Zone)?

I can't reproduce it with my current set up, and I suspect this might have
something to do with locale/regional settings, so I need to re-configure my
system the exact same way, so I can have some hope of reproducing the problem.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Akonadi] [Bug 483060] Akonadi sending UTC timestamps as local time to MySQL (and this failing around DST change) - QMYSQL bug?

2024-03-12 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=483060

Daniel Vrátil  changed:

   What|Removed |Added

 Status|CONFIRMED   |RESOLVED
  Latest Commit||https://invent.kde.org/pim/
   ||akonadi/-/commit/c98b05b79a
   ||a849ebba2f4c309484428dd08df
   ||042
 Resolution|--- |FIXED

--- Comment #9 from Daniel Vrátil  ---
Git commit c98b05b79aa849ebba2f4c309484428dd08df042 by Daniel Vrátil.
Committed on 12/03/2024 at 07:41.
Pushed by dvratil into branch 'master'.

Fix handling of UTC vs. local time for database engines

Each database handles datetimes slightly differently. Our biggest
problem was MySQL, where the QMYSQL driver strips timezone, so
the MySQL server assumes the time is a local time. Akonadi was,
however, passing a UTC time, which then MySQL tried to interpret
as local time, which lead to two issues:
  1) it failed if the time was not a valid time in local timezone (DST)
  2) it required special handling when reading the time back from DB
 because MySQL returned UTC time but with local timezone set.

So instead we make sure we handle datetime properly when insert it
into the database. This can be handled from a singular place in
QueryBuilder, so it's fully transparent to the caller.

There's no migration for the existing database, since at worst the
time is slightly off and shouldn't have actual impact on functionality.

This has also been fixed independently in Qt, so in the future
we might be able to drop this completely.

M  +2-0autotests/server/CMakeLists.txt
A  +139  -0autotests/server/dbdatetimetest.cpp [License: LGPL(v2.0+)]
A  +1-0autotests/server/unittestenv
M  +1-1src/server/dbmigrator/dbmigrator.cpp
M  +1-1src/server/handler/itemfetchhelper.cpp
M  +0-3src/server/storage/entities-source.xsl
M  +0-3src/server/storage/entities.xsl
M  +6-1src/server/storage/querybuilder.cpp
M  +34   -24   src/server/utils.h

https://invent.kde.org/pim/akonadi/-/commit/c98b05b79aa849ebba2f4c309484428dd08df042

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 482246] todo view no longer displays the list of tasks

2024-03-11 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=482246

Daniel Vrátil  changed:

   What|Removed |Added

 CC||dvra...@kde.org

--- Comment #1 from Daniel Vrátil  ---
I can see tasks from Google Calendar  in the "To-do list" view in KOrganizer
(using 6.0.0). Could you please check, when running KOrganizer from command
line, whether it prints any warnings or errors?

-- 
You are receiving this mail because:
You are watching all bug changes.

[Akonadi] [Bug 483061] Akodani server does not declare UTC times as UTC, resulting in brief denial of service

2024-03-10 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=483061

Daniel Vrátil  changed:

   What|Removed |Added

 CC||dvra...@kde.org
 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 482400] Bug KOrganizer creazione/modifica eventi/attività

2024-03-09 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=482400

Daniel Vrátil  changed:

   What|Removed |Added

 CC||dvra...@kde.org

--- Comment #1 from Daniel Vrátil  ---
Can you please install debug symbols and try to reproduce again? Without it
it's hard to track where the crash happens. How many calendars do you have
configured?

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 481734] Edit with QT Designer button does nothing

2024-03-09 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=481734

Daniel Vrátil  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 CC||dvra...@kde.org
 Resolution|--- |FIXED

--- Comment #1 from Daniel Vrátil  ---
Thanks for the report. I took a closer look at the 'Custom Pages' settings page
and found out that even when you manage to configure something with it, it
wouldn't show up anywhere, because the feature is (no longer) implemented in
the incidence editor.

As such, we have decided to remove the 'Custom Pages' configuration screen
completely, since it has been broken for many many years and this is the first
report we got about it. So, clearly, no-one has noticed it's broken up until
now, thus we assume no-one is interested in the feature.

It's not the fix you might have expected, but here it is - by removing the
button completely we fixed the problem that it wasn't doing anything :-)

https://invent.kde.org/pim/korganizer/-/merge_requests/118
https://invent.kde.org/pim/incidenceeditor/-/merge_requests/58
https://invent.kde.org/pim/calendarsupport/-/merge_requests/65

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 482229] Korganiser won't show notifications

2024-03-03 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=482229

Daniel Vrátil  changed:

   What|Removed |Added

 CC||dvra...@kde.org

--- Comment #1 from Daniel Vrátil  ---
Can you please check whether a program called "kalendarac" exists and is
running?

-- 
You are receiving this mail because:
You are watching all bug changes.

[Akonadi] [Bug 384309] Adding a certain iCal resource makes Akonadi creates high CPU load

2024-02-28 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=384309

Daniel Vrátil  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/pim/ |https://invent.kde.org/pim/
   |kdepim-runtime/-/commit/a4e |kdepim-runtime/-/commit/d13
   |290c26d98278f729073b909cc96 |6c91ace0f6e52089004221c0aab
   |3e3331c0a8  |b696bdee63

--- Comment #8 from Daniel Vrátil  ---
Git commit d136c91ace0f6e52089004221c0aabb696bdee63 by Daniel Vrátil.
Committed on 28/02/2024 at 21:42.
Pushed by dvratil into branch 'master'.

Fix endless sync loop with some remote iCal sources

The sync in SingleFileResource implementations (iCal, vCard and MBox
resources) is implemented in a little strange way for remote files:

1) Akonadi (or someone) requests sync of the resource's collection
2) The resource starts a download of the new file
3) In the meantime, it syncs content of the current version of
   the file with Akonadi
4) When the file is downloaded, hash of the file is compared with
   previous hash and if they differ, goto 1

Some remote sources (e.g. Google Calendar) generate the iCal on-demand
and as such the file always contains a different DTSTAMP. Thus, whenever
the iCal resource completes the download, the hash will always differ
compared to the previous one, and so it will again re-schedule sync
over and over. While the data are actually available in Akonadi and
to the user, it causes a high CPU load as the iCal is constantly being
re-parsed, Akonadi database update, the Indexing agent is triggered
over and over again. And the bigger the calendar, the worse it is.

This fix changes the behavior by downloading the file, running the
parser (iCal/vCard/mbox/...) and after that performing a regular
sync, so basically:

1) Akonadi (or someone) requests sync of the resource's collection
2) The resource starts a download of the new file
3) When the file is downloaded, the resource syncs the content of the
   file with Akonadi.

I have opted for using QPromise+QFuture combo to perform the async
chaining of download->sync. It's the only solution that requires the
last amount of code refactoring and reorganization in order to properly
sequence the operations. This would be the perfect place for using
coroutines, but I don't want to introduce coroutines as part of a
regular bugfix. I might do an experimental port at some point later.
FIXED-IN: 24.02.1
(cherry picked from commit a4e290c26d98278f729073b909cc963e3331c0a8)

M  +15   -6resources/ical/shared/icalresourcebase.cpp
M  +42   -35   resources/mbox/mboxresource.cpp
M  +14   -6resources/shared/singlefileresource/singlefileresource.h
M  +31   -28   resources/shared/singlefileresource/singlefileresourcebase.cpp
M  +8-2resources/shared/singlefileresource/singlefileresourcebase.h
M  +17   -13   resources/vcard/vcardresource.cpp

https://invent.kde.org/pim/kdepim-runtime/-/commit/d136c91ace0f6e52089004221c0aabb696bdee63

-- 
You are receiving this mail because:
You are watching all bug changes.

[Akonadi] [Bug 384309] Adding a certain iCal resource makes Akonadi creates high CPU load

2024-02-28 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=384309

Daniel Vrátil  changed:

   What|Removed |Added

 Resolution|--- |FIXED
   Version Fixed In||24.02.1
  Latest Commit||https://invent.kde.org/pim/
   ||kdepim-runtime/-/commit/a4e
   ||290c26d98278f729073b909cc96
   ||3e3331c0a8
 Status|ASSIGNED|RESOLVED

--- Comment #7 from Daniel Vrátil  ---
Git commit a4e290c26d98278f729073b909cc963e3331c0a8 by Daniel Vrátil.
Committed on 28/02/2024 at 21:18.
Pushed by dvratil into branch 'release/24.02'.

Fix endless sync loop with some remote iCal sources

The sync in SingleFileResource implementations (iCal, vCard and MBox
resources) is implemented in a little strange way for remote files:

1) Akonadi (or someone) requests sync of the resource's collection
2) The resource starts a download of the new file
3) In the meantime, it syncs content of the current version of
   the file with Akonadi
4) When the file is downloaded, hash of the file is compared with
   previous hash and if they differ, goto 1

Some remote sources (e.g. Google Calendar) generate the iCal on-demand
and as such the file always contains a different DTSTAMP. Thus, whenever
the iCal resource completes the download, the hash will always differ
compared to the previous one, and so it will again re-schedule sync
over and over. While the data are actually available in Akonadi and
to the user, it causes a high CPU load as the iCal is constantly being
re-parsed, Akonadi database update, the Indexing agent is triggered
over and over again. And the bigger the calendar, the worse it is.

This fix changes the behavior by downloading the file, running the
parser (iCal/vCard/mbox/...) and after that performing a regular
sync, so basically:

1) Akonadi (or someone) requests sync of the resource's collection
2) The resource starts a download of the new file
3) When the file is downloaded, the resource syncs the content of the
   file with Akonadi.

I have opted for using QPromise+QFuture combo to perform the async
chaining of download->sync. It's the only solution that requires the
last amount of code refactoring and reorganization in order to properly
sequence the operations. This would be the perfect place for using
coroutines, but I don't want to introduce coroutines as part of a
regular bugfix. I might do an experimental port at some point later.
FIXED-IN: 24.02.1

M  +15   -6resources/ical/shared/icalresourcebase.cpp
M  +42   -35   resources/mbox/mboxresource.cpp
M  +14   -6resources/shared/singlefileresource/singlefileresource.h
M  +31   -28   resources/shared/singlefileresource/singlefileresourcebase.cpp
M  +8-2resources/shared/singlefileresource/singlefileresourcebase.h
M  +17   -13   resources/vcard/vcardresource.cpp

https://invent.kde.org/pim/kdepim-runtime/-/commit/a4e290c26d98278f729073b909cc963e3331c0a8

-- 
You are receiving this mail because:
You are watching all bug changes.

[Akonadi] [Bug 384309] Adding a certain iCal resource makes Akonadi creates high CPU load

2024-02-21 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=384309

Daniel Vrátil  changed:

   What|Removed |Added

  Component|general |ICal file resource
Product|frameworks-kcalendarcore|Akonadi
 CC||c...@carlschwan.eu,
   ||dvra...@kde.org

--- Comment #5 from Daniel Vrátil  ---
The problem with the Google calendar is that every time it's fetched it's
different, so the hashes don't match and we end up in an endless sync loop in
the ical resource that fetches the ical, finds out that the hash differs from
previous and triggers sync, which fetches the ical, finds out the hashes differ
again and triggers another sync and so on.

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 466860] Time Zone isn't consistent in all parts of APP

2024-02-21 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=466860

Daniel Vrátil  changed:

   What|Removed |Added

 CC||dvra...@kde.org
 Status|REPORTED|RESOLVED
 Resolution|--- |INTENTIONAL

--- Comment #1 from Daniel Vrátil  ---
Hi, this is actually a KDE/Plasma-wide timezone settings, not strictly related
to KOrganizer. KOrganizer just honors whatever is configured in the System
Settings.

However, UTC-6 is not really a timezone, it's UTC time offset, which in some
parts of the world changes with DST (for example I live in Prague, Czech
Republic and our UTC offset is UTC+1 in winter and UTC+2 in summer due to DST).
When I set my timezone to Europe/Prague, the software can determine the current
UTC offset automatically based on the current date. If I were using UTC time
offset as my "timezone", I'd have to change it manually twice a year. The
region you live in doesn't observe DST, so UTC-6 would work for you, but I can
already imagine the bugreports about events sometimes being shown an hour too
early/late by users in DST regions who misconfigured their timezone... :-) 

In other words, for the purpose of "showing what's the current time", UTC
offset is not appropriate and we need a proper timezone.

Settings UTC time offset for events is a different topic, as certain events may
happen at a fixed time regardless of DST.

Looking at Google, Saskatoon doesn't observe DST (mostly), so UTC-6 happens to
work for you, but I don't think we want to introduce this support for the
reasons I described above.

Btw. the reason for distinct America/Regina and America/Swift Current
timezones, even though the cities are quite close to each other, is historical,
as in the past, Swift Current (up until the 70s) actually observed the MST,
while the rest of SK observed CST. They switched to CST in 1972, but the
timezone must be preserved for historical reasons. 

So you should just use America/Regina. There are no other timezones for SK
cities :)

[0] https://en.wikipedia.org/wiki/Time_in_Saskatchewan

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 436812] Event not shown in KOrganizer, when the user is attendee and invitation needs action

2024-02-21 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=436812

Daniel Vrátil  changed:

   What|Removed |Added

 CC||dvra...@kde.org
 Resolution|--- |FIXED
 Status|REOPENED|RESOLVED

--- Comment #14 from Daniel Vrátil  ---
The "feature" that KOrganizer was hiding open and declined invitations from
their respective calendars has been removed in 24.02 release, so were the
special "Open Invitations" and "Declined Invitations" calendars that were
supposed to display those, but that did not work properly.

Additionally, In 24.05, there will be a checkbox in KOrganizer settings to
globally show/hide declined invites.

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 481305] Recurrence deletion for events created in another timezone does not work

2024-02-20 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=481305

--- Comment #3 from Daniel Vrátil  ---
Git commit cedb100cb3158d0071358e4c1cc73bbda35412e0 by Daniel Vrátil.
Committed on 21/02/2024 at 07:44.
Pushed by dvratil into branch 'master'.

Correctly handle timezone of recurrence exceptions

An incidence can occur on a different day in its original timezone
than in the user's local timezone. The incidence editor's exception
recurrence editor should always show the exception dates in the
user's local timezone.

M  +9-5src/incidencerecurrence.cpp

https://invent.kde.org/pim/incidenceeditor/-/commit/cedb100cb3158d0071358e4c1cc73bbda35412e0

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 412722] KOrganizer does not show some events from EWS resource

2024-02-20 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=412722

Daniel Vrátil  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|REPORTED|RESOLVED

--- Comment #23 from Daniel Vrátil  ---
I'm closing this as fixed, since the original issue has been fixed - open and
declined invitations will appear in calendars again in 24.02 release. Current
KOrganizer master (to be released in 24.05) has additionally a checkbox in
settings to globally show/hide declined invitations.

Dag, it looks like your problem might be caused by some other issue, please
open a separate bug report and please attach the problematic event (stripped of
PII). Thanks

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 418811] Events stored in the database not displayed in KOrganizer

2024-02-20 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=418811

Daniel Vrátil  changed:

   What|Removed |Added

 Status|CONFIRMED   |RESOLVED
 Resolution|--- |FIXED

--- Comment #32 from Daniel Vrátil  ---
Open and declined invitations will appear in calendars again in 24.02 release,
since the filter was removed recently (by accident, but that doesn't matter,
now it's a feature :-)). KOrganizer master (to be released in 24.05) also has a
checkbox in settings to globally show/hide declined invitations.

I'm closing this as fixed, since open and declined invitations are showing
again, if there are still some other events that are not appearing in
KOrganizer and are not open/declined invitations, please open a new issue.

Sorry this took so long to get fixed.

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 421916] Events not shown when PARTSTAT=NEEDS-ACTION for current identity

2024-02-20 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=421916

Daniel Vrátil  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |FIXED
 CC||dvra...@kde.org

--- Comment #1 from Daniel Vrátil  ---
So, here's an answer on what's going on:

Some years ago, special "Search" -> "Open Invitations" and "Declined
Invitations" calendars were introduced. Those calendar should contain all your
open ("unanswered") and declined invitations from all calendars. To prevent
such events appearing twice in KOrganizer, an additional filter was added to
code that hides those events from regular calendars. The problem is that users
often don't have those calendars enabled, and that the special "Search"
collections don't work reliably at all and thus events might be missing.

I have accidentally fixed this in git master (to be released 24.02) by porting
event views away from ETMCalendar, so this filter was also removed, thus you
will start seeing open and declined invitations in your main calendars again.

Related: bug #418811, #412722.

Current git master (to be released in 24.05) will have a checkbox in KOrganizer
settings to allow to hide declined events globally.

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 481305] Recurrence deletion for events created in another timezone does not work

2024-02-19 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=481305

Daniel Vrátil  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
   Version Fixed In||24.02
 Resolution|--- |FIXED
  Latest Commit||https://invent.kde.org/pim/
   ||korganizer/-/commit/8121e4a
   ||edb67660dbea3654a569121cd9e
   ||463422

--- Comment #2 from Daniel Vrátil  ---
Git commit 8121e4aedb67660dbea3654a569121cd9e463422 by Daniel Vrátil.
Committed on 19/02/2024 at 10:59.
Pushed by dvratil into branch 'release/24.02'.

Use correct timezone when creating recurrence exception

When an incidence occurs on a different day in its original timezone
than in the user's local timezone, deleting a recurrence gives us
a date in the user's local timezone. However, in order for the
recurrence exception to work, the exception date must fall on a date
in the incidence's original timezone.

This change makes sure that the recurrence exception is correctly
converted from local time to the incidence's original timezone before
storing it.

This commit only covers deleting a recurrence ocurrence from KOrganizer
event view. Additional similar patch for the Incidence Editor is needed
to show/create exceptions correctly there.
FIXED-IN: 24.02

M  +5-3src/calendarview.cpp

https://invent.kde.org/pim/korganizer/-/commit/8121e4aedb67660dbea3654a569121cd9e463422

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 479351] It is not possible to add Sub-ToDos in Kontact ToDo-List

2024-02-19 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=479351

--- Comment #6 from Daniel Vrátil  ---
My bad, I forgot to add the change to master (only committed to the
release/24.02 branch).

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 479351] It is not possible to add Sub-ToDos in Kontact ToDo-List

2024-02-19 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=479351

Daniel Vrátil  changed:

   What|Removed |Added

  Latest Commit|https://invent.kde.org/pim/ |https://invent.kde.org/pim/
   |eventviews/-/commit/9388c7e |eventviews/-/commit/d82df20
   |c7de461550f4e5439b6802ea6d2 |06bc0c9dd5cca424d6c527a57fa
   |bd37b5  |3231e1

--- Comment #5 from Daniel Vrátil  ---
Git commit d82df2006bc0c9dd5cca424d6c527a57fa3231e1 by Daniel Vrátil.
Committed on 19/02/2024 at 08:34.
Pushed by dvratil into branch 'master'.

Fix 'Create sub-todo' action being always disabled

Regression introduced while porting away from ETMCalendar.
(cherry picked from commit 9388c7ec7de461550f4e5439b6802ea6d2bd37b5)

M  +1-1src/todo/todoview.cpp

https://invent.kde.org/pim/eventviews/-/commit/d82df2006bc0c9dd5cca424d6c527a57fa3231e1

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 412722] KOrganizer does not show some events from EWS resource

2024-02-16 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=412722

Daniel Vrátil  changed:

   What|Removed |Added

 CC||dvra...@kde.org

--- Comment #22 from Daniel Vrátil  ---
So, here's an answer on what's going on:

Some years ago, special "Search" -> "Open Invitations" and "Declined
Invitations" calendars were introduced. Those calendar should contain all your
open ("unanswered") and declined invitations from all calendars. To prevent
such events appearing twice in KOrganizer, an additional filter was added to
code that hides those events from regular calendars. The problem is that users
often don't have those special search calendars enabled, and that the special
calendars don't work reliably at all and thus events might be missing.

I have accidentally fixed this in git master (to be released 24.02) by porting
event views away from ETMCalendar, so this filter was also removed.

I have proposed to remove the special search collections completely (due to
their unreliability as of now), always show unanswered invites  make it
globally configurable in KOrganizer whether to show declined event.

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 418811] Events stored in the database not displayed in KOrganizer

2024-02-16 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=418811

--- Comment #31 from Daniel Vrátil  ---
So, here's an answer on what's going on:

Some years ago, special "Search" -> "Open Invitations" and "Declined
Invitations" calendars were introduced. Those calendar should contain all your
open ("unanswered") and declined invitations from all calendars. To prevent
such events appearing twice in KOrganizer, an additional filter was added to
code that hides those events from regular calendars. The problem is that users
often don't have those calendars enabled, and that the special "Search"
collections don't work reliably at all and thus events might be missing.

I have accidentally fixed this in git master (to be released 24.02) by porting
event views away from ETMCalendar, so this filter was also removed.

I have proposed to remove the special search collections completely (due to
their unreliability as of now), always show unanswered invites  make it
globally configurable in KOrganizer whether to show declined event.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Akonadi] [Bug 480543] Akonadis sqlite backend does not honor sql limits

2024-02-08 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=480543

Daniel Vrátil  changed:

   What|Removed |Added

 CC||dvra...@kde.org
 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED

-- 
You are receiving this mail because:
You are watching all bug changes.

[libkgapi] [Bug 468802] 23.04.0: test suite is failing

2024-02-07 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=468802

--- Comment #3 from Daniel Vrátil  ---
Hi, I can't reproduce the crashes of the drive-* tests. Can you share a
bactrace of one of the segfaulting tests, if you can still reproduce?

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 479351] It is not possible to add Sub-ToDos in Kontact ToDo-List

2024-02-07 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=479351

Daniel Vrátil  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|ASSIGNED|RESOLVED
  Latest Commit||https://invent.kde.org/pim/
   ||eventviews/-/commit/9388c7e
   ||c7de461550f4e5439b6802ea6d2
   ||bd37b5

--- Comment #3 from Daniel Vrátil  ---
Git commit 9388c7ec7de461550f4e5439b6802ea6d2bd37b5 by Daniel Vrátil.
Committed on 07/02/2024 at 10:25.
Pushed by dvratil into branch 'release/24.02'.

Fix 'Create sub-todo' action being always disabled

Regression introduced while porting away from ETMCalendar.

M  +1-1src/todo/todoview.cpp

https://invent.kde.org/pim/eventviews/-/commit/9388c7ec7de461550f4e5439b6802ea6d2bd37b5

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 473847] To-Do View empty but To-Dos shown in Kontact summary page

2024-02-07 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=473847

--- Comment #6 from Daniel Vrátil  ---
If you are using Kontact, there should be a standalone "To-do List" action in
the Kontact side-panel that opens the "Todo View" that you would otherwise
normally get in standalone KOrganizer toolbar - I'm pretty sure this hasn't
changed in the Qt6 build.

Or am I misunderstanding the problem?

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 479351] It is not possible to add Sub-ToDos in Kontact ToDo-List

2024-02-07 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=479351

Daniel Vrátil  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED
 CC||dvra...@kde.org

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 448703] timezone information being lost when copying or moving events

2024-01-11 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=448703

--- Comment #6 from Daniel Vrátil  ---
Git commit 916130a1c168c6e36a960c6c706a650b949cc0cc by Daniel Vrátil.
Committed on 11/01/2024 at 10:04.
Pushed by dvratil into branch 'master'.

Agenda: fix timezone being lost when moving event by drag

The code was using QDateTime::toTimeSpec() in attempt to restore the
timezone from the original dtStart/dtEnd. However, QDateTime::toTimeSpec()
automatically converts Qt::TimeZone timespec to Qt::LocalTime, so the
information about timezone was lost and the time was treated as local.

The solution is to restore the timezone manually when the original
timespec was Qt::TimeZone.
FIXED-IN: 5.24.1
(cherry picked from commit def2b7f4cc507bcf8f64540e77dd736ebb751e7d)

M  +22   -4src/agenda/agendaview.cpp

https://invent.kde.org/pim/eventviews/-/commit/916130a1c168c6e36a960c6c706a650b949cc0cc

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 476642] Wrong calculation in week recurrence after 15 iterations

2023-12-06 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=476642

--- Comment #8 from Daniel Vrátil  ---
Also, have you imported it into a local calendar (like "Personal Calendar") or
some remote calendar (e.g. Google Calendar or a CalDav calendar?)

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 476642] Wrong calculation in week recurrence after 15 iterations

2023-12-06 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=476642

--- Comment #7 from Daniel Vrátil  ---
>From the screenshot it appears that there was public holiday on Nov 1st in your
locale - could that be the reason for the event to be "postponed" by a week?
Could you please try disabling holidays in KOrganizer Settings -> Date & Time
-> Holidays? Make sure to restart KOrganizer afterwards, and also try to
re-import the event, please.

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 418811] Events stored in the database not displayed in KOrganizer

2023-11-25 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=418811

--- Comment #23 from Daniel Vrátil  ---
Hmm, I must be missing something, because I'm seeing the events in the
calendar. I installed Mageia 9 into a VM to make sure I have the same version
as you, and followed those steps:

1) Copied the first event from comment #6 into kwrite
2) Changed one of the attendees to match my email configured in KOrganizer
3) Saved as event.ics
4) In KOrganizer, selected File -> Open -> event.ics -> "Merge into an existing
calendar" -> selected the default "Personal Calendar"
5) Scrolled back to Nov 2021 in the month view, the event is shown

The code that shows events in Akonadi Console is different from KOrganizer -
there's no calendaring logic, it just displays the list of database entries in
the given folder and has some additional logic to extract like date, title etc.
Unlike KOrganizer which is backed by a fairly complex
KCalendarCore::MemoryCalendar which takes care of recurrence calculations and
what not. Which is why Akonadi Console is useful for debugging :)

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 476642] Wrong calculation in week recurrence after 15 iterations

2023-11-25 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=476642

--- Comment #3 from Daniel Vrátil  ---
Created attachment 163459
  --> https://bugs.kde.org/attachment.cgi?id=163459&action=edit
Screenshot from OpenSuse 15.5

Yes, 1st of November and 15th of November 2023, no occurence inbetween. I tried
on Debian 11, OpenSuse Leap 15, KDE Neon (current stable) and recent git
master, it looks as expected on all of them (see that attached screenshot from
my OpenSuse VM).

Does maybe the original event that you have in your calendar, have like a
specific time, or a timezone? Maybe even different timezone than your system?
What is your system timezone? Or is the original event an all-day event? What
distro do you use? I can try to reproduce in a VM. Is the event stored in
Google Calendar, CalDAV or local iCal file?

The only cases I can imagine that could suddenly break the recurrence for one
incidence are
1) accidental recurrence exception - maybe you accidentally moved the one
occurrence from 1st to 8th, which created a recurrence exception (you can check
in event editor -> Recurrence tab)
2) daylight saving time start/end in your or event's timezone somehow
interfering with the recurrence rule, causing this odd miscalculation

I can't think of anything else that could cause one calculation of the
recurrence to suddenly go wrong on an arbitrary date and then resume correctly
again.

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 394967] Find dialog should not require a date range

2023-11-12 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=394967

Daniel Vrátil  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/pim/
   ||korganizer/-/commit/112eb22
   ||4b554b8a31ac502193c1aacd537
   ||eb866e
 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED

--- Comment #8 from Daniel Vrátil  ---
Git commit 112eb224b554b8a31ac502193c1aacd537eb866e by Daniel Vrátil.
Committed on 12/11/2023 at 14:07.
Pushed by dvratil into branch 'master'.

Make the search date range limit optional

M  +35   -25   src/dialog/searchdialog.cpp
M  +1-0src/dialog/searchdialog.h
M  +30   -14   src/ui/searchdialog_base.ui

https://invent.kde.org/pim/korganizer/-/commit/112eb224b554b8a31ac502193c1aacd537eb866e

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 466973] Events can overlap such as one hides the other

2023-11-12 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=466973

Daniel Vrátil  changed:

   What|Removed |Added

 Status|REPORTED|CONFIRMED
 CC||dvra...@kde.org
 Ever confirmed|0   |1

--- Comment #2 from Daniel Vrátil  ---
Hi, thanks for the report. I can confirm the bug, simpler setup:

Event 1: 17th Nov - 18th Nov
Event 2: 20th Nov - 21st Nov
Event 3: 18th Nov - 19th Nov
Event 4: 19th Nov - 20th Nov

The problem happens on 19th Nov where Event 3 and Event 4 will be rendered on
top of each other. This is a limitation in the layout algorithm as it has no
simple solution for this without introducing gap between Event 1 and Event 3 on
18th or a gap between Event 2 and Event 4 on 20th.

I'll try to see what other calendaring apps do and try to fix the algorithm.

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 475679] Search shows no results

2023-11-12 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=475679

Daniel Vrátil  changed:

   What|Removed |Added

 Status|REPORTED|NEEDSINFO
 Resolution|--- |WAITINGFORINFO
 CC||dvra...@kde.org

--- Comment #1 from Daniel Vrátil  ---
Hi, thanks for the report. Is the string you are searching for present in the
title of the event you expect to appear, or in its description or somewhere
else?

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 475784] Flicker in agenda view (esp. weekview)

2023-11-12 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=475784

Daniel Vrátil  changed:

   What|Removed |Added

 CC||dvra...@kde.org

--- Comment #1 from Daniel Vrátil  ---
Do they flicker when you switch from one week to another (old ones disappear,
there's nothing for a short while, then new events appear and this repeats for
every scroll), or do they continue to flicker as they are displayed without
changing to another week?

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 476642] Wrong calculation in week recurrence after 15 iterations

2023-11-12 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=476642

Daniel Vrátil  changed:

   What|Removed |Added

 CC||dvra...@kde.org
 Resolution|--- |WAITINGFORINFO
 Status|REPORTED|NEEDSINFO

--- Comment #1 from Daniel Vrátil  ---
Hi, thanks for the report. I imported your event to KOrganizer but the
recurrence seems OK to me - all the way until the end of 2023 the event appears
on Wednesday every other week.

Any chance the event in your calendar has an recurrence exception that causes
the few occurrences to be on another date?

Could you try to create another event and check whether you can reproduce it
there as well?

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 459711] KOrganizer Reminder crashes

2023-11-12 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=459711

Daniel Vrátil  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |UNMAINTAINED
 CC||dvra...@kde.org

--- Comment #1 from Daniel Vrátil  ---
KOrgac has been replaced by the new Reminder Daemon in Release 22.08.

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 460569] KOrganizer crashed on creating a new task

2023-11-12 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=460569

Daniel Vrátil  changed:

   What|Removed |Added

 CC||dvra...@kde.org
 Resolution|--- |WAITINGFORINFO
 Status|REOPENED|NEEDSINFO

--- Comment #5 from Daniel Vrátil  ---
Hi, if you can still reproduce the issue, could you please try to obtain a full
backtrace of the crash? It should no longer be necessary to build KOrganizer
yourself, ArchLinux now offers debug symbols as well.

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 462559] korganizer reminder module crashes after logging into KDE

2023-11-12 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=462559

Daniel Vrátil  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 CC||dvra...@kde.org
 Resolution|--- |UNMAINTAINED

--- Comment #1 from Daniel Vrátil  ---
The korgac reminder daemon has been replaced by a new Reminder Daemon
(kalendarac) since Release 22.08

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 360032] agenda entries not visible

2023-11-12 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=360032

Daniel Vrátil  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 CC||dvra...@kde.org
 Resolution|--- |WORKSFORME

--- Comment #3 from Daniel Vrátil  ---
I can't reproduce the issue with the attached file on current git master of KDE
PIM. I suspect this may have been a bug in libical instead of KOrganizer
itself, and most likely has been fixed in the meantime.

Please feel free to reopen the bug if you can still reproduce the issue with an
up-to-date version of KDE PIM. Also mention the version of libical that you
have installed, please.

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 387065] all events appear in the same color

2023-11-11 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=387065

--- Comment #8 from Daniel Vrátil  ---
> Do you mind explaining why this is the design? why was korganizer color
> assignment designed like that? In your opinion, isnt it easy to simply
> assign individual colors to event/tasks?

This design predates my involvement in KDE by many years, so I can't comment on
why it is done this way.

To me it makes no sense to be able to assign an arbitrary color to a single
event, if the color is not connected to some other information - like for
example a category. If you create a "Personal" category and assign it some
color, then any event with this category assigned will have the color of that
category (details depend on configuration in KOrganizer, as I mentioned in my
previous comment). That makes sense to me and is already possible.

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 475715] High RAM usage by Calendar Reminders

2023-11-11 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=475715

Daniel Vrátil  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 Resolution|--- |NOT A BUG
 CC||dvra...@kde.org

--- Comment #1 from Daniel Vrátil  ---
That's just a reporting issue in the system monitor app - if you look closely
at the list of processes for the "Calendar Reminder" app (bottom left corner of
the screenshot), it includes the entire Akonadi stack - most likely because the
reminder daemon has started Akonadi after login, so they are in the same cgroup
and so the System Monitor app counts them together.

The actual reminder daemon - you can see it in the list of processes as
"kalendarac" - only uses 39.4 MB RAM, which I think is well within a reasonable
limit.

The fact that the Akonadi stack is accounted into the app that started it
rather than to its own "group" is a known issue, we don't have a proper fix for
it yet.

-- 
You are receiving this mail because:
You are watching all bug changes.

[Akonadi] [Bug 476127] KMail: Accounts display "Unable to start", akonadi gives a lot of crash-reportings

2023-10-30 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=476127

Daniel Vrátil  changed:

   What|Removed |Added

 CC||dvra...@kde.org
 Status|REPORTED|RESOLVED
 Resolution|--- |UPSTREAM

--- Comment #1 from Daniel Vrátil  ---
You installation is misconfigured or incomplete, Akonadi complains that it
cannot connect to your window system (X11). Possibly you don't have "DISPLAY"
environment set (?).

> qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though 
> it was found.
> qt.qpa.plugin: Could not load the Qt platform plugin "xcb" in "" even though 
> it was found.
> This application failed to start because no Qt platform plugin could be 
> initialized. Reinstalling the application may fix this problem.

Please report the issue to your distribution.

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 428693] No calendar available in incidence editor

2023-10-23 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=428693

Daniel Vrátil  changed:

   What|Removed |Added

 Status|REPORTED|NEEDSINFO
 Resolution|--- |WAITINGFORINFO

--- Comment #1 from Daniel Vrátil  ---
* Do you actually have any non-readonly calendars added in KOrganizer?
* When you run KOrganizer from terminal, do you see any warnings/error printed
in the terminal when you try to create a new event?

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 475288] Removing a Google Calendar results in multiple error dialogs

2023-10-23 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=475288

Daniel Vrátil  changed:

   What|Removed |Added

 Ever confirmed|0   |1
 Status|REPORTED|CONFIRMED
 CC||dvra...@kde.org

--- Comment #1 from Daniel Vrátil  ---
I know about the dialog, I even saw it myself a few times but I can't reproduce
it now and it's hard to find it in the huge codebase without knowing the exact
string...

If you see it again, please paste here the exact text in the dialog (even if
it's localized).

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 387065] all events appear in the same color

2023-10-22 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=387065

Daniel Vrátil  changed:

   What|Removed |Added

 Resolution|--- |NOT A BUG
 Status|REPORTED|RESOLVED
 CC||dvra...@kde.org

--- Comment #6 from Daniel Vrátil  ---
The original problem has been explained by Allen, the last comment from
Roosevelt is unrelated.

> All events have the same color and there is no option for setting the color 
> of an event in the event creation window

Event colors depend on calendar colors, you can't change event colors when
editing/creating them and you can't assign individual colors to events (well,
actually you somewhat can do that through categories/tags). You can configure
calendar color by right-clicking the calendar in the calendar manager view and
selecting "Set Folder Color", then all events from that calendar should have
the same color. Also make sure to check the configuration (Settings->Configure
KOrganizer->Views->(Agenda|Month|Todo) View->Color usage and pick "Tag outside,
calendar inside" - despite the name the event will have the color of the
calendar, unless it has a tag with a color assigned, then it will have
background color of the tag/category and frame color matching the color of the
calendar.

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 428888] KOrganizer crashes when adding calendar events.

2023-10-22 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=42

Daniel Vrátil  changed:

   What|Removed |Added

 Resolution|--- |FIXED
 Status|REPORTED|RESOLVED
  Latest Commit||https://invent.kde.org/pim/
   ||incidenceeditor/-/commit/9e
   ||739ee45ade1f6b43cc5bc67f91e
   ||7b723d7dddb
   Version Fixed In||23.08.3

--- Comment #15 from Daniel Vrátil  ---
Git commit 9e739ee45ade1f6b43cc5bc67f91e7b723d7dddb by Daniel Vrátil.
Committed on 22/10/2023 at 21:37.
Pushed by dvratil into branch 'release/23.08'.

Reset AttendeeTableModel when settings attendees

Reset the model instead of emitting layoutChanged, because setting
attendees may actually result in different number of rows in the model
than before, which should not happen during layout change. This seems
to have mostly worked, but caused crash inside QSortFilterProxyModel
when the number of rows have actually changed (most likely connected
to the trailing empty row).
FIXED-IN: 23.08.3

M  +2-2src/attendeetablemodel.cpp
M  +4-0src/incidenceattendee.cpp
M  +2-0src/incidenceresource.cpp

https://invent.kde.org/pim/incidenceeditor/-/commit/9e739ee45ade1f6b43cc5bc67f91e7b723d7dddb

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 473847] To-Do View empty but To-Dos shown in Kontact summary page

2023-10-22 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=473847

Daniel Vrátil  changed:

   What|Removed |Added

 Resolution|--- |WAITINGFORINFO
 Status|REPORTED|NEEDSINFO
 CC||dvra...@kde.org

--- Comment #1 from Daniel Vrátil  ---
Can you please try to check on current git master? There's indeed has been a
regression in displaying Todos, should be fixed now.

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 474144] Korganizer crashes when forwarding an event

2023-10-17 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=474144

Daniel Vrátil  changed:

   What|Removed |Added

  Latest Commit||https://invent.kde.org/pim/
   ||korganizer/-/commit/e28baf6
   ||ff1290edbc8e5771400fe87c81d
   ||bc8fea
 Status|ASSIGNED|RESOLVED
 Resolution|--- |FIXED
   Version Fixed In||23.08.3

--- Comment #4 from Daniel Vrátil  ---
Git commit e28baf6ff1290edbc8e5771400fe87c81dbc8fea by Daniel Vrátil.
Committed on 17/10/2023 at 21:30.
Pushed by dvratil into branch 'release/23.08'.

Fix crash when forwarding incidence via context menu

The MailClient inside ITIPHandler may work asynchronously, causing the
ITIPHandler inside the KOEVentPopupMenu to go out-of-scope and be
destroyed before the async operation in the MailClient finishes. Since
MailClient relies on a factory object owned by the ITIPHandler, if the
ITIPHandler gets destroyed before the MailClient finishes, it will
delete the factory object causing use-after-free when the async
operation in MailClient is finally done.
FIXED-IN: 23.08.3

M  +6-3src/koeventpopupmenu.cpp

https://invent.kde.org/pim/korganizer/-/commit/e28baf6ff1290edbc8e5771400fe87c81dbc8fea

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 428888] KOrganizer crashes when adding calendar events.

2023-10-14 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=42

--- Comment #14 from Daniel Vrátil  ---
*** Bug 446378 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 446378] KOrganizer crash when updating a calendar entry shortly after creating it

2023-10-14 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=446378

Daniel Vrátil  changed:

   What|Removed |Added

 Resolution|--- |DUPLICATE
 CC||dvra...@kde.org
 Status|REPORTED|RESOLVED

--- Comment #1 from Daniel Vrátil  ---


*** This bug has been marked as a duplicate of bug 42 ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 428888] KOrganizer crashes when adding calendar events.

2023-10-14 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=42

Daniel Vrátil  changed:

   What|Removed |Added

 CC||huiky2...@yahoo.com

--- Comment #13 from Daniel Vrátil  ---
*** Bug 449341 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 449341] ading a new entry in the calender

2023-10-14 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=449341

Daniel Vrátil  changed:

   What|Removed |Added

 Resolution|--- |DUPLICATE
 Status|REPORTED|RESOLVED
 CC||dvra...@kde.org

--- Comment #1 from Daniel Vrátil  ---


*** This bug has been marked as a duplicate of bug 42 ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 428888] KOrganizer crashes when adding calendar events.

2023-10-14 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=42

Daniel Vrátil  changed:

   What|Removed |Added

 CC||elhananj...@gmail.com

--- Comment #12 from Daniel Vrátil  ---
*** Bug 451205 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 451205] KOrganizer crashes after event created successfully

2023-10-14 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=451205

Daniel Vrátil  changed:

   What|Removed |Added

 Status|REPORTED|RESOLVED
 CC||dvra...@kde.org
 Resolution|--- |DUPLICATE

--- Comment #1 from Daniel Vrátil  ---


*** This bug has been marked as a duplicate of bug 42 ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 428888] KOrganizer crashes when adding calendar events.

2023-10-14 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=42

Daniel Vrátil  changed:

   What|Removed |Added

 CC||mip...@gmail.com

--- Comment #11 from Daniel Vrátil  ---
*** Bug 444543 has been marked as a duplicate of this bug. ***

-- 
You are receiving this mail because:
You are watching all bug changes.

[korganizer] [Bug 444543] KOrganizer crashes when adding new event

2023-10-14 Thread Daniel Vrátil
https://bugs.kde.org/show_bug.cgi?id=444543

Daniel Vrátil  changed:

   What|Removed |Added

 CC||dvra...@kde.org
 Resolution|--- |DUPLICATE
 Status|REPORTED|RESOLVED

--- Comment #2 from Daniel Vrátil  ---


*** This bug has been marked as a duplicate of bug 42 ***

-- 
You are receiving this mail because:
You are watching all bug changes.

  1   2   3   4   5   6   7   8   >