Rectangle Select tool control markers are zoomed when Canvas is zoomed

Bug #1173756 reported by Elvis Alistar
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
Pinta
Fix Committed
Medium
Unassigned

Bug Description

Pinta 1.4 on Win 8 64bit:

- Create new image
- Make a selection with the Rectangle Select tool
- From the zoom dropbox select 400%

Result: Canvas is zoomed, but the control markers of the Rectangle Select tool are also zoomed (see attached screenshot)

Expected: Rectangle Select tool control markers always have the same size (size is independent of zoom level)

Revision history for this message
Elvis Alistar (ealis2001-deactivatedaccount) wrote :
Revision history for this message
Cameron White (cameronwhite91) wrote :

If you adjust the selection after zooming, the control markers are redrawn with the proper size, so fixing this should just be a matter of redrawing the control markers whenever the canvas is zoomed.

Changed in pinta:
importance: Undecided → Medium
status: New → Confirmed
grofaty (grofaty)
tags: added: easy-to-fix
tags: added: selection-tools
removed: rectangle select zoom
Revision history for this message
Kevin (pt-get) wrote :

Is it possible to draw the markers on top of the canvas layer? Zooming in very far causes the markers to become pixelated; additionally, because of the markers using a tolerance of 10 canvas pixels instead of screen pixels, nothing can be done on the entire screen without moving the marker.

Revision history for this message
Frederik Eaton (frederik-launchpad) wrote :

I also noticed this bug which is confusing, it makes the control markers look like they would be much easier to use after I zoom in.

By the way, I am interested in enlarging just the interface elements in Pinta, is there a way to do that? With GTK apps I can do e.g. "GDK_DPI_SCALE=2 gedit". With Pinta the user interface elements are tiny and I don't know how to fix it.

Revision history for this message
Cameron White (cameronwhite91) wrote :

Pinta 1.7 is still using GTK 2, which doesn't have great support for high-DPI displays.
You could try out the GTK3 dev build (https://github.com/PintaProject/Pinta/releases/tag/dev-preview-builds) and see how that behaves?

Revision history for this message
Lou (louhy) wrote :

The GTK3 dev build definitely does better (the controls are somewhat smaller and more transparent), but the control handles are definitely not the same size as this issue has for expected behavior.

The main problem I'm seeing is with a different issue where it's difficult to control the size of the selection (I'm not even sure how to describe that issue, it's weird). (And this issue was also present in the old version.)

Revision history for this message
Bill Menendez (void7327) wrote (last edit ):

This bug seems still hasn't been fixed yet... Just now the blue controlling parts are like being stamped on the image, that can't be erased by normal way, for instance, re-adjust, use eraser, scale...
Restart the software and fixed, FOR NOW... But still bugging when using "rectangle select tool"...

Version: 1.7.0.0
Operating system: Windows 10

Revision history for this message
grofaty (grofaty) wrote :

I have downloaded the latest Pinta-development https://github.com/PintaProject/Pinta/actions/runs/1639755169 on Ubuntu 20.04 and I can also reproduce a problem.

Actually in latest development I also see additional problem. After zoom image and resize selection old markers are still displayed on canvas. Additionally removing selection and this markers are there even if zooming out. This problem I have also retested with Pinta 1.7.1 on Ubuntu 20.04 and this problem (old markers are still displayed) is already in previous version, so no regression in PInta latest development. See attachment.

Changed in pinta:
milestone: none → 2.1
Revision history for this message
Cameron White (cameronwhite91) wrote :
Changed in pinta:
status: Confirmed → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers