From http://www.lyx.org/trac/ticket/9759 :

Le 16/09/2015 09:06, LyX Ticket Tracker a écrit :
#9759: "List of figures" navigation menu is not convenient > ---------------------+---------------------------- Reporter: gadmm >
| Owner: gadmm Type: defect | Status: fixedinmaster > Priority: normal | Milestone: 2.2.0 Component: general | > Version: 2.1.4 Severity: normal | Resolution: Keywords: patch > | ---------------------+---------------------------- > > Comment (by spitz): > > Replying to [comment:7 gadmm]: >> If I understand correctly, you would like to turn into menus the >> current Figure entries in the List of Figures menu (and similarly >> for Tables). The problem with this is that one can no longer click >> the figure entry to go to the figure, and is forced to open the >> submenu, so I have to go into 3 menus instead of 2 (like for >> sub-sections). But, figure floats are meant to be not bigger than a >> page, and therefore the subfigures are close to the start of the >> figure anyway. This is the main difference with sub-sections. This >> is why I found more convenient to offer only the Figure. > > My point is that the outliner is supposed to display the structure of > a document. For me, it is crucial information to see whether a > figure/table has sub-elements.

Yes this is the purpose of 94e992c5: not only the subfloats appear at level 1 in the outliner, but they also appear under the correct float (this required to set up some new machinery). I am puzzled that you say that the outliner does not show this.

And in fact, I'd also like to navigate there directly. > > Navigation would be analoguous to sections that have subsections,
so > this seems just right to me. > >> Do you have a situation in mind where having the 3rd-level menu >> would gain substantially more time than just clicking the 2nd-level >> element? > > Time is not everything. I think the extra time investment is not too > big a burden. Regarding the navigation menu, the possibility of going through only 2 menus instead of 3 makes a big difference in UI and time is only one aspect of the increased convenience. I'd take it as soon as there's the possibility. My point about which you seem to disagree is that there's such a possibility, because a subfloat is different from a subsection in that a subfloat is always close to the beginning of its float. Not showing the subfloats in the navigation menu is a deliberate choice that seems smart to me given the context.

Since the difference appears to be a matter of taste, has anybody an opinion on this?

>> Note that LyX is also improved in the following respect: the >>
Figure entry no longer goes to the caption but goes to the start of >> the figure when clicking. So in case captions are at the bottom of >> the figure we now directly see the first subfigures. > > It is disputable whether this is an improvement. It depends on > whether you use the outliner in order to edit the caption (where you > need an extra click now) or the figure (where the situation did not > really change; you still need to click the figure/into the table if > you want to edit it).

Actually it would make sense to show the float, but put the cursor inside the caption. For instance if the caption is at the bottom of the float, the screen would be filled with the bottom part of the float and the cursor would be at the beginning of the caption, near the bottom of the screen. I still have to see how to achieve this (maybe issuing two move commands is enough). But, note that it is a "List of Figures" before being a "List of Figure captions". Anybody finds this proposal worth the small investment?


Guillaume

Reply via email to