GMail folder names containing emoji cause folder-not-found
Bug Summary
On every launch of Geary, and intermittently while I use it, I see an error banner:
Account problem Geary encountered a problem checking mail for thompson@endlessm.com.
I believe this is because I had a GMail label with emoji in it, “GitHub
Your installation
- Geary version: 3.34.0
- Installation method: Flathub
- Desktop environment: Endless (GNOME-derived)
- Operating system and version: Endless 3.8.0 (internal development branch)
- Email provider: GMail
Steps to reproduce
- Launch Geary
- Wait 3-5 seconds
- Examine “GitHub” label.
What happened?
An error bar is displayed, the “GitHub” label still has its old, emoji-ful name. The unread count is always 16, even when the remote count changes. If I open the label, no messages are displayed.
What did you expect to happen?
No error bar; label names reflect current names on the Gmail web interface; unread counts are correct; and messages are displayed in the label.
Relevant logs and/or screenshots
Account identifier: goa_account_1560946616_0
Account provider: GEARY_SERVICE_PROVIDER_GMAIL
Service type: GEARY_PROTOCOL_IMAP
Service host: imap.gmail.com
Error type: GearyEngineError 8
Message: Folder GearyImapEngineGmailFolder(goa_account_1560946616_0:>GitHub 🐙🐱) (open_count=1 remote_opened=false) not available
Back trace:
* unknown
* unknown
* unknown
* unknown
* g_subprocess_communicate_utf8
* g_task_attach_source
* unknown
* g_subprocess_communicate_utf8
* g_task_attach_source
* unknown
* g_subprocess_communicate_utf8
* g_task_attach_source
* unknown
* g_subprocess_communicate_utf8
* g_task_attach_source
* unknown
* g_subprocess_communicate_utf8
* g_task_attach_source
* unknown
* unknown
* g_main_context_dispatch
* g_main_context_dispatch
* g_main_context_iteration
* g_application_run
* unknown
* __libc_start_main
* unknown
I have a complete log from org.gnome.Geary --debug
but I would want to redact it for folder names, or share it privately.