godotengine / godotengine/godot

OptionButton Dropdown doesn't inherit transform

Open
#89,096 1 comment 2 reactions 0 assignees View on GitHub
discussion topic:gui
Dominant language
C++
Stars
117k
Forks
26.8k
PR merge metrics
PR metrics pending

Description

### Tested versions

v4.2.1.stable.official [b09f793f5]

### System information

Godot v4.2.1.stable - Windows 10.0.22631 - Vulkan (Forward+) - dedicated NVIDIA GeForce RTX 3060 Ti (NVIDIA; 31.0.15.4665) - 11th Gen Intel(R) Core(TM) i5-11400F @ 2.60GHz (12 Threads)

### Issue description

An OptionButton node's dropdown selection menu does not move with the rest of the node.

![buggg0001-0664-ezgif com-video-to-gif-converter](https://github.com/godotengine/godot/assets/6430599/4ca8e8ad-3f3e-4a54-bfad-73aa61f1d2ac)

### Steps to reproduce

Create an OptionButton, move it.

### Minimal reproduction project (MRP)

[optionbutton_bug.zip](https://github.com/godotengine/godot/files/14470433/optionbutton_bug.zip)

Contributor guide

Open the contributing guide

Research direction

Use the attached optionbutton_bug.zip to reproduce the issue by moving an OptionButton and opening its dropdown. Trace the OptionButton dropdown's positioning and transform handling; done means the selection menu moves with the rest of the node, including after the node is moved.

Written by the indexing model from the issue text.

Assessment

Tech stack
cpp
Domain
game-dev
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.