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

Skip to content Dismiss alert {{ message }} / godot Public
  • Notifications You must be signed in to change notification settings
  • Fork 21.3k
  • Star 91.4k
  • Code
  • Issues 5k+
  • Pull requests 3.1k
  • Actions
  • Projects 5
  • Security
  • 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)#54909

Description

@Jattmackson

Jattmacksonopenedon 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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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