Bug 393253 - Keyboard events not propagated while a tooltip from window decoration is visible
Summary: Keyboard events not propagated while a tooltip from window decoration is visible
Status: RESOLVED FIXED
Alias: None
Product: kwin
Classification: Plasma
Component: input (show other bugs)
Version: unspecified
Platform: Neon Linux
: NOR normal
Target Milestone: ---
Assignee: KWin default assignee
URL: https://phabricator.kde.org/D12633
Keywords:
Depends on:
Blocks:
 
Reported: 2018-04-18 12:58 UTC by Patrick Silva
Modified: 2018-05-19 07:02 UTC (History)
1 user (show)

See Also:
Latest Commit:
Version Fixed In: 5.13.0
Sentry Crash Report:
bugseforuns: Wayland+
mgraesslin: X11-
mgraesslin: ReviewRequest+


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Patrick Silva 2018-04-18 12:58:57 UTC
start wayland session
open dolphin
hover minimize/maximize/restore/close button in window decoration
while the tooltip is visible, press F10 to create a new folder: nothing happens
the same shortcut works when the tooltip is not visible
Comment 1 Alexander Mentyu 2018-04-18 14:00:58 UTC
Tooltip isn't appearing for me when i hover over Dolphin's titlebar close/minimize... buttons and F10 shortcut works in: 

Plasma: 5.12.4
Apps: 17.12.3
Frameworks: 5.45.0
Qt: 5.10.1
Kernel: 4.14.34-1-MANJARO
OS: Netrunner Rolling
Video: Intel 4400
Driver: xf86-video-intel 1:2.99.917+823+gd9bf46e4-1
Screen: 1600x900
wayland-protocols 1.13-1
wayland 1.14.0-1

Maybe there are some settings for toggling the tooltips appearance behavior?
Comment 2 Martin Flöser 2018-04-18 16:56:20 UTC
Tooltip is new in 5.13. The tooltip shouldn't take key events and the application internal shortcuts are just key events. What about normal key events, e.g. writing in kwrite?
Comment 3 Patrick Silva 2018-04-18 17:19:44 UTC
It's impossible to type in kwrite/kate while a tooltip is visible.
Comment 4 Martin Flöser 2018-05-01 14:22:39 UTC
Patch at: https://phabricator.kde.org/D12633
Comment 5 Patrick Silva 2018-05-18 21:55:33 UTC
same thing in plasma 5.13 beta, Arch Linux.
Comment 6 Martin Flöser 2018-05-19 07:02:00 UTC
Git commit 08455f297df9e208227481cb6b0d6efbaf6fd614 by Martin Flöser.
Committed on 19/05/2018 at 07:01.
Pushed by graesslin into branch 'Plasma/5.13'.

Ensure the QToolTip on the deocration does not steal key events

Summary:
FIXED-IN: 5.13.0

Test Plan: manual testing and new unit test

Reviewers: #kwin, #plasma

Subscribers: kwin

Tags: #kwin

Differential Revision: https://phabricator.kde.org/D12633

M  +52   -0    autotests/integration/decoration_input_test.cpp
M  +3    -0    input.cpp

https://commits.kde.org/kwin/08455f297df9e208227481cb6b0d6efbaf6fd614