Bug 469540 - "Add event" only works with Kalendar; fails silently
Summary: "Add event" only works with Kalendar; fails silently
Status: RESOLVED FIXED
Alias: None
Product: plasmashell
Classification: Plasma
Component: Digital Clock widget (other bugs)
Version First Reported In: 5.27.2
Platform: Arch Linux Linux
: NOR normal
Target Milestone: 1.0
Assignee: Plasma Bugs List
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-05-09 17:48 UTC by fake.name
Modified: 2025-04-09 22:32 UTC (History)
3 users (show)

See Also:
Latest Commit:
Version Fixed/Implemented In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description fake.name 2023-05-09 17:48:17 UTC
SUMMARY
Even though my default calendar is set to be korganizer (due, I add, to bugs in kalendar), "Add Event" on the dropdown of the Digital Clock widget silently fails (does absolutely nothing) unless kalendar is installed, in which case it will launch kalendar.
This has been ongoing since at least 5.27.2.

STEPS TO REPRODUCE
1. Do not install / uninstall Kalendar
2. attempt to use "add event"
3. 

OBSERVED RESULT
silent failure unless Kalendar is installed

EXPECTED RESULT
The applet should consult the defaultcalendarrc file in the $XDG_HOME location, eg. /home/$USER/.config. If for some reason it HAS to be kalendar now, failure should be announced directly.

SOFTWARE/OS VERSIONS
Linux/KDE Plasma: Arch 6.3.1
KDE Plasma Version: 5.27.5
KDE Frameworks Version:  5.105.0
Qt Version: 5.15.9
Comment 1 Carl Schwan 2023-05-16 10:54:29 UTC
The add event button will open your default calendar for the "text/calendar" mimetype (https://invent.kde.org/plasma/plasma-workspace/-/blob/master/applets/digital-clock/plugin/applicationintegration.cpp#L11)


could you check in your preferred application settings what is your default calendar application?
Comment 2 fake.name 2023-05-16 13:10:01 UTC
(In reply to Carl Schwan from comment #1)
> The add event button will open your default calendar for the "text/calendar"
> mimetype
> (https://invent.kde.org/plasma/plasma-workspace/-/blob/master/applets/
> digital-clock/plugin/applicationintegration.cpp#L11)
> 
> 
> could you check in your preferred application settings what is your default
> calendar application?

For some reason neither of them were at the top of the list. When I removed Kalendar from the rank entirely, I got korganizer to open it.
Comment 3 TraceyC 2025-04-09 22:32:21 UTC
It sounds like this issue had been fixed for you, so I'll close this out. If you're experiencing any other bugs, please open a new bug report. Thanks!