Transition to 0.92 - scale, default.svg ?

Post questions on how to use or achieve an effect in Inkscape.
tylerdurden
Posts: 2344
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Transition to 0.92 - scale, default.svg ?

Postby tylerdurden » Sun Jan 08, 2017 3:12 am

I installed 0.92 after running 0.91 for quite a few months.

When I open a new document (units px), I see that the scale is 0.93750 (90 units per inch, not 96).

This is in contrast to testing the pre4 in a new user account, were the default document scale is 1.0 (96 dpi).

Does my default.svg need updating, despite uninstalling 0.91 before installing 0.92?

I am also setting up a dozen workstations at a makerspace which all had previous Inkscape versions. Those also need a new default.svg with the upgrade to 0.92?

(I presume from here forward, it would be best to start new documents with 96dpi?)

Your thoughts are greatly appreciated
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Transition to 0.92 - scale, default.svg ?

Postby Moini » Sun Jan 08, 2017 9:05 am

I don't understand the whole unit issues too well yet. Maybe asking on the devel mailing list will shed some light onto this? (first make sure that you're not using some custom template ;-), but indeed the one that ships with Inkscape)
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

tylerdurden
Posts: 2344
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Transition to 0.92 - scale, default.svg ?

Postby tylerdurden » Sun Jan 08, 2017 10:47 am

Thanks for the reply.

My default.svg was a custom template. :oops: I presume then that Inkscape uses the default.svg in the user profile before using the default in the 0.92 share/templates directory?

And, If all users use the default.svg in the user profile, which does not get overwritten, won't they have the same issue? I just copied the stock 0.91 default.svg from another computer into my 0.92 machine's user profile and got the same results.

So, if the goal is to transition to 96dpi, users upgrading from earlier might need a heads-up to change the user default.svg, or new documents will be scaled at 90dpi?
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Transition to 0.92 - scale, default.svg ?

Postby Moini » Sun Jan 08, 2017 11:00 am

I presume then that Inkscape uses the default.svg in the user profile before using the default in the 0.92 share/templates directory


- Yes, that's how it works.

So, if the goal is to transition to 96dpi, users upgrading from earlier might need a heads-up to change the user default.svg, or new documents will be scaled at 90dpi?


- Yes, that makes sense. I'm not sure where to best put that info, though. We've got:

the release notes, the new articles, social media, mailing lists

as main channels. I'd like to put a note into the release notes, but that may not be too obvious... What do you think? Would that be sufficient? I don't think many people have a custom default template... I don't :)
It also seems as if a couple of custom extensions might need to be adapted, I'm still waiting for what comes out of the extension writer asking the Inkscape devs.
Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

tylerdurden
Posts: 2344
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Transition to 0.92 - scale, default.svg ?

Postby tylerdurden » Sun Jan 08, 2017 12:22 pm

I wouldn't be surprised if this is one of those issues that slipped though the cracks because so much testing gets done on "clean installs" that have no remnants of previous versions.

In the fantasy world of unlimited resources, there might be a routine on installation that checks for non-stock default.svg and users are given a notification or options on keep/change/other.

It's one thing to manage legacy files, it's another to continue to generate them due to a legacy default.svg.

As for notification, it's hard to over-communicate something this significant. I'd have a mention to legacy users at the download page and during install, a line item for legacy users in the release notes and sticky-notes in the popular fora.

Thanks again,
TD
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Transition to 0.92 - scale, default.svg ?

Postby brynn » Sun Jan 08, 2017 11:40 pm

Did your custom default doc have some different kind of dpi? I thought it was a clean jump from 90 dpi in 0.91 to 96 in 0.92. I didn't realize there was a half step involved.

