https://issues.qgis.org/https://issues.qgis.org/favicon.ico2009-07-28T13:06:53ZQGIS Issue TrackingQGIS Application - Feature request #1815: New GUI for legendhttps://issues.qgis.org/issues/1815?journal_id=195562009-07-28T13:06:53ZMagnus Homann
<ul></ul><p>Also <a class="issue tracker-1 status-5 priority-3 priority- closed" href="https://issues.qgis.org/issues/1808" title="QGIS 1.1 gets the order of items in the layer window out of sequence if dragging a folder too fast. (Closed)">#1808</a> relates to this issue, and will most probably be fixed.</p> QGIS Application - Feature request #1815: New GUI for legendhttps://issues.qgis.org/issues/1815?journal_id=195572009-07-28T13:07:59ZMagnus Homann
<ul></ul><p>Replying to [comment:1 homann]:</p>
<blockquote>
<p>Also <a class="issue tracker-1 status-5 priority-3 priority- closed" href="https://issues.qgis.org/issues/1808" title="QGIS 1.1 gets the order of items in the layer window out of sequence if dragging a folder too fast. (Closed)">#1808</a> relates to this issue, and will most probably be fixed.</p>
</blockquote>
<p>I mean <a class="issue tracker-1 status-5 priority-3 priority- closed" href="https://issues.qgis.org/issues/1637" title="Legend Window; for drag-and-drop-actions, expand layer-group only after short delay (Closed)">#1637</a></p> QGIS Application - Feature request #1815: New GUI for legendhttps://issues.qgis.org/issues/1815?journal_id=195582009-07-28T13:23:16ZMartin Dobiaswonder.sk@gmail.com
<ul></ul><p>Looks good.</p>
<p>Just a note: when dragging an item completely away (out of the window) it will be placed to the bottom. The dragging should be cancelled instead, I guess.</p>
<p>Even better would be to dump QTreeWidget and use QTreeView with a custom model. But that's probably too much work at once :-)</p>
<p>Martin</p> QGIS Application - Feature request #1815: New GUI for legendhttps://issues.qgis.org/issues/1815?journal_id=195592009-07-28T13:36:49ZMagnus Homann
<ul></ul><p>Good points Martin! Using QTreeView is a bit more work, I think. The look-n-feel is probably not dependant on which we use.</p> QGIS Application - Feature request #1815: New GUI for legendhttps://issues.qgis.org/issues/1815?journal_id=195602009-07-28T16:01:35ZLorenzo Masinimasini@faunalia.it
<ul></ul><p>I like it, but it's better to use QTreeView in my opinion, too.<br />About the look&feel, don't worry, we can use a custom model or a delegate (or both).</p> QGIS Application - Feature request #1815: New GUI for legendhttps://issues.qgis.org/issues/1815?journal_id=195612009-07-28T22:38:18ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>Like it! as a couple of qgis <strong>users</strong> around here do.</p>
<p>Please consider also <a class="issue tracker-1 status-5 priority-3 priority- closed" href="https://issues.qgis.org/issues/1439" title=""legend" items should not be selectable (Closed)">#1439</a>, should be fixed also in this new gui.</p> QGIS Application - Feature request #1815: New GUI for legendhttps://issues.qgis.org/issues/1815?journal_id=195622009-07-31T17:32:44ZJohn Tull
<ul></ul><p>I was able to test on the Mac using: 'qmake -project' then 'xcodebuild'. treewidget.app is available in the build directory to test.</p>
<p>I don't mind the defaults to bottom behavior when pulled to the side. This seems the quickest way to make something last in the legend queue, so this will be handy. On the Mac, the window will not autoscroll when you drag an item to the top or bottom of a window that has a drag bar/scroll widget (all items not displayed in the window). This is the intuitive behavior for the OS. With a scroll mouse, you can scroll and continue dragging an item, but the scroll should occur automatically when you reach the top or bottom of the tree being viewed.</p>
<p>It would also be good if groups auto-expanded after a delay of a second or so. Currently, you drop an item on a group and release the item, then the group opens. This item has to be moved to the correct position within the group.</p>
<p>Overall, this looks like a great improvement, especially if things will no longer jump and reorder themselves.</p> QGIS Application - Feature request #1815: New GUI for legendhttps://issues.qgis.org/issues/1815?journal_id=195632009-07-31T23:30:58ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>and what about multiple layer selection? we actually miss it in the standard legend.</p> QGIS Application - Feature request #1815: New GUI for legendhttps://issues.qgis.org/issues/1815?journal_id=195642009-08-01T00:29:06ZMagnus Homann
<ul></ul><p>The autoscroll is in planning, the one-liner I tried <strong>almost</strong> worked... :-)</p>
<p>Auto-expansion I don't know. Neat, but requires timers (or switch from QTreeWidget to ...). Good if.</p>
<p>Selecting multiple layers is easy. The hard part is to decided what can be done with two vector layers and a group in the same selection, or with a layer a symbol item, a file group and a file item...</p>
<p>Lutra, can you come up with some use cases and expected behaviour?</p> QGIS Application - Feature request #1815: New GUI for legendhttps://issues.qgis.org/issues/1815?journal_id=195652009-08-01T01:49:15ZMagnus Homann
<ul></ul><p>Okay, I added scrolling in <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/2cb735bf1a8105c87233a2a668d8703fa743c578" title="Turn on scrolling in legend layers git-svn-id: http://svn.osgeo.org/qgis/trunk@11237 c8812cc2-4d...">2cb735bf</a> (SVN r11238). Only tested on Ubuntu. Let me know how it works on toher OS:es.</p> QGIS Application - Feature request #1815: New GUI for legendhttps://issues.qgis.org/issues/1815?journal_id=195662009-08-01T08:40:40ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>Replying to [comment:9 homann]:</p>
<blockquote>
<p>Selecting multiple layers is easy. The hard part is to decided what can be done with two vector layers and a group in the same selection, or with a layer a symbol item, a file group and a file item...</p>
<p>Lutra, can you come up with some use cases and expected behaviour</p>
</blockquote>
<p>Hi,</p>
<p>I understand that multiple selection introduces complications, but it would be enough just to use multiple selection to remove/unselect multiple layers/groups from the legend/project at one time (not always all I want to unselect/delete is in the same group and sometimes what I want to unselect/delete is in different groups), and regardless if I'm selecting a layer, a group, etc. To start, when selecting multiple layers all the other actions should be disabled, at least until when it will be possible to implement others safely.</p>
<p>This is one of that details that other gis software users do immediately notice in qgis.</p>
<p>Scrolling works fine! but I tested also just under Ubuntu 9.04</p> QGIS Application - Feature request #1815: New GUI for legendhttps://issues.qgis.org/issues/1815?journal_id=195672009-08-02T00:34:14ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>Replying to [comment:10 homann]:</p>
<blockquote>
<p>Okay, I added scrolling in <a class="changeset" href="https://issues.qgis.org/projects/qgis/repository/revisions/2cb735bf1a8105c87233a2a668d8703fa743c578" title="Turn on scrolling in legend layers git-svn-id: http://svn.osgeo.org/qgis/trunk@11237 c8812cc2-4d...">2cb735bf</a> (SVN r11238). Only tested on Ubuntu. Let me know how it works on toher OS:es.</p>
</blockquote>
<p>Hi,</p>
<p>I noticed that <a class="issue tracker-2 status-5 priority-3 priority- closed" href="https://issues.qgis.org/issues/1568" title="some properties menu items do nothing if certain legend elements selected (Closed)">#1568</a> is still valid in the latest revision. As this patch applies to qgslegend.cpp, you may want to consider including it in your latest developments.</p> QGIS Application - Feature request #1815: New GUI for legendhttps://issues.qgis.org/issues/1815?journal_id=195682009-08-02T08:36:30ZMagnus Homann
<ul></ul><p>Maybe, but it clashes with the fact that some people don't want symbology lines to be selectable (because they can't be moved).</p> QGIS Application - Feature request #1815: New GUI for legendhttps://issues.qgis.org/issues/1815?journal_id=195692009-08-02T08:38:37ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>Replying to [comment:13 homann]:</p>
<blockquote>
<p>Maybe, but it clashes with the fact that some people don't want symbology lines to be selectable (because they can't be moved).</p>
</blockquote>
<p>well, I guess if that symbology lines (and 'Files' title) will not be selectable, the problem will be fixed naturally. Am I wrong?</p> QGIS Application - Feature request #1815: New GUI for legendhttps://issues.qgis.org/issues/1815?journal_id=195702009-08-02T10:58:05ZJohn Tull
<ul></ul><p>Replying to [comment:14 lutra]:</p>
<blockquote>
<p>Replying to [comment:13 homann]:</p>
<blockquote>
<p>Maybe, but it clashes with the fact that some people don't want symbology lines to be selectable (because they can't be moved).</p>
</blockquote>
<p>well, I guess if that symbology lines (and 'Files' title) will not be selectable, the problem will be fixed naturally. Am I wrong?</p>
</blockquote>
<p>That is the case for me on OS X: the symbology breakdown items are not selectable. This is very nice work, and it seems to be doing fine on this OS. Thanks!</p> QGIS Application - Feature request #1815: New GUI for legendhttps://issues.qgis.org/issues/1815?journal_id=195712009-08-03T10:21:13Zsieczka -sieczka@foo.bar
<ul></ul><p>Replying to [comment:11 lutra]:</p>
<blockquote>
<p>it would be enough just to use multiple selection to remove/unselect multiple layers/groups<br />from the legend/project at one time</p>
</blockquote>
<p>Second that!</p> QGIS Application - Feature request #1815: New GUI for legendhttps://issues.qgis.org/issues/1815?journal_id=195722009-08-04T01:11:05ZMagnus Homann
<ul></ul><p>Replying to [comment:14 lutra]:</p>
<blockquote>
<p>Replying to [comment:13 homann]:</p>
<blockquote>
<p>Maybe, but it clashes with the fact that some people don't want symbology lines to be selectable (because they can't be moved).</p>
</blockquote>
<p>well, I guess if that symbology lines (and 'Files' title) will not be selectable, the problem will be fixed naturally. Am I wrong?</p>
</blockquote>
<p>Well, there is functionality to drag and drop the "Files" and the files below it. At least that's my understanding of the code, but I have no idea how it is supposed to work.</p>
<p>And if you should be able to drag and drop, they must be selectable.</p>
<p>Needs more thinking.</p> QGIS Application - Feature request #1815: New GUI for legendhttps://issues.qgis.org/issues/1815?journal_id=195732009-08-04T01:30:45ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><p>Replying to [comment:17 homann]:</p>
<blockquote>
<p>Well, there is functionality to drag and drop the "Files" and the files below it. At least that's my understanding of the code, but I have no idea how it is supposed to work.</p>
<p>And if you should be able to drag and drop, they must be selectable.</p>
</blockquote>
<p>Right.</p>
<p>but as you I am not really sure about what drag and drop of the file name should do. But I recall clearly that dragging and dropping the file name above "files" crashed qgis, and this was resolved only recently, just a few days away.</p>
<p>If it was a necessary feature I guess should have been resolved a long time ago, so my guess is that is not necessary at all. But I may be wrong so I'll check it.</p>
<p>But the most important thing is that in any case seems that selecting "files" or the symbology have no function at all, so if this feature will be disabled, <a class="issue tracker-2 status-5 priority-3 priority- closed" href="https://issues.qgis.org/issues/1568" title="some properties menu items do nothing if certain legend elements selected (Closed)">#1568</a> should be fixed naturally, otherwise I guess that <a class="issue tracker-2 status-5 priority-3 priority- closed" href="https://issues.qgis.org/issues/1568" title="some properties menu items do nothing if certain legend elements selected (Closed)">#1568</a> patch still need to be applied.</p> QGIS Application - Feature request #1815: New GUI for legendhttps://issues.qgis.org/issues/1815?journal_id=195742009-08-26T09:35:55ZGiovanni Manghigiovanni.manghi@gmail.com
<ul></ul><blockquote>
<p>Well, there is functionality to drag and drop the "Files" and the files below it. At least that's my understanding of the code, but I have no idea how it is supposed to work.</p>
<p>And if you should be able to drag and drop, they must be selectable.</p>
<p>Needs more thinking.</p>
</blockquote>
<p>Hi homann,</p>
<p>I still see no use for selecting/dragging "files" and the file name below, dragging "files" is in any case forbidden (I can see it from the mouse pointer symbol if you try to do it), while, as already said, dragging the file name was source of big problems so it should really have no meaning at all.</p>
<p>Avoiding the selection of "files" and the file name below is a solution, this would allow automatically to close <a class="issue tracker-2 status-5 priority-3 priority- closed" href="https://issues.qgis.org/issues/1568" title="some properties menu items do nothing if certain legend elements selected (Closed)">#1568</a> as not necessary anymore.</p>
<p>Meanwhile I'll ask if the patch available in <a class="issue tracker-2 status-5 priority-3 priority- closed" href="https://issues.qgis.org/issues/1568" title="some properties menu items do nothing if certain legend elements selected (Closed)">#1568</a> is still good for the new legend gui, I haven't tested it and maybe resolves the <a class="issue tracker-2 status-5 priority-3 priority- closed" href="https://issues.qgis.org/issues/1568" title="some properties menu items do nothing if certain legend elements selected (Closed)">#1568</a> problem without avoiding the selection of "files" and the file name below.</p>
<p>In any case I guess that this ticket could be closed: the new legend GUI is in place, and we can underline the idea of the necessity of multi layer selection in the legend in the proper ticket <a class="issue tracker-2 status-5 priority-3 priority- closed" href="https://issues.qgis.org/issues/1413" title="Add multi-layer selection in the legend (Closed)">#1413</a></p> QGIS Application - Feature request #1815: New GUI for legendhttps://issues.qgis.org/issues/1815?journal_id=195752009-11-30T11:33:05ZGiovanni Manghigiovanni.manghi@gmail.com
<ul><li><strong>Status</strong> changed from <i>Open</i> to <i>Closed</i></li><li><strong>Resolution</strong> set to <i>fixed</i></li></ul><p>The "file" part in legend symbology has gone, so this ticket can really be closed.</p>