kotatogram-desktop icon indicating copy to clipboard operation
kotatogram-desktop copied to clipboard

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

Open Thesoul20 opened this issue 1 year ago • 1 comments

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

Thesoul20 avatar Sep 06 '22 03:09 Thesoul20