KRDC: Grab the keyboard for entering a special key only works once #27

已關閉
建立於 4 年前SlavekB · 5 則留言
擁有者

Basic information

  • TDE version: R14.0.9~pre
  • Distribution: any
  • Hardware: any

Description

KRDC in VNC browser mode allows the user to send a special key combination. To do this, the same window is used as for entering the keyboard shortcut. The first time of use it, the keyboard grab is performed correctly so that user can enter, for example, Ctrl+Alt+Del. Each time it is used again, the keyboard grab is not performed, making it impossible to enter key combinations that are captured as global keyboard shortcuts.

Steps to reproduce

  1. Start KRDC and connect to a remote VNC console.
  2. Use the Special Keys and press for example Ctrl+Alt+Del
    The key combination is properly sent to the remote console.
  3. Repeat using the Special key and press again for example Ctrl+Alt+Del
    Because no keyboard grab is performed, the key combination is captured as a global keyboard shortcut, instead of being sent to a remote console.

Additional information

This is definitely a regression from R14.0.8 and it has to do with bug 2955 and commits tqt3:f0869718 and tdelibs:8ea3d4dd.

Unfortunately, I have no idea at this point whether the fix will be needed in tdenetwork, tdelibs or tqt3. Therefore I created an issue in tdenetwork where the problem manifests itself.

## Basic information - TDE version: R14.0.9~pre - Distribution: any - Hardware: any <!-- Use SL/* labels to set the severity level. Please do not set a milestone. --> ## Description KRDC in VNC browser mode allows the user to send a special key combination. To do this, the same window is used as for entering the keyboard shortcut. The first time of use it, the keyboard grab is performed correctly so that user can enter, for example, Ctrl+Alt+Del. Each time it is used again, the keyboard grab is not performed, making it impossible to enter key combinations that are captured as global keyboard shortcuts. ## Steps to reproduce 1. Start KRDC and connect to a remote VNC console. 2. Use the Special Keys and press for example Ctrl+Alt+Del<br/>The key combination is properly sent to the remote console. 3. Repeat using the Special key and press again for example Ctrl+Alt+Del<br/>Because no keyboard grab is performed, the key combination is captured as a global keyboard shortcut, instead of being sent to a remote console. ## Additional information This is definitely a regression from R14.0.8 and it has to do with [bug 2955](https://bugs.trinitydesktop.org/show_bug.cgi?id=2955) and commits [tqt3:f0869718](../tqt3/commit/f0869718763cd6d04c9b225db8966df08ddaef44) and [tdelibs:8ea3d4dd](../tdelibs/commit/8ea3d4dd872623721abe3153cdd44d01e3cc69be). Unfortunately, I have no idea at this point whether the fix will be needed in tdenetwork, tdelibs or tqt3. Therefore I created an issue in tdenetwork where the problem manifests itself.
SlavekB 新增到 R14.0.9 release 里程碑 4 年前
SlavekB 加入了 SL/regression 標籤 4 年前
擁有者

We shall try to fix this before releasing R14.0.9

We shall try to fix this before releasing R14.0.9
擁有者

I can simulate the problem here too with R14.1.0-dev.

It also seems that switching to full screen and back, gives you another chance to correctly send the special character sequence to the remote system. This could be a temporary workaround till we fix the issue.

I can simulate the problem here too with R14.1.0-dev.<br/> It also seems that switching to full screen and back, gives you another chance to correctly send the special character sequence to the remote system. This could be a temporary workaround till we fix the issue.
發布者
擁有者

I can confirm that the workaround is working.

I can confirm that the workaround is working.
擁有者

PR #28 should solve this.

PR #28 should solve this.
擁有者

Fixed by PR #27.

Fixed by PR #27.
MicheleC 關閉了這個問題 4 年前
登入 才能加入這對話。
未選擇里程碑
沒有負責人
2 參與者
通知
截止日期

未設定截止日期。

參考: TDE/tdenetwork#27
載入中…
尚未有任何內容