-
-
Notifications
You must be signed in to change notification settings - Fork 30
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
Opening OverlaySheet while prompting takes focus away from prompter and does not return it #12
Comments
Plausible solution: Add onOpen and onClose signal events to: templates/OverlaySheet.qml. |
Partial solution implemented. Take control over Esc key, restore focus upon closing overlays. |
I opened the top left and right menu panes... Interesting how you can still drag the velocity slider or click on the <> buttons when not in Full Screen with the mouse and still control scroll speed... Also noticed if not in Full Screen mode while prompting, keyboard control can be restored by clicking the mouse on the grey background area in the top menu bar for the ltop left pane, and the <> in the top menu to restore after using the top right pane In Full Screen, the <> buttons still work |
That's a feature I added in v1.1, where wheel inputs are routed from various locations to the Prompter component. In most cases, those locations would normally be dead zones, such as the editor toolbar's background (which can now also be used to drag the window around). The idea is you should be able to control the prompter's speed from almost anywhere in the program. |
My bad, I think I misread what you wrote there in an attempt to reply quickly.
If you're talking about how the < > buttons can sometimes be pressed after leaving fullscreen, that is a bug in Kirigami or Qt. Those buttons are only supposed to be shown:
There are bugs in Qt versions 5.15.2 through 5.15.5 that cause them to show in other circumstances. These bugs are supposed to be fixed in KDE's Qt patch collection, which is included with all containerized versions of QPrompt. It may be that Debian's version of Qt doesn't have the latest Patch Collection patches applied. Or maybe there's a bug in Kirigami, or there remains a bug in Qt not covered by the patches. |
Resolved with Qt 6 port |
Describe the bug
Opening OverlaySheet while prompting takes focus away from prompter and does not return it
To Reproduce
Expected behavior
Regain control of prompter upon closing overlay
Your Device
The text was updated successfully, but these errors were encountered: