v1cont / yad

Yet Another Dialog
GNU General Public License v3.0
657 stars 58 forks source link

blank windows with html option #273

Open pavroo opened 1 month ago

pavroo commented 1 month ago

My 2 Yad based apps with html option displays blank windows. It happens on some machines (not mine, but my users) so I cant find the issue. It started with Yad 12 and after, not sure about older versions, on Debian 12 stable and testing trixie. yad-aptus-blank

Planetatecno commented 1 month ago

Hi, sorry for my bad english. I have the same situation. My PC have a Nvidia GT 730 graphic card and i see the Aptus Window, but not de buttons (the cursor change but the window is empty). In my laptop with Intel graphics i do not have this problem, Aptus shows correctly. Thanks.

magpie514 commented 2 weeks ago

I have the same issue, all I get as console output is

Overriding existing handler for signal 10. Set JSC_SIGNAL_FOR_GC if you want WebKit to use a different signal
AcceleratedSurfaceDMABuf was unable to construct a complete framebuffer

With the "AcceleratedSurfaceDMABuf..." line being repeated multiple times and when I resize the window.

Tinkering a bit, seems it'll work normally if you use the environment variable WEBKIT_DISABLE_COMPOSITING_MODE=1 like WEBKIT_DISABLE_COMPOSITING_MODE=1 yad --html --uri="http://localhost:8001" --browser --width=800 --height=600. You could also export it in your profile, but I don't know if that can cause issues with other webkit applications. I recommend a wrapper for YAD instead.