Cuperino / QPrompt-Teleprompter

Teleprompter software for all video creators. Built with ease of use, productivity, control accuracy, and smooth performance in mind.
https://qprompt.app
GNU General Public License v3.0
355 stars 22 forks source link

Cursor disappearing #188

Open videosmith opened 1 year ago

videosmith commented 1 year ago

Bug Description When a system requestor window opens over Qprompt, system cursor disappears over the app with the exception of the titlebar in the requestor window, mouse clicks still received correctly.

May be unique to Ubuntu 22.04/Arm distro only, does not occur on Debian/x64.

Steps to Reproduce

  1. Open Qprompt
  2. Perform an action to generate a requestor window
  3. Moving cursor from desktop to Qprompt, cursor disappears, when requestor window is closed, cursor reappears

Expected behavior Cursor should always be visible, instead of randomly disappearing.

Detailed description of display configuration (if applicable) Single HDMI out only

Screenshots (optional) See video https://github.com/Cuperino/QPrompt/assets/88691671/f1e86bf3-d9b2-4c12-a0a7-a24aa3379ce5

Device information

Cuperino commented 1 year ago

Replicated on Gnome and KDE using X11. Wayland is unaffected under KDE. Windows and Mac not yet tested .

Cuperino commented 1 year ago

Windows is also affected. The bug was introduced in 1.2 rev 5.

videosmith commented 1 year ago

Using the same image file for both RPi 4B and RPi 400, so far only manifests itself on the 4B.

Cuperino commented 1 year ago

That must be because the 4B probably has less than 4 GB of RAM, which results in RaspberryPi OS using the software compositor, which is susceptible to the bug. The hardware accelerated compositor probably doesn't exhibit the bug because of an implementation detail in its code.

In any case, the bug lies in QPrompt, which should stop trying to auto hide the cursor for the app the moment the main window looses focus.

videosmith commented 1 year ago

4B has 4GB ram However if it did utilize the software compositor even though it's the same image file, how can I determine that?

Cuperino commented 1 year ago

The setting would be somewhere in the raspi-config command. I don't remember where exactly...

videosmith commented 1 year ago

No software/ hardware option I can set in the ubuntu 22.04 release of raspi config.

Cuperino commented 1 year ago

Ubuntu uses Gnome, which only works well with Mutter, the compositor it comes with. On Ubuntu 22.04, which is the one I have accessible to me, the bug is exhibited on both X11 and Wayland, meaning there's no workaround that can be applied to this issue under Gnome as far as I'm aware.

I don't want to promise that I'll fix the issue by a certain date, but I'm presently working on a new feature (Issue #51), and I should tackle this issue once I'm done with it.

videosmith commented 1 year ago

Understood and thank you.

Cuperino commented 11 months ago

Re-opening issue. A part of the solution caused mayor breakage on Windows, that prevents QPrompt from successfully starting up...

Cuperino commented 11 months ago

Re-opening, issue still present under undetermined, less likely circumstances.

Cuperino commented 11 months ago

Re-opening... Cursor stays hidden under certain circumstances involving projections.

Cuperino commented 11 months ago

Issue is still happening when toggling back to edit mode from screen projection under Linux.