Jump to content

Crash when pasting a larger image into a smaller image


Recommended Posts

This happens from all sources and all sizes of images that are larger than the source but here's a specific example:

 

1. Start a new blank image that is 500x500

2. Open Google Chrome, find a desktop background (1024x768)

3. In Google Chrome right click the image and select "Copy Image"

4. Go back to PDN and press CTRL-V

5. Notice the app goes unresponsive and cannot recover

 

NOTE: This happens for ALL sizes of images that are larger than the source image, and from ALL sources that I have tried to copy from.

 

Here are the details from the diagnostics.

 

Application    paint.net 4.1.5 (Final 4.105.6913.325)
Build Date    Wednesday, December 5, 2018
Install type    Classic
    
Hardware accelerated rendering (GPU)    True
Animations    True
DPI    336.00 (3.50x scale)
Language    en-US
    
OS    Windows 10 Enterprise x64 (10.0.17763.0) (0x4)
.NET Runtime    4.0.30319.42000
Physical Memory    32,615 MB
    
CPU    Intel(R) Core(TM) i7-8750H CPU @ 2.20GHz
    Speed    ~2208 MHz
    Cores / Threads    6 / 12
    Features    SSE, SSE2, SSE3, SSSE3, SSE4_1, SSE4_2, AVX, AVX2
    
Video Card    Intel(R) UHD Graphics 630
    Dedicated Video RAM    128 MB
    Dedicated System RAM    0 MB
    Shared System RAM    16,307 MB
    Vendor ID    0x8086
    Device ID    0x3E9B
    Subsystem ID    0x95E11558
    Revision    0
    LUID    0x00013408
    Flags    AcgCompatible, SupportMonitoredFences, KeyedMutexConformance
    Graphics Preemption    TriangleBoundary
    Compute Preemption    ThreadBoundary
    Outputs    1
    Feature Level    Direct3D_12_1
    DXGI Formats    A8_UNorm, B8G8R8A8_UNorm, R16G16B16A16_UNorm, R16G16B16A16_Float, R32G32B32A32_Float
    Buffer Precision    UNorm8bpc, UNorm8bpcSrgb, UNorm16bpc, Float16bpc, Float32bpc
    
Video Card    NVIDIA GeForce GTX 1070 with Max-Q Design
    Dedicated Video RAM    8,081 MB
    Dedicated System RAM    0 MB
    Shared System RAM    16,307 MB
    Vendor ID    0x10DE
    Device ID    0x1BA1
    Subsystem ID    0x95E11558
    Revision    161
    LUID    0x13B5E838
    Flags    AcgCompatible, SupportMonitoredFences, KeyedMutexConformance
    Graphics Preemption    PixelBoundary
    Compute Preemption    DispatchBoundary
    Outputs    0
    Feature Level    Direct3D_12_1
    DXGI Formats    A8_UNorm, B8G8R8A8_UNorm, R16G16B16A16_UNorm, R16G16B16A16_Float, R32G32B32A32_Float
    Buffer Precision    UNorm8bpc, UNorm8bpcSrgb, UNorm16bpc, Float16bpc, Float32bpc
    
Video Card    Microsoft Basic Render Driver
    Dedicated Video RAM    0 MB
    Dedicated System RAM    0 MB
    Shared System RAM    16,307 MB
    Vendor ID    0x1414
    Device ID    0x008C
    Subsystem ID    0x00000000
    Revision    0
    LUID    0x000136D4
    Flags    Software, AcgCompatible, SupportMonitoredFences, KeyedMutexConformance
    Graphics Preemption    InstructionBoundary
    Compute Preemption    InstructionBoundary
    Outputs    0
    Feature Level    Direct3D_12_1
    DXGI Formats    A8_UNorm, B8G8R8A8_UNorm, R16G16B16A16_UNorm, R16G16B16A16_Float, R32G32B32A32_Float
    Buffer Precision    UNorm8bpc, UNorm8bpcSrgb, UNorm16bpc, Float16bpc, Float32bpc

 

=================

Any ideas?

 

Thanks in advance.

Link to comment
Share on other sites

@Sylvermyst, do you have Diebold Warsaw installed?

 

Also, please be precise in what you mean by "Open Google Chrome, find a desktop background (1024x768)". We don't know what website you're going to or what methods you're employing to do this.

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

  • 2 months later...
On 1/4/2019 at 8:56 PM, Rick Brewster said:

@Sylvermyst, do you have Diebold Warsaw installed?

 

Also, please be precise in what you mean by "Open Google Chrome, find a desktop background (1024x768)". We don't know what website you're going to or what methods you're employing to do this.

 

 

I do not have Diebold Warsaw (or any Diebold products) installed.

@Rick BrewsterI found the culprit. I am on a 4K display laptop (3840x2160) running at 350% scale factor. The high scale factor is what causes the soft lock.

 

Here is repro steps that anyone should be able to get.

 

Step 1: Set your display resolution to 3840x2160

Step 2: Set your scale factor to 350% (to make text/etc... readable)

- To do this, right click desktop -> Display Settings -> Scale and Layout

Step 1: Using PDN, create image that is 1024x768 in dimension (solid white is fine).

Step 2: Copy it to the Windows buffer (select-all and CTRL+C if in PDN). 

Step 3: Create an image that is 800x600 in dimension. 

Step 4: From the 800x600 image, attempt to paste in the 1024x768 image.

The resize/canvas prompt will come up, and the program soft locks 100% of the time.

The problem goes away if I set my scale factor to 100% (which is unreadable on a 4K display) but at least I've locked down what causes the problem. FYI it seems to be any scale factor greater or equal to 200% that causes the issue. 100% and 150% worked normally.

 

Hope you guys can fix it!

Edited by Sylvermyst
Link to comment
Share on other sites

  • 2 weeks later...

Wow, that's surprising. However - I just got the latest update a few minutes ago and the problem disappeared. It had just occurred earlier today for me on the same device - so the latest update does seem to fix it. Any chance there was work done around this?

 

Thanks either way!

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.

×
×
  • Create New...