kotatogram / kotatogram-desktop

Experimental Telegram Desktop fork.
https://kotatogram.github.io
Other
1.11k stars 118 forks source link

Kotatogram cannot connecting using system proxy while web login success and QWidget::render don't work well #390

Open Thesoul20 opened 1 year ago

Thesoul20 commented 1 year ago

Steps to reproduce

I use a proxy to use telegram, I can login telegram web, but not Kotatogram. When i open the Kotatogram app, it always show connecting as this(as the same time, telegram web can open normally)

image

When i open Kotatogram in terminal and give sudo to it, it shows QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root' QPainter::begin: Paint device returned engine == 0, type: 3 QWidget::render: Cannot render with an inactive painter

And I'm not sure it's my own problem.

Expected behaviour

Connecting well and show the login QR code.

Actual behaviour

connecting false.

Operating system

Ubuntu 20.04

Version of Kotatogram Desktop

1.4.8

Installation source

Static binary from official website

Logs

sudo ./Kotatogram
[sudo] password: 
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
QPainter::begin: Paint device returned engine == 0, type: 3
QWidget::render: Cannot render with an inactive painter
QPainter::begin: Paint device returned engine == 0, type: 3
QWidget::render: Cannot render with an inactive painter
github-actions[bot] commented 2 days 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!