Look into moving the eye/lock icons in Layers view to the left side
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 12.9k
- Forks
- 2k
- Avg merge
- 4h 27m
- Merged PRs (30d)
- 8
Description
Currently Tiled displays the eye and lock icons for layers on the right side, whereas such icons are more commonly seen on the left side (seen in GIMP, Photoshop, Krita and Inkscape). When the view is wide, it is also easier to associate these actions with their layers when they are displayed on the left along with the layer name.
It seems tricky to achieve this with a QTreeView, since there is no immediate option to put columns to the left of the expansion arrows (relevant since group layers may be used). It could be that a totally custom delegate will need to be written that renders these icons in addition to the layer icon, name and selection. Possibly a complete customization of the row rendering is necessary to render the expansion arrows in between these actions and the layer name.
Requested [by a patron](https://www.patreon.com/posts/21014870).
Contributor guide
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 the Layers view and inspect its QTreeView configuration and current eye/lock icon rendering. Determine whether column placement is sufficient or whether a custom delegate or row rendering is needed for group-layer expansion arrows. Done means the icons appear on the left beside each layer while preserving layer names, selection, and group expansion behavior.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- desktop
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100