On Tue, Apr 15, 2014 at 10:44 PM, Krzysztof KosiĆski <tweenk.pl@...400...> wrote:
2014-04-15 22:51 GMT+02:00 Dmitry Kirsanov <buliabyak@...400...>:
We have the visual and geometric bboxes, so why not make use of this here? Geometric bbox would only include glyph outlines - but the visual one, which already includes things like shadow filters (which can be almost transparent), would also include spaces. I think it would be logical enough and accommodate different needs without introducing a new option.
That's the opposite of what I would expect, e.g. I would expect leading / trailing spaces to be included in the geometric box, but not in the visual box.
Perhaps this is a sign that the names of the two bbox types are not the best possible. We may consider renaming them if there are good ideas. The general meaning of them is:
- "geometric" covers the barebone outline of the object: no stroke, no markers, no filters. Just the geometric skeleton.
- "visual" covers object plus all its various "emanations" - drop shadows, stroke, markers, etc. It is called "visual" because these emanations are usually visible in some way, but that's not necessarily so, e.g. shadow or stroke may be fully transparent and still count for this bbox. So I think spaces in texts fit nicely with this general idea.
Maybe we should rename them to "skeleton bbox" vs "flesh bbox" if that's not too extravagant :)
I think the situation with invisible objects would be somewhat improved if one of the buttons - the color-managed view indicator (in the corner between the scrollbars) and/or the zoom lock button (above the vertical scrollbar) - were replaced by a toggle of the outline mode.
I agree about the "zoom lock" button - it seems pretty useless to me. Does anyone ever use it? As far as I remember it's there since Sodipodi times, back when the UI was based on floating per-document windows and shared floating dialogs, so document windows were supposed to be often moved around and resized. I don't think it makes much sense with our current UI with docked dialogs.