Bug 412227 - Terminal has the focus when Kate opens.
Summary: Terminal has the focus when Kate opens.
Status: RESOLVED FIXED
Alias: None
Product: kate
Classification: Applications
Component: application (show other bugs)
Version: 19.08.0
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: KWrite Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-23 07:25 UTC by Baltasar
Modified: 2022-08-07 17:00 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:
Sentry Crash Report:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Baltasar 2019-09-23 07:25:56 UTC
When the Terminal is activated, the focus goes to the terminal window component instead to the main application.


STEPS TO REPRODUCE
1. Activate Terminal in the Kate settings. Open the Terminal and close Kate.
2. Launch Kate.
3. Press Ctrl+O.

OBSERVED RESULT
Instead of opening the open file dialog, a new prompt is shown in the terminal. In order for Ctrl+O to work, you'll have to click in the main window and then press it again.

EXPECTED RESULT
The main window should be the one grabbing focus. The terminal component should be there as a complement, i.e., should not receive focus unless excplicitly clicked.

SOFTWARE/OS VERSIONS
Windows: 
macOS: 
Linux/KDE Plasma: Manjaro
(available in About System)
KDE Plasma Version: 
KDE Frameworks Version: 5.61.0
Qt Version: 5.13.0

ADDITIONAL INFORMATION
Comment 1 Christoph Cullmann 2019-09-23 07:37:26 UTC
Git commit e114b53eb0b448d6cd2dbb2f242a7c086334c02b by Christoph Cullmann.
Committed on 23/09/2019 at 07:36.
Pushed by cullmann into branch 'master'.

ensure view stack gets focus on startup

M  +3    -3    kate/katemainwindow.cpp

https://invent.kde.org/kde/kate/commit/e114b53eb0b448d6cd2dbb2f242a7c086334c02b
Comment 2 Christoph Cullmann 2019-09-23 07:37:30 UTC
Git commit e114b53eb0b448d6cd2dbb2f242a7c086334c02b by Christoph Cullmann.
Committed on 23/09/2019 at 07:36.
Pushed by scmsync into branch 'master'.

ensure view stack gets focus on startup

M  +3    -3    kate/katemainwindow.cpp

https://commits.kde.org/kate/e114b53eb0b448d6cd2dbb2f242a7c086334c02b
Comment 3 Christoph Cullmann 2022-08-07 17:00:34 UTC
Git commit 9fc29d38cc77ef229618eae5b1a817e2c804df5e by Christoph Cullmann, on behalf of loh tar.
Committed on 07/08/2022 at 16:48.
Pushed by cullmann into branch 'master'.

(re) fix BUG: 412227

Has not worked here, but now do

commit e114b53eb0b448d6cd2dbb2f242a7c086334c02b
Author: Christoph Cullmann <cullmann@kde.org>
Date:   Mon Sep 23 09:36:35 2019 +0200

    ensure view stack gets focus on startup

M  +1    -1    apps/lib/katemainwindow.cpp

https://invent.kde.org/utilities/kate/commit/9fc29d38cc77ef229618eae5b1a817e2c804df5e