deltachat / deltachat-desktop

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

Window almost never redraws on PinePhone with Phosh #4214

Open ell1e opened 1 month ago

ell1e commented 1 month ago

The delta chat window almost never redraws on PinePhone with Phosh. The top menubar seems to redraw fine and seems unaffected, the content area however is almost unusable.

ell1e commented 1 month ago

Is DeltaChat perhaps using an old electron? https://github.com/electron/electron/issues/27889 It seems to be a similar problem.

Simon-Laux commented 1 month ago

Is DeltaChat perhaps using an old electron

no we use 30.3.1 in deltachat 1.46.8

Also note that we can not officially provide support for using delta chat desktop on linux phones.

ell1e commented 1 month ago

For what it's worth, Phosh and Phoc are to my understanding wlroots based with regular GNOME apps and also run on regular x64 desktop hardware if desired, and the PinePhone is basically like a single board computer like the Raspberry Pi at a strange screen size. This isn't anything like Google's strange diverged Android tech stack or Canonical's Ubports.

I'm trying to get the electron issue reopened, since this seems to possibly be an electron bug. For example, when I run DeltaChat with flatpak run chat.delta.desktop -- --devtools this problem doesn't occur with the inspector window opening up in addition, indicating this is somehow related to electron's basic window handling.

ell1e commented 1 month ago

It was pointed out to me on the electron bug tracker that apparently 30.x is past end of life. I would be curious to test if the issue goes away as soon as DeltaChat starts using a newer version.