Skip to content

Mouse movement is sluggish in scale_factor_override and window_settings examples #7377

Closed

Description

@rparrett

Bevy version

main

Relevant system information

AdapterInfo { name: "Apple M1 Max", vendor: 0, device: 0, device_type: IntegratedGpu, driver: "", driver_info: "", backend: Metal }
SystemInfo { os: "MacOS 13.1 ", kernel: "22.2.0", cpu: "Apple M1 Max", core_count: "10", memory: "64.0 GiB" }

What you did

  • cargo run --example scale_factor_override or
    cargo run --example scale_factor_override --release
  • move mouse around in window

What went wrong

Movement is super janky

Additional information

This is happening because the window title is being updated every frame.

Activity

  1. added
    C-BugAn unexpected or incorrect behavior
    S-Needs-TriageThis issue needs to be labelled
    on Jan 26, 2023
  2. rparrett commented on Jan 26, 2023

    @rparrett
    ContributorAuthor

    A quick/dirty attempt to fix this with change detection failed, because moving the mouse changes the window too.

  3. Elabajaba commented on Jan 27, 2023

    @Elabajaba
    Contributor

    Can confirm this also happens on Windows.

  4. added
    C-ExamplesAn addition or correction to our examples
    A-WindowingPlatform-agnostic interface layer to run your app in
    and removed
    S-Needs-TriageThis issue needs to be labelled
    on Jan 27, 2023
  5. changed the title [-]Mouse movement is sluggish in scale_factor_override example[/-] [+]Mouse movement is sluggish in scale_factor_override and window_settings examples[/+] on Feb 3, 2023
  6. added a commit that references this issue on Feb 7, 2023
    f69f132
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-WindowingPlatform-agnostic interface layer to run your app inC-BugAn unexpected or incorrect behaviorC-ExamplesAn addition or correction to our examples

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions