[krdc] [Bug 329951] when connecting to a remote host, some modifier key (shift, or alt) is permanently pressed

2021-02-18 Thread Robert Hoffmann
https://bugs.kde.org/show_bug.cgi?id=329951

Robert Hoffmann  changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
  Latest Commit||https://invent.kde.org/netw
   ||ork/krdc/commit/7558fc24428
   ||aca06bea8f218516553307fb8b6
   ||6d
 Resolution|--- |FIXED

--- Comment #7 from Robert Hoffmann  ---
Git commit 7558fc24428aca06bea8f218516553307fb8b66d by Robert Hoffmann.
Committed on 18/02/2021 at 10:16.
Pushed by aacid into branch 'master'.

Unpress modifiers on focusOutEvent in VncView

Key combinations like Alt-Tab, Alt-F2, Alt-F3, Alt-F4 or Ctrl-Alt-Delete are
not effective on the remote desktop but local. The remote desktop looses its
focus but pressed modifier keys like Alt, Ctrl, Shift, Meta,... stay pressed,
rendering the remote desktop unusable.

This patch releases the modifier keys on focus loss.

Test: Press key combinations with modifier keys and check that the remote
desktop
stays usable, e.g. while connected to a remote desktop, type some text into a
terminal or text application, then press Alt-Tab to change focus to a different
local window. Press Alt-Tab again to switch back to krdc and type some text
again.

Without this patch, the Alt modifier is still active on the remote side and
typing
text will fail. With the patch applied typing is successful.

Try other modifiers, too, e.g press the Ctrl-key, hold it and mouseclick some
other
local window to get focus. Release the Ctrl-key and mouseclick krdc again. Do
the
typing test.

Enable KRDC.debug logging and check the "VncView::unpressModifiers key="
message.

M  +11   -1vnc/vncview.cpp
M  +1-0vnc/vncview.h

https://invent.kde.org/network/krdc/commit/7558fc24428aca06bea8f218516553307fb8b66d

-- 
You are receiving this mail because:
You are watching all bug changes.

[knotes] [Bug 358973] Knotes do not drag, they only drop at the location of the released mouse-button

2018-06-07 Thread Robert Hoffmann
https://bugs.kde.org/show_bug.cgi?id=358973

--- Comment #15 from Robert Hoffmann  ---
Fixed jumping, see https://phabricator.kde.org/D13401

-- 
You are receiving this mail because:
You are watching all bug changes.

[knotes] [Bug 358973] Knotes do not drag, they only drop at the location of the released mouse-button

2018-06-07 Thread Robert Hoffmann
https://bugs.kde.org/show_bug.cgi?id=358973

--- Comment #14 from Robert Hoffmann  ---
You're right, I'll look into it.

-- 
You are receiving this mail because:
You are watching all bug changes.

[knotes] [Bug 358973] Knotes do not drag, they only drop at the location of the released mouse-button

2018-06-06 Thread Robert Hoffmann
https://bugs.kde.org/show_bug.cgi?id=358973

Robert Hoffmann  changed:

   What|Removed |Added

 CC||rob...@roberthoffmann.de

--- Comment #10 from Robert Hoffmann  ---
See https://phabricator.kde.org/D13379

-- 
You are receiving this mail because:
You are watching all bug changes.