I haven't used 0.92 stable yet, so I haven't seen this. But I also use a custom default. It would be a pity if everyone who uses a custom default had to edit it. Maybe whatever this problem is could be fixed in 0.92.1, which the developers are hoping to get out in February 2017 (although don't hold your breath)?

Yes, I've reported a few bugs which were found to be related to either my user prefs or default doc or both. I agree with you about testing with clean, default installations. Pretty soon, I think they will have to address these bugs which are related to a non-all-default installation. I've started to get a bit vocal about one of them, which for me, results in non-functioning re-do. Now I'm going to have to manually edit my prefs file, which will hopefully fix it temporarily.

Moini
Posts: 3381
Joined: Mon Oct 05, 2015 10:44 am

Re: Transition to 0.92 - scale, default.svg ?

Postby Moini » Mon Jan 09, 2017 11:42 am

Something doesn't work? - Keeping an eye on the status bar can save you a lot of time!

Inkscape FAQ - Learning Resources - Website with tutorials (German and English)

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Transition to 0.92 - scale, default.svg ?

Postby brynn » Tue Jan 10, 2017 10:11 pm

You're referring to the new section called Scale in Document Properties? Mine is showing 1.0 for my custom default doc.

However, it looks like there's a problem with that dialog undocked. It's now taller than my screen is, and it won't go any shorter. I can't see anything below Border > Show page border > Border on top of drawing. I guess I'll report it.

tylerdurden
Posts: 2344
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Transition to 0.92 - scale, default.svg ?

Postby tylerdurden » Wed Jan 11, 2017 12:26 am

brynn wrote:You're referring to the new section called Scale in Document Properties? Mine is showing 1.0 for my custom default doc.


Interesting... can you post the date of that file?
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Transition to 0.92 - scale, default.svg ?

Postby brynn » Wed Jan 11, 2017 1:24 pm

Oh, did you mean when you open an image made with an earlier version? I just opened a new blank default doc, which is what I thought you meant.

Ok, I'll open an old one. Which options did you choose in the "Old Inkscape File Detected" dialog? Does that matter?

tylerdurden
Posts: 2344
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Transition to 0.92 - scale, default.svg ?

Postby tylerdurden » Wed Jan 11, 2017 2:13 pm

brynn wrote:Oh, did you mean when you open an image made with an earlier version? I just opened a new blank default doc, which is what I thought you meant.

Ok, I'll open an old one. Which options did you choose in the "Old Inkscape File Detected" dialog? Does that matter?


I did mean the date on your current default.svg...

Three machines I've updated to 0.92 had previous installs of 0.91, so the user profiles already had 90ppi default.svg files that remained after installing 0.92.
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Transition to 0.92 - scale, default.svg ?

Postby brynn » Wed Jan 11, 2017 9:51 pm

Oooh, ok. Let's see, the date on my current custom default doc is.... Oh, this probably explains it. Oct-16-16 I did make a minor edit to it relatively recently. I can't remember what it was, at the moment. But the edit just took like 2 seconds - it was very minor. Oh, I remember. I just enabled a set of snap options that I use almost all the time. Then I just saved it.

But if that's all it takes, it seems like you could essentially just open each one with 0.92, and save it. Unless I'm still unclear.

I do still have 0.91, and I think I even still have 0.48.5. I wonder if there would be way to open one of those, and edit the default doc with it. I mean, I'm just thinking of a way to get a few different tests. Would that work? If I opened an older version and edit the default doc, would it invoke the old dpi? So that when I open it again in 0.92, I might see the same thing you're seeing?

Well, I'm about to log off right now. But if that test would help, I can do it tomorrow.

tylerdurden
Posts: 2344
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Transition to 0.92 - scale, default.svg ?

Postby tylerdurden » Wed Jan 11, 2017 10:26 pm

brynn wrote:I do still have 0.91, and I think I even still have 0.48.5. I wonder if there would be way to open one of those, and edit the default doc with it. I mean, I'm just thinking of a way to get a few different tests. Would that work? If I opened an older version and edit the default doc, would it invoke the old dpi? So that when I open it again in 0.92, I might see the same thing you're seeing?

Even if the versions share the same user profile, I'm not sure if that will do it... the earlier versions don't have the scale or viewbox controls in the GUI, and Inkscape usually won't re-write any XML you don't explicitly change in the GUI or XML.

Would be interesting to test.
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Transition to 0.92 - scale, default.svg ?

Postby brynn » Fri Jan 13, 2017 6:58 am

Well, I tried it anyway, just in case. But no luck. To force it to overwrite the XML, I simply put a path on the canvas, and I also reverted the snap options. But I don't understand how the prefs are handled.

What if I used the XML editor, is there a way to delete something like the snap options? Hhmm, I guess not. I wonder how that works? I wonder how the default template remembers prefs? Maybe there's a special section in preferences.xml, which holds the default doc prefs?

Well, if we can figure out how to make a test, I'd be glad to try. I don't think you're subscribed to a mailing list. But you might try the development IRC.

tylerdurden
Posts: 2344
Joined: Sun Apr 14, 2013 12:04 pm
Location: Michigan, USA

Re: Transition to 0.92 - scale, default.svg ?

Postby tylerdurden » Fri Jan 13, 2017 7:44 am

brynn wrote:Well, I tried it anyway, just in case. But no luck. To force it to overwrite the XML, I simply put a path on the canvas, and I also reverted the snap options. But I don't understand how the prefs are handled.

What if I used the XML editor, is there a way to delete something like the snap options? Hhmm, I guess not. I wonder how that works? I wonder how the default template remembers prefs? Maybe there's a special section in preferences.xml, which holds the default doc prefs?

Well, if we can figure out how to make a test, I'd be glad to try. I don't think you're subscribed to a mailing list. But you might try the development IRC.


The simple workaround is probably to check for a default.svg in the "user" templates, and if there is one, rename it to default_old.svg or such, so the program uses the one packaged with the install.

That seems to work ok on the few machines I have loaded so far. There might be a dozen more machines for me, but the bigger issue is the base of users already using Inkscape.
Have a nice day.

I'm using Inkscape 0.92.2 (5c3e80d, 2017-08-06), 64 bit win8.1

The Inkscape manual has lots of helpful info! http://tavmjong.free.fr/INKSCAPE/MANUAL/html/

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Transition to 0.92 - scale, default.svg ?

Postby brynn » Sat Jan 14, 2017 1:04 pm

gsoler's problem has been split into its own separate topic here: viewtopic.php?f=5&t=31598

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Transition to 0.92 - scale, default.svg ?

Postby brynn » Sat Jan 14, 2017 1:13 pm

But wouldn't that call up the program's default doc? I thought the theory is that the problem lies with a custom default.

Oh, you mean that would be a simple solution? I'm still trying to figure out how to test it, to try and find where the problem starts.

User avatar
brynn
Posts: 10309
Joined: Wed Sep 26, 2007 4:34 pm
Location: western USA
Contact:

Re: Transition to 0.92 - scale, default.svg ?

Postby brynn » Sat Jan 14, 2017 1:15 pm

Oh! What if I installed your custom default? Wouldn't that make a test?


Return to “Help with using Inkscape”