Cannot resize canvas that is always 1px large

Bug #1921878 reported by Thomas
This bug report is a duplicate of:  Bug #1464855: The zoom tool does not work. Edit Remove
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Pinta
Confirmed
Undecided
Unassigned

Bug Description

Hello,

Since 2 weeks I'm experiencing this strange issue, my canvas is always 1px large. Even if I create a new canvas, or if I paste a screenshot into Pinta. When I click on menu functions like best fit or fit to screen.

I'm running Pinta 1.7 on a fresh new Ubuntu 20.04.2 using Gnome 3.36.8 and X11. Pinta was working great at the beginning.

Maybe this is not an issue but a misconfiguration but I didn't find any solution online.

Edit : I've already try to uninstall then reinstall Pinta. I'm installing pinta via Ubuntu software manager

Thanks for help

Revision history for this message
Thomas (kermitsxb) wrote :
description: updated
Revision history for this message
Cameron White (cameronwhite91) wrote :

That seems like an odd issue ..
You could try deleting the saved settings (on Linux I think they should be in ~/.config/pinta) and see if that affects anything.

Revision history for this message
Thomas (kermitsxb) wrote :

Hi @cameronwhite91

Thanks for your answer. I tried your solution by deleting ~/.config/pinta and that didn't change anything. Then I tried running Pinta using root and that also didn't change anything. I re-deleted the config dir after that to be sure.

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

My only other thought would be to try running Pinta in English, as there were some previous bugs related to zooming when other locales were used (e.g. bug 1464855). Those should have been fixed in v1.7, though...

Revision history for this message
grofaty (grofaty) wrote :

Thomas, can you try installing Pinta as snap package and see if it helps.

Benefits of snap package vs. classical deb package is it is run in container isolated from the rest of operating system. So if you install some update of some library on main system or update mono package or similar, you can get in trouble with Pinta deb package, but this has zero effect on Pinta snap package.

You can install Pinta from snap package alongside current Pinta deb package you already have and those two do not interfere (both having its own config files etc). The only restriction is that only one program Pinta snap or Pinta deb can run at one single time.

Installing Pinta from snap:
sudo snap install pinta

Run Pinta from snap:
/snap/bin/pinta

I have been running Pinta snap package for few months without any problems.

Revision history for this message
Thomas (kermitsxb) wrote :

Hi,

@grofaty I've removed Pinta from my deb installations and installed it with the Snap repository. I'm experiencing the same issue :(.

@cameronwhite91 I don't know how can I set English locale on Pinta, have you got any idea ?

Thanks for your help

Revision history for this message
Thomas (kermitsxb) wrote :

Ooohhh ! I've successfully opened a screenshot (width of my 3 FHD screens) and it opened with 14% of zoom. I've reached 28% of zoom but cannot go further. I've picked a part of my screenshot and pasted it into a new image (150 * 200 px) and the issue is still here on small image.

Revision history for this message
Aurora Robb Kristiansen (fridgeracer) wrote (last edit ):

I'm having this same issue. Occurs on both snap and distribution package.

Nothing happens when I use the canvas zoom keyboard shortcuts or GUI buttons.
However, when I manually type in a zoom percentage, it resizes the canvas, and ONLY if I REMOVE % from the text entry field. I also cannot escape the field, causing it to interfere with many keyboard shortcuts.
This is less than ideal, as I have to do this every time I start the application, and this is the only way I can zoom the canvas.

I believe I am using all default settings, and I have tried removing Pinta (pacman -Rn), all Pinta related files and folders, then reinstalling via pacman. The bug persists after all this.

Attempted to run Pinta via terminal, but no info was output to it. Please let me know if there is any other info I can add to this report!

Some app and system info:
Pinta 1.7-3
Manjaro 21, Linux 5.13.1-3-MANJARO kernel
KDE Plasma 5.22.3, KDE Frameworks 5.84.0
Locale settings set to Norway, except language which is en_US.
Qt 5.15.2
X11 window manager
Three 1080p monitors

Installing pinta-git (https://aur.archlinux.org/packages/pinta-git/) fixes the issue on my machine.

Changed in pinta:
status: New → Confirmed
Revision history for this message
Cameron White (cameronwhite91) wrote :

I think this is the same issue as 1464855, since the previous comment reported that the latest git version resolves the issue.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.