Jump to content

Zoom dropdown doesn't always work


BoltBait
 Share

Recommended Posts

I was working with a 2560x1920 pixel image today and the zoom dropdown was set at "Window".

I then selected 100% in the dropdown and nothing happened. The dropdown still said "Window" and the zoom level didn't change.

I then selected 200% and again nothing changed!

I tried 300% and it worked fine.

I then selected 200% and, surprise, it worked!

Finally, I selected 100% and it also worked this time. Going back to "Window" also worked.

My screen resolution is 1280x800 (widescreen laptop) and PdN was maximized. I'm running 3.0 Beta 3.

Click to play:
j.pngs.pngd.pnga.pngp.png
Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game

Link to comment
Share on other sites

I cannot get this to happen. Here's what I'm doing:

1) Paint.NET is not open

2) Right-click an image on my desktop that is 2560x1920, then click Edit

3) Wait for PDN to open (all of 2 seconds)

4) Click on the drop down and then click 100%

It works fine. Is there anything else you're doing, or are you starting PDN in another way, etc.?

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

It's definitely one of those bugs; one that is almost impossible to reproduce unless a very precise sequence of events occurs.

It's happened about three times in the last week. Each time, I have tried to repro it so I could file a decent bug report, but I've never been able to figure out what conditions caused it - sorry :(

I spent 3 weeks trying to track-down one of these in a commercial product once - the testers kept hitting it but couldn't repro it on-demand. Eventually I found a very subtle race condition... threading can be a real pain sometimes :roll:

But even that was better than a mainframe program I had to ship with debugging symbols because a compiler bug stopped it working if the symbols were left out ! :evil:

ed-sig2.png.3c040e8f8a7b22d05fbfbad8e5ea6994.png

Link to comment
Share on other sites

Steps to reproduce:

Start > Run Paint.net

File > New

Change image size to 2560x1920 and click OK.

Select square drawing tool and draw a couple of squares (so that you can see if the resolution changes).

Change the zoom drop down from "Window" to "100%" and notice that the view didn't change.

Click to play:
j.pngs.pngd.pnga.pngp.png
Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game

Link to comment
Share on other sites

I still can't reproduce it on my system -- it works fine. What screen resolution are you at? How tall is your taskbar (1 unit height, 2, 3?)? Is the Paint.NET window maximized? (These may seem like weird questions but this is probably a layout issue somewhere, and so those questions are relevant.)

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
Share on other sites

I still can't reproduce it on my system -- it works fine. What screen resolution are you at? How tall is your taskbar (1 unit height, 2, 3?)? Is the Paint.NET window maximized? (These may seem like weird questions but this is probably a layout issue somewhere, and so those questions are relevant.)

I'm running XP Pro with the standard blue task bar at the bottom of the screen, one unit high. From my first post: My screen resolution is 1280x800 (widescreen laptop) and PdN was maximized. I'm running 3.0 Beta 3.

I'm not sure what else to tell you other than it happens every time.

EDIT: I edited a picture by right-clicking on it (it has the same dimentions) and changed the zoom to 100% and it worked just fine. In this case, the default 800x600 canvas is never created. I'm thinking it may have to do with the fact that the 800x600 original blank sheet fits just fine at 100% for "Window" and when I create a new document something fails to be initialized so the UI still thinks that 100% is Window.

Click to play:
j.pngs.pngd.pnga.pngp.png
Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game

Link to comment
Share on other sites

I just ran the same steps on my other laptop and it works fine--i.e. can not reproduce the bug.

1024x768, XP Pro, Std taskbar 1Unit high at bottom of screen. PdN maximized.

Hope this helps.

But, like I said above, on my widescreen laptop it fails every time.

Click to play:
j.pngs.pngd.pnga.pngp.png
Download: BoltBait's Plugin Pack | CodeLab | and how about a Computer Dominos Game

Link to comment
Share on other sites

Ok try this. Download this ZIP file and extract it to your Paint.NET installation directory:

http://www.getpaint.net/misc/Beta3_QFE_2297.zip

The zooming stuff should work great now. Please make sure to pay attention to make sure nothing else has broken as a result ... this is a high-risk fix at this point.

The Paint.NET Blog: https://blog.getpaint.net/

Donations are always appreciated! https://www.getpaint.net/donate.html

forumSig_bmwE60.jpg

Link to comment
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.

 Share

×
×
  • Create New...