HSlider Value_changed Signal Now Emitted Multiple Times Per Frame ...

Skip to content Dismiss alert {{ message }} / godot Public
  • Uh oh!

    There was an error while loading. Please reload this page.

  • Notifications You must be signed in to change notification settings
  • Fork 23.8k
  • Star 104k
  • Code
  • Issues 5k+
  • Pull requests 4.3k
  • Actions
  • Projects 6
  • Security

    Uh oh!

    There was an error while loading. Please reload this page.

  • Insights
Additional navigation options HSlider value_changed signal now emitted multiple times per frame when moving slider. (changed 3.3-3.4) #54909New issueNew issueClosedClosedHSlider value_changed signal now emitted multiple times per frame when moving slider. (changed 3.3-3.4)#54909Labelsarchivedbugregressiontopic:gui@Jattmackson

Description

@JattmacksonJattmacksonopened on Nov 12, 2021

Godot version

3.4.stable (64)

System information

Window10 (64) Nvidia 1060 6gb GLES3

Issue description

HSlider value_changed signal can now be emitted multiple times per frame when moving slider. (changed 3.3-3.4)

This causes compatibility issues in my project as this signal calls computationally expensive methods multiple times a frame causing massive lag-spikes when moving a slider.

Steps to reproduce

Connect the "value_changed" signal from a HSlider (likely an issue on other sliders/signals too?)

In 3.3 this signal would only be emitted once per frame when moving the slider In 3.4 this signal can be emitted multiple times per frame

Minimal reproduction project

sliderbug.zip

Metadata

Metadata

Assignees

No one assigned

Labels

archivedbugregressiontopic:gui

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions

You can’t perform that action at this time.

Từ khóa » Hslider Godot