Tormak9970 / Steam-Art-Manager

Simple and elegant Steam library customization
GNU General Public License v3.0
93 stars 4 forks source link

Does not work under Wayland #140

Closed traysh closed 1 year ago

traysh commented 1 year ago

Describe the bug Under Wayland, only a 100% white window is shown.

To Reproduce Run the app, white window will be shown.

Expected behavior Interface would be shown

Screenshots image

Logs: core.log

System information (please complete the following information):

Additional information Does this project uses electron? If so, a flag should be used to support wayland, see here. The link above might be useful if it's not Electron but another framework.

Also, dragging on the white page will drag elements, indicating this is a rendering problem:

Screenshot_20230814_180634

Last, the app will run correctly under a Xephyr session nested inside Wayland:

Screenshot_20230814_181033

Note the above comment is not a solution tough, as it has lots of downsides, such as having to type the api keys, as clipboard is not transferred between wayland and Xephyr

Tormak9970 commented 1 year ago

Describe the bug Under Wayland, only a 100% white window is shown.

To Reproduce Run the app, white window will be shown.

Expected behavior Interface would be shown

Screenshots image

Logs: core.log

System information (please complete the following information):

* OS: Arch Linux (upstream, not SteamOS) running on Steam Deck

Additional information Does this project uses electron? If so, a flag should be used to support wayland, see here. The link above might be useful if it's not Electron but another framework.

Also, dragging on the white page will drag elements, indicating this is a rendering problem:

Screenshot_20230814_180634

Last, the app will run correctly under a Xephyr session nested inside Wayland:

Screenshot_20230814_181033

Note the above comment is not a solution tough, as it has lots of downsides, such as having to type the api keys, as clipboard is not transferred between wayland and Xephyr

I'll try to look into this. It will be difficult because I have no way to test this. This is not an electron app (for many reasons, electron is not great for devs or users), its made with Tauri. May have a similar issue though

Tormak9970 commented 1 year ago

@traysh can you try lsunching the app with WEBKIT_DISABLE_COMPOSITING_MODE=1? I believe this is related to tauri-apps/tauri#5143

traysh commented 1 year ago

Yes, it works! Thank you =)

Em sex., 8 de set. de 2023 às 18:53, Travis Lane @.***> escreveu:

@traysh https://github.com/traysh can you try lsunching the app with WEBKIT_DISABLE_COMPOSITING_MODE=1? I believe this is related to tauri-apps/tauri#5143 https://github.com/tauri-apps/tauri/issues/5143

— Reply to this email directly, view it on GitHub https://github.com/Tormak9970/Steam-Art-Manager/issues/140#issuecomment-1711966794, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAH4QLVXPJLXBSA27QRQKZ3XZNERRANCNFSM6AAAAAA3P5EA2U . You are receiving this because you were mentioned.Message ID: @.***>

Tormak9970 commented 1 year ago

Yes, it works! Thank you =) Em sex., 8 de set. de 2023 às 18:53, Travis Lane @.> escreveu: @traysh https://github.com/traysh can you try lsunching the app with WEBKIT_DISABLE_COMPOSITING_MODE=1? I believe this is related to tauri-apps/tauri#5143 <tauri-apps/tauri#5143> — Reply to this email directly, view it on GitHub <#140 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAH4QLVXPJLXBSA27QRQKZ3XZNERRANCNFSM6AAAAAA3P5EA2U . You are receiving this because you were mentioned.Message ID: @.>

Good to know, thanks. I'll look into bundling that with the appimage if possible. otherwise itll be added to the .desktop files

Tormak9970 commented 1 year ago

closing this as a workaround will be included in the next release. Hopefully this will not be required if https://github.com/tauri-apps/tauri/issues/5143 is ever resolved.