Skip to content

access violation caused by multi-key down bug #615

@zmn28hgbn59kcmlpio8unfh7fdre523esd28q9a

Description


Exception class: EAccessViolation
Message: Access violation
To get more information, use the debug version.

repro steps:
hold U
hold LMB
drag mouse
hold M
release LMB
= access violation.

i suspect this is caused by lazpaint activating tools using key-down event rather than key-up, thus as long as a key is down (and can be seen in toolbar) lazpaint keeps switching tools.

a single key-down doesnt cause access violation, however due to lazpaint relying on key-down it keeps changing tools rapidly, e.g. U will cause lazpaint to switch between rect vs ellipse.

this behavior is also very noticeable on my 1000hz polling rate keyboard. (1ms delay)

~

not that im familiar with lazpaint internals, but this is a new installation of Widnows, i dont have lazarus installed to possibly debug it and know the whats going on.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions