sway icon indicating copy to clipboard operation
sway copied to clipboard

QT applications fail to open file-chooser

Open kamiyaa opened this issue 2 years ago • 6 comments

Please fill out the following:

  • Sway Version:

    • swaymsg -t get_version or sway -v
    • sway version 1.10-dev-dc9f2173 (Mar 14 2024, branch 'master')
  • Debug Log: see attachment

  • Description: For some reason, a lot of qt-based electron apps (is that a thing?) fail to open the file-chooser window. It just never shows up. Applications include: Google-chrome, Brave browser, Signal desktop, Telegram desktop. Slack desktop

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

  • Steps to reproduce:
  • Open any of the above applications
  • try to upload or save something

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 avatar Mar 15 '24 02:03 kamiyaa

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

kamiyaa avatar Mar 15 '24 02:03 kamiyaa

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

emersion avatar Mar 15 '24 10:03 emersion

sway -Dlegacy-wl-drm -d 2>/tmp/sway.log

sway.log

No luck :(

kamiyaa avatar Mar 15 '24 14:03 kamiyaa

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

kamiyaa avatar Apr 01 '24 14:04 kamiyaa

Set a breakpoint on '_pixman_log_error' to debug

Could you do that and send a backtrace?

bl4ckb0ne avatar Apr 01 '24 14:04 bl4ckb0ne

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:

kamiyaa avatar Apr 01 '24 23:04 kamiyaa