Skip to content

Tool previews laggy after hardware acceleration is turned on #3584

@eishiya

Description

@eishiya

Tool previews, such as the stamp brush preview, become laggy after hardware acceleration is turned on, even if it's turned back off.
Restarting Tiled after turning hardware acceleration off and not turning it back on again "fixes" the issue, and the tool previews follow the mouse cursor without delay again.
The lag is slight, but it's enough to be quite annoying. It feels like it's perhaps a frame or so behind.

In this GIF, I first have a freshly started Tiled with no hardware acceleration, there's no lag. Then, I turn on hardware acceleration and the lag appears. Then, I turn it off and the lag persists.
cursorlag

Encountered on Tiled 1.9.1 and 2023.02.17 (Qt6) on Win10 x64.

Metadata

Metadata

Assignees

Labels

bugBroken behavior.

Type

No type

Projects

Status

Done

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions