<div dir="ltr">Hi !<div><br></div><div>Great news !</div><div>(by the way, I'm crossposting to qgis-ux as well)</div><div><br></div><div><div>I've been thinking about this a little and have some more long term ideas I want to share (see the mockup below, it may be more clear):</div>
<div><br></div><div>1. Trivalent checkboxes (neutral, visible, hidden) (#5787)</div><div>When neutral, a layer/group is shown if it's parent is shown (top level neutral elements are shown).</div><div>When hidden, a layer/group is hidden regardless of its parents.</div>
<div>When visible, a layer/group is shown regardless of its parents.</div><div><br></div><div>This would make big groups much more usable. Cinema4D's object manager features this, and its very efficient. Also Qt's checkboxes can be tristate out of the box, so it may not be that hard to implement.</div>
<div><br></div><div><br></div><div>2. Display the data source as an icon in a column on the left (not indented, separated by a thin vertical line)</div><div>The icon would help to know whether it's a WMS, Shapefile, postgis, etc. layer.</div>
<div>The icon would be grayed out when the source is unavailable.<br></div><div>Right clicking on the source would only source related actions (subset, relink source, save data as, open in db manager, ...).</div><div><br>
</div><div>It would make the distinction between layer and source much clearer. This distinction is obvious for experienced GIS users, but I've seen a lot of beginners being very confused because of that (software working with external links/files are quite rare for common usage). We could also display the "edit pencil" on the source, giving one more hint to the user that he's not modifying the QGIS file, but the datasource behind.</div>
<div><br></div><div><br></div><div>3. Display labels/diagrams/actions/etc. as icons just after the layer's name</div><div>Allow for quick toggling of those frequently useful features.</div><div>Right clicking allow for related actions (edit, set label expression, etc.)</div>
<div>Imagine what plugins could add there !! Any per-layer setting could be shown as a tag. Think of Anita's TimeManager or Minoru's qgis2ThreeJs... We could put the snap settings there too, or new features like alternative styles, saved feature selections, snap settings, .... !!!</div>
<div><br></div><div>Again, this is how Cinema4D's manager works (they call those icons "tags", and C4D makes extensive use of them). In their version, they align all the tags after another vertical bar, which may be the most elegant way to solve the layout with long layer's names.</div>
<div><br></div><div><br></div><div>Conclusion.</div><div><br></div><div>I think it's worth making the Legend GUI a bit more rich than it is now. </div><div>This is the part of the GUI where the users spend most of their clicks, and IMO the potential efficiency bonus is by far worth the small complexification. And it's not only complexification, it's also clarification.</div>
<div>The segregation of source/layer/addendi in the legend GUI will be very powerful in combination with contextual menus. By having three different contextual menus, we'll be able to have much more actions at finger tips, without over-crowding the menus.</div>
<div><br></div><div><br></div><div><br></div><div><br></div><div>About Nyall's idea : </div><div>+1 !</div><div>It could be implemented as it is in Photoshop, i.e. group's blending mode is "transfer" by default, which simply draws the children as if there was no group. But setting the group's blending mode to anything else ("normal","multiply",...) composites the group as one layer, and blends that composition.</div>
<div>Having this in the legend UI rather than in the layer style would also make the UI much clearer. Right now, the UI is a bit confusing because the transparency at layer level, feature level, and at color alpha level are almost at the same place.</div>
<div>In general, using Photoshop as a reference for the UI in regard of layers/blending modes makes much sense since PS is the leader in that matter (as a remainder, they just have a drop-down menu at the top of the layer panel which applies to the selected layer).</div>
<div><br></div><div><br></div><div><div>What do you think ?</div><div>If the community likes the principles, I'd be happy to work on the mockup a bit more (by integrating Nydall's suggestion), so we can have a common reference for further development.</div>
<div><br></div><div>Anyways, I'm very happy to know some improvements are in preparation !</div></div><div><br></div><div><br></div><div>Kind regards,</div><div><br></div><div>Olivier</div><div><br></div><div><br></div>
<div><img src="http://red.uvauvb.com/files/LegendInterface.png" alt="Images intégrées 1"><br></div></div></div>