Luke18033 Posted February 10 Share Posted February 10 When using the text tool, pressing any key while the text cursor is offscreen causes the view to jump back to being centered on the text cursor, even if the key that's pressed doesn't actually type a character. This is particularly problematic when trying to zoom or horizontally scroll since these require holding Ctrl and Shift respectively, so the view will repeatedly snap back to the text if you try to scroll anywhere else. Additionally, if the text cursor goes near or off the edge of the canvas, this will happen even if the cursor is still onscreen, causing the view to repeatedly jump when attempting to zoom/scroll at all. It also doesn't always center on the cursor, sometimes it will snap to the center of the canvas or other unexpected locations. Given the unintuitive and inconsistent behavior of this, I'm inclined to think it's a bug/oversight. Videos of the issue: - Case 1 (view snaps to cursor when it's offscreen even if no text is typed) - Case 2 (cursor near edge of canvas, view snaps to cursor even when it's onscreen) - Case 3 (cursor near edge of canvas, view snaps to center of canvas) Quote Link to comment Share on other sites More sharing options...
Rick Brewster Posted February 10 Share Posted February 10 Alright, I'll look into it -- might be able to squeeze it in for 5.0.2, but depending on the complexity of the fix it might have to wait. Thanks for reporting it! 1 Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
Rick Brewster Posted March 2 Share Posted March 2 Okay I've landed some fixes for 5.0.3 that should help. First, it won't recenter if only Ctrl, Shift, or Alt are pressed. Second, the recentering was based on the visible image bounds -- this has been corrected to be based on the visible viewport bounds. So it used to be that if the cursor was outside of the image the recentering would happen (even if the cursor was still visible on-screen, i.o.w. inside the viewport), but now it's only if the cursor goes outside if the viewport. Let me know if you see any other bad behavior once 5.0.3 is released (probably by or around mid-March). 1 Quote The Paint.NET Blog: https://blog.getpaint.net/ Donations are always appreciated! https://www.getpaint.net/donate.html Link to comment Share on other sites More sharing options...
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.