Summary: | Custom size panel resizing in edit mode is laggy | ||
---|---|---|---|
Product: | [Plasma] plasmashell | Reporter: | dmatteo002 |
Component: | Edit Mode | Assignee: | dmatteo002 |
Status: | RESOLVED FIXED | ||
Severity: | minor | CC: | dmatteo002, filip.kendes1, nate, niccolo.venerandi |
Priority: | NOR | Keywords: | qt6, usability |
Version First Reported In: | master | ||
Target Milestone: | 1.0 | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://invent.kde.org/plasma/plasma-workspace/-/commit/8f32c912adc9f0d9f829f474f2e53a9e8fe954b1 | Version Fixed In: | 6.3.0 |
Sentry Crash Report: | |||
Attachments: | Video of the problem |
Description
dmatteo002
2024-05-25 20:26:59 UTC
Can you attach a screen recording that shows the issue happening? Created attachment 170504 [details]
Video of the problem
I attached a video. It only happen when the bar has to change size because of the new constrains.
Thanks. I can reproduce that. *** Bug 498203 has been marked as a duplicate of this bug. *** A possibly relevant merge request was started @ https://invent.kde.org/plasma/plasma-workspace/-/merge_requests/5061 Git commit b6c31e9ec3485a5022953d8a24183c38819b1c6f by Marco Martin. Committed on 14/01/2025 at 14:59. Pushed by mart into branch 'master'. shell/panel: ensure at most one resize per frame is done calls to queuePositionAndResize will mark geometry dirty and ask for redraw only when the redraw is done, the resize is done and another frame at proper geometry will be drawn. this ensures that if we receive a flood of resize requests, at most one per frame will be performed, making resizing the panel with the handles feel a lot snappier M +6 -0 shell/autotests/shelltest.cpp M +20 -5 shell/panelview.cpp M +2 -0 shell/panelview.h https://invent.kde.org/plasma/plasma-workspace/-/commit/b6c31e9ec3485a5022953d8a24183c38819b1c6f Git commit 8f32c912adc9f0d9f829f474f2e53a9e8fe954b1 by Marco Martin. Committed on 15/01/2025 at 08:12. Pushed by mart into branch 'Plasma/6.3'. shell/panel: ensure at most one resize per frame is done calls to queuePositionAndResize will mark geometry dirty and ask for redraw only when the redraw is done, the resize is done and another frame at proper geometry will be drawn. this ensures that if we receive a flood of resize requests, at most one per frame will be performed, making resizing the panel with the handles feel a lot snappier (cherry picked from commit b6c31e9ec3485a5022953d8a24183c38819b1c6f) M +6 -0 shell/autotests/shelltest.cpp M +20 -5 shell/panelview.cpp M +2 -0 shell/panelview.h https://invent.kde.org/plasma/plasma-workspace/-/commit/8f32c912adc9f0d9f829f474f2e53a9e8fe954b1 |