| Summary: | Hitting tab key when search or replace is open inputs into document | ||
|---|---|---|---|
| Product: | [Applications] ghostwriter | Reporter: | Riccardo Robecchi <sephiroth_pk> |
| Component: | general | Assignee: | megan.conkle |
| Status: | CONFIRMED --- | ||
| Severity: | normal | CC: | miniopl |
| Priority: | NOR | ||
| Version First Reported In: | 24.12.3 | ||
| Target Milestone: | --- | ||
| Platform: | Neon | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Riccardo Robecchi
2025-03-21 09:06:21 UTC
I can confirm this happens when using ghostwriter build from source using kde-builder, git hash 4bdd9c4cd30c68c79f8d2636dfa9e8d10de8a27c . The problem is that menu action "IndentText" is assigned accelerator "Tab" in src/appactions.cpp:118. That action takes precedence over everything else. MainWindow overrides keyPressEvent and detects if findReplace widget is visible, to redirect event there. FindReplace has code to handle Tab, to move between "Find" and "Replace" when they are visible. But neither FindReplace nor MainWindow code is ever run, because key press is handled by action first. |