flathub / ch.protonmail.protonmail-bridge

https://flathub.org/apps/details/ch.protonmail.protonmail-bridge
11 stars 5 forks source link

Configuration window is black pane in Wayland #73

Closed scottAnselmo closed 1 year ago

scottAnselmo commented 2 years ago

Symptom:

When the configuration panel is opened it shows as a black box in Wayland. Clicking and holding the top bar will allow you to drag it around, and clicking the top right where the 'X' to close is expected will close it.

image

Impact:

Users can't configure Protonmail Bridge unless they use a X11 based desktop session first.

Replication Steps:

  1. Launch a Wayland based desktop session
  2. Open Protonmail Bridge (i.e. from the Start Menu or right clicking the icon in the System Tray)

Driver notes: Proprietary Nvidia

A6GibKm commented 2 years ago

I am sorry for the delay, the bridge only supports x11 and won't run in wayland if it does not have a X11 compatibility layer (xwayland). You might try running it with flatpak run --socket=wayland ch.protonmail.protonmail-bridge.

sHaggYcaT commented 2 years ago

It's actual for me too. I've configured it in the xorg, and switched back to wayland. Than it works. Additional details can be found here

You might try running it with flatpak run --socket=wayland ch.protonmail.protonmail-bridge.

Doesn't work for me,

 flatpak run --socket=wayland ch.protonmail.protonmail-bridge
WARN[Sep 26 17:35:20.177] Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.  pkg=frontent/qml
WARN[Sep 26 17:35:20.186] could not connect to display                  pkg=frontent/qml
WARN[Sep 26 17:35:20.186] Could not load the Qt platform plugin "xcb" in "" even though it was found.  pkg=frontent/qml
WARN[Sep 26 17:35:20.186] This application failed to start because no Qt platform plugin could be initialized. Reinstalling the application may fix this problem.

Available platform plugins are: eglfs, linuxfb, minimal, minimalegl, offscreen, vnc, wayland-egl, wayland, wayland-xcomposite-egl, wayland-xcomposite-glx, webgl, xcb.  pkg=frontent/qml
SIGABRT: abort
PC=0x7fb833e43184 m=0 sigcode=18446744073709551610
signal arrived during cgo execution

Despite:

rpm -qa | grep Xwayland
xorg-x11-server-Xwayland-22.1.1-1.fc36.x86_64
sHaggYcaT commented 2 years ago

UPDATE: it works in a case:

QT_QPA_PLATFORM=wayland  flatpak run --socket=wayland ch.protonmail.protonmail-bridge
dsommers commented 1 year ago

I wonder if this is fixed now. I'm running RHEL-8.7 with Wayland. Proton Mail Bridge v3.1.2 works just as expected in regards to Wayland.

scottAnselmo commented 1 year ago

I wonder if this is fixed now. I'm running RHEL-8.7 with Wayland. Proton Mail Bridge v3.1.2 works just as expected in regards to Wayland.

It is; thanks for flagging this. It has for some months on Fedora 37, but I can't recall which version of KWin this got fixed on.