- S - Posted January 9, 2023 Posted January 9, 2023 Using "New From Clipboard" pastes a captured screenshot incorrectly in Affinity Photo 2.0.3. In the below example, when copying & pasting a full-screen Command Prompt window, part of the scrollbar on the right-hand side of the image gets shifted to the left-hand side when pasted (3 pixels). The left bit also moves up 1 pixel (so the bottom-left corner ends up with 3×1 pixel transparent area). Screenshot A: Steps to reproduce: 1) Take a full-screen screenshot by pressing the "Print Screen" (PrtScn) button on the keyboard. It doesn't make a difference what's screen captured – I chose a Command Prompt window because a dark window with a light scrollbar makes the issue clearer to see. 2) Then either: a) Go to [File > New From Clipboard] b) Or go to [File > New > FHD 1080p] and then [Edit > Paste] 3) View the left and right edges of the pasted screenshot. The image has shifted when pasting. When pasting the captured screenshot into Microsoft Paint, the pasted image is OK and not shifted. Therefore, Windows seems to be copying it to clipboard correctly and Microsoft Paint seems to be pasting it from clipboard correctly. When using the [Windows Key + PrtScn] shortcut keys to save the screenshot directly to %UserProfile%\Pictures\Screenshots as a PNG file, the image is also OK and not shifted. This issue occurs in Affinity Photo 2.0.3.1688. I'm pretty certain it didn't occur in Affinity Photo 2.0.0.1640. Initially I was thinking that this could be a Windows bug, however as it works correctly in Microsoft Paint, I think there is something else going on here. Animation showing shifted edges: Pasted Edges.mp4 Example files: Example files.zip ----- Windows 10 22H2 (19045.2364) 1920×1080 monitor. Windows display scaling set to "100% (recommended)" Quote
MikeTO Posted January 14, 2023 Posted January 14, 2023 FWIW this appears to be Windows only, I can't duplicate it on macOS with a standard full-screen screenshot. Quote Download a free PDF manual for Affinity Publisher 2.6 Download a quick reference chart for Affinity's Special Characters Affinity 2.6 for macOS Sequoia 15.3, MacBook Pro (M4 Pro) and iPad Air (M2)
Staff Chris B Posted January 25, 2023 Staff Posted January 25, 2023 Hey - S - I've tried to reproduce this on 3x different machines and haven't been able to. We're all on Windows 11, though. We are all using the Recommended Windows scaling too. Does it make a difference if Force Pixel Alignment is toggled? Quote How to format a bug report | Learning Resources | List of V2 FAQs | YouTube Tutorials
Brian_J Posted January 25, 2023 Posted January 25, 2023 I have the same issue. I have a two-monitor set up. When I take a screenshot, this is what I observe: The left side of the screenshot shows 3 px of the right side of the right monitor. 3 px of the right side of the screenshot (right monitor) is cut off. Nothing is missing in the center of the screenshot, but the position where the left and right monitor meet is offset right 3 px. The point where the left and right monitor meet should be the exact center of the screenshot (1920 px), but they meet at 1923 px. This issue occurs in Affinity Photo and Designer V2. The issue does not occur V1. Enabling and disabling Force Pixel Alignment has no affect. Windows 10 22H2 Two monitors Windows Scale and Layout: 100% (Recommended); Display Resolution 1920 x 1200 (Recommended) Affinity Photo 2.0.3 Quote Windows 10 22H2, 32GB RAM | Affinity Designer/Photo/Publisher 2 (MSI/EXE)
- S - Posted January 26, 2023 Author Posted January 26, 2023 13 hours ago, Chris B said: Does it make a difference if Force Pixel Alignment is toggled? I always have "Force Pixel Alignment" set to On and "Move by Whole Pixels" set to Off. However, the issue occurs whether they are enabled or not. I've just double-checked and the issue is definitely due to changes made in Affinity Photo 2.0.3.1688. I uninstalled 2.0.3.1688 and went back to 2.0.0.1640 and the issue does not occur in 2.0.0.1640. When I installed 2.0.3.1688 again, the issue started again straight away. Video 1 (Copying screen to clipboard using the keyboard Printscreen button): – Comparing 2.0.3 (working incorrectly) to 2.0.0 (working correctly) 01 Printscreen.mp4 Video 2 (Copying locally saved file to clipboard from the Windows Photo app): – There is a slightly different behaviour when copying from the Windows Photos app, rather than using printscreen. Copying and pasting this way only appears to affect [File > New From Clipboard], not [File > New…] like in video 1 above. 02 Photos app.mp4 Quote I've tried to reproduce this on 3x different machines and haven't been able to. We're all on Windows 11, though. Affinity Photo 2 system requirements list "Windows 10 May 2020 Update (2004, 20H1, build 19041) or later", so I'm not sure why you don't have any Windows 10 test machines. Quote
- S - Posted January 26, 2023 Author Posted January 26, 2023 6 hours ago, Brian_J said: I have the same issue. I have a two-monitor set up. When I take a screenshot, this is what I observe: The left side of the screenshot shows 3 px of the right side of the right monitor. 3 px of the right side of the screenshot (right monitor) is cut off. Nothing is missing in the center of the screenshot, but the position where the left and right monitor meet is offset right 3 px. The point where the left and right monitor meet should be the exact center of the screenshot (1920 px), but they meet at 1923 px. Yeah, that's exactly the same issue (although I only have one monitor). Even down to the 3 pixels on the left of your screenshot being shifted up by one pixel. Brian_J 1 Quote
Staff Chris B Posted January 26, 2023 Staff Posted January 26, 2023 We managed to reproduce it after a few tries so we can now go ahead and log it. Brian_J 1 Quote How to format a bug report | Learning Resources | List of V2 FAQs | YouTube Tutorials
VolkerMB Posted January 28, 2023 Posted January 28, 2023 It is not just Affinity that is affected by the issue. I've just tried to paste a screenshot in a new image using XnViewMP with the same outcome: The three right-most pixel are placed on the left side of the pasted image. However, if I do a second screenshot it gets pasted correctly once in a while. Again, if I copy the incorrectly pasted image from XnViewMP and paste it in Affinity, the offset is gone... Unfortunately I can't reproduce this behaviour every single time. To me it looks very random. So it might be a issue with Windows? (in my case: Win10 22H2) Quote
- S - Posted January 28, 2023 Author Posted January 28, 2023 17 hours ago, VolkerMB said: It is not just Affinity that is affected by the issue. I've just tried to paste a screenshot in a new image using XnViewMP with the same outcome: The three right-most pixel are placed on the left side of the pasted image. However, if I do a second screenshot it gets pasted correctly once in a while. Again, if I copy the incorrectly pasted image from XnViewMP and paste it in Affinity, the offset is gone... Unfortunately I can't reproduce this behaviour every single time. To me it looks very random. So it might be a issue with Windows? (in my case: Win10 22H2) When this happened, did you directly paste the screenshot into XnViewMP first, or did you try pasting it into Affinity Photo first and then pasting it into XnViewMP? I think Affinity Photo 2 is doing something with the clipboard. Try reproducing it without having Affinity Photo open and just pasting directly into XnViewMP. Quote
VolkerMB Posted January 28, 2023 Posted January 28, 2023 I did run some tests to verify what I claimed to have discovered... Well, it is complicated... Test A Started Firefox and XnViewMP, but not Affinity. Grabbed a screenshot of the browser. Created an empty image in XnViewMP and pasted the screenshot in it. Result: Everyting is displayed correctly. Started Affinity and pasted screenshot via "new from clipboard" Result: The screenshot ist broken (by 3 pixels on the left that belong to the right side) Test B Started Firefox, XnViewMP and Affinity. Grabbed a screenshot of the browser. Created an empty image in XnViewMP and pasted the screenshot in it. Result: Everything is displayed correctly. Pasted the same screenshot in Affinity via "new from clipboard". Result: The screenshot is broken. Test C As 1 - 6 in Test B. Created an empty document of 1920 x 1080 px and pasted the screenshot in it. Result: still broken. Test D Started Firefox, XnViewMP and Affinity. Grabbed a screenshot of the browser. Created an empty image in XnViewMP and pasted the screenhot in it. Copied within XnViewMP the pasted screenshot to the clipboard. Pasted the image in Affinity via "new from clipboard". Result: Image looks fine. So, somehow Affinity treats screenshots made by Windows differently from image data transfered via clipboard from other apps. Quote
Old Bruce Posted January 28, 2023 Posted January 28, 2023 13 minutes ago, VolkerMB said: Grabbed a screenshot of the browser. 11 minutes ago, VolkerMB said: So, somehow Affinity treats screenshots made by Windows ... Windows or Firefox? Being on Mac I have no horse in this race. Quote Mac Pro (Late 2013) Mac OS 12.7.6 Affinity Designer 2.6.0 | Affinity Photo 2.6.0 | Affinity Publisher 2.6.0 | Beta versions as they appear. I have never mastered color management, period, so I cannot help with that.
- S - Posted January 29, 2023 Author Posted January 29, 2023 (edited) On 1/28/2023 at 8:07 PM, VolkerMB said: …So, somehow Affinity treats screenshots made by Windows differently from image data transfered via clipboard from other apps. Windows clipboard is more complex than you would think it would be. I wouldn't read too much into copying from XnViewMP, as it may be copying and pasting clipboard data differently. I'm thinking the underlying issue is due to some Windows clipboard oddity that hasn't been accounted for in a change made between Affinity Photo 2.0.0 and 2.0.3. Looking at those three extra pixels in the bottom-left corner, it seems as though that's the start of the bitmap data and there's some bytes of data there that shouldn't be, which is causing it to shift right by three pixels (drawing from left-to-right, bottom-to-top). Hence why the right side ends up wrapping to the left. Edit: I posted an additional video in a post here. Edited March 6, 2023 by - S - Added link to an additional video Quote
Corgi Posted January 29, 2023 Posted January 29, 2023 Also happens in 2.0.4. If I copy the window and first do New From Clipboard in Afphoto v1, then Control-A and copy the image from the v1 layer and paste it into v2, the problem doesn't appear. The problem also doesn't occur if I do screen captures using Greenshot instead of the native Windows screen capture. Old Bruce 1 Quote
ElizabethZ Posted April 5, 2023 Posted April 5, 2023 When I use Fireshot with Windows 10 to screen capture anything and paste as New from Clipboard, Affinity Photo 2.0.4 shows only the size of the screen capture as the new image but the area where the image should be is just a transparent grid. Copy and paste from any other photo editing program works just fine. It also works by copying an image to the clipboard from Affinity Photo 1.10.5.1342 or pasting into that version as well. Quote
- S - Posted April 6, 2023 Author Posted April 6, 2023 17 hours ago, ElizabethZ said: When I use Fireshot with Windows 10 to screen capture anything and paste as New from Clipboard, Affinity Photo 2.0.4 shows only the size of the screen capture as the new image but the area where the image should be is just a transparent grid. Copy and paste from any other photo editing program works just fine. It also works by copying an image to the clipboard from Affinity Photo 1.10.5.1342 or pasting into that version as well. That's a different clipboard issue to the one in this post; this bug report is specifically about the image data shifting right by three pixels when pasted – causing it to wrap. Your issue is regarding Affinity Photo pasting a completely blank layer, which is more closely related to the bug report in the link below. However, your issue is a bit different to that one as well, because in that one it's related to copy and pasting from a document in Affinity Photo, to another document in Affinity Photo, using [Edit > Paste Special] and pasting as "Device Independent Bitmap" or "Device Independent Bitmap V5". As your case is to do with pasting from Fireshot, it may be worth creating a new topic. I don't have Fireshot installed, so I'm unable to check whether it's related to the linked topic or not – it's possible Affinity Photo is pasting from Fireshot as a DIB or DIBv5 and so could be related. The clipboard from Affinity 2.0.3 onwards is pretty broken and it seems that their primary Windows developer has left the company. Quote
eLCy Posted July 3, 2024 Posted July 3, 2024 (edited) Affinity 2.5.3, the bug is still present. Managed to reproduce it only with "New from clipboard", creating a new empty project with manually set width/height and pasting the image into it works fine. Edited July 3, 2024 by eLCy Quote
Komatös Posted July 3, 2024 Posted July 3, 2024 26 minutes ago, eLCy said: reproduce it only with "New from clipboard" I cannot reproduce the bug. No matter how I insert the screenshot into Affinity Photo. However, I must add that I use the ShareX tool to create screenshots. Quote MAC mini M4 | MacOS Sequoia 15.3.2 | 16 GB RAM | 256 GB SSD AMD Ryzen 7 5700X | INTEL Arc A770 LE 16 GB | 32 GB DDR4 3200MHz | Windows 11 Pro 24H2 (26100.3476) Affinity Suite V 2.6.1 & Beta 2.6 (latest) Interested in a free (selfhosted) PDF Solution? Have a look at Stirling PDF I already had a halo, but it didn't suit me!
eLCy Posted July 3, 2024 Posted July 3, 2024 6 minutes ago, Komatös said: I must add that I use the ShareX tool to create screenshots. It doesn't nececerally have to be a screenshot. I also run into this bug when copying an image from Microsoft Photos. Pasting it into any other editor works fine. 2024-07-03_14-00-37.mp4 Quote
walt.farrell Posted July 3, 2024 Posted July 3, 2024 54 minutes ago, eLCy said: Affinity 2.5.3, the bug is still present. Managed to reproduce it only with "New from clipboard", creating a new empty project with manually set width/height and pasting the image into it works fine. Yes, the bug is still present. This topic is tagged with a bug tag using the new numbering scheme (AF-nnnn, specifically AF-3597) and the Affinity info Bot has not posted to tell us that it has been fixed. eLCy 1 Quote -- Walt Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases PC: Desktop: Windows 11 Pro 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 Laptop: Windows 11 Pro 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU. Laptop 2: Windows 11 Pro 24H2, 16GB memory, Snapdragon(R) X Elite - X1E80100 - Qualcomm(R) Oryon(TM) 12 Core CPU 4.01 GHz, Qualcomm(R) Adreno(TM) X1-85 GPU iPad: iPad Pro M1, 12.9": iPadOS 18.3.1, Apple Pencil 2, Magic Keyboard Mac: 2023 M2 MacBook Air 15", 16GB memory, macOS Sequoia 15.0.1
Shai Posted February 8 Posted February 8 I do not know if this is related, but I;m using Photo version 2.5.7 / Windows 11 If I create a new document from clipboard, select a portion of it and copy, when I paste it it pastes the entire image and not only the selected part. Saving the document and reloading it does not change this fact. Only if I export it as PNG and reopen it, then I can now make correct copy/paste of selections. Attached the file I can not copy a selection from. Just create a small marquee selection, copy it and paste it. A new layer is created but with the entire image, not only the selected part. NewFromClipboard-selectionIssue.afphoto Quote
Hangman Posted February 8 Posted February 8 Hi @Shai and welcome to the forums, After using New Document from Clipboard and before selecting a portion of it to Copy, you need to select the Image layer in the Layers panel, right-click and select Rasterise, once rasterised, copying and pasting your selection will give you the expected outcome... Shai 1 Quote Affinity Designer 2.6.0 | Affinity Photo 2.6.0 | Affinity Publisher 2.6.0 Affinity Designer 2.6.2 (3213) Beta | Affinity Photo 2.6.2 (3213) Beta | Affinity Publisher 2.6.2 (3213) Beta MacBook Pro M3 Max, 36 GB Unified Memory, macOS Sonoma 14.6.1, Magic Mouse HP ENVY x360, 8 GB RAM, AMD Ryzen 5 2500U, Windows 10 Home, Logitech Mouse
Hangman Posted February 8 Posted February 8 No problem, I’m glad that resolves the issue for you… Quote Affinity Designer 2.6.0 | Affinity Photo 2.6.0 | Affinity Publisher 2.6.0 Affinity Designer 2.6.2 (3213) Beta | Affinity Photo 2.6.2 (3213) Beta | Affinity Publisher 2.6.2 (3213) Beta MacBook Pro M3 Max, 36 GB Unified Memory, macOS Sonoma 14.6.1, Magic Mouse HP ENVY x360, 8 GB RAM, AMD Ryzen 5 2500U, Windows 10 Home, Logitech Mouse
Stanislav Ferrao Posted February 20 Posted February 20 (edited) This bug still exists in v2.6. Can someone please fix this? Edited February 20 by Stanislav Ferrao Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.