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

Закрыто
открыта 4 лет назад SlavekB · комментариев: 5
SlavekB прокомментировал(а) 4 лет назад
Владелец

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 лет назад
MicheleC прокомментировал(а) 4 лет назад
Владелец

We shall try to fix this before releasing R14.0.9

We shall try to fix this before releasing R14.0.9
MicheleC прокомментировал(а) 4 лет назад
Владелец

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.
SlavekB прокомментировал(а) 4 лет назад
Автор
Владелец

I can confirm that the workaround is working.

I can confirm that the workaround is working.
MicheleC прокомментировал(а) 4 лет назад
Владелец

PR #28 should solve this.

PR #28 should solve this.
SlavekB добавить новую зависимость 4 лет назад
MicheleC прокомментировал(а) 4 лет назад
Владелец

Fixed by PR #27.

Fixed by PR #27.
MicheleC закрыл(а) эту задачу 4 лет назад
Войдите, чтобы присоединиться к обсуждению.
Нет этапа
Нет назначенных лиц
2 участников
Уведомления
Срок выполнения

Срок выполнения не установлен.

Зависит от
Reference: TDE/tdenetwork#27
Загрузка…
Пока нет содержимого.