https://bugs.kde.org/show_bug.cgi?id=492183

--- Comment #5 from Liz Lee <waynejw...@outlook.com> ---
short answer:
yes, they do in fact run wayland native mode (i tested it with xwininfo) and
yes, the problems do in fact go away when the window is running in
xwayland-mode.

long answer:

i did the following test:
(the flatpak permissions were managed by the kde system settings)
------------------------------------------------------------
1st test:

command to start the program:
/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=joplin-desktop
--file-forwarding net.cozic.joplin_desktop @@u %u @@

notable cmd parameter:
(none specific)

flatpak permissions:
[v] wayland windowing system
[ ] x11 windowing system
[ ] fallback to x11 windowing system

=> results:
=> test with xwinfinfo: wayland native is used
=> problems do occur as described :(
------------------------------------------------------------
2nd test:

command to start the program:
/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=joplin-desktop
--file-forwarding net.cozic.joplin_desktop @@u %u @@

notable cmd parameter:
(none specific)

flatpak permissions:
[v] wayland windowing system
[v] x11 windowing system
[v] fallback to x11 windowing system

=> results:
=> test with xwinfinfo: wayland native is used
=> problems do occur as described :(
------------------------------------------------------------
3rd test:

command to start the program:
/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=joplin-desktop
--file-forwarding net.cozic.joplin_desktop @@u %u @@

notable cmd parameter:
(none specific)

flatpak permissions:
[ ] wayland windowing system
[v] x11 windowing system
[v] fallback to x11 windowing system

=> results:
=> test with xwinfinfo: xwayland or x11 window is being used
=> problems do NOT occur :)
------------------------------------------------------------
4th test:

command to start the program:
/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=joplin-desktop
--file-forwarding net.cozic.joplin_desktop @@u %u @@ --ozone-platform=wayland

notable cmd parameter:
--ozone-platform=wayland

flatpak permissions:
[v] wayland windowing system
[ ] x11 windowing system
[ ] fallback to x11 windowing system

=> results:
=> test with xwinfinfo: wayland native is used
=> problems do occur as described above :(
------------------------------------------------------------
5th test:

command to start the program:
/usr/bin/flatpak run --branch=stable --arch=x86_64 --command=joplin-desktop
--file-forwarding net.cozic.joplin_desktop @@u %u @@ --ozone-platform=wayland

notable cmd parameter:
--ozone-platform=wayland

flatpak permissions:
[v] wayland windowing system
[v] x11 windowing system
[v] fallback to x11 windowing system

=> results:
=> test with xwinfinfo: wayland native is used
=> problems do occur as described above :(
------------------------------------------------------------
it does not make any difference wether the
[device access:]
[ ] direct graphic rendering
permission is granted or not.
------------------------------------------------------------
the flatpak permissions are:
$ flatpak info --show-permissions net.cozic.joplin_desktop
[Context]
shared=network;ipc;
sockets=wayland;pulseaudio;pcsc;cups;
devices=all;
features=bluetooth;
filesystems=home;

[Session Bus Policy]
org.kde.StatusNotifierWatcher=talk
org.freedesktop.Notifications=talk
com.canonical.AppMenu.Registrar=talk

[System Bus Policy]
org.freedesktop.Avahi=talk

[Environment]
GTK_PATH=/app/lib/gtkmodules

-- 
You are receiving this mail because:
You are watching all bug changes.

Reply via email to