Sign in to follow this  
xod

How to make PDN to remember the last position of windows?

Recommended Posts

Hello,

 

I want to change default position of windows.

How to make PDN to remember the last position of windows? (Tools, Colors, Layers, History).

 

Thanks in advance.

Share this post


Link to post
Share on other sites

Hi Xod, just go to the cog wheel, upper right hand corner & pick 'Tools' to set those things.

 

5C0MbSo.png

 

 

Share this post


Link to post
Share on other sites

Pixey, that's something different.

 

The floating windows are supposed to remember their positions. For some reason, it does not work for a small percentage of folks and I haven't been able to figure out why.

 

To debug and fix this I would basically need direct access to a system that this happens on (e.g. physically borrowing it, or Remote Desktop w/ administrator privilege). 

Share this post


Link to post
Share on other sites

Ahhh - thank you for explaining that Rick.  Luckily I've never experienced the problem @Xod describes ;) .

Share this post


Link to post
Share on other sites

Hi, I just registered to comment on this!

 

Rick, thanks for responding on this issue and xod for bringing it up again. I don't think this affects "only a small percentage of folks". In fact, I think this must affect a large percentage of users, the reason being:

 

I have installed v4.0.6  (also tried v4.0.5) on at least 5 different PCs, some Windows 7, and some Windows 10. All have this issue!

 

I wonder if this is a locale specific bug, as I live in Norway. The PC at work has English Windows 7 (but uses norwegian locale), the rest have Norwegian versions installed.

 

For me, this is so annoying that I use v3.5.11 - the last version where window positions sticks. Thank you for an otherwise fantastic software!

 

/edit: ps: Maximised main window does stick in v4.0.x, but that's it.

Edited by operamint
  • Upvote 4

Share this post


Link to post
Share on other sites
@operamint, thank you very much!

 

That's the issue, I reverted to english and now the floating windows it does remember their positions.

Share this post


Link to post
Share on other sites
After several tests I found that:

 

When we change Formats in Region and Language, click on Additional settings... and in Numbers tab

it is very important that the decimal symbol of real numbers to be point and not comma.

 

In many country from Europe the decimal symbol is comma and perhaps that is an issue to calculation in PDN.

  • Upvote 2

Share this post


Link to post
Share on other sites

Same here, just by changing the decimal separator, windows remember their position.

With paint.net in finnish, Windows also in finnish every way possible.

Share this post


Link to post
Share on other sites

Aha, well that's a little embarassing for a UI dev.

 

The size and location of the floating windows is saved to the registry as a rectangle; "x,y,width,height". It always uses the separator for US English (commas). When this string is loaded from the registry, it parses using the language you're actually using. Which, because your settings already use commas for something else, means it'll be looking for semicolon ; as a separator instead.

Fix will be to make parsing always use US English (commas!) as well.

 

This should be a super easy fix :)

  • Upvote 4

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this