| Summary: | [search/replace + Wayland] Strange pop-ups instead of a dropdown menu for completition propositions | ||
|---|---|---|---|
| Product: | [Applications] kate | Reporter: | geisserml <geisserml> |
| Component: | application | Assignee: | KWrite Developers <kwrite-bugs-null> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | CC: | christoph, geisserml, kde |
| Priority: | NOR | Keywords: | regression, wayland-only |
| Version First Reported In: | 21.08.1 | ||
| Target Milestone: | --- | ||
| Platform: | Other | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
| Attachments: | Pop-up window | ||
Can you confirm if this is "regression from earlier on wayland" or "regression compared to X11"
>I think this issue affects Wayland only.
It will be.
Code path we're hitting is us telling Qt to open a popup window, no parent being explicitly set, and Qt (for some reason) unable to find one with the fallback heuristic.
A popup with no parent is illegal on wayland, so Qt makes a toplevel window with decorations as a fallback.
It is "regression from earlier on wayland". Hmm, that is a normal QComboBox with completion. I think this is perhaps rather an issue with Qt(-Wayland) than with Kate -- A question: Is it possible to deactivate completition, or dismiss the completition history as a workaround? Please try a more recent version, I use Wayland now since months and have not seen this. I think the is no general switch to turn all this stuff of, if comboboxes fail to work, something is very broken. (In reply to Christoph Cullmann from comment #5) > Please try a more recent version, I use Wayland now since months and have > not seen this. > I think the is no general switch to turn all this stuff of, if comboboxes > fail to work, something is very broken. You're right, that bug is gone, and I had almost forgotten about this report. I don't remember if it had already disappeared while I was still using kde neon, or if it was only since I switched to opensuse. |
Created attachment 141422 [details] Pop-up window SUMMARY When typing in a string into either of the "Search" or "Replace" fields, there are sometimes strange floating windows instead of a dropdown menu for completition propositions. These windows are rather annoying, because they steal focus from the text input field. Then I usually press <kbd>ESC</kbd> with the intention to get rid of the pop-up, but instead it closes the search/replace plugin... I think this issue affects Wayland only. STEPS TO REPRODUCE 1. Open Kate 2. Open the "Search and Replace" plugin 3. Type in a string into the "Search" or "Replace" field 4. Keep editing the text until the bug occurs. OBSERVED RESULT Sometimes a separate, centered pop-up window appears instead of a dropdown menu. EXPECTED RESULT There should never be pop-ups for this. It should always be a dropdown menu. SOFTWARE/OS VERSIONS Operating System: KDE neon 5.22 KDE Plasma Version: 5.22.5 KDE Frameworks Version: 5.85.0 Qt Version: 5.15.3 Kernel Version: 5.11.0-34-generic (64-bit) Graphics Platform: Wayland