swaywm / sway

i3-compatible Wayland compositor
https://swaywm.org
MIT License
14.48k stars 1.11k forks source link

QT applications fail to open file-chooser #8064

Open kamiyaa opened 6 months ago

kamiyaa commented 6 months ago

Please fill out the following:

However, discord's file-chooser works, and it brings up the GTK file-chooser

System: Gentoo Linux

I did notice some pixman issues in the swaylog, but not sure if thats related.

*** BUG ***
In pixman_region32_union_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

*** BUG ***
In pixman_region32_union_rect: Invalid rectangle passed
Set a breakpoint on '_pixman_log_error' to debug

sway.log

kamiyaa commented 6 months ago

Actually, might be related to https://github.com/swaywm/sway/issues/7483

emersion commented 6 months ago

Can you try to pass -Dlegacy-wl-drm to Sway?

kamiyaa commented 6 months ago
sway -Dlegacy-wl-drm -d 2>/tmp/sway.log

sway.log

No luck :(

kamiyaa commented 6 months ago

Any updates on this? Just curious because a lot of my applications are unusable :eyes:

bl4ckb0ne commented 6 months ago

Set a breakpoint on '_pixman_log_error' to debug

Could you do that and send a backtrace?

kamiyaa commented 6 months ago

Set a breakpoint on '_pixman_log_error' to debug

Could you do that and send a backtrace?

I'm not sure if thats the real issue, but I can definitely try. Though I'm not sure how to set a breakpoint :eyes: