* [PATCH pve-manager] cpu flags selector: fix glitches when scrolling the flags list
@ 2026-05-19 14:15 Arthur Bied-Charreton
2026-05-19 19:17 ` applied: " Thomas Lamprecht
0 siblings, 1 reply; 2+ messages in thread
From: Arthur Bied-Charreton @ 2026-05-19 14:15 UTC (permalink / raw)
To: pve-devel
Buffered rendering does not work well in the CPU flags grid due to the
rows' variable heights - Ext.js does not know the heights of the items
that are not in view.
This causes glitches when scrolling due to the whole view suddenly
having to be pushed down when a higher item suddenly gets into view.
Disable the buffered renderer, which fixes the glitches at the cost of
loading all rows in the DOM at the same time.
Signed-off-by: Arthur Bied-Charreton <a.bied-charreton@proxmox.com>
---
While this does fix the glitch, it does so at the cost of very long load
times when opening and closing the CPUTypeEdit component. Please test
and let me know what you think.
www/manager6/form/VMCPUFlagSelector.js | 2 ++
1 file changed, 2 insertions(+)
diff --git a/www/manager6/form/VMCPUFlagSelector.js b/www/manager6/form/VMCPUFlagSelector.js
index a62353aa..33b55999 100644
--- a/www/manager6/form/VMCPUFlagSelector.js
+++ b/www/manager6/form/VMCPUFlagSelector.js
@@ -2,6 +2,8 @@ Ext.define('PVE.form.VMCPUFlagSelector', {
extend: 'Ext.grid.Panel',
alias: 'widget.vmcpuflagselector',
+ bufferedRenderer: false,
+
mixins: {
field: 'Ext.form.field.Field',
},
--
2.47.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* applied: [PATCH pve-manager] cpu flags selector: fix glitches when scrolling the flags list
2026-05-19 14:15 [PATCH pve-manager] cpu flags selector: fix glitches when scrolling the flags list Arthur Bied-Charreton
@ 2026-05-19 19:17 ` Thomas Lamprecht
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Lamprecht @ 2026-05-19 19:17 UTC (permalink / raw)
To: pve-devel, Arthur Bied-Charreton
On Tue, 19 May 2026 16:15:56 +0200, Arthur Bied-Charreton wrote:
> Buffered rendering does not work well in the CPU flags grid due to the
> rows' variable heights - Ext.js does not know the heights of the items
> that are not in view.
>
> This causes glitches when scrolling due to the whole view suddenly
> having to be pushed down when a higher item suddenly gets into view.
>
> [...]
Applied, thanks!
[1/1] cpu flags selector: fix glitches when scrolling the flags list
commit: 111ae100ae681caf1e343bc073aeff0762c1a148
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2026-05-19 19:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-05-19 14:15 [PATCH pve-manager] cpu flags selector: fix glitches when scrolling the flags list Arthur Bied-Charreton
2026-05-19 19:17 ` applied: " Thomas Lamprecht
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox