The method openEventEditor for DBus service org.kde.korganizer in path /Calendar pops up a new event dialog without selecting the default calendar automatically, the local file calendar is always selected. (This does not happen outside of DBus calls, no problems with usual UI operations).
Methods openTodoEditor and openJournalEditor do select the default calendar as expected.
Steps to Reproduce:
The default calendar is not selected.
The default calendar gets selected.
This bug has never been confirmed for a KDE PIM version that is based on KDE Frameworks (5.x). Those versions differ significantly from the old 4.x series. Therefore, I plan to close it in around two or three months. In the meantime, it is set to WAITINGFORINFO to give reporters the oportunity to check if it is still valid. As soon as someone confirms it for a recent version (at least 5.1, ideally even more recent), I'll gladly reopen it.
Please understand that we lack the manpower to triage bugs reported for versions almost two years beyond their end of life.
Using korganizer 17.04.2, KDE Frameworks 5.35.0, Qt 5.9.0 :
A random calendar is selected, not the one selected in the left agenda list.
Now it's not a big issue, you may close it unresolved.
Thanks for the update. If there is something that can be improved, I reopen the ticket.
Does this problem still affect you?
I wasn't able to reproduce this with the newest KOrganizer;
with the default set to either a Nextcloud calendar or a local
file (not the Personal calendar), the command
dbus-send --session --dest=org.kde.korganizer \
--type=method_call --print-reply /Calendar \
opened the default calendar.
(In reply to gjditchfield from comment #4)
> Does this problem still affect you?
1. Using either the UI, dbus-send (without --print-reply), qdbusviewer or qdbus, the new event dialog selects the calendar currently selected in the list of available calendars. That's probably the intended workflow.
The confusion arises with the proposed 'Default calendar'; what would be its meaning and intent ? Remote calls via DBus are meant for automation, and there is no DBus function exposed to select a specific calendar in the UI, or I missed it. Perhaps, the menu item 'Choose as default calendar' should be better documented, or removed, or DBus functions exposed to list available calendars and either select one in UI, or pass it to 'openEventEditor'.
2. I don't remember how and why I was needing this automation pathway in 2014, and I have not been looking for alternatives. Meaning, it was for an unknown annoying situation at that time. Given that no one else needs this, current 'bug' is not really a bug and can be closed definitely.