Add "Show object names -> For current layer" option
Currently, under View -> Show Object Names, there are Never, For Selected Objects, and For All Objects options. It would be very useful to have a For Current Layer option that displays the names of all objects on the layer that is being edited.
Maybe this is the solution to your problem:
http://doc.qt.io/archives/qt-4.8/designer-widget-mode.html
@TheMacNerd Why do you think so? It seems to have no relation at all to the suggestion that was made.
@dnaf I think your suggestion makes a lot of sense. For the upcoming Tiled 1.2, this option should be called "For Selected Layers" since you can select multiple layers at the same time.
One open question for this feature is, should it imply that labels are also shown for selected objects? Currently it displays either nothing, only selection or everything. In Tiled 1.2, I have added a separate toggle for showing the name of the hovered object.
I'd rather avoid adding another separate toggle, so I hope we can decide on a reasonable choice for selected objects (which may not be on the selected layer), in case For Selected Layers is chosen.
I would love to see this feature as well :)
I'd rather avoid adding another separate toggle
IMO it shouldn't be a separate toggle, but rather another one option in the list, like so:
Show object names ->
- Never
- For selected objects
- For selected layers
- For all objects
@achpile It would be great if you could help answer this question in that case:
I hope we can decide on a reasonable choice for selected objects (which may not be on the selected layer), in case For Selected Layers is chosen.
:-)
Oh, sorry. I probably misunderstood that message :)
Oh, sorry. I probably misunderstood that message :)
You can just share your expectation. Since including it in the list of options like you suggested means there is no explicit "For Select Objects and Objects in Select Layers" option, which raises the question whether that's what "For Selected Layers" really means, or whether it should just do what it says and ignore selected objects.
I guess the more intuitive thing to do is to stick with the wording, where the "For Selected Layers" will not care about which objects are selected.
I guess the more intuitive thing to do is to stick with the wording, where the "For Selected Layers" will not care about which objects are selected.
Yep. That's what I meant :)
There's an option to show the names For All Objects which does not care about what is selected and what is not.
So For selected layers should have the same behavior, just filter by selected layers IMO.
PS: I'm not very fluent in English, sorry if i misunderstood something again :D