keshavbhatt / whatsie

Feature rich WhatsApp Client for Desktop Linux
MIT License
1.83k stars 52 forks source link

WebEngineContext error while starting Whatsie #109

Open winstonma opened 1 year ago

winstonma commented 1 year ago

I installed Ubuntu 22.04 and installed Whatsie from Snap store. When I start Whatsie from the terminal I got this error:

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
Qt: Session management error: None of the authentication protocols specified are supported
WebEngineContext used before QtWebEngine::initialize() or OpenGL context creation failed.
QGLXContext: Failed to create dummy context
Failed to create OpenGL context for format QSurfaceFormat(version 2.0, options QFlags<QSurfaceFormat::FormatOption>(), depthBufferSize 24, redBufferSize -1, greenBufferSize -1, blueBufferSize -1, alphaBufferSize -1, stencilBufferSize 8, samples 0, swapBehavior QSurfaceFormat::DefaultSwapBehavior, swapInterval 1, colorSpace QSurfaceFormat::DefaultColorSpace, profile  QSurfaceFormat::NoProfile) 
Aborted (core dumped)

I currently use flatpak version of Whatsie without any issue but the flatpak version stopped updating so I think I would like to see how can I get the snap version fixed.

Thanks in advance

keshavbhatt commented 1 year ago

I will check and get back to you soon.

Thanks for reporting.

winstonma commented 1 year ago

Thanks a lot. Just wonder if it is possible that the flatpak version would get refreshed.

Thanks

winstonma commented 1 year ago

BTW I find that the version installed is different from the version listed on flathub.

$ flatpak remote-info flathub com.ktechpit.whatsie
        ID: com.ktechpit.whatsie
       Ref: app/com.ktechpit.whatsie/x86_64/stable
      Arch: x86_64
    Branch: stable
Collection: org.flathub.Stable
  Download: 71.2 MB
 Installed: 167.9 MB
   Runtime: org.kde.Platform/x86_64/5.15-22.08
       Sdk: org.kde.Sdk/x86_64/5.15-22.08

    Commit: df1031eecedbae5cbe83834ac9c06a0c06f2e8080d2eb1d81e880f3b9c134a73
    Parent: c9ed2652af6799d95f3da9a58f8a91836a8ad890437cf80679b5692aa12b7d1c
   Subject: Update whatsie.git to v4.13.0 (8b80411d)
      Date: 2023-03-22 22:51:43 +0000

$ flatpak info com.ktechpit.whatsie

Whatsie - Qt Whatsapp Web Client for Linux Desktop

          ID: com.ktechpit.whatsie
         Ref: app/com.ktechpit.whatsie/x86_64/stable
        Arch: x86_64
      Branch: stable
     Version: 4.9
     License: MIT
      Origin: flathub
  Collection: org.flathub.Stable
Installation: system
   Installed: 167.9 MB
     Runtime: org.kde.Platform/x86_64/5.15-22.08
         Sdk: org.kde.Sdk/x86_64/5.15-22.08

      Commit: df1031eecedbae5cbe83834ac9c06a0c06f2e8080d2eb1d81e880f3b9c134a73
      Parent: c9ed2652af6799d95f3da9a58f8a91836a8ad890437cf80679b5692aa12b7d1c
     Subject: Update whatsie.git to v4.13.0 (8b80411d)
        Date: 2023-03-22 22:51:43 +0000

According to the flathub website it said it's version 4.9 while the About info in Whatsie said it is 4.13. Just wonder if it is possible to make the listed version matches the software version. Thanks

keshavbhatt commented 1 year ago

Version listed on flatpak website is from app stream data which i forgot to update 😅 Sorry for that. The version reflected inside app is correct one. I will fix it soon.