v1cont / yad

Yet Another Dialog
GNU General Public License v3.0
685 stars 57 forks source link

blank windows with html option #273

Open pavroo opened 4 months ago

pavroo commented 4 months 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 4 months 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 months 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.

rotalumi commented 3 weeks ago

@pavroo

I continue to experience this problem while running Sparky on a QEMU virtual machine.

@magpie514's post above led me to a solution. I can fix the problem in my case by adding this line...

export WEBKIT_DISABLE_COMPOSITING_MODE=1

... near the top of...

/usr/lib/sparky-aptus-appcenter/aptus-appcenter