deltachat / deltachat-desktop

Email-based instant messaging for Desktop.
GNU General Public License v3.0
916 stars 167 forks source link

Notifications don't work on xubuntu 22.04 #3745

Closed missytake closed 5 months ago

missytake commented 5 months ago

core

2024-04-04T11:00:06.213Z    core/event              INFO    ""  1   "src/imap/idle.rs:72: INBOX: Idle has NewData ResponseData { raw: 4096, response: MailboxData(Exists(5775)) }"
2024-04-04T11:00:06.289Z    core/event              DEBUG   ""  "ConnectivityChanged"   1   {"kind":"ConnectivityChanged"}
2024-04-04T11:00:06.310Z    core/event              INFO    ""  1   "src/imap.rs:718: 1 mails read from \"INBOX\"."
2024-04-04T11:00:06.592Z    renderer/components/ConnectivityToast   DEBUG   ""  "Core thinks we're back online and connected"
2024-04-04T11:00:06.621Z    core/event              DEBUG   ""  "ImapMessageMoved"  1   {"kind":"ImapMessageMoved","msg":"IMAP messages 238967 moved to DeltaChat"}
2024-04-04T11:00:06.809Z    core/event              DEBUG   ""  "ConnectivityChanged"   1   {"kind":"ConnectivityChanged"}
2024-04-04T11:00:06.810Z    core/event              DEBUG   ""  "ImapInboxIdle" 1   {"kind":"ImapInboxIdle"}
2024-04-04T11:00:06.810Z    core/event              INFO    ""  1   "src/scheduler.rs:651: IMAP session supports IDLE, using it."
2024-04-04T11:00:06.811Z    core/event              INFO    ""  1   "src/imap.rs:1665: \"INBOX\": got unsolicited response Other(ResponseData { raw: 4096, response: Data { status: Ok, code: Some(CopyUid(1565899750, [Uid(238967)], [Uid(442556)])), information: Some(\"Moved UIDs.\") } })"
2024-04-04T11:00:06.827Z    core/event              INFO    ""  1   "src/imap/idle.rs:60: INBOX: Idle entering wait-on-remote state"
2024-04-04T11:00:06.916Z    core/event              INFO    ""  1   "src/imap/idle.rs:72: DeltaChat: Idle has NewData ResponseData { raw: 4096, response: MailboxData(Exists(25462)) }"
2024-04-04T11:00:06.957Z    core/event              DEBUG   ""  "ConnectivityChanged"   1   {"kind":"ConnectivityChanged"}
2024-04-04T11:00:06.959Z    core/event              INFO    ""  1   "src/imap.rs:1241: Starting a full FETCH of message set \"442556\"."
2024-04-04T11:00:07.047Z    core/event              INFO    ""  1   "src/imap.rs:1354: Passing message UID 442556 to receive_imf()."
2024-04-04T11:00:07.059Z    core/event              INFO    ""  1   "src/receive_imf.rs:220: Receiving message \"Mr.Ix2WGeqLi-z.sXXXXXXXX98@xxxxxxxxx.org\", seen=false..."
2024-04-04T11:00:07.119Z    core/event              INFO    ""  1   "src/receive_imf.rs:1554: Message has 1 parts and is assigned to chat #Chat#250."
2024-04-04T11:00:07.120Z    core/event              INFO    ""  1   "src/contact.rs:1779: Recently seen loop waiting for 0h 10m 50s or interrupt"
2024-04-04T11:00:07.121Z    core/event              DEBUG   ""  "IncomingMsg"   1   {"chatId":250,"kind":"IncomingMsg","msgId":339198}
2024-04-04T11:00:07.121Z    renderer/notifications  DEBUG   ""  "incomingMessageHandler: "  {"chatId":250,"messageId":339198}
2024-04-04T11:00:07.122Z    renderer/stores/Store   DEBUG   ""  "chatId of IncomingMsg event (1165) doesn't match id of selected chat (250). Skipping."
2024-04-04T11:00:07.122Z    renderer/helpers/ChatList   DEBUG   ""  "useChatList: refetchingChatlist"
2024-04-04T11:00:07.122Z    core/event              INFO    ""  1   "src/imap.rs:1396: Successfully received 1 UIDs."
2024-04-04T11:00:07.123Z    core/event              INFO    ""  1   "src/imap.rs:718: 1 mails read from \"DeltaChat\"."
2024-04-04T11:00:07.124Z    core/event              DEBUG   ""  "IncomingMsgBunch"  1   {"kind":"IncomingMsgBunch","msgIds":[339198]}
2024-04-04T11:00:07.126Z    main/notifications      DEBUG   ""  "Creating notification:"    {"title":"Phant","body":"Testischnurrrrrr","icon":"/home/user/.config/DeltaChat/accounts/8ec962ff-ae4e-4072-ab66-dcb106371236/dc.db-blobs/avatar-1351830973.jpg","chatId":250,"messageId":339198,"accountId":1}
2024-04-04T11:00:07.259Z    renderer/components/ConnectivityToast   DEBUG   ""  "Core thinks we're back online and connected"
2024-04-04T11:00:07.538Z    core/event              DEBUG   ""  "ConnectivityChanged"   1   {"kind":"ConnectivityChanged"}
2024-04-04T11:00:07.540Z    core/event              DEBUG   ""  "ImapInboxIdle" 1   {"kind":"ImapInboxIdle"}
2024-04-04T11:00:07.541Z    core/event              INFO    ""  1   "src/scheduler.rs:651: IMAP session supports IDLE, using it."
2024-04-04T11:00:07.557Z    core/event              INFO    ""  1   "src/imap/idle.rs:60: DeltaChat: Idle entering wait-on-remote state"
2024-04-04T11:00:07.840Z    renderer/components/ConnectivityToast   DEBUG   ""  "Core thinks we're back online and connected"

