Google Meet videoconferencing event metadata in description does not get cut out at the correct separator location for popover and details tooltip
If you have a Google Calendar event with built-in Google Meet link stuff, roughly like this:
Hello,
After this meeting, you will say that this meeting could have been an email.
Blah blah blah, blah blah blah blah blah blah blah blah blah blah blah blah blah blah
blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah blah.
Thanks
-::~:~::~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~::~:~::-
Join with Google Meet: https://meet.google.com/abc-defg-hij
Or dial: (CA) +1 613-916-8351 PIN: 000000000#
More phone numbers: https://tel.meet/abc-defg-hij?pin=000000000&hs=7
Learn more about Meet at: https://support.google.com/a/users/answer/9282720
Please do not edit this section.
-::~:~::~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~:~::~:~::-
Then GNOME Calendar's gcal_utils_extract_google_section
function (in gcal-utils.c
) tries to parse that junk, and mostly gets it right, except that there is some leftover cruft in the resulting contents of the event preview popover and event tooltip, and the exact amount of cruft varies from one event to another:
Event popover feat. \n\n-:
|
Tooltip feat. \n\n-::~:~::~:~:~:~:~:~:~:~:~:~ (ellipsized) |
---|---|
Event popover feat. \n\n-
|
Tooltip feat. the full separator + "Join with Google" |
---|---|
It is strange/suspicious that the cutoff happens differently depending on whether it is shown in the tooltip vs the popover, differently from one event to another, on the same machine…
Note that for testing purposes, you really need to create a Google Calendar "with Google Meet" event, somehow it is impossible to paste the example content text above into a new calendar event from within GNOME Calendar or Evolution…