On Thu, 2014-11-20 at 23:56 +0100, Johan Engelen wrote:
On 20-11-2014 22:27, Tavmjong Bah wrote:
On Thu, 2014-11-20 at 22:05 +0100, Johan Engelen wrote:
FYI: I just had a friend upgrade to trunk to get the 0.91 unit behavior. He actually needs this for work to do a very accurate technical design. In other words: the viewBox change is /awesome/. It is very unfortunate that there are bugs related to it. But backing-off completely is a huge step back.
Including the viewBox IS awesome. I don't want to get rid of this part. What I want to suppress is changing the ratio between the SVG height/width and viewBox once the document is created which is what happens when the unit identifier is changes. It is this change that causes problems.
I thought most annoying bugs are related to changing the units for an existing document. Is that correct? If so, all we have to do is warn people about that, e.g. with an extra dialog telling people that changing document unit only works for fresh documents or 0.91 documents. Documents from earlier versions of Inkscape may have troubles.
0.91 documents don't work either once you've put in things like clips, filters, symbols etc. This is seriously broken. Changing units on a fresh document does work but then one can use the Generic Template to get whatever SVG unit you want.
Ok, so what you are proposing is removing the ability to change units on-the-fly (remove it from UI) until we properly implement it? Then, the use case I mentioned is satisfied by using a document template. And if someone really wants to change units, and take problems for granted, he can go into XML and change the unit.
That sounds OK to me.
How about we "gray out" the widget, with a mouse-over tooltip pointing towards an FAQ item with a more detailed explanation+workaround?
This sounds like a good solution.
Tav
-Johan