QML: anchor on item managed by layout
Open
Nobody has claimed this yet.
area: ui
bug
- Dominant language
- Python
- Stars
- 14.4k
- Forks
- 1.3k
- PR merge metrics
- No merged PRs in 30d
Description
WARN file:///home/zuntrax/git/sfttech/openage/assets/qml/main.qml:208:6: QML IngameHud: Detected anchors on an item that is managed by a layout. This is undefined behavior; use Layout.alignment instead.
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at assets/qml/main.qml:208 and inspect the IngameHud item and its surrounding layout. Adjust the anchors according to the warning's Layout.alignment guidance, then run the relevant application or QML checks and confirm the warning no longer appears.
Written by the indexing model from the issue text.
Assessment
- Domain
- frontend
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100