telegramdesktop / tdesktop

Telegram Desktop messaging app
https://desktop.telegram.org/
Other
26.35k stars 5.24k forks source link

A small mistake #27406

Open kartavenko1983 opened 9 months ago

kartavenko1983 commented 9 months ago

Steps to reproduce

  1. Open telegram
  2. View the chat or channel to the end

Expected behaviour

When viewing a chat or channel, if there are no more unread messages or news in it, then the number of unread messages should not remain in the list of chats and channels in the channel name column.

Actual behaviour

For some reason, sometimes the number of unread messages remains near the name of the viewed chat or channel, although there are none. Minimizing and restoring the application window helps. log.txt

Operating system

Linux

Version of Telegram Desktop

4.14.9 And earlier

Installation source

Static binary from official website

Crash ID

No response

Logs

[2024.01.26 21:58:42] Launched version: 4014009, install beta: [FALSE], alpha: 0, debug mode: [TRUE]
[2024.01.26 21:58:42] Executable dir: /opt/Telegram/, name: Telegram
[2024.01.26 21:58:42] Initial working dir: /home/kartavenko/
[2024.01.26 21:58:42] Working dir: /home/kartavenko/.local/share/TelegramDesktop/
[2024.01.26 21:58:42] Command line: /opt/Telegram/Telegram
[2024.01.26 21:58:42] Executable path before check: /opt/Telegram/Telegram
[2024.01.26 21:58:42] Logs started
[2024.01.26 21:58:42] App ID: org.telegram.desktop._3e485da34fc040f9218e3891ecde1e6c
[2024.01.26 21:58:42] Connecting local socket to 37e25af27dbb11914b3832a46f448bef-{87A94AB0-E370-4cde-98D3-ACC110C5967D}...
[2024.01.26 21:58:42] Socket connect error 0, starting server and app...
[2024.01.26 21:58:42] Moved logging from '/home/kartavenko/.local/share/TelegramDesktop/log_start0.txt' to '/home/kartavenko/.local/share/TelegramDesktop/log.txt'!
[2024.01.26 21:58:42] Global devicePixelRatio: 2
[2024.01.26 21:58:42] QT_AUTO_SCREEN_SCALE_FACTOR: 0
[2024.01.26 21:58:42] QT_SCREEN_SCALE_FACTORS: VGA-0=1.75;DVI-D-0=1.75;HDMI-0=1.75;
[2024.01.26 21:58:42] Primary screen DPI: 87.5, Base: 96.
[2024.01.26 21:58:42] Computed screen scale: 90
[2024.01.26 21:58:42] DevicePixelRatio: 2
[2024.01.26 21:58:42] ScreenScale: 90
[2024.01.26 21:58:42] Icon theme: breeze
[2024.01.26 21:58:42] Fallback icon theme: 
[2024.01.26 21:58:42] System tray available: [TRUE]
[2024.01.26 21:58:42] Font: from ':/gui/fonts/DAOpenSansRegular.ttf' loaded 'DAOpenSansRegular'
[2024.01.26 21:58:42] Font: from ':/gui/fonts/DAVazirRegular.ttf' loaded 'DAVazirRegular'
[2024.01.26 21:58:42] Font: from ':/gui/fonts/DAOpenSansRegularItalic.ttf' loaded 'DAOpenSansRegularItalic'
[2024.01.26 21:58:42] Font: from ':/gui/fonts/DAVazirRegular.ttf' loaded 'DAVazirRegular'
[2024.01.26 21:58:42] Font: from ':/gui/fonts/DAOpenSansSemiboldAsBold.ttf' loaded 'DAOpenSansSemibold'
[2024.01.26 21:58:42] Font: from ':/gui/fonts/DAVazirMediumAsBold.ttf' loaded 'DAVazirMedium'
[2024.01.26 21:58:42] Font: from ':/gui/fonts/DAOpenSansSemiboldItalicAsBold.ttf' loaded 'DAOpenSansSemiboldItalic'
[2024.01.26 21:58:42] Font: from ':/gui/fonts/DAVazirMediumAsBold.ttf' loaded 'DAVazirMedium'
[2024.01.26 21:58:42] Font: from ':/gui/fonts/DAOpenSansSemiboldAsBold.ttf' loaded 'DAOpenSansSemibold'
[2024.01.26 21:58:42] Font: from ':/gui/fonts/DAVazirMediumAsBold.ttf' loaded 'DAVazirMedium'
[2024.01.26 21:58:42] Font: from ':/gui/fonts/DAOpenSansSemiboldItalicAsBold.ttf' loaded 'DAOpenSansSemiboldItalic'
[2024.01.26 21:58:42] Font: from ':/gui/fonts/DAVazirMediumAsBold.ttf' loaded 'DAVazirMedium'
[2024.01.26 21:58:42] App Info: reading settings...
[2024.01.26 21:58:42] App Info: reading encrypted settings...
[2024.01.26 21:58:42] Lang Info: Loaded cached, keys: 6141
[2024.01.26 21:58:42] OpenAL Logging Level: 3
[2024.01.26 21:58:42] Audio Playback Devices: WH-CH510;Встроенное аудио Аналоговый стерео
[2024.01.26 21:58:42] Audio Playback Default Device: WH-CH510
[2024.01.26 21:58:42] Audio Capture Devices: Live! Cam Sync 1080p Аналоговый стерео;Monitor of Встроенное аудио Аналоговый стерео;Monitor of WH-CH510
[2024.01.26 21:58:42] Audio Capture Default Device: Live! Cam Sync 1080p Аналоговый стерео
[2024.01.26 21:58:42] App Info: reading accounts info...
[2024.01.26 21:58:42] App Info: reading encrypted info...
[2024.01.26 21:58:42] App Info: reading map...
[2024.01.26 21:58:42] App Info: reading encrypted map...
[2024.01.26 21:58:42] App Info: reading encrypted user settings...
[2024.01.26 21:58:42] App Info: encrypted user settings read.
[2024.01.26 21:58:42] App Info: reading encrypted mtp data...
[2024.01.26 21:58:42] MTP Info: read keys, current: 5, to destroy: 0
[2024.01.26 21:58:42] Map read time: 4
[2024.01.26 21:58:42] App Info: reading encrypted mtp config...
[2024.01.26 21:58:43] QPainter::begin: Paint device returned engine == 0, type: 2
[2024.01.26 21:58:43] QWidget::render: Cannot render with an inactive painter
[2024.01.26 21:58:43] Export Info: Destroy top bar by controller removal.
[2024.01.26 21:58:43] OpenGL: Force-disabled.
[2024.01.26 21:58:43] OpenGL: [FALSE] (Window)
[2024.01.26 21:58:44] Message Info: bad message notification received (error_code 33) for msg_id = 7328483471355571308, seq_no = 54
[2024.01.26 21:58:44] Message Info: bad message notification received, msgId 7328483471355571308, error_code 33
[2024.01.26 21:58:44] RPC Error: request 29 got fail with code 403, error PREMIUM_ACCOUNT_REQUIRED
[2024.01.26 21:58:44] API Warning: not loaded minimal channel applied.
[2024.01.26 21:58:44] API Warning: not loaded minimal channel applied.
[2024.01.26 21:58:44] Corrupt JPEG data: premature end of data segment
[2024.01.26 21:58:45] Notification daemon product name: Plasma
[2024.01.26 21:58:45] Notification daemon vendor name: KDE
[2024.01.26 21:58:45] Notification daemon version: 5.27.10
[2024.01.26 21:58:45] Notification daemon specification version: 1.2
[2024.01.26 21:58:45] Notification daemon capabilities: body, body-hyperlinks, body-markup, body-images, icon-static, actions, persistence, inline-reply, x-kde-urls, x-kde-origin-name, x-kde-display-appname, inhibitions
[2024.01.26 21:58:46] Corrupt JPEG data: premature end of data segment
kartavenko1983 commented 9 months ago

@ilya-fedin Please pay attention to this problem

ilya-fedin commented 9 months ago

I can't help you with that, sorry :(

kartavenko1983 commented 9 months ago

@Aokromes, Maybe you can fix this little bug? Or pass it on to other developers

github-actions[bot] commented 3 months ago

Hey there!

This issue was inactive for a long time and will be automatically closed in 30 days if there isn't any further activity. We therefore assume that the user has lost interest or resolved the problem on their own.

Don't worry though; if this is an error, let us know with a comment and we'll be happy to reopen the issue.

Thanks!

kartavenko1983 commented 3 months ago

the problem is still relevant