-
-
Notifications
You must be signed in to change notification settings - Fork 33
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Incorrect background transparency #88
Comments
Hi @waylonwang, Thanks for reporting. There's a bug in the 1.1.0 betas which is causing the mobile interface's "teleprompter state toggle button" to be shown in some of the desktop versions of QPrompt. When the button is shown, vertical prompting and editing space is reduced. Then the prompter's viewport and background do not extend to the bottom because the button bellow them is not supposed to be there. This is inconvenient when combined with transparency because, in order to achieve the slightest transparency, the window's background must be fully invisible. Since no semi transparent background is covering it, this results in the fully transparent gap that you see. The issue seems to be caused by a bug in the Kirigami that keeps coming and going. Kirigami is one of the libraries used to create QPrompt and is foundational to its user interface. What I do to avoid this bug is test and include only versions of Kirigami that don't come with this bug on any platform. Since this process is long and tedious, I only do it for final releases and skip it for the beta builds. I'm also not sure what in Kirigami is triggering this issue. When I run QPrompt QPrompt 1.1.0-beta-3 (05/21/2022) on Windows 10, the issue only happens the first time that I launch QPrompt for a Windows session. If I close QPrompt and launch it again, the issue doesn't happen. But on other platforms I get completely different behavior. What I've done is change the design so backgrounds are always present to fill the gap when it appears. |
Here's a new beta with the fix. Enjoy! |
…eft by Kirigami's action buttons becoming visible, which appears when the user is in full screen mode and not editing and when a bug in Kirigami which causes the mobile action buttons to show at the same time as the desktop buttons, manifests itself.
Bug Description
When the transparency of the background is 100, the interface is displayed normally. When the transparency is lower than 100, the transparency of the entire line area where the button that starts the prompting is located directly becomes 0.
Steps to Reproduce
1.Change the background transparency directly
Expected behavior
The background transparency of the row where the start prompt button is located is displayed according to the set transparency
Screenshots


Device information
The text was updated successfully, but these errors were encountered: