Open videosmith opened 2 years ago
Cursor artifacts usually are usually a by product of how the compositor or window manager draws windows and cursors on screen. QPrompt doesn't draw the window cursor itself, instead it requests a cursor to be used and the operating system takes care of drawing it.
In desktop environments and window managers that use older methods for drawing windows on screen it's more common to get artifacts. These sometimes happen when an app (QPrompt in this case) takes too long to process visuals. The cursors can also become a garbled mess when the system is lacking video memory.
Most of these problems can be solved by using a compositor to draw windows. Compton is a lightweight compositor I like to use on low-end machines running LXQt. I don't know what compositor the RPi OS comes with, but I had read that it is automatically enabled on Raspberry Pis with 4 GB of RAM or more.
You can try switching it for Compton to see if it solves your graphical issues. I'll look into this later to see if the issue has to do with long rendering times or something else that's app related. Most likely the issue has to do with the compositor or the window manager...
Raspi-config> Advanced A3 Compositor> Enable/disable xcompmgr composition manager seems to be disabled.
Is this what you were referring to?
Made no difference when enabled.
After switching Debian 11.3 LXQt to KDE, the artifacting disappeared.
Good to know! It may have had to do with how LXDE / Pixel (RPi OS), and LXQt's compositors are implemented. After all, LXDE and LXQt were created by some of the same developers. These might even share the same code; after all, compositors and window managers are mostly toolkit independent. Either way, I find it unlikely that it's an issue with QPrompt.
I'll leave this issue open until I'm able to try replicate the issue. I'm attending more pressing matters and issues first.
FYI, KDE Plasma will always be the environment where QPrompt has the least amount of issues, because QPrompt is in part built using KDE libraries. The user experience should be equivalent across all desktop environments, so I'll keep working on issue #90.
Bug Description Occasional artifacts appear when moving cursor
Steps to Reproduce
Expected behavior No artifacts
Detailed description of display configuration (if applicable) HDMI 0 only, 1280x720p, 59.94
Screenshots (optional)
Device information