设备 / Device:Android 16,ServerBox 1.0.1719
🇨🇳 中文
描述 Bug
PVE 虚拟机的图形控制台里,点工具栏的键盘按钮调出软键盘后,虚拟机画面被压缩得非常小,几乎没法用;收起键盘才恢复。
复现步骤
- 虚拟机页选中一台运行中的 PVE 虚拟机,点「控制台」并连接(图形/VNC)
- 点工具栏的键盘按钮
- 软键盘弹出,虚拟机画面同时缩小到很小
期望结果:调出键盘时画面大小不变(键盘覆盖在画面上,或画面保持原尺寸可滚动)。
实际结果:画面跟着键盘一起被压缩。
更多信息(可能原因)
查看器是 Column(toolbar, Expanded(canvas), _imeField),点键盘即聚焦底部隐藏输入框;系统键盘弹出后 Scaffold 默认的 resizeToAvoidBottomInset 压缩可视高度,Expanded 的画布随之缩小,而画面按 fit 缩放,于是整幅桌面被缩得很小。
🇬🇧 English
Describe the bug
In a PVE guest's graphical console, tapping the keyboard button in the toolbar (which opens the system keyboard / IME) shrinks the guest's screen to a tiny size — barely usable until the keyboard is dismissed.
To reproduce
- On the Virtualization tab, pick a running PVE guest, open Console and connect (Graphical/VNC)
- Tap the keyboard button in the toolbar
- The soft keyboard appears and the guest's screen shrinks to a small part of the pane
Expected: the picture keeps its size when the keyboard opens (the keyboard overlays it, or the canvas keeps its size and can be scrolled).
Actual: the picture is squeezed together with the keyboard.
Additional context (likely cause)
The viewer is a Column(toolbar, Expanded(canvas), _imeField); the keyboard button focuses the hidden IME field at the bottom, the system keyboard opens, and the Scaffold's default resizeToAvoidBottomInset shrinks the body, so the Expanded canvas shrinks with it — and the frame is drawn fit-to-size, so the whole desktop becomes tiny.
设备 / Device:Android 16,ServerBox 1.0.1719
🇨🇳 中文
描述 Bug
PVE 虚拟机的图形控制台里,点工具栏的键盘按钮调出软键盘后,虚拟机画面被压缩得非常小,几乎没法用;收起键盘才恢复。
复现步骤
期望结果:调出键盘时画面大小不变(键盘覆盖在画面上,或画面保持原尺寸可滚动)。
实际结果:画面跟着键盘一起被压缩。
更多信息(可能原因)
查看器是
Column(toolbar, Expanded(canvas), _imeField),点键盘即聚焦底部隐藏输入框;系统键盘弹出后Scaffold默认的resizeToAvoidBottomInset压缩可视高度,Expanded的画布随之缩小,而画面按 fit 缩放,于是整幅桌面被缩得很小。🇬🇧 English
Describe the bug
In a PVE guest's graphical console, tapping the keyboard button in the toolbar (which opens the system keyboard / IME) shrinks the guest's screen to a tiny size — barely usable until the keyboard is dismissed.
To reproduce
Expected: the picture keeps its size when the keyboard opens (the keyboard overlays it, or the canvas keeps its size and can be scrolled).
Actual: the picture is squeezed together with the keyboard.
Additional context (likely cause)
The viewer is a
Column(toolbar, Expanded(canvas), _imeField); the keyboard button focuses the hidden IME field at the bottom, the system keyboard opens, and theScaffold's defaultresizeToAvoidBottomInsetshrinks the body, so theExpandedcanvas shrinks with it — and the frame is drawn fit-to-size, so the whole desktop becomes tiny.