Try to import a vCard into kOrganizer, in my situation right from kMail. The following dialog will appear (backtranslated from German to English, original German version see screenshot): ***************************************************************************** Would you like to add this event to an existing calendar, or would you like to use it to create a completely new calendar? If you chose to insert, you can select the calendar into which this event will be inserted. Otherwise, a new calendar is created for you automatically. [Yes] [No] [Cancel] ***************************************************************************** Mh... Reproducible: Always
Created attachment 96466 [details] Screenshot showing the confusing dialog.
Uhm, I'm talking about importing vCal/iCal, not vCard, of course... :-/ I also just noticed that this only happens if kOrganizer is not running when importing the vcs file. If kOrganizer already IS running, the button labels are correct and pretty verbosely explain what happens if you click them.
What is the correct messagebox ?
Created attachment 97890 [details] Correct messagebox for importing iCal/vCal, which appears if kOrganizer is already running. This screenshot shows the same dialog with correct buttons. It appears this way if the kOrganizer is already running when the iCal/vCal file is to be imported. The buttons read "Merge into existing calendar" and "Import as new calendar". If the kOrganizer GUI is not yet running while an iCal/vCal import is attempted, the same message box appears but shows just "Yes" and "No" instead, while the displayed message is an either/or question.
I confirm it it's a bug in kmessagebox + kguiitem... No idea how to fix it yet
Git commit 376da8f1c6d537f387d905ab4466ec6d7a6c8df6 by David Faure. Committed on 15/06/2016 at 10:13. Pushed by dfaure into branch 'Applications/16.04'. Port away from KLocale (which was used for use12Clock()). Amazingly, this fixes a bug with a messagebox showing "Yes/No" instead of "Merge/Add" when launching korganizer with a .ics file as argument. Here's why: KLocale::global() creates a QTranslator instance, which sends a LanguageChange event. QDialogButtonBox (already shown at that point) reacts by retranslating the buttons, ignoring the custom text we set on the buttons. That's a Qt bug, I'll look into fixing that as well. FIXED-IN: Applications/16.04 M +13 -6 src/agenda/timelabels.cpp http://commits.kde.org/eventviews/376da8f1c6d537f387d905ab4466ec6d7a6c8df6
Thanks, David!