Might one be able to right-click on a selected brush/entity/group, "move to layer" --> and have a menu of of layers display?
yeah, that could be useful to avoid switching inspector tabs
Would it also be possible to have _Lock All_ and _Hide All_ buttons for layers? Also, perhaps the _Hide_ and _Lock_ buttons could be in their own columns.
We should have a way to show what layer the current selection is in (in the status bar?). It currently just shows the current layer.
Keep duplicated objects in the same layer as the original
All other newly created objects go into default layer
If we do these, this implies dropping the concept of "current layer", doesn't it? (what other function would "current layer" have?)
I feel there shouldn't be a "current layer", it's a hassle to always be switching around to the layer you want when working.
In addition to a "move to layer > layer list" in the rlight click menu in the viewport, I feel there should also be :
For giving the user feedback on layers, coloring the edges (in both 2d and 3d views) could be a solution, and is what's done in Maya, letting the user chose the color. This might be a bit confusing to see, so maybe have it as a display option.

I agree that the „current layer“ is cumbersome. My question is, where do newly created objects go? It says „default layer“ in the issue description, but at this point I‘m not sure if that‘s an error. Note I‘m not referring to duplicated objects, these always go into the same layer as the original, or objects created in an open group, as these will always go into the same layer as the group itself.
If newly created objects go into the default layer, users will constantly have to move those into a different layer, and I think that might be annoying as it interrupts their workflow.
Instead of having the notion of „current layer“, we could just place newly created objects into the currently selected layer, or the default layer if no layer is currently selected.
Coloring layers is certainly useful and should be added at some point. I think it requires some changes to the renderer, but it shouldn‘t be too hard.
Oh and optionally, we could have the layer selection follow the object selection, that is, when you select some object, it’s layer becomes selected in the layer list.
I don't really see the difference between the "current layer" system and "we could just place newly created objects into the currently selected layer, or the default layer if no layer is currently selected." you're basically just describing the same thing presented in a slightly different manner no? :)
I'm a bit biased after working for 15 years in Maya, so pinch of salt etc. but my take is :
I work pretty organically on maps, iterating a lot and moving from area to area quite often.
I'd rather new objects (not duplicated) always go to a fixed "default layer", otherwise they will end up in whatever random layer I had active. That means I can regularly display only the default layer and reassign new stuff to appropriate layers, otherwise I get to a situation where I have a mess of new stuff spread across lots of other layers they shouldn't be in.
And yeah to clarify the "default layer" is a hard-coded layer that is always present and not renameable. In Maya it's not even shown in the layer editor, it's basically "whatever isn't in any other user layer".
Yes, that is true, with a simpler way of changing what the default layer is, and without the limitations of the current default layer (cannot be hidden or locked).
Ok, so one vote for "new objects to default layer".
without the limitations of the current default layer (cannot be hidden or locked).
Assuming you mean "current active layer", it can be hidden and locked via the context menu but not the buttons.
Ok, so one vote for "new objects to default layer".
If you mean "active layer" then :+1:
Had a chat with hemebond on discord, as he's happy with the current method (just has UI complaints). It made me reconsider and reevaluate my requests, so that they stay closer to the existing design, and thus don't penalize people who are happy with it.
Basically the main issue currently is that when you duplicate a selection it moves it to the Active Layer instead of staying in the sources Layer.
To recap here is what I'd suggest (some of these points are already how TB acts today) :
Should the active / current layer just follow the selection in the layer list or should it. E changed by double click as it is now?
I personally think double-clicking is fine, sometimes you'll click on a layer to select it without actually wanting it to become the active layer? (Like say you select a few layers to hide them, or just accidentally select one before right clicking on it to to do some other function like renaming or reordering or whatever else).
I'm happy with Bal's list: https://github.com/kduske/TrenchBroom/issues/2365#issuecomment-524904016
I would just add something like:
About layer colors: I'd suggest the color can either be unset, which means you get the default colors TB uses (blue for groups, entities might have a color specified in the .fgd), or the layer can have a color set, which draws everything with that color.
I'd also vote for keeping "double-click to change active layer" rather than just following the list selection. I guess it's not a big difference either way.
Ok, that settles it then... let's hope we get around to this soon ;-)
Reminder to deal with undo/redo for switching active layer, closing any open groups when you switch active layers: https://github.com/kduske/TrenchBroom/issues/3186
Some discussion in Discord with Bal:
some implementation notes here: https://github.com/kduske/TrenchBroom/pull/2914
Discussion with sleepwalkr:
The bulk of this was fixed in commits 6629440803128539df809a8b0306a74c771a1927 and 9e1fde3a8fb5d7d1b9f84e098be6daed0b2c88ed
Code review is in https://github.com/kduske/TrenchBroom/pull/3267
Most helpful comment
Ok, that settles it then... let's hope we get around to this soon ;-)