frontend

54.6s [i]core/event: 1 src/imap/idle.rs:72: INBOX: Idle has NewData ResponseData { raw: 4096, response: MailboxData(Exists(5775)) }
54.7s [D]core/event: ConnectivityChanged 1 { kind: 'ConnectivityChanged' }
54.7s [i]core/event: 1 src/imap.rs:718: 1 mails read from "INBOX".
55s [D]core/event: ImapMessageMoved 1 {
  kind: 'ImapMessageMoved',
  msg: 'IMAP messages 238967 moved to DeltaChat'
}
55.2s [D]core/event: ConnectivityChanged 1 { kind: 'ConnectivityChanged' }
55.2s [D]core/event: ImapInboxIdle 1 { kind: 'ImapInboxIdle' }
55.2s [i]core/event: 1 src/scheduler.rs:651: IMAP session supports IDLE, using it.
55.2s [i]core/event: 1 src/imap.rs:1665: "INBOX": got unsolicited response Other(ResponseData { raw: 4096, response: Data { status: Ok, code: Some(CopyUid(1565899750, [Uid(238967)], [Uid(442556)])), information: Some("Moved UIDs.") } })
55.2s [i]core/event: 1 src/imap/idle.rs:60: INBOX: Idle entering wait-on-remote state
55.3s [i]core/event: 1 src/imap/idle.rs:72: DeltaChat: Idle has NewData ResponseData { raw: 4096, response: MailboxData(Exists(25462)) }
55.4s [D]core/event: ConnectivityChanged 1 { kind: 'ConnectivityChanged' }
55.4s [i]core/event: 1 src/imap.rs:1241: Starting a full FETCH of message set "442556".
55.5s [i]core/event: 1 src/imap.rs:1354: Passing message UID 442556 to receive_imf().
55.5s [i]core/event: 1 src/receive_imf.rs:220: Receiving message "Mr.Ix2WGeqLi-z.sXXXXXXXX98@xxxxxxxxx.org", seen=false...
55.5s [i]core/event: 1 src/receive_imf.rs:1554: Message has 1 parts and is assigned to chat #Chat#250.
55.5s [i]core/event: 1 src/contact.rs:1779: Recently seen loop waiting for 0h 10m 50s or interrupt
55.5s [D]core/event: IncomingMsg 1 { chatId: 250, kind: 'IncomingMsg', msgId: 339198 }
55.5s [i]core/event: 1 src/imap.rs:1396: Successfully received 1 UIDs.
55.5s [i]core/event: 1 src/imap.rs:718: 1 mails read from "DeltaChat".
55.5s [D]core/event: IncomingMsgBunch 1 { kind: 'IncomingMsgBunch', msgIds: [ 339198 ] }
55.5s [D]main/notifications: Creating notification: {
  title: 'Phant',
  body: 'Testischnurrrrrr',
  icon: '/home/user/.config/DeltaChat/accounts/8ec962ff-ae4e-4072-ab66-dcb106371236/dc.db-blobs/avatar-1351830973.jpg',
  chatId: 250,
  messageId: 339198,
  accountId: 1
}
56s [D]core/event: ConnectivityChanged 1 { kind: 'ConnectivityChanged' }
56s [D]core/event: ImapInboxIdle 1 { kind: 'ImapInboxIdle' }
56s [i]core/event: 1 src/scheduler.rs:651: IMAP session supports IDLE, using it.
56s [i]core/event: 1 src/imap/idle.rs:60: DeltaChat: Idle entering wait-on-remote state
Simon-Laux commented 5 months ago

You could try to up/downgrade electron, I suspect electron, the flathub bug and bugfix (disable notification portal) only touched the flatpak version and it's packaging code.

missytake commented 5 months ago

I upgraded electron to 29.2.0, that didn't help

missytake commented 5 months ago

Nevermind. I just found out that Delta Chat was deactivated in my notification settings. I apparently disabled notifications there and forgot to re-activate it. works again.

Simon-Laux commented 5 months ago

context for others: "notification settings" here means "system notification settings"