向上/向下翻页无法滚动但仍可工作

向上/向下翻页无法滚动但仍可工作

我遇到了这个问题,也是昨天暂时发生的,我的 PageUp/PageDown 键仍然能够工作,但无法滚动。

将它们与修饰符组合使用效果很好:使用 Ctrl 仍然可以更改 Firefox 中的选项卡,使用 Shift 仍然可以让我在终端中滚动。

它们仍然被注册,因为当我单独按下它们时,当前窗口会闪烁(在终端中光标闪烁,在 Firefox 中侧边栏闪烁)但没有发生任何移动。

在此状态下运行xev时会返回按键的某种事件:

FocusOut event, serial 48, synthetic NO, window 0x3c00001,
    mode NotifyGrab, detail NotifyAncestor

FocusIn event, serial 48, synthetic NO, window 0x3c00001,
    mode NotifyUngrab, detail NotifyAncestor

KeymapNotify event, serial 48, synthetic NO, window 0x0,
    keys:  0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   
           0   0   0   0   0   0   0   0   0   0   0   0   0   0   0   0

但不是KeyPress/KeyRelease事件。昨晚它自己消失了,但我不确定是什么引发了它,也不知道是什么引发了它消失。

我使用的是 Lubuntu 18.04,希望这能有帮助。

编辑:作为参考,通常 xev 返回

KeyPress event, serial 48, synthetic NO, window 0x2a00001,
    root 0x5e3, subw 0x0, time 57346975, (652,584), root:(2333,632),
    state 0x0, keycode 117 (keysym 0xff56, Next), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 48, synthetic NO, window 0x2a00001,
    root 0x5e3, subw 0x0, time 57347127, (652,584), root:(2333,632),
    state 0x0, keycode 117 (keysym 0xff56, Next), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyPress event, serial 48, synthetic NO, window 0x2a00001,
    root 0x5e3, subw 0x0, time 57347575, (652,584), root:(2333,632),
    state 0x0, keycode 112 (keysym 0xff55, Prior), same_screen YES,
    XLookupString gives 0 bytes: 
    XmbLookupString gives 0 bytes: 
    XFilterEvent returns: False

KeyRelease event, serial 48, synthetic NO, window 0x2a00001,
    root 0x5e3, subw 0x0, time 57347671, (652,584), root:(2333,632),
    state 0x0, keycode 112 (keysym 0xff55, Prior), same_screen YES,
    XLookupString gives 0 bytes: 
    XFilterEvent returns: False

对于这两把钥匙。

答案1

事实证明,这是 Wire 的错误。他们注册了 PageUp 和 PageDown 的全局快捷键,但没有任何作用。正在修复。

通过阅读互联网,无论如何,这个问题似乎是在存在不执行任何操作的全局快捷键时发生的。谁注册它并不重要。

相关内容