The on-screen keyboard's coming and going is rough: the content stays, then jumps, about 110 ms after the resize #1
Labels
No labels
bug
duplicate
enhancement
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
Catcrafts/imsd-messages#1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Each time the on-screen keyboard comes or goes, the app's first frame at the new size reaches the compositor about 110 ms after the window is resized, and for the last 15 to 36 ms of that the old picture is shown squashed or stretched to the new size. Nothing moves with the keyboard: the content stays, then jumps.
Measured on a Fairphone 6 (Plasma Mobile 6.8.2, KWin 6.8.2, plasma-keyboard 6.8.2) with 0.0.0's tree (
ca5cd72) underWAYLAND_DEBUG=1: 22 resizes, 11 each way, median 112 ms from the compositor's configure to the first buffer of the new size (88 to 190 ms).Where the time goes
onResizereaches the app. The app's loop handles nothing else in that time. Catcrafts/Crafter.Graphics#199resizeSub(interfaces/ImsdMessages.Ui-App.cppm) callsDirty(), which asks for a frame callback throughFrameDriver::RequestRedraw(interfaces/ImsdMessages.Ui-Loop.cppm), and the frame is drawn when the callback comes. The saved trace does not split the wait for the callback from the drawing.What the app can do
Not part of this: the hide key bringing the keyboard straight back, fixed in 0.0.0 (
ca5cd72).Context: asked for after the phone test of 0.0.0, 2026-11-18.