Skip to content

bug: PVE 控制台里长按无法触发鼠标右键(Windows 虚拟机) #1640

Description

@Infinifar

设备 / Device:Android 16,ServerBox 1.0.1719

🇨🇳 中文

描述 Bug
PVE 里 Windows 虚拟机的图形控制台,长按画面不会触发鼠标右键,没有任何反应。

复现步骤

  1. 虚拟机页选中一台运行中的 Windows 虚拟机,点「控制台」并连接(图形)
  2. 在画面上长按(例如想右键桌面或文件)

期望结果:长按 = 鼠标右键(多数 VNC 客户端的做法)。
实际结果:长按没有任何效果。

补充:目前右键要靠 touchpad 模式的双指点击(touchpad.dart 里 _click(session, point, 4)),不太好发现;长按右键更符合直觉。

🇬🇧 English

Describe the bug
In a PVE Windows guest's graphical console, long-pressing the picture does not trigger a right click — nothing happens.

To reproduce

  1. On the Virtualization tab, pick a running Windows guest, open Console and connect (Graphical)
  2. Long-press the picture (e.g. to open a context menu on the desktop or a file)

Expected: a long press acts as the right mouse button, as it does in most VNC clients.
Actual: a long press does nothing.

Note: right click is currently a two-finger tap in the touchpad mode (_click(session, point, 4) in touchpad.dart), which is not easy to discover; long-press would be more natural.

Activity

  1. winnowl commented on Oct 4, 2026

    @winnowl

    Issue triage

    Feasibility:needs-clarification | Risk:medium

    Related code:

    • touchpad.dart · _click

    Information needed to reproduce:

    • Does the issue occur in all graphical console types/backends, or only a specific one (for example VNC/noVNC)?
    • Does long-press work in other console interaction modes, or is the issue specifically in direct pointer mode?
    • Can you confirm the press duration and whether any context menu, pointer feedback, or other gesture appears?
    • Does the behavior reproduce on another Android device or Android version, and with a different Windows guest?
    • Please provide logs or a screen recording showing the console mode and the long-press attempt, if available.

    Suggested labels(not applied automatically):bug, feature request, PVE, console, input

  2. Infinifar commented on Oct 4, 2026

    @Infinifar
    Author

    补充信息:

    • 图形(VNC)控制台;App 只有 VNC 与文本两种控制器。
    • 在触摸板模式(默认)下测试;代码上 touchpad.dart 只处理单击、双指点击(右键)和拖动,两种模式都没有长按映射。
    • 按住约 2–3 秒:持续按住没有任何反馈,右键菜单不会出现。
    • 只有这一台设备、这一台 Windows 虚拟机,暂时无法换设备对比。
    • 暂无日志/录屏;如果仍需要我可以补录。

    Additional details:

    • Graphical (VNC) console; the app has only VNC and text consoles.
    • Tested in touchpad mode (the default); in code touchpad.dart handles a tap, a two-finger tap (right click) and tap-and-drag only — neither mode maps a long press.
    • Held for about 2–3 seconds: nothing happens, no context menu appears.
    • One device and one Windows guest only, so no cross-device comparison for now.
    • No logs or screen recording yet; I can record one if it is still needed.
  3. lollipopkit commented on Oct 9, 2026

    @lollipopkit
    Owner

    已在 #1671 修复, 请等待下次发版

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions